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

Disassembly:
sub esp, 0x50
fld dword [esp + 0x54]
fmul dword [0x4982a0]
mov eax, dword [esp + 0x58]
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esi + 0x38], 0x19
mov byte [esi + 0x3c], 0
mov dword [esi + 0x40], ebp
mov dword [esi + 0x54], eax
call fcn.0048b38c
mov dword [esp + 0x10], eax
add eax, 0xe
mov dword [esp + 0x64], eax
mov ebx, 0x3f800000
fild dword [esp + 0x64]
mov ecx, esi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x44], eax
fstp dword [esi + 0x4c]
fild dword [esp + 0x10]
fst dword [esp + 0x18]
fmul dword [0x498468]
fstp dword [esp + 0x64]
call fcn.0041b060
mov byte [esi + 0x9c], 1
mov dword [esp + 0x68], ebp
xor edi, edi
fild dword [esp + 0x68]
mov ecx, dword [esi + 0x58]
fstp dword [esp + 0x14]
fild dword [esi + 0x54]
fmul dword [0x498228]
fsub dword [0x498210]
fld dword [esp + 0x14]
fmul dword [0x498470]
fmul dword [0x4983d8]
fsubp st(1)
fstp dword [edi + ecx + 0x90]
mov edx, dword [esi + 0x58]
mov dword [edi + edx + 0x98], ebp
mov eax, dword [esi + 0x58]
mov dword [edi + eax + 0x94], ebp
mov ecx, dword [esi + 0x58]
mov dword [edi + ecx + 0xa0], ebp
mov edx, dword [esi + 0x58]
mov ecx, edi
mov dword [edi + edx + 0x9c], ebx
mov edx, dword [esi + 0x58]
add ecx, edx
call fcn.0044d210
mov eax, dword [esi + 0x58]
add eax, edi
fld dword [esp + 0x14]
mov ecx, dword [eax + 0x90]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x58]
mov dword [edi + edx + 0x34], ebp
mov eax, dword [esi + 0x58]
fstp dword [edi + eax + 0x38]
mov ecx, dword [esi + 0x58]
mov dword [edi + ecx + 0x8c], ebx
mov eax, dword [esi + 0x5c]
mov ecx, edi
add ecx, eax
call fcn.0044d210
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
fld dword [esp + 0x14]
mov ecx, dword [edi + edx + 0x90]
mov dword [edi + eax + 0x30], ecx
mov edx, dword [esi + 0x5c]
mov dword [edi + edx + 0x34], 0x3efae148
mov eax, dword [esi + 0x5c]
mov edx, dword [esp + 0x68]
fstp dword [edi + eax + 0x38]
mov ecx, dword [esi + 0x5c]
add edi, 0xa8
inc edx
cmp edi, 0x690
mov dword [edi + ecx - 0x1c], ebx
mov dword [esp + 0x68], edx
jl 0x41c622
mov edx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x68], ebx
lea ecx, [edx + 0xa]
lea eax, [ecx*8]
sub eax, ecx
lea edi, [eax + eax*2]
shl edi, 3
mov dword [esp + 0x20], edi
fild dword [esp + 0x68]
mov eax, dword [esi + 0x58]
fmul dword [0x498450]
fsubr dword [0x498220]
fmul dword [0x4983d8]
fild dword [esi + 0x54]
fmul dword [0x498228]
fsubr dword [0x498210]
faddp st(1)
fstp dword [edi + eax + 0x90]
mov ecx, dword [esi + 0x58]
mov dword [edi + ecx + 0x98], ebp
mov edx, dword [esi + 0x58]
mov dword [edi + edx + 0x94], ebp
mov eax, dword [esi + 0x58]
mov dword [edi + eax + 0xa0], ebp
mov ecx, dword [esi + 0x58]
mov dword [edi + ecx + 0x9c], 0x3f800000
mov edx, dword [esi + 0x58]
mov ecx, edi
add ecx, edx
call fcn.0044d210
mov edx, dword [esi + 0x58]
mov ecx, dword [edi + edx + 0x90]
lea eax, [edi + edx]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + 0x58]
lea eax, [ebx + 0xa]
mov dword [esp + 0x68], eax
mov dword [edi + edx + 0x34], ebp
fild dword [esp + 0x68]
mov ecx, dword [esi + 0x58]
fst dword [esp + 0x68]
fstp dword [edi + ecx + 0x38]
mov edx, dword [esi + 0x58]
mov ecx, edi
mov dword [edi + edx + 0x8c], 0x3f800000
mov eax, dword [esi + 0x5c]
add ecx, eax
call fcn.0044d210
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
fld dword [esp + 0x68]
mov edx, dword [edi + eax + 0x90]
inc ebx
mov dword [edi + ecx + 0x30], edx
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x68], ebx
mov dword [edi + eax + 0x34], 0x3efae148
mov ecx, dword [esi + 0x5c]
fstp dword [edi + ecx + 0x38]
mov edx, dword [esi + 0x5c]
add edi, 0xa8
cmp ebx, 4
mov dword [edi + edx - 0x1c], 0x3f800000
jl 0x41c728
fld dword [esp + 0x64]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x68], ebp
fchs
fstp dword [esp + 0x40]
cmp eax, ebp
jle 0x41ca9b
fld dword [esp + 0x64]
fadd dword [0x4983e8]
mov dword [esp + 0x24], 0x3f800000
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
fstp dword [esp + 0x1c]
mov edi, 0x690
fild dword [esp + 0x68]
mov eax, dword [esi + 0x58]
mov ecx, dword [esp + 0x20]
push ecx
fld st(0)
fmul dword [0x4982a0]
fdiv dword [esp + 0x1c]
fstp dword [esp + 0x18]
fld dword [eax + ecx + 0x90]
fsub dword [eax + 0x90]
fmul st(1)
fdiv dword [esp + 0x1c]
fadd dword [eax + 0x90]
fstp dword [edi + eax + 0x90]
mov edx, dword [esi + 0x58]
fstp st(0)
fld dword [esp + 0x18]
fmul dword [0x498228]
lea ebx, [edi + edx + 0x90]
fadd dword [0x49845c]
fstp dword [esp]
call fcn.0044c9d0
fmul dword [0x4983d8]
add esp, 4
fadd dword [ebx]
fstp dword [ebx]
mov eax, dword [esi + 0x58]
mov dword [edi + eax + 0x98], ebp
mov ecx, dword [esi + 0x58]
mov dword [edi + ecx + 0x94], ebp
mov edx, dword [esi + 0x58]
mov ecx, edi
mov dword [edi + edx + 0xa0], ebp
mov eax, dword [esi + 0x58]
mov dword [edi + eax + 0x9c], 0x3f800000
mov edx, dword [esi + 0x58]
add ecx, edx
call fcn.0044d210
mov ecx, dword [esi + 0x58]
mov ebx, dword [esp + 0x14]
push ebx
mov edx, dword [edi + ecx + 0x90]
lea eax, [edi + ecx]
mov dword [eax + 0x30], edx
call fcn.0044c9d0
fmul dword [esp + 0x68]
mov eax, dword [esi + 0x58]
push ebx
fadd dword [0x498400]
fstp dword [edi + eax + 0x38]
call fcn.0044c980
fmul dword [esp + 0x6c]
mov ecx, dword [esi + 0x58]
add esp, 8
fadd dword [esp + 0x40]
fstp dword [edi + ecx + 0x34]
mov edx, dword [esi + 0x5c]
mov ecx, edi
add ecx, edx
call fcn.0044d210
mov edx, dword [esi + 0x58]
mov eax, dword [esi + 0x5c]
push ebx
mov ecx, dword [edi + edx + 0x90]
mov dword [edi + eax + 0x30], ecx
call fcn.0044c9d0
fmul dword [esp + 0x20]
mov edx, dword [esi + 0x5c]
push ebx
fadd dword [0x498400]
fstp dword [edi + edx + 0x38]
call fcn.0044c980
fmul dword [esp + 0x24]
mov eax, dword [esi + 0x5c]
mov ecx, edi
add esp, 8
fadd dword [esp + 0x40]
fstp dword [edi + eax + 0x34]
add ecx, dword [esi + 0x58]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [ecx], edx
mov edx, dword [esp + 0x2c]
fld dword [esp + 0x40]
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov eax, dword [esi + 0x58]
mov dword [edi + eax + 0x10], ebp
mov ecx, dword [esi + 0x58]
fsub dword [edi + ecx + 0x34]
lea eax, [edi + ecx]
fchs
fstp dword [eax + 0x14]
mov edx, dword [esi + 0x58]
fld dword [0x498400]
fsub dword [edi + edx + 0x38]
lea eax, [edi + edx]
fchs
fstp dword [eax + 0x18]
mov eax, dword [esi + 0x58]
lea ecx, [edi + eax + 0x10]
call fcn.0044cca0
mov ecx, dword [esi + 0x58]
fstp st(0)
lea eax, [edi + ecx]
lea edx, [eax + 0x10]
lea ecx, [eax + 0x20]
push edx
push eax
call fcn.0044cd40
mov ebx, dword [esi + 0x5c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov eax, edi
add eax, ebx
fld dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x5c]
mov dword [edi + edx + 0x10], ebp
mov eax, dword [esi + 0x5c]
add eax, edi
fsub dword [eax + 0x34]
fchs
fstp dword [eax + 0x14]
mov ecx, dword [esi + 0x5c]
fld dword [0x498400]
fsub dword [edi + ecx + 0x38]
lea eax, [edi + ecx]
fchs
fstp dword [eax + 0x18]
mov edx, dword [esi + 0x5c]
lea ecx, [edi + edx + 0x10]
call fcn.0044cca0
mov eax, dword [esi + 0x5c]
add eax, edi
fstp st(0)
lea ecx, [eax + 0x10]
push ecx
push eax
lea ecx, [eax + 0x20]
call fcn.0044cd40
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x10]
inc eax
add edi, 0xa8
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x41c87b
mov edx, dword [esi + 0x44]
xor ebx, ebx
dec edx
test edx, edx
jle 0x41cb71
xor edi, edi
mov eax, dword [esi + 0x58]
add eax, edi
fld dword [eax + 0xd8]
fsub dword [eax + 0x30]
add eax, 0x80
fstp dword [esp + 0x30]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov ecx, dword [esp + 0x30]
fstp dword [esp + 0x34]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov edx, dword [esp + 0x34]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x58]
lea ecx, [edi + edx + 0x80]
call fcn.0044cca0
mov eax, dword [esi + 0x58]
fstp dword [edi + eax + 0x8c]
mov ecx, dword [esi + 0x5c]
fld dword [edi + ecx + 0xd8]
fsub dword [edi + ecx + 0x30]
lea eax, [edi + ecx]
add eax, 0x80
fstp dword [esp + 0x24]
fld dword [eax + 0x5c]
fsub dword [eax - 0x4c]
mov edx, dword [esp + 0x24]
fstp dword [esp + 0x28]
fld dword [eax + 0x60]
fsub dword [eax - 0x48]
mov ecx, dword [esp + 0x28]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [esp + 0x2c]
mov edx, dword [esp + 0x2c]
mov dword [eax + 8], edx
mov eax, dword [esi + 0x5c]
lea ecx, [edi + eax + 0x80]
call fcn.0044cca0
mov ecx, dword [esi + 0x5c]
inc ebx
fstp dword [edi + ecx + 0x8c]
mov edx, dword [esi + 0x44]
add edi, 0xa8
dec edx
cmp ebx, edx
jl 0x41caab
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0x3f800000
lea eax, [ecx*8]
sub eax, ecx
mov ecx, dword [esi + 0x58]
lea eax, [eax + eax*2]
lea edx, [ecx + eax*8 - 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x30], 0
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov ecx, dword [esi + 0x44]
mov edx, 0x3f800000
lea eax, [ecx*8]
mov dword [esp + 0x38], edx
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x58]
mov dword [eax + ecx*8 - 0x1c], edx
mov ecx, dword [esi + 0x44]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x5c]
lea ecx, [eax + ecx*8 - 0x28]
mov eax, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, edx
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x44]
lea eax, [ecx*8]
sub eax, ecx
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x5c]
mov dword [eax + ecx*8 - 0x1c], edx
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x44]
inc ecx
inc edx
imul ecx, edx
push ecx
mov ecx, dword [esi + 0x24]
call fcn.0042f710
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x24]
imul eax, dword [esi + 0x44]
shl eax, 1
push eax
call fcn.0042f8c0
mov eax, dword [esi + 0x24]
xor edi, edi
mov ecx, dword [eax + 0x38]
mov edx, dword [eax + 0x5c]
mov eax, dword [esi + 0x44]
mov dword [esp + 0x1c], ecx
cmp eax, ebp
mov dword [esp + 0x20], edx
jl 0x41cda2
xor edx, edx
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 0x54]
xor ebx, ebx
cmp ecx, ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
jl 0x41cd8c
fild dword [esp + 0x64]
fild dword [esp + 0x68]
mov eax, dword [esi + 0x44]
cmp edi, eax
mov eax, dword [esi + 0x58]
fmul dword [0x498228]
fsubp st(1)
je 0x41ccf7
add eax, edx
fld st(0)
fmul dword [eax]
fstp dword [esp + 0x3c]
fld st(0)
fmul dword [eax + 4]
fstp dword [esp + 0x40]
fmul dword [eax + 8]
fld dword [esp + 0x3c]
fadd dword [eax + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fadd dword [eax + 0x34]
fstp dword [esp + 0x34]
fadd dword [eax + 0x38]
lea eax, [ecx + 1]
imul eax, edi
fstp dword [esp + 0x38]
add eax, ebx
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esp + 0x34]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x38]
mov dword [ecx + 8], eax
jmp 0x41cd78
add eax, edx
fld st(0)
fmul dword [eax - 0xa8]
mov edx, dword [eax - 0x74]
mov dword [esp + 0x58], edx
fstp dword [esp + 0x48]
fld st(0)
fmul dword [eax - 0xa4]
fstp dword [esp + 0x4c]
fmul dword [eax - 0xa0]
fld dword [eax - 0x78]
fld dword [eax - 0x70]
fadd dword [0x498220]
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x1c]
imul eax, edi
fstp dword [esp + 0x5c]
fadd dword [esp + 0x48]
fstp dword [esp + 0x24]
fld dword [esp + 0x58]
fadd dword [esp + 0x4c]
add eax, ebx
lea eax, [eax + eax*2]
fstp dword [esp + 0x28]
fld dword [esp + 0x5c]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
fadd st(1)
mov dword [edx], eax
mov dword [edx + 4], ecx
fstp dword [esp + 0x2c]
mov eax, dword [esp + 0x2c]
mov dword [edx + 8], eax
mov edx, dword [esp + 0x18]
fstp st(0)
mov ecx, dword [esi + 0x54]
inc ebx
cmp ebx, ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
jle 0x41cc7f
mov eax, dword [esi + 0x44]
inc edi
add edx, 0xa8
cmp edi, eax
mov dword [esp + 0x18], edx
jle 0x41cc6a
mov eax, dword [esi + 0x44]
xor ebx, ebx
cmp eax, ebp
jle 0x41cfcc
mov eax, dword [esi + 0x54]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x64], edi
jle 0x41cfc0
mov eax, ebx
and eax, 0x80000007
jns 0x41cdce
dec eax
or eax, 0xfffffff8
inc eax
mov dword [esp + 0x68], eax
inc eax
fild dword [esp + 0x68]
mov dword [esp + 0x1c], eax
fmul dword [0x498428]
fstp dword [esp + 0x68]
fild dword [esp + 0x1c]
fmul dword [0x498428]
fstp dword [esp + 0x14]
jmp 0x41cdf7
xor ebp, ebp
fild dword [esp + 0x64]
lea edx, [edi + 1]
xor ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ecx
fmul dword [0x498428]
fstp dword [esp + 0x64]
fild dword [esp + 0x1c]
fmul dword [0x498428]
fstp dword [esp + 0x10]
jmp 0x41ce28
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov eax, dword [esi + 0x54]
imul eax, ebx
add eax, edi
cmp ecx, ebp
lea eax, [ecx + eax*2]
jne 0x41ceee
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax*2]
shl ecx, 4
push 0
push 0
lea ebp, [ecx + edx]
mov word [ebp], 0
mov ax, word [esi + 0x54]
inc ax
imul eax, ebx
add eax, edi
mov word [ebp + 2], ax
mov cx, word [esi + 0x54]
inc cx
lea eax, [ebx + 1]
imul ecx, ebx
lea edx, [ecx + edi + 1]
mov word [ebp + 4], dx
mov cx, word [esi + 0x54]
inc cx
imul ecx, eax
lea edx, [ecx + edi + 1]
mov word [ebp + 6], dx
mov cx, word [esi + 0x54]
inc cx
mov edx, edi
imul ecx, eax
xor edx, ebx
add ecx, edi
test dl, 1
mov word [ebp + 8], cx
jne 0x41cee7
mov eax, dword [esp + 0x78]
push eax
mov ecx, 0x4ba7b0
call fcn.0044e810
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], edx
mov ecx, edx
mov dword [ebp + 0x18], eax
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [ebp + 0x1c], ecx
mov ecx, dword [esp + 0x64]
mov dword [ebp + 0x20], edx
mov dword [ebp + 0x24], eax
mov edx, eax
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x2c], edx
jmp 0x41cf99
mov ecx, dword [esp + 0x78]
push ecx
jmp 0x41cea3
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x20]
shl edx, 4
push 0
push 0
lea ebp, [edx + eax]
mov word [ebp], 0
mov cx, word [esi + 0x54]
inc cx
imul ecx, ebx
lea edx, [ecx + edi + 1]
mov word [ebp + 2], dx
mov ax, word [esi + 0x54]
inc ax
imul eax, ebx
add eax, edi
mov word [ebp + 4], ax
mov cx, word [esi + 0x54]
lea eax, [ebx + 1]
inc cx
imul ecx, eax
add ecx, edi
mov word [ebp + 6], cx
mov dx, word [esi + 0x54]
inc dx
mov ecx, edi
imul edx, eax
xor ecx, ebx
lea eax, [edx + edi + 1]
test cl, 1
mov word [ebp + 8], ax
jne 0x41cfdd
mov edx, dword [esp + 0x7c]
push edx
mov ecx, 0x4ba7b0
call fcn.0044e810
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], ecx
mov eax, ecx
mov dword [ebp + 0x18], edx
mov ecx, edx
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x1c], eax
mov eax, dword [esp + 0x10]
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], edx
mov ecx, edx
mov dword [ebp + 0x28], eax
mov dword [ebp + 0x2c], ecx
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x41ce22
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0x54]
cmp edi, eax
mov dword [esp + 0x64], edi
jl 0x41cdf5
xor ebp, ebp
mov eax, dword [esi + 0x44]
inc ebx
cmp ebx, eax
jl 0x41cdaf
mov ecx, esi
call fcn.0042c5c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x18
mov eax, dword [esp + 0x7c]
push eax
jmp 0x41cf5a