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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cb498
sub esp, 0x7c
mov eax, dword [esp + 0x80]
mov ecx, dword [eax]
test ecx, ecx
je 0x4cb487
mov ecx, dword [eax + 4]
cmp ecx, 2
jge 0x4cb465
mov ecx, dword [0x66a64c]
mov edx, dword [0x66a648]
test edx, edx
jne 0x4cb453
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov ecx, dword [0x66a17c]
lea edx, [esp + 0x6c]
cmp edx, ecx
je 0x4cb13d
mov dword [esp + 0x24], ecx
mov ebx, dword [ecx + 4]
mov ebp, dword [ecx + 8]
test ebp, ebp
jg 0x4cb3c0
mov esi, ebp
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x14], ebp
mov ebp, esi
cmp ebp, esi
jle 0x4cb3b9
mov dword [esp + 0x38], edi
mov dword [esp + 0x10], ebp
cmp edi, ebx
je 0x4cb11a
mov dword [esp], edi
mov dword [esp + 4], ebx
shl esi, 2
mov dword [esp + 8], esi
call fcn.00456550
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x24]
movzx eax, byte [eax]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x34], edx
xor ebx, ebx
jmp 0x4cb184
lea eax, [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 8], ecx
call fcn.004b8aa0
mov eax, dword [esp + 0x18]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
cmp ebx, ecx
jge 0x4cb1e6
mov dword [esp + 0x18], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x28], eax
mov dword [esp], eax
mov ecx, dword [0x66a17c]
mov dword [esp + 4], ecx
call fcn.004b9000
mov eax, dword [esp + 8]
test eax, eax
jg 0x4cb156
lea eax, [0x53ff20]
mov dword [esp], eax
call fcn.0040a710
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1f
lea ecx, [0x561c38]
mov dword [eax], ecx
lea ecx, [0x58a9f0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov ecx, dword [eax]
lea edx, [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004b9000
mov eax, dword [esp + 8]
test eax, eax
jne 0x4cb380
mov byte [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov dword [esp + 4], ecx
sar ecx, 0x1f
mov dword [esp + 8], ecx
call fcn.004b8450
mov eax, dword [esp + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x80]
mov edx, dword [ecx + 8]
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004b8aa0
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x1c], eax
xor edx, edx
jmp 0x4cb2a9
mov ebx, dword [esp + 0x18]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
cmp edx, eax
jge 0x4cb366
mov dword [esp + 0x18], edx
mov eax, dword [ecx + edx*4]
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
lea ebx, [esp + 0x3c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov eax, dword [0x66a17c]
mov dword [esp + 8], eax
call fcn.004b8850
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004b8e00
lea eax, [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [0x66a17c]
mov dword [esp + 4], ecx
call fcn.004b9000
mov eax, dword [esp + 8]
test eax, eax
je 0x4cb29a
lea eax, [0x53ff20]
mov dword [esp], eax
call fcn.0040a710
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1d
lea ecx, [0x561202]
mov dword [eax], ecx
lea ecx, [0x58a9f0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
lea eax, [0x53ff20]
mov dword [esp], eax
call fcn.0040a710
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1b
lea ecx, [0x560904]
mov dword [eax], ecx
lea ecx, [0x58a9f0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
add esp, 0x7c
ret
mov esi, ebp
jmp 0x4cb0fb
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
cmp ebp, 1
jne 0x4cb414
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00440360
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x6c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebp, 1
mov dword [esp + 0x14], ebp
jmp 0x4cb0f3
lea eax, [0x53ad80]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 8], eax
call fcn.00440360
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x6c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebp, esi
jmp 0x4cb0f3
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
add esp, 0x7c
ret
cmp ecx, 0x7fffffff
jle 0x4cb47e
mov ecx, dword [0x66a644]
mov edx, dword [0x66a640]
jmp 0x4cb0a2
xor ecx, ecx
xor edx, edx
jmp 0x4cb0a2
mov ecx, dword [0x66a654]
mov edx, dword [0x66a650]
jmp 0x4cb0a2
call fcn.004543b0
jmp fcn.004cb060