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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52b70d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov al, byte [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
test al, al
mov dword [esp + 0x48], edi
je 0x4ccb73
mov ecx, dword [ebp + 0x10]
fld qword [ecx + 0x60]
fmul qword [0x531170]
fstp qword [esp + 0xc]
fld qword [ecx + 0x60]
fmul qword [0x539c10]
fstp qword [esp + 0x4c]
jmp 0x4ccb9d
mov eax, dword [ebp + 0x10]
mov ecx, eax
fld qword [eax + 0x60]
fld qword [esi + 0x60]
fmul qword [esi + 0x28]
fsubr st(1)
fmul qword [0x531178]
fstp qword [esp + 0x4c]
fstp st(0)
fld qword [esp + 0x4c]
fmul qword [0x53afe8]
fstp qword [esp + 0xc]
xor eax, eax
mov dword [esp + 0x14], 0x53ae08
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x14]
push eax
mov dword [esp + 0x164], eax
mov ecx, dword [ecx]
call fcn.0040a180
mov ecx, eax
call fcn.0049e110
fptan
mov ebx, dword [edi + 0x80]
dec ebx
fstp st(0)
fabs
fstp qword [esp + 0x3c]
fld qword [esi + 0x58]
fld qword [esp + 0x4c]
fadd qword [esp + 0xc]
fdiv qword [esp + 0x3c]
fmul qword [0x531170]
fsubr st(1)
fstp qword [esp + 0x54]
fstp st(0)
fld qword [0x531cf0]
js 0x4ccc6e
mov edx, dword [edi + 0x7c]
mov ecx, dword [edx + ebx*4]
mov dword [ecx + 0x78], 1
fld qword [esi + 0x58]
fadd st(0), st(0)
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
je 0x4ccc6b
fld qword [ecx + 0x58]
fcomp qword [esp + 0x54]
fnstsw ax
test ah, 1
je 0x4ccc6b
fld qword [ecx + 0x60]
fcomp qword [esp + 0x4c]
fnstsw ax
test ah, 0x41
jne 0x4ccc6b
fld qword [ecx + 0x60]
fcomp qword [esp + 0xc]
fnstsw ax
test ah, 1
je 0x4ccc6b
fld qword [ecx + 0x58]
mov eax, dword [esp + 0x1c]
push ecx
fadd st(1)
push eax
lea ecx, [esp + 0x1c]
fstp qword [esp + 0x64]
fstp st(0)
call fcn.004a6b80
fld qword [esp + 0x5c]
dec ebx
jns 0x4ccc06
mov eax, dword [esp + 0x1c]
mov ebx, 2
cmp eax, ebx
fstp st(0)
jge 0x4ccc9b
mov dword [esp + 0x14], 0x53ae08
mov eax, dword [esp + 0x18]
mov dword [esp + 0x160], 1
test eax, eax
jmp 0x4ccdd5
lea ecx, [esp + 0x68]
call fcn.004e8c90
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0x4cc160
push 4
push ecx
push edx
mov byte [esp + 0x170], bl
nop
call fcn.0061f53b
mov eax, dword [esp + 0x2c]
add esp, 0x10
lea ecx, [esp + 0xf0]
push 0xffffffffffffffff
push eax
call fcn.004ecdd0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xf4]
xor ebx, ebx
cmp edx, ebx
je 0x4cccfc
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4ccced
xor ebx, ebx
mov al, byte [ebp + 0xc]
test al, al
je 0x4ccd35
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
mov dword [esp + 0xc], edx
fld qword [ecx + 0x60]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
fmul qword [0x536270]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
sub esp, 8
fstp qword [esp]
push eax
push ecx
jmp 0x4ccd69
mov edx, dword [ebp + 0x10]
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0xc], eax
fld qword [edx + 0x60]
fld qword [esi + 0x60]
fmul qword [esi + 0x28]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x10]
push eax
mov dword [esp + 0x18], ecx
fsubr st(1)
sub esp, 8
fstp qword [esp]
push ecx
push edx
fstp st(0)
lea ecx, [esp + 0x80]
call fcn.004e8e20
mov eax, dword [esp + 0x1c]
lea ecx, [eax + eax]
push ecx
push 0x40
lea ecx, [esp + 0x70]
call fcn.004c67d0
push 0xc8
lea ecx, [esp + 0x6c]
call fcn.004c6e90
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x120]
add eax, edx
cmp eax, 1
jge 0x4ccdf9
lea ecx, [esp + 0x68]
mov byte [esp + 0x160], 0
call fcn.004e8d50
mov dword [esp + 0x14], 0x53ae08
mov eax, dword [esp + 0x18]
mov dword [esp + 0x160], 3
cmp eax, ebx
je 0x4ccde0
push eax
call fcn.0051aee4
add esp, 4
xor al, al
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x10]
lea ecx, [esp + 0x118]
lea edx, [esp + 0x104]
push ecx
mov ecx, dword [ebp + 8]
push edx
push esi
push eax
push ecx
mov ecx, edi
call fcn.004cc530
mov dword [esp + 0x28], 0x534048
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov al, byte [ebp + 0xc]
mov byte [esp + 0x160], 4
test al, al
jne 0x4cce70
mov edx, dword [esi + 0x18]
push 0xffffffffffffffff
push edx
lea ecx, [esp + 0x30]
call fcn.004ecdd0
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x2c]
mov ebx, edx
dec edx
test ebx, ebx
je 0x4cce6e
inc edx
mov ebx, dword [ecx]
add ecx, 4
mov dword [eax], ebx
add eax, 4
dec edx
jne 0x4cce61
xor ebx, ebx
mov eax, dword [esp + 0x10c]
mov dword [esi + 0x78], ebx
test eax, eax
jle 0x4ccee5
mov eax, dword [esp + 0x108]
push 0xffffffffffffffff
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 0x78], 0
mov edx, dword [esp + 0x10c]
mov eax, dword [esp + 0x34]
mov esi, dword [edx + ebx*4]
mov edi, eax
add esi, 0x10
mov ecx, dword [esi + 8]
add ecx, eax
push ecx
lea ecx, [esp + 0x30]
call fcn.004ecdd0
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 8]
mov esi, dword [esi + 4]
lea ecx, [edx + edi*4]
mov edx, eax
dec eax
test edx, edx
je 0x4cced5
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x4ccec8
mov eax, dword [esp + 0x10c]
inc ebx
cmp ebx, eax
jl 0x4cce7e
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x120]
xor ebx, ebx
test eax, eax
jle 0x4ccf59
mov eax, dword [esp + 0x11c]
push 0xffffffffffffffff
mov ecx, dword [eax + ebx*4]
mov dword [ecx + 0x78], 0
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
mov esi, dword [edx + ebx*4]
mov edx, dword [esi + 0x18]
add esi, 0x10
mov edi, eax
add eax, edx
push eax
call fcn.004ecdd0
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esi + 4]
mov edx, eax
dec eax
lea ecx, [ecx + edi*4]
test edx, edx
je 0x4ccf49
inc eax
mov edx, dword [esi]
add esi, 4
mov dword [ecx], edx
add ecx, 4
dec eax
jne 0x4ccf3c
mov eax, dword [esp + 0x120]
inc ebx
cmp ebx, eax
jl 0x4ccef2
mov edi, dword [esp + 0x48]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ebp + 8]
push ecx
push edx
push eax
mov ecx, edi
call fcn.004cc860
mov esi, dword [edi + 0x80]
dec esi
js 0x4ccfc0
mov ebx, dword [0x6233fc]
mov ecx, dword [edi + 0x7c]
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx + 0x78]
test eax, eax
jne 0x4ccfbd
test ecx, ecx
je 0x4ccf97
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [edi + 0x80]
sub eax, esi
dec eax
je 0x4ccfb7
mov ecx, dword [edi + 0x7c]
shl eax, 2
push eax
lea edx, [ecx + esi*4 + 4]
lea eax, [ecx + esi*4]
push edx
push eax
call ebx
add esp, 0xc
dec dword [edi + 0x80]
dec esi
jns 0x4ccf80
mov esi, dword [ebp + 0x18]
mov ecx, dword [esp + 0x30]
push 0xffffffffffffffff
mov edi, dword [esi + 8]
lea edx, [edi + ecx]
mov ecx, esi
push edx
call fcn.004ecdd0
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
test edx, edx
lea eax, [eax + edi*4]
je 0x4ccffa
mov esi, dword [ecx]
add ecx, 4
mov dword [eax], esi
add eax, 4
dec edx
jne 0x4ccfe9
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x28], 0x534048
test ecx, ecx
mov byte [esp + 0x160], 5
je 0x4cd017
push ecx
call fcn.0051aee4
add esp, 4
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], 0x53138c
mov byte [esp + 0x160], 0
call fcn.004e8d50
mov dword [esp + 0x14], 0x53ae08
mov eax, dword [esp + 0x18]
mov dword [esp + 0x160], 6
test eax, eax
je 0x4cd054
push eax
call fcn.0051aee4
add esp, 4
mov ecx, dword [esp + 0x158]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14