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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x62d040]
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 0x4e22a5
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e22a5
nop
call fcn.004fbe40
push 0x457
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e22ec
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
call sym.SystemInformer.exe_PhGetWindowTextEx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e22ec
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], eax
test ecx, ecx
je 0x4e22ec
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e22ec
call fcn.004fbe40
push 0x60
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00580ff0
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 [0x633f84]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x74], 0x4e1fa0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x3c], str.Processing_stack_frames...
test eax, eax
je 0x4e2353
mov eax, dword [eax + 4]
jmp 0x4e2358
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 0x4e28d4
cmp dword [esp + 0x80], 2
je 0x4e28d4
test byte ds:[ebx + 0x14], 2
jne 0x4e2895
cmp dword [ebx + 0x34], 0
jl 0x4e2895
mov eax, dword [ebx + 0x18]
xor esi, esi
cmp dword [eax], esi
jbe 0x4e23d3
lea esp, [esp]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
call fcn.004e1580
mov eax, dword [ebx + 0x18]
inc esi
cmp esi, dword [eax]
jb 0x4e23c0
lea ecx, ds:[eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e23e8
call fcn.004fbe40
push dword [0x633f7c]
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 [0x633f94]
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 0x4e24a6
lea esp, [esp]
mov eax, dword [eax + 8]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4e2450
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e2450
call fcn.004fbe40
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4e246a
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e246a
call fcn.004fbe40
mov eax, dword [esi + 0x214]
test eax, eax
je 0x4e2488
lea ecx, ds:[eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e2488
call fcn.004fbe40
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e249b
call fcn.004fbe40
mov eax, dword [ebx + 0xac]
inc edi
cmp edi, dword [eax]
jb 0x4e2430
mov esi, dword [ebx + 0xa8]
cmp dword [esi + 0x1c], 0
jbe 0x4e24de
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0xff
push dword [esi + 0x10]
call fcn.00580ff0
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 0x4e287e
jmp 0x4e2500
mov eax, dword ds:[eax + 8]
push dword [0x633f60]
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.00580ff0
mov esi, dword [esp + 0x28]
add esp, 0xc
push 0x34
push 0
push esi
call fcn.00580ff0
or dword ds:[esi], 5
add esp, 0xc
mov eax, dword [esp + 0x1c]
add eax, 0x218
push 0x70
push 0
push eax
call fcn.00580ff0
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 0x4e25de
mov ecx, dword [edi + 8]
add eax, eax
mov dword [edi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x4e25cc
push 4
push dword [0x633f94]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4e25db
push ecx
push 4
push dword [0x633f94]
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 0x4e2628
push ecx
call sym.SystemInformer.exe_PhGetFileName
mov dword [ebx + 0x74], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4e2648
push 0x10
lea eax, [ebx + 0x80]
mov dword [ebx + 0x7c], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e266b
push 0x10
lea eax, [ebx + 0xb2]
mov dword [ebx + 0xae], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
mov eax, dword [esi]
cmp eax, dword [0x6340c0]
ja 0x4e270e
mov ecx, dword ds:[esi + 0x14]
test ecx, ecx
je 0x4e26a0
push 0x10
lea eax, [ebx + 0xe4]
mov dword [ebx + 0xe0], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4e26c8
push 0x10
lea eax, [ebx + 0x116]
mov dword [ebx + 0x112], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4e26eb
push 0x10
lea eax, [ebx + 0x148]
mov dword [ebx + 0x144], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4e270e
push 0x10
lea eax, [ebx + 0x17a]
mov dword [ebx + 0x176], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x4e2730
push 0x10
lea eax, [ebx + 0x1ac]
mov dword [ebx + 0x1a8], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4e2753
push 0x10
lea eax, [ebx + 0x1de]
mov dword [ebx + 0x1da], 0x780030
push eax
push ecx
call fcn.00582eea
add esp, 0xc
movzx eax, word [ebx + 0x58]
cmp eax, 0x8664
ja 0x4e27c4
mov edi, edi
je 0x4e27b1
sub eax, 0x14c
je 0x4e279e
sub eax, 0x74
je 0x4e278b
sub eax, 0x38a4
jne 0x4e27d2
lea eax, [ebx + 0x20c]
mov ecx, str.CHPE
mov dword [eax], 8
jmp 0x4e2809
lea eax, [ebx + 0x20c]
mov ecx, 0x604940
mov dword [eax], 6
jmp 0x4e2809
lea eax, [ebx + 0x20c]
mov ecx, 0x604914
mov dword [eax], 6
jmp 0x4e2809
lea eax, [ebx + 0x20c]
mov ecx, 0x604938
mov dword [eax], 6
jmp 0x4e2809
cmp eax, 0xa641
je 0x4e27f8
cmp eax, 0xaa64
je 0x4e27e5
lea eax, [ebx + 0x20c]
mov ecx, 0x5caac0
mov dword [eax], 0
jmp 0x4e2809
lea eax, [ebx + 0x20c]
mov ecx, 0x604968
mov dword [eax], 0xa
jmp 0x4e2809
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 0x4e283e
mov ecx, dword ds:[esi + 0xc]
test ecx, ecx
je 0x4e283e
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 0x4e283e
sub ecx, eax
mov dword [ebx + 0x64], ecx
push 0x70
lea eax, [ebx + 0x218]
push 0
push eax
call fcn.00580ff0
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 0x4e2500
push 0
push 0
push 0x404
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e28b9
mov eax, dword [ebx + 0x1c]
xor esi, esi
cmp dword [eax], esi
jbe 0x4e28b3
mov edi, edi
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
call fcn.004e1580
mov eax, dword [ebx + 0x1c]
inc esi
cmp esi, dword [eax]
jb 0x4e28a0
mov dword [eax], 0
test byte [ebx + 0x14], 2
jne 0x4e28d4
mov eax, dword [ebx + 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0057ee0f
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.0057ee0f
mov esp, ebp
pop ebp
ret