Function at 0x1003e320
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.100756c0
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1003d090
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x1003e359
jmp 0x1003e644
cmp dword [ebp - 4], 0
jne 0x1003e480
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
je 0x1003e480
mov edx, dword [ebp - 8]
push edx
call fcn.1003d110
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003e399
push str.WriteMemoryHandler:_Cannot_create_new_injection_info___error._n
call fcn.1003cfa0
add esp, 4
jmp 0x1003e480
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.100730e0
add esp, 4
mov ecx, dword [0x1065f9d8]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
push edx
call fcn.10073aa0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x1003e40a
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.1003cfa0
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 0x1003e452
push str.WriteMemoryHandler:_Error_obtaining_target_process_name
call fcn.1003e700
add esp, 4
push 0x103dc1c4
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0x14]
push eax
call fcn.1003d020
add esp, 0xc
jmp 0x1003e480
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x1065f9d8]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.10037d10
add esp, 0xc
test eax, eax
jne 0x1003e480
push str.WriteMemoryHandler:_Error_translating_target_process_path
call fcn.1003e700
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cmp eax, dword [ebp - 8]
je 0x1003e48f
jmp 0x1003e644
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10038fa0
add esp, 4
test eax, eax
je 0x1003e59b
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.1003cfa0
add esp, 0xc
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
jne 0x1003e596
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 3
call fcn.100382b0
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.100399b0
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x1003e541
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.1003cfa0
add esp, 0xc
jmp 0x1003e596
push str.WriteMemoryHandler:_Failed_to_dump_PE_image_from_buffer__attempting_raw_dump._n
call fcn.1003cfa0
add esp, 4
mov eax, dword [0x1065f9d8]
mov dword [eax + 0x10], 4
mov ecx, dword [0x1065f9d8]
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.10039600
add esp, 8
test eax, eax
je 0x1003e589
push str.WriteMemoryHandler:_Dumped_malformed_PE_image_from_buffer.
call fcn.1003cfa0
add esp, 4
jmp 0x1003e596
push str.WriteMemoryHandler:_Failed_to_dump_malformed_PE_image_from_buffer.
call fcn.1003cfa0
add esp, 4
jmp 0x1003e644
cmp dword [ebp + 0x14], 0x10
ja 0x1003e5a6
jmp 0x1003e644
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
je 0x1003e5e3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x1c]
jbe 0x1003e5e3
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 0x1003e5e3
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 1
jne 0x1003e5e3
push str.WriteMemoryHandler:_injection_of_section_of_PE_image_which_has_already_been_dumped._n
call fcn.1003cfa0
add esp, 4
jmp 0x1003e644
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.1003cfa0
add esp, 0x10
mov eax, dword [0x1065f9d8]
mov dword [eax + 0x10], 4
mov ecx, dword [0x1065f9d8]
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.10039600
add esp, 8
test eax, eax
je 0x1003e637
push str.WriteMemoryHandler:_Dumped_injected_code_data_from_buffer.
call fcn.1003cfa0
add esp, 4
jmp 0x1003e644
push str.WriteMemoryHandler:_Failed_to_dump_injected_code_data_from_buffer.
call fcn.1003cfa0
add esp, 4
mov esp, ebp
pop ebp
ret