Function at 0x1003e460
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov dword [ebp - 0x10], 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.10075c10
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003e4af
mov ecx, dword [ebp + 8]
push ecx
push str.MapSectionViewHandler:_Failed_to_obtain_pid_from_process_handle_0x_x
call fcn.1003ebe0
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.1003d590
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
jmp 0x1003e4be
mov edx, dword [ebp - 4]
push edx
call fcn.1003d550
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x1003e4d5
mov eax, dword [ebp + 8]
push eax
push str.MapSectionViewHandler:_Failed_to_find_injection_info_pid_from_process_handle_0x_x._n
call fcn.1003d460
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
jne 0x1003e55a
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003d6c0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1003e523
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003d760
add esp, 0xc
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.MapSectionViewHandler:_Added_section_view_with_handle_0x_x_and_local_view_0x_p_to_global_list._n
call fcn.1003d460
add esp, 0xc
jmp 0x1003e555
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0x10]
je 0x1003e555
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x14]
mov dword [edx + 8], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.MapSectionViewHandler:_Updated_local_view_to_0x_p_for_section_view_with_handle_0x_x._n
call fcn.1003d460
add esp, 0xc
jmp 0x1003e782
cmp dword [ebp - 8], 0
je 0x1003e5dc
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
cmp ecx, dword [ebp - 4]
jne 0x1003e5dc
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.1003d6c0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1003e59c
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003d760
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003e5c2
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push str.MapSectionViewHandler:_Added_section_view_with_handle_0x_x_to_target_process__d._n
call fcn.1003d460
add esp, 0xc
jmp 0x1003e5d7
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push str.MapSectionViewHandler:_Error__failed_to_add_section_view_with_handle_0x_x_and_target_process__d._n
call fcn.1003d460
add esp, 0xc
jmp 0x1003e782
cmp dword [ebp - 8], 0
jne 0x1003e782
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 4], eax
je 0x1003e782
mov edx, dword [ebp - 4]
push edx
call fcn.1003d5d0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1003e782
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 1
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.10073630
add esp, 4
mov edx, dword [0x1065fbd8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
push eax
call fcn.10073ff0
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 0xc], 0
je 0x1003e689
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
push str.MapSectionViewHandler:_Image_base_for_process__d__handle_0x_x_:_0x_p._n
call fcn.1003d460
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1003e6d1
push str.MapSectionViewHandler:_Error_obtaining_target_process_name
call fcn.1003ebe0
add esp, 4
push str.Error_obtaining_target_process_name
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [0x1065fbd8]
mov eax, dword [edx + 0x14]
push eax
call fcn.1003d4e0
add esp, 0xc
jmp 0x1003e6ff
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [0x1065fbd8]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x118]
push ecx
call fcn.100381a0
add esp, 0xc
test eax, eax
jne 0x1003e6ff
push str.MapSectionViewHandler:_Error_translating_target_process_path
call fcn.1003ebe0
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call fcn.1003d6c0
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003e734
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x103dd740
call fcn.1003d460
add esp, 0xc
jmp 0x1003e782
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003d760
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1003e76d
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x103dd6b0
call fcn.1003d460
add esp, 0xc
jmp 0x1003e782
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x103dd610
call fcn.1003d460
add esp, 0xc
mov esp, ebp
pop ebp
ret