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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x4ed1f3
sub esp, 0xa4
mov eax, 0
mov dword [esp + 0xa0], eax
mov byte [esp + 0x2f], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 4], eax
call fcn.004e7050
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4ecd84
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [0x4ed200]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
lea ecx, [esp + 0x80]
mov dword [esp + 0xa0], ecx
mov byte [esp + 0x2f], 1
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x3c], eax
xor edx, edx
jmp 0x4ecda8
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
add esp, 0xa4
ret
mov ebx, dword [esp + 0x40]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x78]
cmp edx, eax
jge 0x4ed1ba
mov dword [esp + 0x40], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x90], ebx
mov ebp, dword [esp + 0xb4]
mov dword [esp + 0x94], ebp
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], edi
lea esi, [esp + 0x90]
mov dword [esp], esi
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004d0150
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0xb0]
mov dword [esp], edx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 4], ebx
call fcn.004cecb0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x579a40]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.0044cf80
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
cmp eax, edx
jle 0x4ecea1
xor eax, eax
jmp 0x4ecebe
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00402a50
movzx eax, byte [esp + 0xc]
mov edx, dword [esp + 0x30]
test al, al
je 0x4ed11e
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004eb7a0
movzx eax, byte [esp + 4]
test al, al
je 0x4ecf10
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x1ff
call fcn.004ac3b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4ecd99
jmp 0x4ed05d
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.004cf840
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1ff
call fcn.004ac3b0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
jne 0x4ed0f9
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004eb990
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x241
mov dword [esp + 0xc], eax
call fcn.004ab110
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x4ed0d4
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.004e7bd0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 4]
test eax, eax
jne 0x4ed0af
mov dword [esp + 0x34], ebp
mov dword [esp + 0x68], ebx
lea eax, [0x519d40]
mov dword [esp], eax
call fcn.004094a0
lea eax, [0x57ae00]
mov dword [esp], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call fcn.00488550
nop
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0x6c]
test ebx, ebx
je 0x4ed03f
mov eax, dword [ebx]
mov dword [esp], eax
call fcn.004abd90
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4ecd99
jmp 0x4ed082
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
call eax
add esp, 0xa4
ret
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xbc], eax
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
call eax
add esp, 0xa4
ret
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
call eax
add esp, 0xa4
ret
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], ebx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
call eax
add esp, 0xa4
ret
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
call eax
add esp, 0xa4
ret
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004093a0
mov eax, dword [esp + 8]
lea ecx, [0x516760]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [0x53ba3e]
mov dword [esp], eax
mov dword [esp + 4], 0x15
lea eax, [esp + 0x88]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004af270
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
call eax
add esp, 0xa4
ret
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov byte [esp + 0x2f], 0
mov edx, dword [esp + 0xa0]
mov eax, dword [edx]
call eax
add esp, 0xa4
ret
call fcn.004600b0
jmp fcn.004eccc0