Function at 0x4e2560
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x62f040]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
mov ebx, edx
push edi
push str.Processing_stack_frames...
mov dword [esp + 0x1c], ebx
and dword [ebx + 0x14], 0xfffffffd
call sym.SystemInformer.exe_PhCountStringZ
add eax, eax
mov dword [esp + 0x10], str.Processing_stack_frames...
push 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 0
push eax
call sym.SystemInformer.exe_PhCreateString3
mov ecx, dword [ebx + 0x38]
mov dword [ebx + 0x38], eax
test ecx, ecx
je 0x4e25c5
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e25c5
nop
call fcn.004fc420
push 0x457
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e260c
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
call sym.SystemInformer.exe_PhGetWindowTextEx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e260c
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], eax
test ecx, ecx
je 0x4e260c
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e260c
call fcn.004fc420
push 0x60
lea eax, [esp + 0x24]
push 0
push eax
call fcn.005826f0
add esp, 0xc
mov dword [esp + 0x20], 0x60
mov dword [esp + 0x2c], 0x1c0a
mov dword [esp + 0x30], 8
push 0
call sym.SystemInformer.exe__PhGetApplicationIcon_4
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x94]
mov dword [esp + 0x24], eax
mov eax, dword [0x635f18]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x74], 0x4e22c0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x3c], str.Processing_stack_frames...
test eax, eax
je 0x4e2673
mov eax, dword [eax + 4]
jmp 0x4e2678
mov eax, str.Loading_symbols_for_image...
push 0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x84]
push 0
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x88], 0xc8
push eax
call dword [sym.imp.COMCTL32.dll_Ordinal_345]
mov edi, edi
test eax, eax
js 0x4e2bf4
cmp dword [esp + 0x80], 2
je 0x4e2bf4
test byte ds:[ebx + 0x14], 2
jne 0x4e2bb5
cmp dword [ebx + 0x34], 0
jl 0x4e2bb5
mov eax, dword [ebx + 0x18]
xor esi, esi
cmp dword [eax], esi
jbe 0x4e26f3
lea esp, [esp]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
call fcn.004e18c0
mov eax, dword [ebx + 0x18]
inc esi
cmp esi, dword [eax]
jb 0x4e26e0
lea ecx, ds:[eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e2708
call fcn.004fc420
push dword [0x635f10]
mov eax, dword [ebx + 0x1c]
push 0xc
mov dword [ebx + 0x18], eax
call sym.SystemInformer.exe_PhCreateObject
push 0x28
mov esi, eax
push 4
push dword [0x636044]
mov dword [esi], 0
mov dword [esi + 4], 0xa
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
xor edi, edi
mov eax, dword [ebx + 0xac]
mov dword [ebx + 0x1c], esi
cmp dword [eax], edi
jbe 0x4e27c6
lea esp, [esp]
mov eax, dword [eax + 8]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4e2770
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e2770
call fcn.004fc420
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4e278a
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e278a
call fcn.004fc420
mov eax, dword [esi + 0x214]
test eax, eax
je 0x4e27a8
lea ecx, ds:[eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e27a8
call fcn.004fc420
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e27bb
call fcn.004fc420
mov eax, dword [ebx + 0xac]
inc edi
cmp edi, dword [eax]
jb 0x4e2750
mov esi, dword [ebx + 0xa8]
cmp dword [esi + 0x1c], 0
jbe 0x4e27fe
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0xff
push dword [esi + 0x10]
call fcn.005826f0
add esp, 0xc
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov eax, dword [ebx + 0xac]
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [eax], 0
mov eax, dword [ebx + 0x18]
cmp dword [eax], edi
jbe 0x4e2b9e
jmp 0x4e2820
mov eax, dword ds:[eax + 8]
push dword [0x635ef4]
push 0x288
mov eax, dword [eax + edi*4]
mov dword [esp + 0x88], eax
mov edi, dword [eax + 0x2c]
call sym.SystemInformer.exe_PhCreateObject
push 0x288
push 0
push eax
mov dword [esp + 0x28], eax
call fcn.005826f0
mov esi, dword [esp + 0x28]
add esp, 0xc
push 0x34
push 0
push esi
call fcn.005826f0
or dword ds:[esi], 5
add esp, 0xc
mov eax, dword [esp + 0x1c]
add eax, 0x218
push 0x70
push 0
push eax
call fcn.005826f0
mov ecx, dword [esp + 0x28]
add esp, 0xc
lea eax, [ecx + 0x218]
mov dword [ecx + 0x18], eax
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x1c], 0xe
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x60], edi
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 0xa8]
call sym.SystemInformer.exe_PhAddEntryHashtable
mov edi, dword [ebx + 0xac]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x4e28fe
mov ecx, dword [edi + 8]
add eax, eax
mov dword [edi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x4e28ec
push 4
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4e28fb
push ecx
push 4
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov dword [edi + 8], eax
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x80]
mov dword [eax + ecx*4], edx
mov ecx, 0xb
inc dword [edi]
mov ebx, dword [esp + 0x1c]
lea edi, [ebx + 0x34]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x80]
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x70], eax
mov ecx, dword [esi + 0x34]
mov dword [ebx + 0x74], ecx
mov eax, dword [esi + 0x38]
mov dword [ebx + 0x78], eax
test ecx, ecx
je 0x4e2948
push ecx
call sym.SystemInformer.exe_PhGetFileName
mov dword [ebx + 0x74], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4e2968
push 0x10
lea eax, [ebx + 0x80]
mov dword [ebx + 0x7c], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e298b
push 0x10
lea eax, [ebx + 0xb2]
mov dword [ebx + 0xae], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
mov eax, dword [esi]
cmp eax, dword [0x636054]
ja 0x4e2a2e
mov ecx, dword ds:[esi + 0x14]
test ecx, ecx
je 0x4e29c0
push 0x10
lea eax, [ebx + 0xe4]
mov dword [ebx + 0xe0], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4e29e8
push 0x10
lea eax, [ebx + 0x116]
mov dword [ebx + 0x112], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4e2a0b
push 0x10
lea eax, [ebx + 0x148]
mov dword [ebx + 0x144], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4e2a2e
push 0x10
lea eax, [ebx + 0x17a]
mov dword [ebx + 0x176], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x4e2a50
push 0x10
lea eax, [ebx + 0x1ac]
mov dword [ebx + 0x1a8], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4e2a73
push 0x10
lea eax, [ebx + 0x1de]
mov dword [ebx + 0x1da], 0x780030
push eax
push ecx
call fcn.005845ea
add esp, 0xc
movzx eax, word [ebx + 0x58]
cmp eax, 0x8664
ja 0x4e2ae4
mov edi, edi
je 0x4e2ad1
sub eax, 0x14c
je 0x4e2abe
sub eax, 0x74
je 0x4e2aab
sub eax, 0x38a4
jne 0x4e2af2
lea eax, [ebx + 0x20c]
mov ecx, str.CHPE
mov dword [eax], 8
jmp 0x4e2b29
lea eax, [ebx + 0x20c]
mov ecx, 0x606b50
mov dword [eax], 6
jmp 0x4e2b29
lea eax, [ebx + 0x20c]
mov ecx, 0x606b24
mov dword [eax], 6
jmp 0x4e2b29
lea eax, [ebx + 0x20c]
mov ecx, 0x606b48
mov dword [eax], 6
jmp 0x4e2b29
cmp eax, 0xa641
je 0x4e2b18
cmp eax, 0xaa64
je 0x4e2b05
lea eax, [ebx + 0x20c]
mov ecx, 0x5ccc90
mov dword [eax], 0
jmp 0x4e2b29
lea eax, [ebx + 0x20c]
mov ecx, 0x606b78
mov dword [eax], 0xa
jmp 0x4e2b29
lea eax, [ebx + 0x20c]
mov ecx, str.ARM64EC
mov dword [eax], 0xe
mov edx, 4
mov dword [edx + eax], ecx
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4e2b5e
mov ecx, dword ds:[esi + 0xc]
test ecx, ecx
je 0x4e2b5e
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 8]
mov eax, dword [eax + edi*4 - 4]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4e2b5e
sub ecx, eax
mov dword [ebx + 0x64], ecx
push 0x70
lea eax, [ebx + 0x218]
push 0
push eax
call fcn.005826f0
and dword [ebx + 0x28], 0xfffffffd
add esp, 0xc
mov ebx, dword [esp + 0x18]
push 0
push 0
push 0x404
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x18]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [eax]
jb 0x4e2820
push 0
push 0
push 0x404
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e2bd9
mov eax, dword [ebx + 0x1c]
xor esi, esi
cmp dword [eax], esi
jbe 0x4e2bd3
mov edi, edi
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
call fcn.004e18c0
mov eax, dword [ebx + 0x1c]
inc esi
cmp esi, dword [eax]
jb 0x4e2bc0
mov dword [eax], 0
test byte [ebx + 0x14], 2
jne 0x4e2bf4
mov eax, dword [ebx + 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0058078f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x84]
mov eax, 0x80
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0058078f
mov esp, ebp
pop ebp
ret