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

Disassembly:
push 0xffffffffffffffff
push 0x522e0f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc0
mov eax, dword [0x57373c]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xec]
lea edx, [esp + 0x48]
xor edi, edi
mov dword [esp + 0x10], ecx
mov ecx, dword [0x57ce88]
push edx
mov dword [esp + 0xdc], edi
call fcn.004b28b0
mov eax, dword [eax]
mov ecx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe0]
push 0x8c
push eax
mov eax, dword [esp + 0x18]
push eax
push edi
push ecx
push esi
mov ecx, ebp
mov byte [esp + 0xf0], 1
call fcn.004c4a20
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], eax
mov byte [esp + 0xd8], 0
call fcn.004f33be
push esi
mov ecx, ebp
call fcn.004cbde0
lea edx, [esp + 0x10]
push eax
push edx
mov ecx, ebp
call fcn.004cbdb0
push esi
mov ecx, ebp
call fcn.004cbde0
add eax, 6
mov dword [esp + 0x34], edi
mov dword [esp + 0x58], eax
mov al, byte [esp + 0x2b]
mov byte [esp + 0x30], al
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd8], 2
push ecx
mov ecx, dword [0x57ce88]
call fcn.004b3650
mov esi, eax
lea edx, [esp + 0x30]
mov byte [esp + 0xd8], 3
cmp edx, esi
je 0x4cc56a
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4cc465
xor ebx, ebx
jmp 0x4cc46d
mov ebx, dword [esi + 8]
sub ebx, eax
sar ebx, 2
lea ecx, [esp + 0x30]
call fcn.004d01c0
cmp ebx, eax
ja 0x4cc4b5
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.004d0470
mov ecx, dword [esp + 0x44]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.004b4dc0
mov ecx, esi
call fcn.004d01c0
mov edx, dword [esp + 0x34]
lea eax, [edx + eax*4]
mov dword [esp + 0x38], eax
jmp 0x4cc56a
mov ecx, esi
call fcn.004d01c0
lea ecx, [esp + 0x30]
mov ebx, eax
call fcn.004d01a0
cmp ebx, eax
ja 0x4cc513
mov ebx, dword [esi + 4]
lea ecx, [esp + 0x30]
call fcn.004d01c0
mov ecx, dword [esp + 0x34]
lea ebx, [ebx + eax*4]
mov eax, dword [esi + 4]
push ecx
push ebx
push eax
call fcn.004d0470
mov edx, dword [esp + 0x44]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x30]
push edx
push eax
push ebx
call fcn.004b4490
mov ecx, esi
call fcn.004d01c0
mov ecx, dword [esp + 0x34]
lea edx, [ecx + eax*4]
mov dword [esp + 0x38], edx
jmp 0x4cc56a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x38]
call fcn.004b4dc0
mov edx, dword [esp + 0x34]
push edx
call fcn.004f3128
add esp, 4
mov ecx, esi
call fcn.004d01c0
cmp eax, edi
jge 0x4cc540
xor eax, eax
shl eax, 2
push eax
call fcn.004f30ff
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x3c]
call fcn.004b4490
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x60]
mov byte [esp + 0xd8], 2
push ecx
call fcn.004f3128
add esp, 4
xor ebx, ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], ebx
cmp eax, edi
je 0x4ccc4e
mov edx, dword [esp + 0x38]
sub edx, eax
sar edx, 2
cmp ebx, edx
jae 0x4ccc4e
mov eax, dword [eax + ebx*4]
push edi
push 0x568118
push 0x566a88
push edi
push eax
call fcn.004de52c
mov esi, eax
add esp, 0x14
cmp esi, edi
mov dword [esp + 0x54], esi
je 0x4ccc48
mov ecx, dword [ebp + 0x8e]
mov eax, dword [esp + 0xe8]
cmp word [ecx + 0x2c], 2
jne 0x4cc5eb
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
mov dword [esp + 0x50], eax
add eax, 0x19
jmp 0x4cc5fa
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
shl eax, 1
mov dword [esp + 0x50], eax
add eax, 0x1e
lea ebx, [esi + 0xee]
mov dword [esp + 0x44], eax
mov ecx, ebx
call fcn.004b0d10
cmp dword [esp + 0x44], eax
jle 0x4cc61c
mov ecx, ebx
call fcn.004b0d10
mov dword [esp + 0x44], eax
mov dl, byte [esp + 0x2b]
mov dword [esp + 0x18], edi
mov byte [esp + 0x14], dl
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov eax, dword [esi]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
mov byte [esp + 0xdc], 4
call dword [eax + 0xa0]
mov esi, eax
lea edx, [esp + 0x14]
mov byte [esp + 0xd8], 5
cmp edx, esi
je 0x4cc794
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x4cc668
xor ebx, ebx
jmp 0x4cc680
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
lea ecx, [esp + 0x14]
call fcn.0041f6c0
cmp ebx, eax
ja 0x4cc6ce
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.004301c0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.0041f790
mov ecx, esi
call fcn.0041f6c0
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
lea edx, [ecx + eax*2]
mov dword [esp + 0x1c], edx
jmp 0x4cc794
mov ecx, esi
call fcn.0041f6c0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.0041f690
cmp ebx, eax
ja 0x4cc738
mov ebx, dword [esi + 4]
lea ecx, [esp + 0x14]
call fcn.0041f6c0
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 4]
push ecx
lea ebx, [ebx + edx*2]
push ebx
push eax
call fcn.004301c0
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add esp, 0xc
lea ecx, [esp + 0x14]
push edx
push eax
push ebx
call fcn.0041f7c0
mov ecx, esi
call fcn.0041f6c0
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x18]
lea ecx, [eax + edx*2]
mov dword [esp + 0x1c], ecx
jmp 0x4cc794
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x1c]
call fcn.0041f790
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004f3128
add esp, 4
mov ecx, esi
call fcn.0041f6c0
cmp eax, edi
jge 0x4cc765
xor eax, eax
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
shl eax, 1
push eax
call fcn.004f30ff
add esp, 4
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 8]
mov esi, dword [esi + 4]
push eax
push ecx
push esi
lea ecx, [esp + 0x20]
call fcn.0041f7c0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
cmp esi, ebx
mov byte [esp + 0xd8], 4
je 0x4cc7bb
push edi
mov ecx, esi
call fcn.004d0510
add esi, 0x16
cmp esi, ebx
jne 0x4cc7a8
mov esi, dword [esp + 0x60]
push esi
call fcn.004f3128
mov ebp, dword [esp + 0x1c]
mov ebx, 0x14
add esp, 4
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x40], edi
test ebp, ebp
je 0x4cc85c
mov ecx, dword [esp + 0x1c]
mov eax, 0x2e8ba2e9
sub ecx, ebp
imul ecx
mov eax, dword [esp + 0x40]
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x4cc85c
cmp edi, 0x58
lea esi, [edi + ebp]
je 0x4cc84e
mov edx, dword [esi]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xe4]
push 0
push 0
push edx
mov edx, dword [esp + 0xec]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x44]
push edx
call fcn.004cbf50
fild dword [esi + 0xc]
fmul qword [str.333333]
fiadd dword [esp + 0x24]
call fcn.004dcf98
mov ebp, dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0x40]
inc ecx
add edi, 0x16
mov dword [esp + 0x40], ecx
jmp 0x4cc7e1
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.004cbdb0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0xe0]
push 2
push ebx
push 0x14
push edx
push eax
push ecx
mov ecx, esi
call fcn.004cbe20
push 0x42d430
push 0x42c640
push 5
lea edx, [esp + 0x8c]
push 0x10
push edx
mov dword [esp + 0x24], eax
call fcn.004ddf8a
xor edi, edi
mov byte [esp + 0xd8], 6
mov dword [esp + 0x40], edi
lea esi, [esp + 0x84]
mov ebp, dword [esp + 0x18]
test ebp, ebp
jne 0x4cc8d2
xor edx, edx
jmp 0x4cc8e9
mov ecx, dword [esp + 0x1c]
mov eax, 0x2e8ba2e9
sub ecx, ebp
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
dec edx
cmp edi, edx
jae 0x4ccaca
cmp edi, 4
jge 0x4cca53
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x6c]
push edi
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
mov edi, eax
lea ecx, [esi - 4]
mov byte [esp + 0xd8], 7
cmp ecx, edi
je 0x4cca0c
mov ecx, edi
lea ebp, [esi - 4]
call fcn.004d01c0
mov ecx, ebp
mov ebx, eax
call fcn.004d01c0
cmp ebx, eax
ja 0x4cc96c
mov edx, dword [esi]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
call fcn.004d0430
mov ecx, dword [esi + 4]
add esp, 0xc
push ecx
push eax
mov ecx, ebp
call fcn.0042d470
mov ecx, edi
call fcn.004d01c0
mov edx, dword [esi]
lea eax, [edx + eax*4]
mov dword [esi + 4], eax
jmp 0x4cca0c
mov ecx, edi
call fcn.004d01c0
mov ecx, ebp
mov ebx, eax
call fcn.004d01a0
cmp ebx, eax
ja 0x4cc9be
mov ebx, dword [edi + 4]
mov ecx, ebp
call fcn.004d01c0
mov ecx, dword [esi]
lea ebx, [ebx + eax*4]
mov eax, dword [edi + 4]
push ecx
push ebx
push eax
call fcn.004d0430
mov edx, dword [esi + 4]
mov eax, dword [edi + 8]
add esp, 0xc
mov ecx, ebp
push edx
push eax
push ebx
call fcn.004d03c0
mov ecx, edi
call fcn.004d01c0
mov ecx, dword [esi]
lea edx, [ecx + eax*4]
mov dword [esi + 4], edx
jmp 0x4cca0c
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
mov ecx, ebp
call fcn.0042d470
mov eax, dword [esi]
push eax
call fcn.004f3128
add esp, 4
mov ecx, edi
call fcn.004d01c0
test eax, eax
jge 0x4cc9e4
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004f30ff
add esp, 4
mov dword [esi], eax
mov ecx, dword [edi + 8]
mov edi, dword [edi + 4]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.004d03c0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x74]
mov byte [esp + 0xe0], 6
call fcn.0042d470
mov edx, dword [esp + 0x70]
push edx
call fcn.004f3128
mov edi, dword [esp + 0x44]
add esp, 4
xor eax, eax
inc edi
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], edi
add esi, 0x10
jmp 0x4cc8c6
mov eax, dword [esi + 4]
mov ecx, dword [esi]
lea ebx, [esi - 4]
push eax
push ecx
mov ecx, ebx
call fcn.004d0370
mov eax, dword [esp + 0x54]
xor edi, edi
lea ebp, [eax + 0xee]
mov ecx, ebp
call fcn.004b0d10
test eax, eax
jle 0x4ccab9
lea ecx, [esp + 0x7c]
push edi
push ecx
mov ecx, ebp
call fcn.004b14f0
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, ebx
mov byte [esp + 0xe0], 8
call fcn.004d01e0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd8], 6
call fcn.004f33be
mov ecx, ebp
inc edi
call fcn.004b0d10
cmp edi, eax
jl 0x4cca7b
mov edi, dword [esp + 0x40]
inc edi
add esi, 0x10
mov dword [esp + 0x40], edi
jmp 0x4cc8c6
mov ebx, dword [esp + 0x50]
mov eax, dword [esp + 0x44]
cmp ebx, eax
jge 0x4ccbdf
jmp 0x4ccae0
mov ebp, dword [esp + 0x18]
mov edi, 0x14
xor esi, esi
mov dword [esp + 0x24], edi
test ebp, ebp
je 0x4ccbbf
mov ecx, dword [esp + 0x1c]
mov eax, 0x2e8ba2e9
sub ecx, ebp
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp esi, edx
jae 0x4ccbbf
test esi, esi
jne 0x4ccb5b
lea ecx, [ebx + 1]
lea edx, [esp + 0x4c]
push ecx
push 0x56814c
push edx
call fcn.004f0a68
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xf0]
add esp, 0xc
push esi
push esi
push eax
mov eax, dword [esp + 0xec]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push edx
push eax
call fcn.004cbf50
mov ebp, dword [esp + 0x18]
fild dword [ebp + 0xc]
jmp 0x4ccba4
cmp esi, 4
je 0x4ccbb9
push 0
jge 0x4ccb68
push 0
jmp 0x4ccb6a
push 2
mov ecx, esi
shl ecx, 4
mov edx, dword [esp + ecx + 0x7c]
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + ebx*4]
mov edx, dword [esp + 0xec]
push eax
mov eax, dword [esp + 0xec]
push ecx
mov ecx, dword [esp + 0x3c]
push edi
push edx
push eax
call fcn.004cbf50
mov ebp, dword [esp + 0x18]
lea ecx, [esi + esi*4]
lea edx, [esi + ecx*2]
fild dword [ebp + edx*2 + 0xc]
fmul qword [str.333333]
fiadd dword [esp + 0x24]
call fcn.004dcf98
mov edi, eax
mov dword [esp + 0x24], edi
inc esi
jmp 0x4ccaeb
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.004cbdb0
mov eax, dword [esp + 0x44]
inc ebx
cmp ebx, eax
jl 0x4ccadc
push 0x42d430
push 5
lea edx, [esp + 0x88]
push 0x10
push edx
mov byte [esp + 0xe8], 4
call fcn.004ddeac
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, eax
mov byte [esp + 0xd8], 2
mov ebx, eax
je 0x4ccc27
push 0
mov ecx, esi
call fcn.004d0510
add esi, 0x16
cmp esi, ebx
jne 0x4ccc13
mov esi, dword [esp + 0x18]
push esi
call fcn.004f3128
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
xor eax, eax
add esp, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
xor edi, edi
inc ebx
jmp 0x4cc581
mov esi, dword [esp + 0x10]
push eax
call fcn.004f3128
add esp, 4
lea ecx, [esp + 0x4c]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0xd8], 0xffffffff
call fcn.004f33be
mov ecx, dword [esp + 0xd0]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xcc
ret 0x10