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

Disassembly:
sub esp, 0x49c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4b8]
push 0x6a1d54
mov ecx, edi
call fcn.0048ca50
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x4c52f3
push ebp
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x3c]
push 1
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x38]
push 2
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x24]
push 3
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x44]
push 4
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x4c]
push 5
mov ecx, esi
call fcn.0048c320
mov eax, dword [0x646e34]
mov edx, dword [esp + 0x4b4]
fstp dword [esp + 0x50]
mov ecx, eax
push edx
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x70]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebp
call fcn.0049bb80
mov eax, dword [0x646e30]
push 0x6a1d4c
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], eax
call fcn.0048ca50
mov esi, eax
cmp esi, ebp
je 0x4c4f64
push ebp
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x10]
push 1
mov ecx, esi
call fcn.0048c320
fstp dword [esp + 0x18]
push 0x6a1d44
mov ecx, edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x44], ebp
call fcn.0048ca50
mov esi, eax
cmp esi, ebp
je 0x4c4f97
push ebp
mov ecx, esi
call fcn.0048c2f0
push 1
mov ecx, esi
mov dword [esp + 0x4c], eax
call fcn.0048c2f0
mov dword [esp + 0x40], eax
fld dword [esp + 0x18]
fsub dword [esp + 0x10]
lea ecx, [esp + 0xac]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x30]
fild dword [esp + 0x20]
mov ebx, dword [esp + 0x4c0]
xor esi, esi
test ebx, ebx
fmul dword [esp + 0x30]
fmul dword [0x642c24]
fadd dword [esp + 0x10]
fstp dword [esp + 0x14]
jle 0x4c5003
mov edi, dword [esp + 0x4bc]
lea edx, [esp + 0x2c]
lea eax, [esp + esi*4 + 0x84]
push edx
push eax
lea ecx, [esp + 0x1c]
push 1
push ecx
mov ecx, dword [edi]
call fcn.004d73c0
mov edx, dword [esp + 0x2c]
add edi, 4
add esi, edx
dec ebx
jne 0x4c4fdc
mov ecx, dword [esp + 0x4c4]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x90]
push eax
call dword [edx + 4]
fld dword [esp + 0x28]
fmul dword [0x646724]
push ecx
fstp dword [esp]
call fcn.0049bfa0
fld dword [esp + 0x20]
fmul dword [0x646724]
mov esi, eax
or esi, 0xffffff00
shl esi, 8
fstp dword [esp]
call fcn.0049bfa0
fld dword [esp + 0x38]
fmul dword [0x646724]
or esi, eax
shl esi, 8
fstp dword [esp]
call fcn.0049bfa0
or esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
inc ebp
mov dword [eax], esi
add eax, 4
cmp ebp, 0x100
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], eax
jl 0x4c4fb2
fld dword [esp + 0x38]
fsub dword [esp + 0x4c]
fld dword [esp + 0x3c]
fsub dword [esp + 0x44]
fld dword [esp + 0x24]
fsub dword [esp + 0x50]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
mov edi, dword [esp + 0x4b0]
xor eax, eax
mov dword [esp + 0x20], eax
fld st(1)
fmul st(2)
mov ebp, dword [edi + 8]
mov ecx, dword [edi + 0x14]
mov ebx, dword [edi + 4]
cmp ebp, eax
fsubp st(1)
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], ecx
fstp dword [esp + 0x28]
fstp st(0)
fstp st(0)
fstp st(0)
jle 0x4c52f3
mov dword [esp + 0x18], eax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov edx, dword [esp + 0x18]
xor esi, esi
add eax, edx
mov dword [esp + 0x14], esi
test ebx, ebx
jle 0x4c52d4
fild dword [esp + 0x20]
mov ebp, eax
fstp dword [esp + 0x34]
fld dword [esp + 0x4c]
fsub dword [esp + 0x38]
fstp dword [esp + 0x64]
fld dword [esp + 0x44]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x54]
fld dword [esp + 0x50]
fsub dword [esp + 0x24]
fst dword [esp + 0x30]
fmul dword [esp + 0x24]
fstp dword [esp + 0x60]
fld dword [esp + 0x24]
fmul dword [esp + 0x24]
fstp dword [esp + 0x68]
fild dword [esp + 0x14]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x10]
push ecx
fstp dword [esp + 0x14]
push edx
lea ecx, [esp + 0x74]
mov dword [esp + 0x34], eax
call fcn.0049ba20
fld dword [esp + 0x2c]
fsub dword [esp + 0x38]
fld dword [esp + 0x10]
fsub dword [esp + 0x3c]
fstp dword [esp + 0x10]
fld dword [esp + 0x54]
fmul dword [esp + 0x10]
fld dword [esp + 0x64]
fmul st(2)
faddp st(1)
fadd dword [esp + 0x60]
fmul dword [0x646e44]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fld dword [esp + 0x1c]
fmul dword [esp + 0x1c]
fld st(1)
fmul st(2)
fld st(3)
fmul st(4)
faddp st(1)
fsub dword [esp + 0x68]
fmul dword [esp + 0x28]
fmul dword [0x646e40]
fsubp st(1)
fstp st(2)
fstp st(0)
fcom dword [0x635e2c]
fnstsw ax
test ah, 1
jne 0x4c52be
fsqrt
fstp dword [esp + 0x10]
fld dword [esp + 0x28]
fcomp dword [0x635e2c]
fld dword [esp + 0x28]
fadd st(0), st(0)
fnstsw ax
test ah, 0x41
jne 0x4c5212
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdivrp st(1)
jmp 0x4c5234
fstp dword [esp + 0x14]
fld dword [esp + 0x1c]
fchs
fsub dword [esp + 0x10]
fdiv dword [esp + 0x14]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
fdiv dword [esp + 0x14]
fstp dword [esp + 0x14]
fcom dword [0x646e38]
fnstsw ax
test ah, 0x41
jne 0x4c524f
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4c524f
fstp st(0)
fld dword [esp + 0x14]
fld dword [esp + 0x30]
fmul st(1)
fadd dword [esp + 0x24]
fcomp dword [0x635e2c]
fnstsw ax
test ah, 1
jne 0x4c52be
fcom dword [0x635e2c]
fnstsw ax
test ah, 1
je 0x4c5283
mov eax, dword [esp + 0x48]
test eax, eax
fstp st(0)
je 0x4c52c0
fld dword [0x635e2c]
fcom dword [0x646e30]
fnstsw ax
test ah, 0x41
jne 0x4c52a0
mov eax, dword [esp + 0x40]
test eax, eax
fstp st(0)
je 0x4c52c0
fld dword [0x646e30]
fmul dword [0x646e3c]
call fcn.00460b50
shl eax, 2
lea ecx, [esp + 0xac]
sub ecx, eax
mov edx, dword [ecx]
mov dword [ebp], edx
jmp 0x4c52c0
fstp st(0)
inc esi
add ebp, 4
cmp esi, ebx
mov dword [esp + 0x14], esi
jl 0x4c5149
mov ebp, dword [esp + 0x58]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x18]
inc eax
add edx, ecx
cmp eax, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
jl 0x4c50ec
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x49c
ret