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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [ebp + 8]
fld dword [0x6ddf0c]
cmp eax, 8
fst dword [esp + 8]
push ebx
push esi
push edi
jg 0x436eb1
mov edi, dword [ebp + 0x14]
cmp edi, 8
jg 0x436eb1
mov ecx, dword [ebp + 0xc]
fstp st(0)
fld dword [ecx + eax*4 - 4]
mov edx, dword [ebp + 0x10]
fstp dword [esp + 0x2c]
xor ebx, ebx
cmp eax, ebx
fld dword [edx + eax*4 - 4]
fstp dword [esp + 0x28]
mov dword [esp + 0x48], ebx
fldz
mov dword [esp + 0x4c], ebx
jle 0x436bb6
lea ecx, [ecx]
mov eax, dword [ebp + 0xc]
fstp st(0)
fld dword [eax + ebx*4]
mov ecx, dword [ebp + 0x10]
fstp dword [esp + 0x38]
fld dword [ecx + ebx*4]
fstp dword [esp + 0x40]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
fst qword [esp + 0x78]
fstp dword [esp + 0x10]
fld dword [esp + 0x40]
fsub dword [esp + 0x28]
fst qword [esp + 0x70]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
call fcn.00651160
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
mov ecx, dword [ebp + 0x18]
fstp dword [esp + 0x44]
mov eax, dword [ebp + 0x1c]
fld dword [esp + 0x44]
xor esi, esi
test edi, edi
fadd qword [0x6ddf00]
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + 0x50]
fdivr dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [ecx + edi*4 - 4]
fstp dword [esp + 0x18]
fld dword [eax + edi*4 - 4]
fstp dword [esp + 0x30]
fldz
jle 0x436b97
sub ecx, eax
lea edx, [esp + 0xc0]
sub eax, edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], eax
jmp 0x436a2a
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x64]
lea edi, [esp + esi*4 + 0xc0]
add eax, edi
test ebx, ebx
fld dword [eax + ecx]
fstp dword [esp + 0x34]
fld dword [eax]
fstp dword [esp + 0x3c]
fld dword [esp + 0x34]
fld dword [esp + 0x18]
fld st(0)
fsubp st(2)
fxch st(1)
fst qword [esp + 0x68]
fst dword [esp + 0x10]
fld dword [esp + 0x3c]
fsub dword [esp + 0x30]
fst qword [esp + 0x58]
fst dword [esp + 0x1c]
jne 0x436ad1
fstp st(3)
fstp st(0)
fstp st(1)
fstp st(0)
fld dword [esp + 0x1c]
fmul st(0), st(0)
fld dword [esp + 0x10]
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
call fcn.00651160
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fst dword [edi]
fadd qword [0x6ddf00]
fld dword [esp + 0x10]
fdiv st(1)
fstp dword [esp + esi*4 + 0xa0]
fdivr dword [esp + 0x1c]
fstp dword [esp + esi*4 + 0x80]
fld dword [esp + 0x18]
fldz
fld qword [esp + 0x68]
fld qword [esp + 0x58]
fxch st(2)
fxch st(3)
fxch st(2)
fld st(1)
fmul qword [esp + 0x70]
fld st(1)
fld qword [esp + 0x78]
fmul st(1), st(0)
fxch st(2)
fsubrp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fsub dword [esp + 0x28]
fst qword [esp + 0x58]
fld st(4)
fsub dword [esp + 0x2c]
fst qword [esp + 0x68]
fld st(1)
fmulp st(5)
fld st(0)
fmulp st(4)
fxch st(4)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x1c]
fmul st(1)
fld st(2)
fmul qword [esp + 0x70]
fsubp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fcom st(4)
fnstsw ax
test ah, 5
jp 0x436b48
fchs
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fchs
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fchs
fstp dword [esp + 0x10]
fld dword [esp + 0x20]
fld dword [0x6ddefc]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x436be9
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x436be9
fxch st(2)
fadd qword [0x6ddef0]
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 0x41
jne 0x436beb
fcompp
fnstsw ax
test ah, 5
jp 0x436bef
fstp st(0)
fstp st(0)
fstp st(0)
fst dword [esp + 0x14]
mov edi, dword [ebp + 0x14]
fld dword [esp + 0x38]
add ebx, 1
cmp ebx, dword [ebp + 8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x40]
fstp dword [esp + 0x28]
jl 0x436970
mov eax, dword [ebp + 8]
add eax, 1
cdq
sub eax, edx
mov ecx, eax
lea eax, [edi + 1]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
add ecx, eax
cmp dword [esp + 0x48], ecx
jg 0x436bda
cmp dword [esp + 0x4c], ecx
jle 0x436eab
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(2)
fstp st(1)
fstp st(0)
fld dword [esp + 0x3c]
fsub dword [esp + 0x40]
fld dword [esp + 0x34]
fsub dword [esp + 0x38]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fld dword [esp + 0x10]
fld st(1)
fmulp st(2)
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x436c4f
fstp st(4)
fstp st(0)
fstp st(0)
fstp st(0)
call fcn.00651160
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [esp + 0x14]
fld dword [esp + 0x50]
fld dword [esp + 0x18]
fldz
fld qword [esp + 0x58]
fld qword [esp + 0x68]
jmp 0x436c59
fstp st(0)
fld dword [esp + 0x50]
fxch st(4)
fxch st(2)
fld dword [esp + esi*4 + 0x80]
fmul dword [esp + 0x24]
fld dword [esp + esi*4 + 0xa0]
fmul st(6)
faddp st(1)
fcomp qword [0x6dc328]
fnstsw ax
test ah, 5
jp 0x436e78
fld st(4)
fmul st(1)
fld dword [esp + 0x24]
fld st(0)
fmul st(4)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x436ce0
fld dword [esp + 0x44]
fcompp
fnstsw ax
test ah, 0x41
jne 0x436ce2
fld st(0)
fmulp st(2)
fld st(5)
fmulp st(3)
fxch st(1)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x436ce4
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x436ce4
fstp dword [esp + 0x14]
jmp 0x436ce6
fstp st(0)
fstp st(2)
fstp st(0)
fld dword [esp + 0x3c]
fsub dword [esp + 0x28]
fld dword [esp + 0x34]
fsub dword [esp + 0x2c]
fld st(5)
fmul st(1)
fld st(3)
fmul st(3)
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcom st(4)
fnstsw ax
test ah, 0x41
jne 0x436d58
fld dword [esp + 0x44]
fcompp
fnstsw ax
test ah, 0x41
jne 0x436d64
fmulp st(2)
fmulp st(4)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(2)
fnstsw ax
test ah, 5
jp 0x436d3c
add dword [esp + 0x4c], 1
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x436d6e
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x436d6e
fstp dword [esp + 0x14]
jmp 0x436d70
fstp st(2)
fstp st(0)
fstp st(0)
fstp st(3)
fstp st(2)
jmp 0x436d70
fstp st(1)
fstp st(0)
fstp st(3)
fstp st(2)
jmp 0x436d70
fstp st(0)
fld dword [esp + 0x28]
fld dword [esp + 0x30]
fld st(0)
fsubp st(2)
fld dword [esp + 0x2c]
fsub st(3)
fld dword [esp + esi*4 + 0xa0]
fmul st(1)
fld dword [esp + esi*4 + 0x80]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x436dea
fld dword [edi]
fcompp
fnstsw ax
test ah, 0x41
jne 0x436df2
fmul dword [esp + esi*4 + 0x80]
fld dword [esp + esi*4 + 0xa0]
fmulp st(3)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x436df8
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x436df8
fstp dword [esp + 0x14]
jmp 0x436dfa
fstp st(3)
fstp st(0)
fstp st(1)
jmp 0x436dfa
fstp st(2)
fstp st(1)
jmp 0x436dfa
fstp st(0)
fsubr dword [esp + 0x40]
fld dword [esp + 0x38]
fsubrp st(2)
fld dword [esp + esi*4 + 0xa0]
fmul st(2)
fld dword [esp + esi*4 + 0x80]
fmul st(2)
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x436e80
fld dword [edi]
fcompp
fnstsw ax
test ah, 0x41
jne 0x436e86
fld dword [esp + esi*4 + 0x80]
fmulp st(2)
fmul dword [esp + esi*4 + 0xa0]
fsubp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x436e5c
add dword [esp + 0x48], 1
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x436e88
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x436e88
fstp dword [esp + 0x14]
jmp 0x436e8a
fstp st(1)
fstp st(0)
fstp st(2)
jmp 0x436e88
fstp st(1)
fstp st(1)
jmp 0x436e88
fstp st(0)
fstp st(0)
fld dword [esp + 0x34]
add esi, 1
cmp esi, dword [ebp + 0x14]
fstp dword [esp + 0x18]
fld dword [esp + 0x3c]
fstp dword [esp + 0x30]
jl 0x436a22
jmp 0x436b94
fstp st(0)
fld dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret