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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ea408
sub esp, 0x60
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov eax, 0x6b3280
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b3280
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov ebx, 0x5f5c99
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004e3a60
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
xor eax, eax
mov dword [esp + 0x3c], eax
cmp eax, 2
jge 0x4ea2d5
xor ebp, ebp
cmp edx, ebp
jne 0x4ea3f7
mov dword [esp + 0x44], esi
mov dword [esp], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.004ea420
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0xc]
cmp bl, 0
je 0x4ea31c
cmp ecx, 0
jne 0x4ea240
mov dword [esp], esi
call fcn.004ddc20
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov eax, 0x6b3280
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b3280
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov ebx, 0x5f5c99
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004e3a60
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, 2
jl 0x4ea1fb
mov dword [esp + 0x48], ecx
cmp ecx, 0
je 0x4ea2f8
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
add esp, 0x60
ret
mov dword [esp], esi
call fcn.004e9b60
mov ebx, dword [esp + 4]
mov dword [esp + 0x7c], ebx
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x4c]
mov ebx, ecx
xor ebp, ebp
cmp ecx, ebp
je 0x4ea32b
mov ebx, dword [ebx + 4]
mov ebp, 0x5d5f60
cmp ebx, ebp
jne 0x4ea3ee
mov ebp, eax
mov edx, 1
cmp dl, 0
je 0x4ea353
cmp ebp, 0
je 0x4ea3e6
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov ebx, ecx
xor ebp, ebp
cmp ecx, ebp
je 0x4ea35e
mov ebx, dword [ebx + 4]
mov ebp, 0x5c90e0
cmp ebx, ebp
jne 0x4ea3e0
mov ebp, eax
mov edx, 1
cmp dl, 0
je 0x4ea37e
cmp ebp, 0
je 0x4ea3db
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp], 0x5d5300
mov dword [esp + 0x50], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 8], eax
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], ebx
call fcn.0040bf10
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ea3d7
mov ebx, dword [esp + 0x40]
cmp ebx, 0x20000003
jne 0x4ea3d7
mov eax, 1
cmp al, 0
je 0x4ea2d5
jmp 0x4ea233
xor eax, eax
jmp 0x4ea3c9
mov dword [ebp], eax
jmp 0x4ea378
xor ebp, ebp
xor edx, edx
jmp 0x4ea36e
mov dword [ebp], eax
jmp 0x4ea34d
xor ebp, ebp
xor edx, edx
jmp 0x4ea33f
mov ebp, dword [edx + 0xc]
cmp ebp, 0
jne 0x4ea2d5
jmp 0x4ea205
call fcn.00450ed0
jmp fcn.004ea140