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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [eax*4 + 0x20a514c]
push edi
test eax, eax
js 0x4cc77b
cmp eax, 0x1194
jge 0x4cc77b
cmp dword [esi + 4], 3
jne 0x4cc77b
movzx eax, word [esi + 0x78]
cmp eax, 1
je 0x4cc207
cmp eax, 6
jne 0x4cc77b
cmp byte [esi + 0xa], 0
jg 0x4cc77b
cmp byte [esi + 0x9c0], 0
jne 0x4cc77b
push esi
call fcn.00478780
test al, al
jne 0x4cc77b
movzx eax, word [ebx + 4]
lea edi, [esi + 0x149]
test ax, ax
jne 0x4cc506
movzx ecx, byte [ebx + 7]
mov dl, byte [edi]
mov dword [esp + 0x14], ecx
push ecx
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x16], dl
movzx edx, byte [ebx + 6]
call fcn.0051fb10
add esp, 4
test al, al
jne 0x4cc2bd
xor eax, eax
mov word [esp + 0x58], 0xac3
mov word [esp + 0x5c], ax
mov al, byte [esp + 0x12]
mov byte [esp + 0x5e], al
mov al, byte [esi + 0x144]
mov byte [esp + 0x5f], al
mov al, byte [esi + 0x146]
mov byte [esp + 0x60], al
mov al, byte [esi + 0x148]
mov byte [esp + 0x61], al
lea eax, [esp + 0x58]
push 0xa
push eax
push dword [esi]
mov byte [esp + 0x66], 0x1c
call fcn.005192f0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
cmp byte [esp + 0x12], 0x1e
jne 0x4cc2ff
movsx eax, word [esi + 0x146]
mov dl, byte [ebx + 6]
mov dword [esp + 0x1c], eax
mov eax, str.q
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x1c]
jl 0x4cc2ea
cmp ecx, dword [esp + 0x14]
jg 0x4cc2ea
cmp dl, 0x90
jb 0x4cc2f6
add eax, 4
cmp eax, 0x553f00
jl 0x4cc2d7
jmp 0x4cc2ff
mov al, byte [esi + 0x146]
mov byte [ebx + 7], al
mov eax, dword [esi + 0x324]
xor ecx, ecx
add eax, 6
mov dword [esp + 0x14], 0xffff
lea edx, [eax - 6]
mov dword [esp + 0x1c], edx
movzx edx, word [eax + 2]
cmp dx, word [esp + 0x14]
je 0x4cc32f
cmp edx, 6
je 0x4cc34c
cmp word [eax], 6
je 0x4cc34c
inc ecx
add eax, 0x14
cmp ecx, 0x3c
jl 0x4cc312
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
cmp dword [esp + 0x1c], 0
je 0x4cc77b
mov al, byte [edi]
cmp al, 0x2d
jb 0x4cc395
cmp al, 0x32
ja 0x4cc395
movzx eax, al
lea ecx, [eax - 0x2d]
cmp eax, 0x2d
jl 0x4cc383
cmp ecx, 6
jge 0x4cc383
add eax, 0xffffffd3
imul eax, eax, 0x2ac
cmp dword [eax + 0x9d2b70], 3
je 0x4cc395
mov al, byte [esi + 0x144]
mov byte [ebx + 6], al
mov al, byte [esi + 0x146]
mov byte [ebx + 7], al
mov al, byte [edi]
cmp al, 0x41
jb 0x4cc3ba
cmp al, 0x44
ja 0x4cc3ba
cmp dword [0x64376c], 2
je 0x4cc3ba
mov al, byte [esi + 0x144]
mov byte [ebx + 6], al
mov al, byte [esi + 0x146]
mov byte [ebx + 7], al
mov edi, dword [esp + 0x1c]
movzx eax, word [edi + 8]
push eax
push esi
call fcn.00507eb0
test al, al
je 0x4cc77b
movzx eax, word [edi + 8]
push eax
push esi
call fcn.00507f40
test al, al
je 0x4cc77b
movzx eax, word [edi + 8]
push 1
push dword [esp + 0x1c]
push eax
push esi
call fcn.00517480
movzx eax, byte [ebx + 7]
movzx edx, byte [ebx + 6]
mov ecx, dword [esp + 0x18]
push eax
call fcn.00521330
movzx ebx, word [edi + 8]
lea eax, [esp + 0x18]
add esp, 4
mov dword [esp + 0x14], ebx
mov ecx, 0xbf0bd4
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.00405650
mov eax, dword [esp + 0x60]
mov ecx, dword [0xbf0bd4]
cmp byte [eax + 0xd], 0
jne 0x4cc43b
cmp ebx, dword [eax + 0x10]
jge 0x4cc43d
mov eax, ecx
cmp eax, ecx
jne 0x4cc446
or eax, 0xffffffff
jmp 0x4cc449
mov eax, dword [eax + 0x3c]
mov ecx, dword [esi + 0x90c]
imul ecx, eax
mov eax, 0x51eb851f
movss xmm1, dword [esi + 0x108]
imul ecx
mov ecx, 0xbf0bd4
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movd xmm0, eax
lea eax, [esp + 0x14]
cvtdq2ps xmm0, xmm0
push eax
lea eax, [esp + 0x5c]
push eax
subss xmm1, xmm0
movss dword [esi + 0x108], xmm1
movzx edi, word [edi + 8]
mov dword [esp + 0x1c], edi
call fcn.00405650
mov eax, dword [esp + 0x60]
mov ecx, dword [0xbf0bd4]
cmp byte [eax + 0xd], 0
jne 0x4cc4af
cmp edi, dword [eax + 0x10]
jge 0x4cc4b1
mov eax, ecx
cmp eax, ecx
jne 0x4cc4ba
or eax, 0xffffffff
jmp 0x4cc4bd
mov eax, dword [eax + 0x40]
mov ecx, dword [esi + 0x910]
imul ecx, eax
mov eax, 0xae147ae1
imul ecx
mov ecx, dword [esi]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add dword [esi + 0x128], eax
push dword [esi + 0x128]
cvttss2si eax, xmm1
push eax
call fcn.004e9750
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.00484b30
test al, al
je 0x4cc71a
movzx eax, byte [edi]
cmp eax, dword [esp + 0x28]
jne 0x4cc71a
mov edx, dword [esp + 0x34]
movsx ecx, word [esi + 0x144]
lea eax, [edx - 5]
cmp ecx, eax
jl 0x4cc714
lea eax, [edx + 5]
cmp ecx, eax
jg 0x4cc714
mov edx, dword [esp + 0x38]
movsx ecx, word [esi + 0x146]
lea eax, [edx - 5]
cmp ecx, eax
jl 0x4cc714
lea eax, [edx + 5]
cmp ecx, eax
jg 0x4cc714
mov ecx, dword [esp + 0x44]
cmp ecx, 0xffffffff
je 0x4cc5ad
cmp dword [esp + 0x28], 0x38
je 0x4cc59e
movzx eax, word [esi + 0xcc]
cmp eax, 3
je 0x4cc58e
cmp eax, 4
je 0x4cc58e
cmp eax, 6
jne 0x4cc59e
add ecx, ecx
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
movsx eax, word [esi + 0xd0]
cmp eax, ecx
jl 0x4cc71a
mov ecx, dword [esp + 0x48]
cmp ecx, 0xffffffff
je 0x4cc5c5
movsx eax, word [esi + 0xd0]
cmp eax, ecx
jg 0x4cc714
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x4cc5da
cmp dword [esi + 0x73c], eax
jl 0x4cc714
mov eax, dword [esp + 0x50]
cmp eax, 0xffffffff
je 0x4cc5ef
cmp dword [esi + 0x73c], eax
jg 0x4cc714
mov eax, dword [esi + 0x644]
cmp eax, dword [esp + 0x54]
jl 0x4cc714
mov cl, byte [esi + 0x149]
movzx eax, word [ebx + 4]
cmp cl, 0x45
jb 0x4cc613
cmp cl, 0x48
jbe 0x4cc633
mov ecx, dword [esp + 0x18]
movzx edx, ax
call fcn.00522900
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
mov edi, eax
movzx eax, cl
cmp dword [0x9d3c44], eax
jne 0x4cc77b
mov edx, dword [esi]
test edx, edx
js 0x4cc77b
cmp edx, 0x1194
jge 0x4cc77b
xor eax, eax
nop dword [eax]
cmp dword [eax*8 + 0x9d3c70], edx
lea ecx, [eax*8 + 0x9d3c70]
je 0x4cc68a
inc eax
cmp eax, 5
jl 0x4cc660
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
test ecx, ecx
je 0x4cc77b
mov ecx, dword [0x9d3c3c]
lea edx, [ecx + ecx*4]
lea eax, [edx + 0x134]
cmp edi, eax
jl 0x4cc77b
xor eax, eax
cmp ecx, 3
sete al
lea eax, [eax*2 + 0x137]
add eax, edx
cmp edi, eax
jg 0x4cc77b
mov ecx, dword [esi]
mov edx, edi
and dword [esi + 0x384], 0xffff0000
call fcn.00522900
mov eax, dword [0x9d3c3c]
mov ecx, dword [0x9d3c58]
lea eax, [eax + eax*4]
lea eax, [eax + ecx*2]
add eax, 0x134
cmp eax, edi
jne 0x4cc77b
lea eax, [ecx*2 + 3]
push eax
call fcn.0048e740
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
lea edi, [esi + 0x149]
mov ecx, esi
call fcn.005202c0
movzx ecx, word [ebx + 4]
mov edx, 1
test cx, cx
mov word [esp + 0x58], 0xac3
mov eax, ecx
mov byte [esp + 0x5a], 0x1c
cmovne eax, edx
mov word [esp + 0x5c], ax
mov al, byte [edi]
mov byte [esp + 0x5e], al
mov al, byte [esi + 0x144]
mov byte [esp + 0x5f], al
mov al, byte [esi + 0x146]
mov byte [esp + 0x60], al
mov al, byte [esi + 0x148]
mov byte [esp + 0x61], al
lea eax, [esp + 0x58]
push 0xa
push eax
push dword [esi]
call fcn.005192f0
push esi
call fcn.004d3660
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8