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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c8af8
add esp, 0xffffff80
lea eax, [0x4f5340]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
call fcn.004c8fb0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
jmp 0x4c86c9
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.004c8fb0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test al, al
je 0x4c87a7
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004c9b80
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c9a90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4c86ad
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x50], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x3a
call fcn.004033a0
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4c8760
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004c9a90
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x3c]
sub edx, ebx
dec edx
mov ebp, edx
neg edx
sar edx, 0x1f
inc ebx
and ebx, edx
mov edx, dword [esp + 0x50]
add edx, ebx
jmp 0x4c87be
lea eax, [0x506a5a]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.0046af60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x60b520]
test ecx, ecx
jne 0x4c8794
mov dword [edx + 0x18], eax
jmp 0x4c879c
lea edi, [edx + 0x18]
call fcn.00465480
mov dword [esp + 0x88], edx
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x88], eax
sub esp, 0xffffff80
ret
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x64]
mov dword [esp], edx
mov dword [esp + 4], ebp
call fcn.004c9a90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4c86ad
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x20], eax
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 0x20
call fcn.004033a0
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
jne 0x4c8806
xor ecx, ecx
xor eax, eax
mov edx, dword [esp + 0x20]
jmp 0x4c883b
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x20]
sub ecx, eax
dec ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
lea ebx, [eax + 1]
and ebx, ecx
mov ecx, dword [esp + 0x4c]
add ebx, ecx
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004c9a90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x4c88ef
cmp byte [eax], 0x5b
je 0x4c8857
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x4c88f5
mov dword [esp + 0x48], ecx
mov dword [esp + 0x68], eax
mov dword [esp], eax
mov dword [esp + 4], ecx
mov byte [esp + 8], 0x5d
call fcn.004033a0
mov eax, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x4c8ab1
mov dword [esp + 0x40], eax
lea ecx, [eax - 1]
mov dword [esp + 0x44], ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov ebx, dword [esp + 0x68]
add ecx, ebx
mov dword [esp + 0x64], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.004c8b10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test eax, eax
jne 0x4c8a3e
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x40]
sub ebp, esi
dec ebp
mov eax, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
inc esi
and esi, ebp
mov ebp, dword [esp + 0x68]
add ebp, esi
mov esi, ecx
mov ecx, eax
mov eax, ebp
mov ebp, ebx
mov ebx, edx
mov edx, dword [esp + 0x24]
jmp 0x4c88f5
xor ebx, ebx
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx + 0x1c]
test ecx, ecx
jne 0x4c894d
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x58], esi
call fcn.0040d7a0
mov eax, dword [0x60b520]
mov ecx, dword [esp]
test eax, eax
jne 0x4c892f
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x1c], ecx
jmp 0x4c893d
mov edx, dword [esp + 0x5c]
lea edi, [edx + 0x1c]
mov eax, ecx
call fcn.00465480
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x58]
lea edi, [esp + 0x6c]
xor eax, eax
call fcn.0046557b
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x1c]
lea ebx, [0x4ed160]
mov dword [esp], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0xc], ebp
call fcn.00411b00
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx + 4]
inc ebp
cmp ebx, ebp
jae 0x4c89fc
mov dword [esp + 0x60], ecx
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x4f6600]
mov dword [esp + 0x10], eax
call fcn.0044cd30
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x60]
mov dword [edi + 8], edx
mov edx, dword [0x60b520]
test edx, edx
jne 0x4c89f1
mov dword [edi], eax
jmp 0x4c89f6
call fcn.00465480
mov ebp, ecx
mov edx, eax
mov ecx, edi
mov dword [ecx + 4], ebp
lea eax, [ebp + ebp*4]
lea edi, [edx + eax*4 - 0x14]
mov eax, dword [0x60b520]
test eax, eax
jne 0x4c8a1f
lea esi, [esp + 0x6c]
call fcn.00465a5e
jmp 0x4c87b6
lea eax, [0x4f6600]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.00412840
jmp 0x4c87b6
mov dword [esp], 0
lea eax, [0x50746a]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x12
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
call fcn.00450870
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0046af60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x60b520]
test ecx, ecx
jne 0x4c8a9e
mov dword [edx + 0x18], eax
jmp 0x4c8aa6
lea edi, [edx + 0x18]
call fcn.00465480
mov dword [esp + 0x88], edx
sub esp, 0xffffff80
ret
lea eax, [0x50a9ac]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
call fcn.0046af60
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [0x60b520]
test ecx, ecx
jne 0x4c8ae5
mov dword [edx + 0x18], eax
jmp 0x4c8aed
lea edi, [edx + 0x18]
call fcn.00465480
mov dword [esp + 0x88], edx
sub esp, 0xffffff80
ret
call fcn.00464070
jmp fcn.004c8660