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

Disassembly:
mov ecx, dword [0x90eeac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ea3e4
sub esp, 0x6c
movzx eax, byte [esp + 0x74]
mov byte [esp + 0x60], al
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x30], ebp
lea ebp, [esp + 0x60]
mov dword [esp + 0x34], ebp
mov ebp, dword [0x8ef3a8]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x3c], esi
mov dword [esp], ebp
lea ebp, [0x71f6a0]
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
call fcn.004e5b20
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test al, al
je 0x4ea23e
mov eax, dword [esp + 0x70]
jmp 0x4ea277
lea eax, [0x90f078]
mov dword [esp], eax
lea eax, [0x6d60e8]
mov dword [esp + 4], eax
call fcn.0047b350
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.004ea660
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 8]
mov ebx, dword [eax + 0x20]
cmp ebx, ecx
jne 0x4ea3cd
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
lea edi, [esp + 0x40]
xor eax, eax
call fcn.004716f8
lea ecx, [0x4ea3f0]
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], ecx
movzx ecx, byte [esp + 0x74]
mov byte [esp + 0x48], cl
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x54], edx
lea esi, [esp + 0x20]
mov dword [esp + 0x58], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0x5c], esi
jmp 0x4ea331
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov edx, dword [esp + 0x2c]
mov ebx, dword [edx]
mov dword [esp], ebx
mov dword [esp + 4], ecx
movzx ecx, byte [esp + 0x74]
mov byte [esp + 8], cl
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x7c]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x28]
mov dword [esp + 0x14], esi
call fcn.004e9460
movzx ecx, byte [esp + 0x74]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov eax, dword [edx]
mov edi, dword [esi + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edi
mov byte [esp + 8], cl
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.004e9d70
movzx eax, byte [esp + 0x18]
mov ecx, dword [esp + 0x14]
test al, al
jne 0x4ea3a2
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x40]
call eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0xc]
mov esi, dword [esp]
mov dword [esp], ecx
mov dword [esp + 4], ebp
movzx ecx, byte [esp + 0x74]
mov byte [esp + 8], cl
mov ebp, dword [esp + 0x78]
mov dword [esp + 0xc], ebp
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], esi
call fcn.004e9970
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp], ecx
call fcn.00469c50
mov eax, dword [esp + 4]
test eax, eax
je 0x4ea2e2
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x80], eax
add esp, 0x6c
ret
mov dword [esp], ecx
mov dword [esp + 4], ebx
lea eax, [0x677be0]
mov dword [esp + 8], eax
call fcn.00409df0
nop
call fcn.00470060
jmp fcn.004ea1c0