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

Disassembly:
sub esp, 0x484
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4a0]
push 0x6a1d54
mov ecx, edi
call fcn.0048ca50
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x4c4e67
push ebp
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x40]
push 1
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x3c]
push 2
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x14]
push 3
mov ecx, esi
call fcn.0048c320
mov eax, dword [0x646e30]
push 0x6a1d4c
fstp dword [esp + 0x20]
mov ecx, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], eax
call fcn.0048ca50
mov esi, eax
cmp esi, ebp
je 0x4c4bb4
push ebp
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x18]
push 1
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x10]
push 0x6a1d44
mov ecx, edi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.0048ca50
mov esi, eax
cmp esi, ebp
je 0x4c4be7
push ebp
mov ecx, esi
call fcn.0048c2f0
push 1
mov ecx, esi
mov dword [esp + 0x38], eax
call fcn.0048c2f0
mov dword [esp + 0x38], eax
fld dword [esp + 0x14]
fsub dword [esp + 0x40]
mov ebx, dword [esp + 0x498]
mov eax, dword [0x646e34]
mov dword [esp + 0x60], eax
mov dword [esp + 0x68], 0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fsub dword [esp + 0x3c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x49c]
mov ecx, eax
mov dword [esp + 0x54], ecx
push edx
fst dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
lea ecx, [esp + 0x58]
mov dword [esp + 0x68], 0
faddp st(1)
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
fstp dword [esp + 0x4c]
call fcn.0049bb80
fld dword [esp + 0x10]
fsub dword [esp + 0x18]
lea eax, [esp + 0x94]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
fstp dword [esp + 0x4c]
fild dword [esp + 0x14]
mov eax, dword [esp + 0x4a8]
xor esi, esi
test eax, eax
fmul dword [esp + 0x4c]
fmul dword [0x642c24]
fadd dword [esp + 0x18]
fstp dword [esp + 0x14]
jle 0x4c4cd8
mov edi, dword [esp + 0x4a4]
mov ebx, eax
lea ecx, [esp + 0x50]
lea edx, [esp + esi*4 + 0x6c]
push ecx
mov ecx, dword [edi]
push edx
lea eax, [esp + 0x1c]
push 1
push eax
call fcn.004d73c0
mov edx, dword [esp + 0x50]
add edi, 4
add esi, edx
dec ebx
jne 0x4c4cad
mov ebx, dword [esp + 0x498]
mov ecx, dword [esp + 0x4ac]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x78]
push eax
call dword [edx + 4]
fld dword [esp + 0x44]
fmul dword [0x646724]
push ecx
fstp dword [esp]
call fcn.0049bfa0
fld dword [esp + 0x2c]
fmul dword [0x646724]
mov esi, eax
or esi, 0xffffff00
shl esi, 8
fstp dword [esp]
call fcn.0049bfa0
fld dword [esp + 0x24]
fmul dword [0x646724]
or esi, eax
shl esi, 8
fstp dword [esp]
call fcn.0049bfa0
or esi, eax
mov eax, dword [esp + 0x14]
add esp, 4
inc ebp
mov dword [eax], esi
add eax, 4
cmp ebp, 0x100
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], eax
jl 0x4c4c81
mov eax, dword [esp + 0x30]
mov ecx, dword [ebx + 0x14]
xor ebp, ebp
mov dword [esp + 0x28], ecx
cmp eax, ebp
mov dword [esp + 0x18], ebp
jle 0x4c4e67
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x2c]
add eax, ebp
xor esi, esi
test ecx, ecx
mov dword [esp + 0x10], esi
jle 0x4c4e4c
fild dword [esp + 0x18]
mov edi, eax
fstp dword [esp + 0x20]
fild dword [esp + 0x10]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
push ecx
fstp dword [esp + 0x14]
push edx
lea ecx, [esp + 0x5c]
mov dword [esp + 0x1c], eax
call fcn.0049ba20
fld dword [esp + 0x14]
fsub dword [esp + 0x3c]
fmul dword [esp + 0x1c]
fld dword [esp + 0x10]
fsub dword [esp + 0x40]
fmul dword [esp + 0x24]
faddp st(1)
fdiv dword [esp + 0x48]
fcom dword [0x635e2c]
fnstsw ax
test ah, 1
je 0x4c4e00
mov eax, dword [esp + 0x34]
test eax, eax
fstp st(0)
je 0x4c4e38
fld dword [0x635e2c]
jmp 0x4c4e1d
fcom dword [0x646e38]
fnstsw ax
test ah, 0x41
jne 0x4c4e1d
mov eax, dword [esp + 0x38]
test eax, eax
fstp st(0)
je 0x4c4e38
fld dword [0x646e38]
fmul dword [0x646e3c]
call fcn.00460b50
shl eax, 2
lea ecx, [esp + 0x94]
sub ecx, eax
mov edx, dword [ecx]
mov dword [edi], edx
mov eax, dword [esp + 0x2c]
inc esi
add edi, 4
cmp esi, eax
mov dword [esp + 0x10], esi
jl 0x4c4da0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
inc eax
add ebp, edx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4c4d7b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x484
ret