Function at 0x1003f290
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.10076a30
add esp, 4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.1003dfe0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x1003f2c9
jmp 0x1003f5b4
cmp dword [ebp - 4], 0
jne 0x1003f3f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 8], eax
je 0x1003f3f0
mov edx, dword [ebp - 8]
push edx
call fcn.1003e060
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003f309
push str.WriteMemoryHandler:_Cannot_create_new_injection_info___error._n
call fcn.1003def0
add esp, 4
jmp 0x1003f3f0
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.10074450
add esp, 4
mov ecx, dword [0x10661938]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp + 8]
push edx
call fcn.10074e10
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc], 0
je 0x1003f37a
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.1003def0
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 0x1003f3c2
push str.WriteMemoryHandler:_Error_obtaining_target_process_name
call fcn.1003f670
add esp, 4
push 0x103dda54
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [0x10661938]
mov eax, dword [edx + 0x14]
push eax
call fcn.1003df70
add esp, 0xc
jmp 0x1003f3f0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [0x10661938]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call fcn.10038c20
add esp, 0xc
test eax, eax
jne 0x1003f3f0
push str.WriteMemoryHandler:_Error_translating_target_process_path
call fcn.1003f670
add esp, 4
mov edx, dword [ebp - 4]
mov eax, dword [edx]
cmp eax, dword [ebp - 8]
je 0x1003f3ff
jmp 0x1003f5b4
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10039ee0
add esp, 4
test eax, eax
je 0x1003f50b
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.1003def0
add esp, 0xc
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
jne 0x1003f506
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 3
call fcn.100391b0
add esp, 0x10
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.1003a8f0
add esp, 4
mov edx, dword [ebp - 4]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x1003f4b1
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.1003def0
add esp, 0xc
jmp 0x1003f506
push str.WriteMemoryHandler:_Failed_to_dump_PE_image_from_buffer__attempting_raw_dump._n
call fcn.1003def0
add esp, 4
mov eax, dword [0x10661938]
mov dword [eax + 0x10], 4
mov ecx, dword [0x10661938]
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.1003a540
add esp, 8
test eax, eax
je 0x1003f4f9
push str.WriteMemoryHandler:_Dumped_malformed_PE_image_from_buffer.
call fcn.1003def0
add esp, 4
jmp 0x1003f506
push str.WriteMemoryHandler:_Failed_to_dump_malformed_PE_image_from_buffer.
call fcn.1003def0
add esp, 4
jmp 0x1003f5b4
cmp dword [ebp + 0x14], 0x10
ja 0x1003f516
jmp 0x1003f5b4
mov edx, dword [ebp - 4]
cmp dword [edx + 0x1c], 0
je 0x1003f553
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x1c]
jbe 0x1003f553
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 0x1003f553
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 1
jne 0x1003f553
push str.WriteMemoryHandler:_injection_of_section_of_PE_image_which_has_already_been_dumped._n
call fcn.1003def0
add esp, 4
jmp 0x1003f5b4
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.1003def0
add esp, 0x10
mov eax, dword [0x10661938]
mov dword [eax + 0x10], 4
mov ecx, dword [0x10661938]
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.1003a540
add esp, 8
test eax, eax
je 0x1003f5a7
push str.WriteMemoryHandler:_Dumped_injected_code_data_from_buffer.
call fcn.1003def0
add esp, 4
jmp 0x1003f5b4
push str.WriteMemoryHandler:_Failed_to_dump_injected_code_data_from_buffer.
call fcn.1003def0
add esp, 4
mov esp, ebp
pop ebp
ret