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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4994
call fcn.004267a0
fldz
mov ecx, dword [ebp + 8]
fst dword [esp + 0x4c]
push ebx
fst dword [esp + 0x54]
mov ebx, dword [ecx + 0x130]
mov eax, dword [ebx + 0x21448]
add eax, eax
add eax, eax
fst dword [esp + eax + 0x70]
push esi
fst dword [esp + eax + 0x17c]
mov eax, dword [ebx + 0x21444]
add eax, eax
add eax, eax
cmp dword [ecx + 0x2c], 1
fst dword [esp + eax + 0x74]
fst dword [esp + eax + 0x17c]
mov eax, dword [ebx + 0x7ca4]
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], eax
jne 0x41365c
mov dword [esp + 0x50], 4
cmp dword [esp + 0x50], 0
mov dword [esp + 0x34], 0
jle 0x4143e2
lea ecx, [ebx + 0x21410]
mov dword [esp + 0x60], ecx
lea esp, [esp]
mov eax, dword [esp + 0x34]
fstp st(0)
cmp eax, 2
fld dword [ebx + eax*4 + 0x21278]
mov edx, dword [ebp + 0x2c]
lea ecx, [ebx + eax*4 + 0x21b4c]
fstp dword [edx + eax*4]
fld dword [ecx]
mov dword [esp + 0x30], ecx
jge 0x4136e3
mov ecx, dword [ebp + 0x24]
fstp dword [ecx + eax*4]
mov ecx, dword [ebp + 0x10]
mov edx, eax
lea eax, [eax + ecx*2]
imul edx, edx, 0xf4
mov ecx, dword [ebp + 0x1c]
imul eax, eax, 0x1e8
add edx, ebx
add eax, ecx
lea esi, [edx + 0x14640]
lea edi, [eax + 0xf4]
mov ecx, 0x3d
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x14270]
mov edi, eax
jmp 0x41372e
mov edx, dword [ebp + 0x28]
mov edi, dword [ebp + 0x20]
fstp dword [edx + eax*4 - 8]
mov ecx, eax
imul ecx, ecx, 0xf4
lea edx, [ecx + ebx]
mov ecx, dword [ebp + 0x10]
lea ecx, [eax + ecx*2]
imul ecx, ecx, 0x1e8
lea edi, [ecx + edi - 0x2dc]
lea esi, [edx + 0x14640]
mov ecx, 0x3d
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x14270]
mov edx, dword [ebp + 0x10]
lea edi, [eax + edx*2 - 2]
imul edi, edi, 0x1e8
add edi, dword [ebp + 0x20]
mov edx, dword [ebp + 0xc]
mov ecx, 0x3d
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x34]
mov eax, edi
and eax, 1
mov ecx, eax
imul ecx, ecx, 0xc00
push edx
mov edx, dword [ebp + 0x10]
push edi
push edx
lea ecx, [esp + ecx + 0x11ac]
push ecx
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0xba0]
push ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], eax
lea edx, [esp + 0x39c]
shl eax, 0xc
push edx
lea eax, [esp + eax + 0x29b8]
push ecx
mov dword [esp + 0x3c], eax
call fcn.00412070
add esp, 0x1c
fldz
xor esi, esi
imul edi, edi, 0x402
lea edx, [edi + esi + 0x5486]
fld dword [ebx + edx*4]
lea ecx, [ebx + edx*4]
fstp dword [esp + 0x4c]
lea eax, [edi + esi + 0x648e]
fld dword [ebx + eax*4]
lea eax, [ebx + eax*4]
fstp dword [esp + 0x68]
lea edx, [edi + esi + 0x7496]
fld dword [ebx + edx*4]
mov dword [esp + 0x2c], eax
lea eax, [ebx + edx*4]
fstp dword [esp + 0x18]
lea edx, [edi + esi + 0x7295]
fld dword [ebx + edx*4]
lea edx, [ebx + edx*4]
fstp dword [esp + 0x38]
mov dword [esp + 0x48], edx
fld dword [esp + 0x38]
fst dword [eax]
fstp dword [esp + 0x44]
fld st(0)
fld dword [esp + 0x44]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x41384c
mov edx, dword [esp + 0x2c]
lea eax, [edi + esi]
fld dword [ebx + eax*4 + 0x14a14]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fst dword [ecx]
lea ecx, [edi + esi]
fld dword [ebx + ecx*4 + 0x18a34]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fst dword [edx]
fstp dword [esp + 0x38]
fld st(1)
fmul st(0), st(0)
fstp dword [esp + 0x10]
fld dword [esp + 0x38]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld st(0)
fmulp st(1)
fsubr dword [esp + 0x10]
fstp dword [esp + 0x14]
jmp 0x41385e
fld1
fst dword [esp + 0x1c]
fstp dword [esp + 0x10]
fxch st(1)
fst dword [esp + 0x14]
fxch st(1)
fld dword [esp + 0x18]
fucom st(2)
fnstsw ax
fstp st(2)
test ah, 0x44
jnp 0x4138bd
fld dword [esp + 0x14]
fld dword [esp + 0x1c]
fld dword [esp + 0x68]
fld dword [esp + 0x4c]
fld st(0)
fadd st(2)
fld st(3)
fadd st(5)
fmulp st(1)
fmul qword [0x4459d0]
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
fxch st(1)
fmulp st(3)
fld st(0)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x4c]
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x4c]
fstp dword [esp + 0x14]
fld dword [esp + 0x10]
fmul st(2)
fstp dword [esp + 0x10]
fadd st(0), st(0)
fsubrp st(1)
fstp dword [esp + 0x44]
fld dword [esp + esi*4 + 0x388]
call fcn.0042a270
fstp dword [esp + 0x4c]
fld dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
fst dword [eax]
fld dword [esp + 0x44]
fld st(0)
fabs
faddp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fldz
fcom dword [esp + 0x18]
fnstsw ax
test ah, 0x44
jnp 0x4139a0
test esi, esi
fstp st(0)
mov eax, dword [esp + 0x20]
fld dword [eax + esi*4]
lea ecx, [edi + esi]
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fst dword [ebx + ecx*4 + 0x14a14]
fstp dword [esp + 0x4c]
jne 0x413927
fld dword [eax]
jmp 0x413931
mov edx, 0x400
sub edx, esi
fld dword [eax + edx*4]
fstp dword [esp + 0x2c]
lea eax, [edi + esi]
fld dword [esp + 0x2c]
fst dword [ebx + eax*4 + 0x18a34]
fstp dword [esp + 0x48]
fdiv dword [esp + 0x10]
fadd st(0), st(0)
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fld dword [esp + 0x4c]
fld dword [esp + 0x10]
fld st(1)
fadd st(3)
fld dword [esp + 0x1c]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x1c]
fxch st(1)
fsubrp st(2)
fmul dword [esp + 0x14]
fsubp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + 0x1c]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call fcn.0042a270
fld dword [esp + 0x18]
fadd st(0), st(0)
fdivp st(1)
fstp dword [esp + 0x18]
fldz
jmp 0x4139a2
fstp st(1)
fld dword [esp + 0x18]
add esi, 1
cmp esi, 6
fstp dword [ebx + esi*4 + 0x20a70]
jl 0x413793
cmp esi, dword [ebx + 0x14a10]
jge 0x413bdf
lea ecx, [esi + 2]
lea edx, [ebx + esi*4 + 0x20a80]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], edx
mov eax, dword [esp + 0x2c]
cdq
and edx, 3
add eax, edx
mov edi, eax
sar edi, 2
fld dword [esp + edi*4 + 0xb90]
fstp dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x1c]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x413a4a
mov eax, dword [esp + 0x54]
fstp st(1)
mov ecx, 0x100
sub ecx, edi
fld dword [eax + ecx*4]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [eax + edi*4]
fmul st(1)
fstp dword [esp + 0x14]
fld st(1)
fld st(1)
fmulp st(2)
fld st(0)
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x10]
fxch st(1)
fstp dword [esp + 0x18]
call fcn.0042a270
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fldz
jmp 0x413a5a
fld1
fst dword [esp + 0x14]
fstp dword [esp + 0x18]
fxch st(1)
fst dword [esp + 0x10]
fld dword [esp + edi*4 + 0xf98]
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x413afa
mov eax, dword [esp + 0x54]
fstp st(1)
fld dword [eax + edi*4 + 0x800]
mov edx, 0x300
fstp dword [esp + 0x48]
sub edx, edi
fld dword [eax + edx*4]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + 0x48]
fld dword [esp + 0x10]
fld dword [esp + 0x14]
fld st(0)
fadd st(2)
fld st(3)
fadd st(5)
fmulp st(1)
fmul qword [0x4459d0]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fxch st(1)
fmulp st(3)
fld st(0)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x20]
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x20]
fstp dword [esp + 0x10]
call fcn.0042a270
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fld st(0)
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fxch st(1)
fxch st(1)
fadd st(0), st(0)
fsubrp st(1)
fstp qword [esp + 0x20]
fld dword [esp + edi*4 + 0xd94]
call fcn.0042a270
fld qword [esp + 0x20]
fld st(0)
fabs
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
fldz
fld st(0)
fld dword [esp + 0x1c]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x413bb1
mov eax, dword [esp + 0x54]
fstp st(0)
fstp st(0)
mov ecx, 0x200
fld dword [eax + edi*4 + 0x400]
sub ecx, edi
fstp dword [esp + 0x48]
fld dword [eax + ecx*4]
fstp dword [esp + 0x20]
fdiv dword [esp + 0x18]
fadd st(0), st(0)
fstp dword [esp + 0x18]
fld dword [esp + 0x20]
fld dword [esp + 0x48]
fld dword [esp + 0x18]
fld st(1)
fadd st(3)
fld dword [esp + 0x14]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x14]
fxch st(1)
fsubrp st(2)
fmul dword [esp + 0x10]
fsubp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
call fcn.0042a270
fld dword [esp + 0x1c]
fadd st(0), st(0)
fdivp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fldz
jmp 0x413bb3
fstp st(2)
mov eax, dword [esp + 0x38]
fxch st(1)
add dword [esp + 0x2c], 4
fst dword [eax - 0xc]
fst dword [eax]
add esi, 4
fst dword [eax - 4]
add eax, 0x10
fstp dword [eax - 0x18]
cmp esi, dword [ebx + 0x14a10]
mov dword [esp + 0x38], eax
jl 0x4139d7
xor edi, edi
xor eax, eax
cmp dword [ebx + 0x14a10], eax
mov dword [esp + 0x10], edi
jle 0x413d56
lea edx, [ebx + 0x2194c]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx]
test esi, esi
je 0x413d56
cmp edi, dword [ebx + 0x21444]
jge 0x413e27
fld dword [esp + eax*4 + 0x388]
add esi, 0xffffffff
fstp dword [esp + 0x18]
add eax, 1
cmp esi, 4
fld dword [ebx + eax*4 + 0x20a70]
fmul dword [esp + eax*4 + 0x384]
fstp dword [esp + 0x14]
jl 0x413cf7
lea edx, [esi - 4]
shr edx, 2
add edx, 1
mov edi, edx
neg edi
lea ecx, [ebx + eax*4 + 0x20a78]
lea esi, [esi + edi*4]
fld dword [esp + eax*4 + 0x388]
add eax, 4
fadd dword [esp + 0x18]
add ecx, 0x10
sub edx, 1
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [esp + eax*4 + 0x37c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [esp + eax*4 + 0x380]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [esp + eax*4 + 0x384]
fstp dword [esp + 0x18]
fld dword [ecx - 0x14]
fmul dword [esp + eax*4 + 0x378]
fadd dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + eax*4 + 0x37c]
fmul dword [ecx - 0x10]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [ecx - 0xc]
fmul dword [esp + eax*4 + 0x380]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [ecx - 8]
fmul dword [esp + eax*4 + 0x384]
faddp st(1)
fstp dword [esp + 0x14]
jne 0x413c5a
mov edi, dword [esp + 0x10]
test esi, esi
jle 0x413d2b
lea ecx, [ebx + eax*4 + 0x20a74]
fld dword [esp + eax*4 + 0x388]
sub esi, 1
fld dword [esp + 0x18]
add eax, 1
fadd st(1)
add ecx, 4
test esi, esi
fstp dword [esp + 0x18]
fmul dword [ecx - 4]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jg 0x413d02
fld dword [esp + 0x18]
add dword [esp + 0x2c], 4
fstp dword [esp + edi*4 + 0x78]
add edi, 1
cmp eax, dword [ebx + 0x14a10]
fld dword [esp + 0x14]
fstp dword [esp + edi*4 + 0x284]
mov dword [esp + 0x10], edi
jl 0x413bfd
cmp edi, dword [ebx + 0x21444]
jge 0x413e27
fld qword [0x44dda8]
lea edx, [ebx + edi*4 + 0x2194c]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x2c]
fld dword [esp + eax*4 + 0x388]
mov ecx, dword [ecx]
fstp dword [esp + 0x18]
sub ecx, 1
add eax, 1
cmp ecx, 4
jl 0x413de3
lea edx, [ecx - 4]
shr edx, 2
add edx, 1
mov esi, edx
neg esi
lea ecx, [ecx + esi*4]
fld dword [esp + eax*4 + 0x388]
add eax, 4
sub edx, 1
fadd dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [esp + eax*4 + 0x37c]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [esp + eax*4 + 0x380]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [esp + eax*4 + 0x384]
fstp dword [esp + 0x18]
jne 0x413d9f
test ecx, ecx
jle 0x413e00
fld dword [esp + eax*4 + 0x388]
sub ecx, 1
fadd dword [esp + 0x18]
add eax, 1
test ecx, ecx
fstp dword [esp + 0x18]
jg 0x413de7
fld dword [esp + 0x18]
add dword [esp + 0x2c], 4
fst dword [esp + edi*4 + 0x78]
add edi, 1
cmp edi, dword [ebx + 0x21444]
fmul st(1)
fstp dword [esp + edi*4 + 0x284]
jl 0x413d73
fstp st(0)
mov edx, dword [esp + 0x30]
xor eax, eax
fst dword [edx]
cmp dword [ebx + 0x21444], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x10], eax
jle 0x4141dd
mov eax, dword [esp + 0x34]
shl eax, 8
lea esi, [eax + ebx + 0x13264]
mov eax, 0xfffeceac
sub eax, ebx
mov dword [esp + 0x48], eax
mov eax, 0xfffecf70
lea edi, [ebx + 0x13164]
lea ecx, [ebx + 0x21450]
sub eax, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x2c]
fst dword [esp + 0x18]
mov edx, dword [ecx]
fst dword [esp + 0x14]
mov eax, dword [ecx - 4]
mov ecx, edx
sub ecx, eax
add ecx, 1
cmp ecx, 4
jl 0x413f67
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx + 0x14268]
lea edi, [edx - 3]
sub edi, eax
shr edi, 2
lea ecx, [ecx + esi*4 + 8]
lea esi, [esi + edi*4 + 4]
mov dword [esp + 0x44], esi
fld dword [esp + eax*4 + 0x78]
add eax, 4
fmul dword [ecx - 8]
lea esi, [edx - 3]
add ecx, 0x10
cmp eax, esi
fadd dword [esp + 0x14]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + eax*4 + 0x6c]
fmul dword [ecx - 0x14]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + eax*4 + 0x70]
fmul dword [ecx - 0x10]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + eax*4 + 0x74]
fmul dword [ecx - 0xc]
faddp st(1)
fstp dword [esp + 0x14]
fld dword [esp + eax*4 + 0x278]
fmul dword [ecx - 0x18]
fadd dword [esp + 0x18]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + eax*4 + 0x27c]
fmul dword [ecx - 0x14]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + eax*4 + 0x280]
fmul dword [ecx - 0x10]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fld dword [esp + eax*4 + 0x284]
fmul dword [ecx - 0xc]
faddp st(1)
fstp dword [esp + 0x18]
jle 0x413ebe
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x1c]
cmp eax, edx
jg 0x413fb5
mov esi, dword [esp + 0x44]
mov ecx, dword [ebx + 0x14268]
mov edi, edx
sub edi, eax
lea ecx, [ecx + esi*4]
lea esi, [esi + edi + 1]
mov dword [esp + 0x44], esi
fld dword [ecx]
add eax, 1
fld dword [esp + eax*4 + 0x74]
add ecx, 4
cmp eax, edx
fmul st(1)
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
fmul dword [esp + eax*4 + 0x284]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
jle 0x413f84
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x54]
fld dword [esp + 0x14]
fst dword [esp + 0x1c]
fld st(1)
fucomp st(1)
fnstsw ax
test ah, 0x44
jnp 0x41405b
fstp st(1)
push ecx
fdivr dword [esp + 0x1c]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.0040e050
fmul qword [0x44dda0]
add esp, 4
fsub qword [0x44dd98]
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x41401c
fstp st(0)
fld qword [0x44dd90]
call fcn.0042911c
fstp dword [esp + 0x1c]
fldz
jmp 0x41405d
fld1
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x41403c
fstp st(0)
fld qword [0x44dd88]
call fcn.0042911c
fstp dword [esp + 0x1c]
fldz
jmp 0x41405d
fmul qword [0x44dd80]
fadd qword [0x44d3b8]
fmul qword [0x44dd78]
call fcn.0042911c
fstp dword [esp + 0x1c]
fldz
jmp 0x41405d
fstp st(0)
fld dword [edi]
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x41407a
fstp st(0)
fld dword [edi]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
mov ecx, dword [ebx + 0x21d24]
cmp dword [ecx + 8], 0
mov edx, dword [esp + 0x10]
je 0x4140cc
cmp edx, 5
jle 0x4140cc
mov eax, edx
cdq
sub eax, edx
sar eax, 1
fld dword [ecx + eax*4 + 0x10]
fmul qword [0x44dd70]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x4140bd
fstp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
jmp 0x4140bf
fstp st(0)
mov edx, dword [esp + 0x48]
add ecx, edx
mov edx, dword [esp + 0x10]
fst dword [ecx + edi]
fmul dword [esp + 0x14]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld st(0)
fld dword [esi]
fadd st(0), st(0)
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4140eb
fstp st(0)
jmp 0x4140ed
fstp st(1)
mov eax, dword [esp + 0x3c]
fstp dword [esp + 0x20]
cmp dword [ebx + eax*4 + 0x21b68], 2
fld dword [esp + 0x20]
fst dword [esp + edx*4 + 0x180]
je 0x41412a
fld dword [esi + 0x400]
fmul qword [0x44a008]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x41412a
fstp dword [esp + edx*4 + 0x180]
jmp 0x41412c
fstp st(0)
fld dword [esi]
mov ecx, dword [esp + 0x4c]
fstp dword [esi + 0x400]
fstp dword [esi]
mov eax, dword [ebx + 0x21d20]
fld dword [esp + edx*4 + 0x180]
add ecx, eax
fld dword [ecx + edi]
fmul dword [eax + 8]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x41415c
fstp st(0)
jmp 0x41415e
fstp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fld dword [esp + edx*4 + 0x78]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4141b3
mov edx, dword [esp + 0x30]
fstp st(2)
fld dword [edx]
push ecx
fstp qword [esp + 0x6c]
fdivrp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.0040e050
fmul qword [0x44dd68]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x14]
add esp, 4
fimul dword [edi + 0xe7e8]
fsubr qword [esp + 0x68]
fstp dword [eax]
fldz
jmp 0x4141b7
fstp st(1)
fstp st(0)
add dword [esp + 0x2c], 8
add edx, 1
add edi, 4
add esi, 4
cmp edx, dword [ebx + 0x21444]
mov dword [esp + 0x10], edx
mov dword [esp + 0x54], edi
mov dword [esp + 0x1c], esi
jl 0x413e7f
mov ebx, dword [esp + 0x30]
fstp st(0)
mov esi, dword [esp + 0x34]
lea edi, [esp + 0x70]
lea eax, [esp + 0xb90]
call fcn.004133d0
mov edx, dword [esp + 0x40]
mov ebx, esi
push ebx
lea ecx, [esp + 0x7c]
push ecx
push edx
lea edi, [esp + 0x18c]
call fcn.00412e30
mov ecx, dword [esp + 0x4c]
mov eax, ebx
add esp, 0xc
xor esi, esi
imul eax, eax, 0x3d
lea edx, [ecx + eax*4 + 0x142c8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
jmp 0x414232
fstp st(0)
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x21d20]
fld dword [ecx + 8]
mov edx, dword [ebp + 8]
fmul dword [edx + 0xd0]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x184]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fstp dword [esp]
push ecx
push edx
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0xba0]
push edx
push eax
mov eax, esi
call fcn.00412fd0
fldz
mov ebx, dword [esp + 0x78]
fst dword [esp + 0x2c]
mov edx, dword [esp + 0x44]
fst dword [esp + 0x28]
fld qword [0x4459d0]
add esp, 0x18
or eax, 0xffffffff
mov dword [esp + 0x38], 0xd
mov ecx, dword [ebx]
add eax, 1
mov edi, ecx
sub edi, eax
cmp edi, 4
jl 0x414323
lea edi, [ecx - 3]
fld dword [esp + eax*4 + 0x78]
add eax, 4
cmp eax, edi
fadd dword [esp + 0x10]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [esp + eax*4 + 0x6c]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [esp + eax*4 + 0x70]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [esp + eax*4 + 0x74]
fstp dword [esp + 0x10]
fld dword [esp + eax*4 + 0x170]
fadd dword [esp + 0x14]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [esp + eax*4 + 0x174]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [esp + eax*4 + 0x178]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fadd dword [esp + eax*4 + 0x17c]
fstp dword [esp + 0x14]
jl 0x4142b0
cmp eax, ecx
jge 0x414349
fld dword [esp + eax*4 + 0x78]
add eax, 1
cmp eax, ecx
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + eax*4 + 0x17c]
fadd dword [esp + 0x14]
fstp dword [esp + 0x14]
jl 0x414327
fld dword [esp + eax*4 + 0x78]
add ebx, 4
fmul st(1)
add edx, 0xc
sub dword [esp + 0x38], 1
fld dword [esp + 0x10]
fadd st(1)
fstp dword [edx + 0x3c4]
fld dword [esp + eax*4 + 0x180]
fmul st(2)
fld dword [esp + 0x14]
fadd st(1)
fstp dword [edx - 0xc]
fxch st(1)
fstp dword [esp + 0x10]
fstp dword [esp + 0x14]
jne 0x41429f
mov ecx, dword [esp + 0x20]
fstp st(0)
mov edx, dword [esp + 0x40]
fld dword [esp + 0x10]
add dword [esp + 0x2c], 4
lea eax, [ecx + esi]
fadd dword [edx + eax*4 + 0x14728]
lea eax, [edx + eax*4 + 0x14728]
add ecx, esi
add esi, 1
cmp esi, 3
fstp dword [eax]
fld dword [esp + 0x14]
lea eax, [edx + ecx*4 + 0x14358]
fadd dword [eax]
fstp dword [eax]
jl 0x414230
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
mov ebx, edx
jl 0x413680
mov esi, dword [ebp + 8]
fld st(0)
fcomp dword [esi + 0xec]
fnstsw ax
test ah, 0x44
jnp 0x41440c
fstp st(0)
push ecx
fld dword [esi + 0xec]
mov eax, esi
fstp dword [esp]
call fcn.00412700
fldz
add esp, 4
cmp dword [esi + 0x2c], 1
jne 0x414669
fst dword [esp + 0x10]
push ebx
fstp dword [esp + 0x38]
call fcn.00412800
fldz
add esp, 4
fcomp dword [esi + 0xf4]
fnstsw ax
test ah, 0x44
jnp 0x414467
mov ecx, dword [ebx + 0x21d20]
fld dword [ecx + 8]
sub esp, 8
fmul dword [esi + 0xd0]
mov eax, ebx
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fstp dword [esp + 4]
fld dword [esi + 0xf4]
fstp dword [esp]
call fcn.00412ab0
add esp, 8
lea esi, [ebx + 0x14378]
mov edi, 0x11
fld dword [esi - 0xf4]
fld dword [esi]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x41448b
fld dword [esi - 0xf4]
jmp 0x41448d
fld dword [esi]
fstp dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 5
jp 0x4144a2
fld dword [esi - 0xf4]
jmp 0x4144a4
fld dword [esi]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld dword [esp + 0x40]
fld qword [0x445668]
fmul st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x4144cd
fstp st(1)
fstp st(0)
fld dword [0x44ae20]
jmp 0x4144e9
fdivp st(1)
push ecx
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [esp]
call fcn.0040e050
fmul qword [0x44dd60]
add esp, 4
fstp dword [esp + 0x30]
add esi, 4
sub edi, 1
fld dword [esp + 0x30]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fadd qword [0x44a030]
fstp dword [esp + 0x34]
jne 0x414472
fld dword [esp + 0x10]
fdiv dword [esp + 0x34]
fmul qword [0x44dd58]
fstp dword [esp + 0x58]
fld dword [0x44d4d4]
fld dword [esp + 0x58]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x414542
fstp st(0)
fld qword [0x4459d0]
fstp dword [esp + 0x58]
lea edx, [ebx + 0x143e0]
fldz
mov dword [esp + 0x50], edx
fst dword [esp + 0x10]
mov dword [esp + 0x38], 3
fstp dword [esp + 0x34]
jmp 0x414570
mov esi, dword [esp + 0x50]
mov edi, 0xa
lea esp, [esp]
fld dword [esi - 0xf4]
fld dword [esi]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x414599
fld dword [esi - 0xf4]
jmp 0x41459b
fld dword [esi]
fstp dword [esp + 0x40]
fcompp
fnstsw ax
test ah, 5
jp 0x4145b0
fld dword [esi - 0xf4]
jmp 0x4145b2
fld dword [esi]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld dword [esp + 0x40]
fld qword [0x445668]
fmul st(1)
fcomp st(2)
fnstsw ax
test ah, 0x41
jp 0x4145db
fstp st(1)
fstp st(0)
fld dword [0x44ae20]
jmp 0x4145f7
fdivp st(1)
push ecx
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fstp dword [esp]
call fcn.0040e050
fmul qword [0x44dd60]
add esp, 4
fstp dword [esp + 0x30]
add esi, 0xc
sub edi, 1
fld dword [esp + 0x30]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fadd qword [0x44a030]
fstp dword [esp + 0x34]
jne 0x414580
add dword [esp + 0x50], 4
sub dword [esp + 0x38], 1
jne 0x414570
fld dword [esp + 0x10]
fdiv dword [esp + 0x34]
fmul qword [0x44dd58]
fstp dword [esp + 0x5c]
fld dword [0x44d4d4]
fld dword [esp + 0x5c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x414660
fstp st(0)
fld qword [0x4459d0]
mov esi, dword [ebp + 8]
fstp dword [esp + 0x5c]
jmp 0x41466b
fstp st(0)
mov edi, dword [ebp + 0x30]
push edi
push esi
lea eax, [esp + 0x68]
lea edx, [esp + 0x78]
call fcn.004132f0
add esp, 8
cmp dword [edi], 2
jne 0x414698
cmp dword [edi + 4], 2
jne 0x414698
fld dword [ebx + 0x21b5c]
mov eax, dword [ebp + 0x14]
fstp dword [eax]
jmp 0x4146a3
fld dword [ebx + 0x21b60]
mov ecx, dword [ebp + 0x14]
fstp dword [ecx]
fld dword [esp + 0x5c]
mov edx, dword [ebp + 0x18]
fstp dword [ebx + 0x21b5c]
pop edi
fld dword [esp + 0x54]
pop esi
fst dword [ebx + 0x21b60]
xor eax, eax
fstp dword [edx]
pop ebx
mov esp, ebp
pop ebp
ret