Function at 0x30008c80
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x3021ae88]
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.3004ac60
mov edi, eax
test edi, edi
jne 0x30008cf2
mov edi, dword [ebp - 0x114]
push edi
push str.MapSectionViewHandler:_Failed_to_obtain_pid_from_process_handle_0x_x
call fcn.30009b20
mov esi, dword [0x302727d0]
add esp, 8
test esi, esi
je 0x30008cec
lea ecx, [ecx]
cmp dword [esi + 4], edi
je 0x30008cee
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x30008ce0
xor esi, esi
mov edi, dword [esi]
jmp 0x30008d0d
mov esi, dword [0x302727d0]
test esi, esi
je 0x30008d0b
lea esp, [esp]
cmp dword [esi], edi
je 0x30008d0d
mov esi, dword [esi + 0x2c]
test esi, esi
jne 0x30008d00
xor esi, esi
test edi, edi
jne 0x30008d24
push dword [ebp - 0x114]
push str.MapSectionViewHandler:_Failed_to_find_injection_info_pid_from_process_handle_0x_x._n
call fcn.30009b00
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
jne 0x30008d8e
mov eax, dword [0x302727cc]
test eax, eax
je 0x30008d42
cmp dword [eax], ebx
je 0x30008d67
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x30008d37
mov edx, dword [ebp - 0x11c]
mov ecx, ebx
mov esi, dword [ebp - 0x118]
push edx
mov edx, esi
call fcn.30008300
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 0x30008f04
mov ecx, dword [ebp - 0x118]
cmp dword [eax + 4], ecx
je 0x30008f0c
mov edx, dword [ebp - 0x11c]
push ebx
push ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
push str.MapSectionViewHandler:_Updated_local_view_to_0x_p_for_section_view_with_handle_0x_x._n
jmp 0x30008f04
test esi, esi
je 0x30008df1
cmp dword [esi], edi
jne 0x30008f0c
mov eax, dword [ebp - 0x114]
mov dword [esi + 4], eax
mov eax, dword [0x302727cc]
test eax, eax
je 0x30008dbb
lea esp, [esp]
cmp dword [eax], ebx
je 0x30008dcd
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x30008db0
push 0
xor edx, edx
mov ecx, ebx
call fcn.30008300
add esp, 4
test eax, eax
je 0x30008de4
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 0x30008f04
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 0x30008f04
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, eax
je 0x30008f0c
mov ecx, edi
call fcn.30008210
mov dword [ebp - 0x118], eax
test eax, eax
je 0x30008f0c
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.3004d390
mov ecx, eax
mov eax, dword [ebp - 0x118]
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x30008e53
push ecx
push esi
push edi
push str.MapSectionViewHandler:_Image_base_for_process__d__handle_0x_x_:_0x_p._n
call fcn.30009b00
add esp, 0x10
push 0x104
lea eax, [ebp - 0x110]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameA]
test eax, eax
je 0x30008e89
lea ecx, [ebp - 0x110]
call fcn.30002130
mov ecx, dword [0x302728d0]
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x30008ec5
push str.MapSectionViewHandler:_Error_translating_target_process_path
jmp 0x30008ebd
mov edx, 1
mov ecx, 0x104
call fcn.300011a0
mov ecx, dword [0x302728d0]
mov dword [ecx + 0x14], eax
test eax, eax
je 0x30008eb8
push str.Error_obtaining_target_process_name
push 0x104
push eax
call fcn.300081f0
add esp, 0xc
push str.MapSectionViewHandler:_Error_obtaining_target_process_name
call fcn.30009b20
add esp, 4
mov ecx, ebx
call fcn.300082e0
test eax, eax
je 0x30008ee3
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 0x30008f04
push 0
xor edx, edx
call fcn.30008300
add esp, 4
push edi
push ebx
test eax, eax
je 0x30008eff
mov dword [eax + 0xc], edi
push str.MapSectionViewHandler:_Added_section_view_with_handle_0x_x_to_target_process__d._n
jmp 0x30008f04
push str.MapSectionViewHandler:_Error__failed_to_add_section_view_with_handle_0x_x_and_target_process__d._n
call fcn.30009b00
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.3015dd6d
mov esp, ebp
pop ebp
ret