Function at 0x41df20
Capabilities:
Map section object

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x5ac004]
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 0x41e6f8
cmp dword [eax], 0
je 0x41e6f8
push 1
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 8
push ecx
push eax
mov dword [ebp - 0x6c], 0x56c740
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x41e6b6
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 6
push eax
push dword [esi + 8]
mov dword [ebp - 0x6c], 0x56c738
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x41e6b6
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x16
push eax
push dword [esi + 8]
mov dword [ebp - 0x6c], str.Mapped_file
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x41e6b6
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0x18
push eax
push dword [esi + 8]
mov dword [ebp - 0x6c], str.Mapped_image
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
jne 0x41e6b6
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 6
push eax
push dword [esi + 8]
mov dword [ebp - 0x6c], 0x56da04
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x41e028
mov edx, dword [esi + 0xc]
test edx, edx
je 0x41e01e
mov ecx, ebx
call fcn.0040c7a0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0051e068
mov esp, ebp
pop ebp
ret
push str.Unable_to_open_key_because_the_object_is_unnamed.
jmp 0x41e6e8
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0xe
push eax
push dword [esi + 8]
mov dword [ebp - 0x6c], 0x56c684
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x41e106
xor edi, edi
mov edx, 0x1000
cmp dword [0x5b1f3c], edi
je 0x41e08a
push dword [esi]
lea ecx, [ebp - 0x50]
call fcn.004c3180
test eax, eax
js 0x41e6f8
mov edx, dword ds:[esi + 4]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x50]
push edi
push 0x18
push eax
push 4
call fcn.004cc270
push dword [ebp - 0x50]
jmp 0x41e0b5
push dword [esi + 4]
lea ecx, [ebp - 0x58]
push dword [esi]
call fcn.0041dde0
test eax, eax
js 0x41e6f8
push 0
push 0x18
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x58]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
push dword [ebp - 0x58]
test eax, eax
cmovns edi, dword [ebp - 0x10]
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
je 0x41e6f8
push edi
call sym.ProcessHacker.exe__PhReferenceProcessItem_4
mov esi, eax
test esi, esi
je 0x41e0fc
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.0051e068
mov esp, ebp
pop ebp
ret
push str.The_process_does_not_exist.
jmp 0x41e6e8
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0xe
push eax
push dword [esi + 8]
mov dword [ebp - 0x6c], 0x56da48
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x41e59b
push dword [esi + 4]
mov edx, 7
mov dword [ebp - 0x54], 0
push dword [esi]
lea ecx, [ebp - 0x54]
mov byte [ebp - 0x65], 0
call fcn.0041dde0
mov edi, eax
test edi, edi
jns 0x41e16b
push dword ds:[esi + 4]
mov edx, 5
lea ecx, [ebp - 0x54]
push dword [esi]
call fcn.0041dde0
mov edi, eax
mov byte [ebp - 0x65], 1
mov esi, dword [ebp - 0x54]
test esi, esi
je 0x41e571
xor edi, edi
mov dword [ebp - 8], 0x2000000
xor eax, eax
mov dword [ebp - 0x58], edi
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov byte [ebp - 0x71], 0
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x84], eax
cmp esi, 0xffffffff
je 0x41e3d9
cmp esi, 0xfffffffe
je 0x41e3d9
mov eax, dword [0x5b1f3c]
lea edx, [ebp - 0x78]
test eax, eax
push edx
cmove ecx, esi
mov edx, ecx
mov dword [ebp - 0x60], ecx
cmovne edx, esi
or ecx, 0xffffffff
push 0xffffffffffffffff
call fcn.004d05e0
mov dword [ebp - 0x88], eax
test eax, eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x78], eax
js 0x41e417
push 1
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 8
push ecx
push eax
mov dword [ebp - 0x58], 0x56c740
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x41e21d
mov eax, dword [0x5b1f3c]
test eax, eax
jne 0x41e21d
lea ecx, [ebp - 0x80]
push ecx
push 1
jmp 0x41e2a4
push 1
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0x1e
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x58], str.EtwRegistration
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
mov eax, dword [0x5b1f3c]
je 0x41e29c
test eax, eax
je 0x41e29c
push 0
push 0
push 0x18
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x20]
push ecx
push 0x9999225f
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x1c], esi
push ecx
push 0
push 0
push 0
push eax
mov dword [ebp - 0x18], 6
mov dword [ebp - 0x10], 0x14
mov dword [ebp - 0xc], edi
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov edi, eax
test edi, edi
js 0x41e298
lea eax, [ebp - 0x4c]
push eax
call sym.ProcessHacker.exe_PhFormatGuid
jmp 0x41e2ba
xor eax, eax
jmp 0x41e2bd
lea ecx, [ebp - 0x80]
test eax, eax
push ecx
push 0
lfence
mov edx, dword [ebp - 0x60]
cmovne edx, esi
or ecx, 0xffffffff
call fcn.004d0960
mov edi, eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
lea ecx, [ecx]
test edi, edi
jns 0x41e302
push 1
lea eax, [ebp - 0x64]
mov dword [ebp - 0x64], 8
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x60], 0x56c740
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x41e40c
cmp dword [0x5b1f3c], 0
je 0x41e40c
call sym.ProcessHacker.exe_PhReferenceEmptyString
mov dword [ebp - 0x7c], eax
lea ecx, [ebp - 0x84]
mov edx, esi
push ecx
lfence
push dword [ebp - 0x78]
or ecx, 0xffffffff
push eax
call fcn.004d1840
mov dword [ebp - 0x88], eax
test eax, eax
jns 0x41e334
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
mov edi, dword ds:[ebp - 0x84]
mov dword [ebp - 0x58], edi
test edi, edi
je 0x41e348
lock inc dword [edi - 4]
mov eax, dword [ebp - 0x78]
or esi, 0xffffffff
test eax, eax
je 0x41e365
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41e365
nop
call fcn.004b3960
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x41e37e
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41e37e
call fcn.004b3960
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x84], 0
test eax, eax
je 0x41e3a5
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41e3a5
nop
call fcn.004b3960
cmp dword [ebp - 0x88], 0
jl 0x41e3d6
cmp dword [ebp - 0x8c], 0
jge 0x41e3d6
mov dword ds:[ebp - 0x58], 0
test edi, edi
je 0x41e3d6
lea ecx, [edi - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41e3d6
call fcn.004b3960
mov esi, dword [ebp - 0x54]
push 0
push 0x10
lea eax, [ebp - 0x38]
push eax
push 0
push esi
call dword [sym.imp.ntdll.dll_NtQuerySection]
mov edi, eax
test edi, edi
js 0x41e54c
cmp dword [ebp - 0x2c], 0
jg 0x41e428
mov eax, dword [ebp - 0x30]
jl 0x41e407
nop
cmp eax, 0x2000000
ja 0x41e428
mov dword [ebp - 8], eax
jmp 0x41e42c
mov dword [ebp - 0x8c], edi
jmp 0x41e32a
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x8c], ecx
jmp 0x41e34b
mov byte [ebp - 0x71], 1
movzx eax, byte [ebp - 0x65]
xor eax, 1
lea eax, [eax*2 + 2]
push eax
push 0
push 1
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
cmp edi, 0xc000004e
jne 0x41e493
cmp byte [ebp - 0x65], 0
jne 0x41e53b
push 2
push 0
push 1
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x54]
call dword [sym.imp.ntdll.dll_NtMapViewOfSection]
mov edi, eax
test edi, edi
js 0x41e53b
push 0x20
push 4
push dword [0x5b1dac]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
cmp byte [ebp - 0x71], 0
mov esi, eax
je 0x41e4c8
push str.The_section_size_is_greater_than_32_MB._Only_the_first_32_MB_will_be_available_for_editing.
push 0x54ace8
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 - 0x50]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [esi + 0x10], 0xffffffff
test eax, eax
je 0x41e516
push dword [eax + 4]
push str.Section__
call sym.ProcessHacker.exe_PhConcatStrings2
jmp 0x41e525
push 0x56da48
jmp 0x41e520
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
jmp 0x41e54c
push 0
push edi
push str.Unable_to_map_a_view_of_the_section.
push ebx
lfence
call sym.ProcessHacker.exe_PhShowStatus
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x41e568
lea ecx, ds:[eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41e568
call fcn.004b3960
push dword [ebp - 0x54]
call dword [sym.imp.ntdll.dll_NtClose]
test edi, edi
jns 0x41e6f8
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.0051e068
mov esp, ebp
pop ebp
ret
push 1
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], 0xc
push eax
push dword [esi + 8]
mov dword [ebp - 0x6c], str.Thread
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x41e6f8
xor edi, edi
mov dword [ebp - 0x50], edi
cmp dword [0x5b1f3c], edi
je 0x41e612
push dword [esi]
mov edx, 0x1000
lea ecx, [ebp - 0x60]
call fcn.004c3180
jmp 0x41e5e0
test eax, eax
js 0x41e6f8
mov edx, dword [esi + 4]
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 0x60]
push edi
push 0x1c
push eax
push 5
call fcn.004cc270
lea esp, [esp]
test eax, eax
js 0x41e60d
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x60]
jmp 0x41e656
push dword ds:[esi + 4]
mov edx, 0x800
lea ecx, [ebp - 0x58]
push dword [esi]
call fcn.0041dde0
test eax, eax
js 0x41e6f8
push 0
push 0x1c
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp - 0x58]
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x41e653
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x50], eax
push dword [ebp - 0x58]
call dword [sym.imp.ntdll.dll_NtClose]
lea esp, [esp]
test edi, edi
je 0x41e6f8
push edi
call sym.ProcessHacker.exe__PhReferenceProcessItem_4
mov edi, eax
test edi, edi
je 0x41e0fc
push edi
push 0
call sym.ProcessHacker.exe__PhCreateProcessPropContext_8
push edi
mov esi, eax
call sym.ProcessHacker.exe_PhDereferenceObject
mov eax, dword ds:[ebp - 0x50]
push 0x41ded0
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.0051e068
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
test eax, eax
je 0x41e6e3
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.0051e068
mov esp, ebp
pop ebp
ret
push str.Unable_to_open_file_location_because_the_object_is_unnamed.
push 0x54ace8
push 0x10
push ebx
call sym.ProcessHacker.exe_PhShowMessage
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e068
mov esp, ebp
pop ebp
ret