Function at 0x4206c0
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x5c7004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov eax, dword [esi + 8]
test eax, eax
je 0x420ca9
cmp dword [eax], 0
je 0x420ca9
push 1
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 8
push ecx
push eax
mov dword [ebp - 0x3c], 0x585098
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x420c5c
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 6
push eax
push dword [esi + 8]
mov dword [ebp - 0x3c], 0x585090
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x420c5c
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x16
push eax
push dword [esi + 8]
mov dword [ebp - 0x3c], str.Mapped_file
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x420c5c
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x18
push eax
push dword [esi + 8]
mov dword [ebp - 0x3c], str.Mapped_image
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x420c5c
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 6
push eax
push dword [esi + 8]
mov dword [ebp - 0x3c], 0x586318
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x4207d2
mov edx, dword [esi + 0xc]
test edx, edx
je 0x4207be
mov ecx, ebx
call fcn.0040e980
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
push str.The_object_is_unnamed.
push 0x5634d8
push str.Unable_to_open_key.
jmp 0x420c99
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xe
push eax
push dword [esi + 8]
mov dword [ebp - 0x3c], 0x584fdc
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x4208c5
xor edi, edi
mov edx, 0x1000
cmp dword [0x5cd6d4], edi
je 0x420833
push dword [esi]
lea ecx, [ebp - 0x34]
call fcn.004d3720
test eax, eax
js 0x420ca9
mov edx, dword [esi + 4]
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
push edi
push 0x18
push eax
push 4
call fcn.004dd3f0
push dword [ebp - 0x34]
jmp 0x420869
push dword ds:[esi + 4]
lea ecx, [ebp - 0x30]
push dword [esi]
call fcn.00420580
test eax, eax
js 0x420ca9
push 0
push 0x18
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp - 0x30]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
push dword [ebp - 0x30]
test eax, eax
cmovns edi, dword [ebp - 0x14]
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
je 0x420ca9
push edi
call sym.ProcessHacker.exe__PhReferenceProcessItem_4
mov esi, eax
test esi, esi
je 0x4208ac
push esi
push 0
push 1
call sym.ProcessHacker.exe__PhPluginInvokeWindowCallback_12
push esi
call sym.ProcessHacker.exe_PhDereferenceObject
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
push str.The_process_does_not_exist.
push 0x5634d8
push str.Unable_to_show_the_process_properties.
jmp 0x4208c0
jmp 0x420c99
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xe
push eax
push dword [esi + 8]
mov dword [ebp - 0x3c], 0x58635c
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x420b50
push dword [esi + 4]
mov edx, 7
mov dword [ebp - 0x2c], 0
push dword [esi]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x35], 0
call fcn.00420580
mov edi, eax
test edi, edi
jns 0x42092b
push dword ds:[esi + 4]
mov edx, 5
lea ecx, [ebp - 0x2c]
push dword [esi]
call fcn.00420580
mov edi, eax
mov byte [ebp - 0x35], 1
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x420b26
push 0
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
push 0
push 0
push 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x30], 0x2000000
push ecx
push 0
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x41], 0
call sym.ProcessHacker.exe_PhGetHandleInformationEx
test eax, eax
js 0x420999
cmp dword [ebp - 0x3c], 0
jge 0x420999
mov eax, dword ds:[ebp - 0x48]
xor esi, esi
mov dword [ebp - 0x48], esi
test eax, eax
je 0x42099c
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x42099c
call fcn.004c1f60
jmp 0x42099c
mov esi, dword [ebp - 0x48]
push 0
push 0x10
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ntdll.dll_NtQuerySection]
mov edi, eax
test edi, edi
js 0x420afc
cmp dword [ebp - 0x14], 0
jg 0x4209d0
mov eax, dword [ebp - 0x18]
jl 0x4209cb
cmp eax, 0x2000000
ja 0x4209d0
mov dword [ebp - 0x30], eax
jmp 0x4209d4
mov byte [ebp - 0x41], 1
movzx eax, byte ds:[ebp - 0x35]
xor eax, 1
lea eax, [eax*2 + 2]
push eax
push 0
push 1
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
cmp edi, 0xc000004e
jne 0x420a3b
cmp byte [ebp - 0x35], 0
jne 0x420aeb
push 2
push 0
push 1
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
jmp 0x420a40
test edi, edi
js 0x420aeb
push 0x20
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
cmp byte ds:[ebp - 0x41], 0
mov esi, eax
je 0x420a77
push str.The_section_size_is_greater_than_32_MB._Only_the_first_32_MB_will_be_available.
push 0x5634d8
push 0x30
push ebx
call sym.ProcessHacker.exe_PhShowMessage
add esp, 0x10
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [esi + 0x10], 0xffffffff
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x420ac8
push dword [eax + 4]
push str.Section__
call sym.ProcessHacker.exe_PhConcatStrings2
jmp 0x420ad2
push 0x58635c
call sym.ProcessHacker.exe_PhCreateString
push esi
push 0
push 6
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 1
call sym.ProcessHacker.exe__PhPluginInvokeWindowCallback_12
mov esi, dword [ebp - 0x3c]
jmp 0x420afc
push 0
push edi
push str.Unable_to_map_a_view_of_the_section.
push ebx
lfence
call sym.ProcessHacker.exe_PhShowStatus
lea esp, [esp]
test esi, esi
je 0x420b17
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x420b17
call fcn.004c1f60
push dword ds:[ebp - 0x2c]
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
jns 0x420ca9
push 0
push edi
push str.Unable_to_query_the_section.
push ebx
lfence
call sym.ProcessHacker.exe_PhShowStatus
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xc
push eax
push dword [esi + 8]
mov dword [ebp - 0x3c], str.Thread
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x420ca9
xor edi, edi
mov dword [ebp - 0x34], edi
cmp dword [0x5cd6d4], edi
je 0x420bc5
push dword [esi]
mov edx, 0x1000
lea ecx, [ebp - 0x30]
call fcn.004d3720
test eax, eax
js 0x420ca9
mov edx, dword [esi + 4]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
push edi
push 0x1c
push eax
push 5
call fcn.004dd3f0
test eax, eax
js 0x420bc0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x30]
jmp 0x420c02
push dword [esi + 4]
mov edx, 0x800
lea ecx, [ebp - 0x2c]
push dword [esi]
call fcn.00420580
test eax, eax
js 0x420ca9
push 0
push 0x1c
lea eax, [ebp - 0x28]
push eax
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x420bff
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x2c]
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
je 0x420ca9
push edi
call sym.ProcessHacker.exe__PhReferenceProcessItem_4
mov edi, eax
test edi, edi
je 0x4208ac
push edi
push 0
call sym.ProcessHacker.exe__PhCreateProcessPropContext_8
push edi
mov esi, eax
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, dword [ebp - 0x34]
push 0x420670
push esi
push 0x10
mov dword [esi + 0x40], eax
call sym.ProcessHacker.exe__PhPluginInvokeWindowCallback_12
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
mov eax, dword ds:[esi + 0xc]
test eax, eax
je 0x420c8a
push str.Make_sure_the_Explorer_executable_file_is_present.
push 0
push dword [eax + 4]
push str.FileBrowseExecutable
push ebx
call sym.ProcessHacker.exe__PhShellExecuteUserString_20
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
push str.The_object_is_unnamed.
push 0x5634d8
push str.Unable_to_open_the_file_location.
push 0xfffe
push 0x20
push ebx
call sym.ProcessHacker.exe_PhShowMessage2
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00534c91
mov esp, ebp
pop ebp
ret