Function at 0x1003e800
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov dword [ebp - 0xc], 0x104
mov eax, dword [ebp + 8]
push eax
call fcn.10075c10
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1003d550
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x1003e839
jmp 0x1003eb24
cmp dword [ebp - 4], 0
jne 0x1003e960
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
je 0x1003e960
mov edx, dword [ebp - 8]
push edx
call fcn.1003d5d0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003e879
push str.WriteMemoryHandler:_Cannot_create_new_injection_info___error._n
call fcn.1003d460
add esp, 4
jmp 0x1003e960
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], 0
mov eax, dword [ebp - 0xc]
push eax
call fcn.10073630
add esp, 4
mov ecx, dword [0x1065fbd8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
push edx
call fcn.10073ff0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x1003e8ea
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push str.WriteMemoryHandler:_Image_base_for_process__d__handle_0x_x_:_0x_p._n
call fcn.1003d460
add esp, 0x10
mov ecx, dword [ebp - 0xc]
push ecx
lea edx, [ebp - 0x11c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1003e932
push str.WriteMemoryHandler:_Error_obtaining_target_process_name
call fcn.1003ebe0
add esp, 4
push 0x103dc394
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [0x1065fbd8]
mov eax, dword [edx + 0x14]
push eax
call fcn.1003d4e0
add esp, 0xc
jmp 0x1003e960
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x1065fbd8]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.100381a0
add esp, 0xc
test eax, eax
jne 0x1003e960
push str.WriteMemoryHandler:_Error_translating_target_process_path
call fcn.1003ebe0
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cmp eax, dword [ebp - 8]
je 0x1003e96f
jmp 0x1003eb24
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10039460
add esp, 4
test eax, eax
je 0x1003ea7b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
push str.WriteMemoryHandler:_Executable_binary_injected_into_process__d__ImageBase_0x_x__n
call fcn.1003d460
add esp, 0xc
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
jne 0x1003ea76
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 3
call fcn.10038730
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10039e70
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x1003ea21
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x10]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.WriteMemoryHandler:_Dumped_PE_image_from_buffer_at_0x_x__SizeOfImage_0x_x._n
call fcn.1003d460
add esp, 0xc
jmp 0x1003ea76
push str.WriteMemoryHandler:_Failed_to_dump_PE_image_from_buffer__attempting_raw_dump._n
call fcn.1003d460
add esp, 4
mov eax, dword [0x1065fbd8]
mov dword [eax + 0x10], 4
mov ecx, dword [0x1065fbd8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10039ac0
add esp, 8
test eax, eax
je 0x1003ea69
push str.WriteMemoryHandler:_Dumped_malformed_PE_image_from_buffer.
call fcn.1003d460
add esp, 4
jmp 0x1003ea76
push str.WriteMemoryHandler:_Failed_to_dump_malformed_PE_image_from_buffer.
call fcn.1003d460
add esp, 4
jmp 0x1003eb24
cmp dword [ebp + 0x14], 0x10
ja 0x1003ea86
jmp 0x1003eb24
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
je 0x1003eac3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x1c]
jbe 0x1003eac3
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x24]
cmp dword [ebp + 0x10], eax
jae 0x1003eac3
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 1
jne 0x1003eac3
push str.WriteMemoryHandler:_injection_of_section_of_PE_image_which_has_already_been_dumped._n
call fcn.1003d460
add esp, 4
jmp 0x1003eb24
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push str.WriteMemoryHandler:_shellcode_at_0x_p__size_0x_x__injected_into_process__d._n
call fcn.1003d460
add esp, 0x10
mov eax, dword [0x1065fbd8]
mov dword [eax + 0x10], 4
mov ecx, dword [0x1065fbd8]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10039ac0
add esp, 8
test eax, eax
je 0x1003eb17
push str.WriteMemoryHandler:_Dumped_injected_code_data_from_buffer.
call fcn.1003d460
add esp, 4
jmp 0x1003eb24
push str.WriteMemoryHandler:_Failed_to_dump_injected_code_data_from_buffer.
call fcn.1003d460
add esp, 4
mov esp, ebp
pop ebp
ret