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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x537cdd
mov eax, dword fs:[0]
push eax
sub esp, 0x7f8
mov eax, dword [0x575494]
xor eax, esp
mov dword [esp + 0x7f0], eax
push ebx
push esi
push edi
mov eax, dword [0x575494]
xor eax, esp
push eax
lea eax, [esp + 0x808]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x810], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], vtable.CUseDll.0
mov dword [esp + 0x48], ebx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x810], 1
mov eax, dword [0x57656c]
mov edx, dword [eax + 0xc]
mov ecx, 0x57656c
call edx
add eax, 0x10
mov dword [esp + 0x70], eax
mov byte [esp + 0x810], 2
push 0x18
mov byte [esp + 0x70], bl
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x6c], ebx
call fcn.0051ec07
add esp, 4
cmp eax, ebx
je 0x4ea736
mov dword [eax + 4], ebx
mov dword [eax], vtable.CUseDll.0
mov dword [eax + 8], ebx
mov byte [eax + 0xc], bl
mov dword [eax + 0x10], ebx
mov byte [eax + 0x14], bl
jmp 0x4ea738
xor eax, eax
mov dword [esp + 0x68], eax
push 1
lea eax, [esp + 0x44]
mov byte [esp + 0x814], 3
call fcn.004b0230
test al, al
je 0x4ea920
mov eax, dword [edi + 0xb620]
cmp eax, ebx
je 0x4ea920
push eax
lea esi, [esp + 0x34]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.00507d60
mov byte [esp + 0x810], 4
cmp dword [esp + 0x34], ebx
jg 0x4ea7f1
lea edx, [esp + 0x7c]
call fcn.00404860
push 0x104
lea eax, [esp + 0x5f0]
push eax
mov byte [esp + 0x818], 5
call fcn.00404ee0
test al, al
je 0x4ea7c3
lea ecx, [esp + 0x5ec]
push ecx
mov eax, esi
call fcn.005080c0
lea esi, [esp + 0x7c]
mov byte [esp + 0x810], 6
call fcn.0043f550
lea edx, [esp + 0xf0]
push edx
call fcn.00440080
mov eax, esi
push eax
mov byte [esp + 0x814], 4
call fcn.0043eec0
mov eax, dword [esp + 0x54]
xor esi, esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x14], ebx
cmp eax, ebx
jle 0x4ea8e6
jmp 0x4ea810
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
lea edi, [esp + 0x44]
call fcn.004b0320
lea ecx, [esp + 0x1c]
mov byte [esp + 0x810], 7
call fcn.00508010
mov byte [esp + 0x810], 4
mov eax, dword [esp + 0x5c]
cmp eax, ebx
je 0x4ea856
push eax
call fcn.0051ebab
add esp, 4
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
cmp dword [esp + 0x20], ebx
jle 0x4ea8d3
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4ea869
mov eax, 0x54ee24
mov edi, dword [esp + 0x18]
mov edx, dword [edi + 0xb620]
add edx, 0x20a
push edx
push eax
lea ecx, [esp + 0x70]
call fcn.00403c80
test al, al
je 0x4ea8d3
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x4ea895
mov eax, 0x54ee24
mov ecx, dword [esp + 0x14]
push ecx
push eax
lea esi, [edi + 0x170]
call fcn.0042c9a0
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x4ea8b3
mov eax, 0x54ee24
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4ea8cb
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
inc dword [esp + 0x14]
mov esi, dword [esp + 0x28]
inc esi
mov dword [esp + 0x28], esi
cmp esi, dword [esp + 0x3c]
jl 0x4ea810
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
call fcn.004ea9a0
mov esi, dword [esp + 0x18]
add esi, 0x170
call fcn.0042caa0
lea edi, [esp + 0x40]
call fcn.004b02c0
mov byte [esp + 0x810], 3
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4ea920
push eax
call fcn.0051ebab
add esp, 4
lea ecx, [esp + 0x68]
push ecx
mov byte [esp + 0x814], 1
call fcn.00403bc0
lea edi, [esp + 0x40]
mov byte [esp + 0x810], 8
call fcn.004b02c0
mov edx, edi
push edx
mov byte [esp + 0x814], bl
call fcn.00441400
mov dword [esp + 0x810], 0xffffffff
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4ea96e
push eax
call fcn.0051ebab
add esp, 4
mov ecx, dword [esp + 0x808]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x7f0]
xor ecx, esp
call fcn.0051eb9c
mov esp, ebp
pop ebp
ret