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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x62e040]
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 0x4e21c5
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e21c5
nop
call fcn.004fc020
push 0x457
push dword [ebx + 0x98]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x4e220c
lea ecx, [esp + 0x14]
push ecx
push 0
push eax
call sym.SystemInformer.exe_PhGetWindowTextEx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4e220c
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], eax
test ecx, ecx
je 0x4e220c
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e220c
call fcn.004fc020
push 0x60
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00582250
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 [0x634f18]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x74], 0x4e1ec0
mov dword [esp + 0x78], ebx
mov dword [esp + 0x3c], str.Processing_stack_frames...
test eax, eax
je 0x4e2273
mov eax, dword [eax + 4]
jmp 0x4e2278
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 0x4e27f4
cmp dword [esp + 0x80], 2
je 0x4e27f4
test byte ds:[ebx + 0x14], 2
jne 0x4e27b5
cmp dword [ebx + 0x34], 0
jl 0x4e27b5
mov eax, dword [ebx + 0x18]
xor esi, esi
cmp dword [eax], esi
jbe 0x4e22f3
lea esp, [esp]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
call fcn.004e14c0
mov eax, dword [ebx + 0x18]
inc esi
cmp esi, dword [eax]
jb 0x4e22e0
lea ecx, ds:[eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e2308
call fcn.004fc020
push dword [0x634f10]
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 [0x635044]
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 0x4e23c6
lea esp, [esp]
mov eax, dword [eax + 8]
mov esi, dword [eax + edi*4]
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x4e2370
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e2370
call fcn.004fc020
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x4e238a
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e238a
call fcn.004fc020
mov eax, dword [esi + 0x214]
test eax, eax
je 0x4e23a8
lea ecx, ds:[eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e23a8
call fcn.004fc020
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e23bb
call fcn.004fc020
mov eax, dword [ebx + 0xac]
inc edi
cmp edi, dword [eax]
jb 0x4e2350
mov esi, dword [ebx + 0xa8]
cmp dword [esi + 0x1c], 0
jbe 0x4e23fe
mov eax, dword [esi + 0xc]
shl eax, 2
push eax
push 0xff
push dword [esi + 0x10]
call fcn.00582250
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 0x4e279e
jmp 0x4e2420
mov eax, dword ds:[eax + 8]
push dword [0x634ef4]
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.00582250
mov esi, dword [esp + 0x28]
add esp, 0xc
push 0x34
push 0
push esi
call fcn.00582250
or dword ds:[esi], 5
add esp, 0xc
mov eax, dword [esp + 0x1c]
add eax, 0x218
push 0x70
push 0
push eax
call fcn.00582250
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 0x4e24fe
mov ecx, dword [edi + 8]
add eax, eax
mov dword [edi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x4e24ec
push 4
push dword [0x635044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4e24fb
push ecx
push 4
push dword [0x635044]
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 0x4e2548
push ecx
call sym.SystemInformer.exe_PhGetFileName
mov dword [ebx + 0x74], eax
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4e2568
push 0x10
lea eax, [ebx + 0x80]
mov dword [ebx + 0x7c], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4e258b
push 0x10
lea eax, [ebx + 0xb2]
mov dword [ebx + 0xae], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
mov eax, dword [esi]
cmp eax, dword [0x635054]
ja 0x4e262e
mov ecx, dword ds:[esi + 0x14]
test ecx, ecx
je 0x4e25c0
push 0x10
lea eax, [ebx + 0xe4]
mov dword [ebx + 0xe0], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4e25e8
push 0x10
lea eax, [ebx + 0x116]
mov dword [ebx + 0x112], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4e260b
push 0x10
lea eax, [ebx + 0x148]
mov dword [ebx + 0x144], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4e262e
push 0x10
lea eax, [ebx + 0x17a]
mov dword [ebx + 0x176], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x4e2650
push 0x10
lea eax, [ebx + 0x1ac]
mov dword [ebx + 0x1a8], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4e2673
push 0x10
lea eax, [ebx + 0x1de]
mov dword [ebx + 0x1da], 0x780030
push eax
push ecx
call fcn.0058414a
add esp, 0xc
movzx eax, word [ebx + 0x58]
cmp eax, 0x8664
ja 0x4e26e4
mov edi, edi
je 0x4e26d1
sub eax, 0x14c
je 0x4e26be
sub eax, 0x74
je 0x4e26ab
sub eax, 0x38a4
jne 0x4e26f2
lea eax, [ebx + 0x20c]
mov ecx, str.CHPE
mov dword [eax], 8
jmp 0x4e2729
lea eax, [ebx + 0x20c]
mov ecx, 0x605b28
mov dword [eax], 6
jmp 0x4e2729
lea eax, [ebx + 0x20c]
mov ecx, 0x605afc
mov dword [eax], 6
jmp 0x4e2729
lea eax, [ebx + 0x20c]
mov ecx, 0x605b20
mov dword [eax], 6
jmp 0x4e2729
cmp eax, 0xa641
je 0x4e2718
cmp eax, 0xaa64
je 0x4e2705
lea eax, [ebx + 0x20c]
mov ecx, 0x5cbc90
mov dword [eax], 0
jmp 0x4e2729
lea eax, [ebx + 0x20c]
mov ecx, 0x605b50
mov dword [eax], 0xa
jmp 0x4e2729
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 0x4e275e
mov ecx, dword ds:[esi + 0xc]
test ecx, ecx
je 0x4e275e
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 0x4e275e
sub ecx, eax
mov dword [ebx + 0x64], ecx
push 0x70
lea eax, [ebx + 0x218]
push 0
push eax
call fcn.00582250
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 0x4e2420
push 0
push 0
push 0x404
push dword [ebx + 0x9c]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e27d9
mov eax, dword [ebx + 0x1c]
xor esi, esi
cmp dword [eax], esi
jbe 0x4e27d3
mov edi, edi
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
call fcn.004e14c0
mov eax, dword [ebx + 0x1c]
inc esi
cmp esi, dword [eax]
jb 0x4e27c0
mov dword [eax], 0
test byte [ebx + 0x14], 2
jne 0x4e27f4
mov eax, dword [ebx + 0x34]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.005802ef
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.005802ef
mov esp, ebp
pop ebp
ret