Function at 0x30008cc0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x3021be88]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, dword [ebp + 8]
push ebx
mov dword [ebp - 0x118], ecx
mov ebx, edx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x11c], ecx
mov ecx, eax
push edi
mov dword [ebp - 0x114], eax
call fcn.3004c2a0
mov edi, eax
test edi, edi
jne 0x30008d32
mov edi, dword [ebp - 0x114]
push edi
push str.MapSectionViewHandler:_Failed_to_obtain_pid_from_process_handle_0x_x
call fcn.30009b60
mov esi, dword [0x30273230]
add esp, 8
test esi, esi
je 0x30008d2c
lea ecx, [ecx]
cmp dword [esi + 4], edi
je 0x30008d2e
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x30008d20
xor esi, esi
mov edi, dword [esi]
jmp 0x30008d4d
mov esi, dword [0x30273230]
test esi, esi
je 0x30008d4b
lea esp, [esp]
cmp dword [esi], edi
je 0x30008d4d
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x30008d40
xor esi, esi
test edi, edi
jne 0x30008d64
push dword [ebp - 0x114]
push str.MapSectionViewHandler:_Failed_to_find_injection_info_pid_from_process_handle_0x_x._n
call fcn.30009b40
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x30008dd3
mov eax, dword [0x3027322c]
test eax, eax
je 0x30008d82
cmp dword [eax], ebx
je 0x30008da7
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x30008d77
mov ecx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x118]
mov edx, esi
push ecx
mov ecx, ebx
call fcn.30008380
add esp, 4
push esi
push ebx
push str.MapSectionViewHandler:_Added_section_view_with_handle_0x_x_and_local_view_0x_p_to_global_list._n
jmp 0x30008f45
mov ecx, dword [ebp - 0x118]
cmp dword [eax + 4], ecx
je 0x30008f4d
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x11c]
mov dword [eax + 8], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.3015f3bd
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x30008e32
cmp dword [esi], edi
jne 0x30008f4d
mov eax, dword [ebp - 0x114]
mov dword [esi + 4], eax
mov eax, dword [0x3027322c]
test eax, eax
je 0x30008dfc
cmp dword [eax], ebx
je 0x30008e0e
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x30008df1
push 0
xor edx, edx
mov ecx, ebx
call fcn.30008380
add esp, 4
test eax, eax
je 0x30008e25
push edi
mov dword [eax + 0x10], 1
mov dword [eax + 0xc], edi
mov eax, str.MapSectionViewHandler:_Added_section_view_with_handle_0x_x_to_existing_target_process__d._n
push ebx
push eax
jmp 0x30008f45
push edi
mov eax, str.MapSectionViewHandler:_Error__failed_to_add_section_view_with_handle_0x_x_and_target_process__d._n
push ebx
push eax
jmp 0x30008f45
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
je 0x30008f4d
mov ecx, edi
call fcn.30008290
mov dword [ebp - 0x118], eax
test eax, eax
je 0x30008f4d
mov esi, dword [ebp - 0x114]
mov ecx, esi
mov dword [eax + 4], esi
mov dword [eax], edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.3004ea80
mov ecx, eax
mov eax, dword [ebp - 0x118]
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x30008e94
push ecx
push esi
push edi
push str.MapSectionViewHandler:_Image_base_for_process__d__handle_0x_x_:_0x_p._n
call fcn.30009b40
add esp, 0x10
push 0x104
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
test eax, eax
je 0x30008eca
lea ecx, [ebp - 0x110]
call fcn.30002100
mov ecx, dword [0x302739d0]
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x30008f06
push str.MapSectionViewHandler:_Error_translating_target_process_path
jmp 0x30008efe
mov edx, 1
mov ecx, 0x104
call fcn.300011a0
mov ecx, dword [0x302739d0]
mov dword [ecx + 0x14], eax
test eax, eax
je 0x30008ef9
push str.Error_obtaining_target_process_name
push 0x104
push eax
call fcn.30008270
add esp, 0xc
push str.MapSectionViewHandler:_Error_obtaining_target_process_name
call fcn.30009b60
add esp, 4
mov ecx, ebx
call fcn.30008360
test eax, eax
je 0x30008f24
push edi
push ebx
mov dword [eax + 0x10], 1
mov dword [eax + 0xc], edi
push str.MapSectionViewHandler:_Added_section_view_with_handle_0x_x_to_new_target_process__d._n
jmp 0x30008f45
push 0
xor edx, edx
call fcn.30008380
add esp, 4
push edi
push ebx
test eax, eax
je 0x30008f40
mov dword [eax + 0xc], edi
push str.MapSectionViewHandler:_Added_section_view_with_handle_0x_x_to_target_process__d._n
jmp 0x30008f45
push str.MapSectionViewHandler:_Error__failed_to_add_section_view_with_handle_0x_x_and_target_process__d._n
call fcn.30009b40
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3015f3bd
mov esp, ebp
pop ebp
ret