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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x62a040]
xor eax, esp
mov dword [esp + 0xc8], eax
cmp dword [0x631094], 0
push ebx
push esi
mov ebx, edx
mov dword [esp + 8], 0
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
je 0x4e19c7
cmp dword [0x631080], 0
lea esp, [esp]
je 0x4e19c7
lea eax, ds:[esp + 0x18]
mov edx, edi
push eax
sub esp, 8
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
push ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
call fcn.0050fb80
cmp byte [0x63035a], 0
mov dword [esp + 0x14], eax
je 0x4e190f
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x40]
push eax
push 0x631a68
mov dword [esp + 0x48], 2
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edi
call sym.SystemInformer.exe_PhInvokeCallback
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
jmp 0x4e1917
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
mov edx, edi
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebx]
push dword [esp + 0x28]
push dword [esp + 0x28]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
call fcn.00510040
jmp 0x4e1940
test al, al
je 0x4e1adc
mov esi, dword [esp + 0x10]
push 0
push 3
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xd0], eax
lea eax, [esp + 0x90]
push eax
mov dword [esp + 0x94], 1
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], 1
mov dword [esp + 0xbc], 6
mov dword [esp + 0xc0], 0x60faf8
mov dword [esp + 0xc4], 8
call sym.SystemInformer.exe_PhFormat
mov dword [esp + 0x24], eax
lea ecx, [esi - 8]
or edx, 0xffffffff
lock xadd dword [ecx + 4], edx
dec edx
jmp 0x4e1ad5
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi]
cdq
push 0
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax]
push dword [eax + 4]
call sym.SystemInformer.exe_PhGetSymbolFromAddress
cmp byte [0x63035a], 0
mov dword [esp + 0x14], eax
je 0x4e1a47
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x88]
push eax
push 0x631a68
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], edi
call sym.SystemInformer.exe_PhInvokeCallback
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x98]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], esi
jmp 0x4e1a4f
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x28]
push eax
push 0
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
cdq
push edx
push eax
mov eax, dword [ebx]
mov eax, dword [eax]
push dword [eax + 4]
call sym.SystemInformer.exe_PhGetLineFromAddress
test al, al
je 0x4e1adc
mov esi, dword ds:[esp + 0x10]
push 0
push 3
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 1
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 1
mov dword [esp + 0x74], 6
mov dword [esp + 0x78], 0x60faf8
mov dword [esp + 0x7c], 8
call sym.SystemInformer.exe_PhFormat
mov dword [esp + 0x24], eax
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e1adc
call fcn.004f9e40
mov esi, edi
mov ecx, 0xb
lea edi, [ebx + 4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4e1b6f
mov eax, 0x14c
cmp word [ebx + 0x28], ax
jne 0x4e1b6f
test byte [ebx + 0x2a], 2
je 0x4e1b6f
mov eax, dword ds:[esi]
add eax, 0x22
mov dword [esp + 0x1c], 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0
push eax
call sym.SystemInformer.exe_PhCreateString3
push dword [esi]
mov ebx, eax
push dword [esi + 4]
push dword [ebx + 4]
call fcn.0057e5b0
mov edi, dword [esi]
mov ecx, 8
add edi, dword [ebx + 4]
mov esi, str.__No_unwind_info_
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff8
movsw word es:[edi], word [esi]
mov esi, ebx
or edi, 0xffffffff
mov dword [esp + 0x14], esi
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e1b69
call fcn.004f9e40
mov ebx, dword [esp + 0x20]
jmp 0x4e1b72
or edi, 0xffffffff
cmp dword [0x631094], 0
je 0x4e1c37
cmp dword [0x631080], 0
je 0x4e1c37
mov eax, dword [ebx + 0x2c]
cmp eax, 0xffffffff
je 0x4e1c37
shr eax, 8
test al, 2
je 0x4e1c37
test esi, esi
je 0x4e1c0d
mov eax, dword [esi]
add eax, 0x24
mov dword [esp + 0x1c], 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 0
push eax
call sym.SystemInformer.exe_PhCreateString3
push dword [esi]
mov ebx, eax
push dword [esi + 4]
push dword [ebx + 4]
call fcn.0057e5b0
mov edi, dword [esi]
mov ecx, 9
add edi, dword [ebx + 4]
mov esi, str.__Inline_Function_
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x20]
or edi, 0xffffffff
add esp, 0xc
mov esi, ebx
add ecx, 0xfffffff8
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e1c09
call fcn.004f9e40
mov ebx, dword [esp + 0x20]
xor eax, eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4e1cab
push 0x10
lea eax, [ebx + 0x5e]
mov dword [ebx + 0x5a], 0x780030
push eax
push ecx
call fcn.0058034a
mov ecx, dword [ebx + 0x30]
add esp, 0xc
test ecx, ecx
je 0x4e1cab
mov eax, dword [ebx]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4 - 4]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x4e1cab
mov ecx, dword ds:[ebx + 0x10]
sub ecx, eax
mov dword [esp + 0x28], 0x10c
mov al, byte [0x62e928]
push 0
mov byte [esp + 0x36], al
lea eax, [esp + 0x2c]
push 1
push eax
mov dword [ebx + 0x34], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
call sym.SystemInformer.exe_PhFormat
mov dword [ebx + 0x1f4], eax
mov eax, dword [ebx + 4]
cmp eax, dword [0x631044]
ja 0x4e1d32
push 0x10
lea eax, [ebx + 0xc2]
mov dword [ebx + 0xbe], 0x780030
push eax
push dword [ebx + 0x18]
call fcn.0058034a
add esp, 0xc
mov dword [ebx + 0xf0], 0x780030
lea eax, [ebx + 0xf4]
push 0x10
push eax
push dword [ebx + 0x1c]
call fcn.0058034a
add esp, 0xc
mov dword [ebx + 0x122], 0x780030
lea eax, [ebx + 0x126]
push 0x10
push eax
push dword [ebx + 0x20]
call fcn.0058034a
add esp, 0xc
mov dword [ebx + 0x154], 0x780030
lea eax, [ebx + 0x158]
push 0x10
push eax
push dword [ebx + 0x24]
call fcn.0058034a
add esp, 0xc
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4e1d55
push 0x10
lea eax, [ebx + 0x18a]
mov dword [ebx + 0x186], 0x780030
push eax
push ecx
call fcn.0058034a
add esp, 0xc
mov ecx, dword [ebx + 8]
test ecx, ecx
je 0x4e1d78
push 0x10
lea eax, [ebx + 0x1bc]
mov dword [ebx + 0x1b8], 0x780030
push eax
push ecx
call fcn.0058034a
add esp, 0xc
movzx eax, word ds:[ebx + 0x28]
cmp eax, 0x8664
ja 0x4e1df9
je 0x4e1de6
sub eax, 0x14c
je 0x4e1dd3
sub eax, 0x74
je 0x4e1dbd
lea esp, [esp]
sub eax, 0x38a4
jne 0x4e1e0e
lea eax, [ebx + 0x1ec]
mov ecx, str.CHPE
mov dword [eax], 8
jmp 0x4e1e46
lea eax, [ebx + 0x1ec]
mov ecx, 0x602690
mov dword [eax], 6
jmp 0x4e1e46
lea eax, [ebx + 0x1ec]
mov ecx, 0x602664
mov dword [eax], 6
jmp 0x4e1e46
lea eax, [ebx + 0x1ec]
mov ecx, 0x602688
mov dword [eax], 6
jmp 0x4e1e46
lea esp, [esp]
cmp eax, 0xa641
je 0x4e1e35
cmp eax, 0xaa64
je 0x4e1e22
lea eax, ds:[ebx + 0x1ec]
mov ecx, 0x5c6aec
mov dword [eax], 0
jmp 0x4e1e46
lea eax, [ebx + 0x1ec]
mov ecx, 0x6026b8
mov dword [eax], 0xa
jmp 0x4e1e46
lea eax, [ebx + 0x1ec]
mov ecx, str.ARM64EC
mov dword [eax], 0xe
mov edx, 4
mov dword [eax + edx], ecx
mov ecx, dword [ebx + 0x38]
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x38], eax
test ecx, ecx
je 0x4e1e6e
add ecx, 0xfffffff8
mov eax, edi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4e1e6e
call fcn.004f9e40
mov ecx, dword [ebx + 0x3c]
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x3c], eax
test ecx, ecx
je 0x4e1e8c
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], edi
dec edi
jne 0x4e1e8c
call fcn.004f9e40
mov ecx, dword [esp + 0xd4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0057c26f
mov esp, ebp
pop ebp
ret 4