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

Disassembly:
sub esp, 0x74
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x7c]
fld dword [edx + 0x28]
mov ecx, dword [esp + 0x90]
push ebx
push ebp
mov ebp, dword [esp + 0x8c]
fstp dword [esp + 0x8c]
push esi
mov esi, dword [esp + 0x94]
push edi
mov edi, dword [esp + 0x9c]
lea edx, [edi + eax]
push edx
lea edx, [esi + ecx]
push edx
push eax
push ecx
lea eax, [esp + 0x80]
push eax
call dword [0x435258]
fld dword [esp + 0x94]
call fcn.00431580
fstp dword [esp + 0x98]
fld dword [esp + 0x98]
fstp dword [esp + 0x28]
fld dword [esp + 0x94]
call fcn.00431450
fstp dword [esp + 0x98]
fld dword [esp + 0x98]
mov eax, esi
cdq
fstp dword [esp + 0x2c]
sub eax, edx
mov esi, eax
mov eax, edi
cdq
sar esi, 1
sub dword [esp + 0x90], esi
sub eax, edx
mov dword [esp + 0x98], esi
mov ebx, eax
sar ebx, 1
fild dword [esp + 0x98]
mov dword [esp + 0x9c], ebx
sub ebp, ebx
fstp dword [esp + 0x30]
fild dword [esp + 0x9c]
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fld dword [esp + 0x34]
call fcn.0043167a
fstp dword [esp + 0x9c]
fld dword [esp + 0x9c]
mov ecx, esi
fstp dword [esp + 0x9c]
mov edx, ebx
imul ecx, esi
fld dword [esp + 0x9c]
fld st(0)
fld dword [esp + 0x94]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x9c]
fld dword [esp + 0x9c]
sub esp, 8
imul edx, ebx
fstp dword [esp + 4]
fsubrp st(1)
fstp dword [esp + 0xa4]
fld dword [esp + 0xa4]
fstp dword [esp]
add ecx, edx
mov dword [esp + 0xa4], ecx
fild dword [esp + 0xa4]
call fcn.00431350
fstp dword [esp + 0xa4]
fld dword [esp + 0xa4]
push ecx
fstp dword [esp]
lea edi, [esp + 0x5c]
call fcn.0041f090
mov eax, dword [esp + 0x58]
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
jge 0x41f93a
lea edi, [eax + ebp]
add edi, ebx
mov dword [esp + 0x9c], edi
fild dword [esp + 0x24]
mov eax, dword [esp + 0x50]
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
fstp dword [esp + 0x94]
fld dword [esp + 0x94]
fld st(0)
fmul dword [esp + 0x2c]
fstp dword [esp + 0x38]
fmul dword [esp + 0x28]
fstp dword [esp + 0x40]
jge 0x41f91f
fild dword [esp + 0xa0]
fstp dword [esp + 0x3c]
fild dword [esp + 0xa4]
fstp dword [esp + 0x44]
fild dword [esp + 0x10]
fstp dword [esp + 0x94]
fld dword [esp + 0x94]
fld st(0)
fmul dword [esp + 0x28]
fadd dword [esp + 0x38]
fadd dword [esp + 0x3c]
fstp dword [esp + 0x94]
fld dword [esp + 0x2c]
fmulp st(1)
fsubr dword [esp + 0x40]
fadd dword [esp + 0x44]
fstp dword [esp + 0x18]
fld dword [esp + 0x30]
fadd dword [esp + 0x94]
fst qword [esp + 0x48]
call fcn.004312a0
fld dword [esp + 0x34]
mov ebp, eax
fadd dword [esp + 0x18]
mov dword [esp + 0x14], ebp
fst qword [esp + 0x18]
call fcn.004312a0
mov ebx, eax
push ebx
push ebp
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xa0], ebx
call dword [0x435254]
test eax, eax
je 0x41f90c
fild dword [esp + 0x14]
fsubr qword [esp + 0x48]
fstp dword [esp + 0x14]
fild dword [esp + 0x94]
fsubr qword [esp + 0x18]
fstp dword [esp + 0x18]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x41f7da
fadd qword [0x4388e0]
dec ebp
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x18]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x41f803
fxch st(1)
dec ebx
fadd qword [0x4388e0]
mov dword [esp + 0x94], ebx
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fxch st(1)
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x10]
lea ebx, [edx + ecx]
add ebx, esi
js 0x41f83d
test edi, edi
jl 0x41f83d
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 0x18]
cmp ebx, edx
jge 0x41f83d
mov eax, dword [ecx + 0x1c]
cmp edi, eax
jge 0x41f83d
mov ecx, dword [ecx]
sub eax, edi
dec eax
imul eax, edx
add eax, ebx
mov edi, dword [ecx + eax*4]
jmp 0x41f83f
xor edi, edi
mov esi, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
push ebp
mov eax, edi
mov edx, esi
call fcn.0041eec0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x60], eax
inc esi
push ebp
mov eax, edi
mov edx, esi
call fcn.0041eec0
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x64], eax
inc ebp
push ebp
mov eax, edi
call fcn.0041eec0
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x68], eax
push ebp
mov eax, edi
mov edx, esi
call fcn.0041eec0
mov dword [esp + 0x6c], eax
test ebx, ebx
jl 0x41f8fa
cmp dword [esp + 0x9c], 0
jl 0x41f8fa
mov ebp, dword [esp + 0x88]
cmp ebx, dword [ebp + 0x18]
jge 0x41f8fa
mov esi, dword [ebp + 0x1c]
cmp dword [esp + 0x9c], esi
jge 0x41f8fa
sub esp, 8
fxch st(1)
fstp dword [esp + 4]
lea eax, [esp + 0x68]
fstp dword [esp]
call fcn.0041eb50
sub esi, dword [esp + 0x9c]
mov edx, dword [ebp]
dec esi
imul esi, dword [ebp + 0x18]
and edi, 0xff000000
or eax, edi
add esi, ebx
mov dword [edx + esi*4], eax
jmp 0x41f8fe
fstp st(1)
fstp st(0)
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
jl 0x41f71f
mov eax, dword [esp + 0x24]
inc eax
inc edi
cmp eax, dword [esp + 0x5c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x9c], edi
jl 0x41f6d3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x20