Function at 0x4177e0
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xc4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
test dword [edi + 8], 0x3fffffff
mov dword [edi + 4], 0
fld dword [esi]
fchs
fstp dword [esp + 0x70]
fld dword [esi + 4]
fchs
fstp dword [esp + 0x74]
fld dword [esi + 8]
fchs
fstp dword [esp + 0x78]
fld dword [esi + 0xc]
fchs
fstp dword [esp + 0x7c]
jne 0x417833
push 0x10
push edi
call fcn.00402730
add esp, 8
mov ecx, dword [edi + 4]
mov eax, ecx
shl eax, 4
add eax, dword [edi]
add ecx, 1
mov dword [edi + 4], ecx
fld dword [esi]
fstp dword [eax]
fld dword [esi + 4]
fstp dword [eax + 4]
fld dword [esi + 8]
fstp dword [eax + 8]
fld dword [esi + 0xc]
fstp dword [eax + 0xc]
mov eax, dword [edi + 8]
and eax, 0x3fffffff
cmp dword [edi + 4], eax
jne 0x417871
push 0x10
push edi
call fcn.00402730
add esp, 8
mov ecx, dword [edi + 4]
fld dword [esp + 0x70]
mov eax, ecx
shl eax, 4
add eax, dword [edi]
add ecx, 1
mov dword [edi + 4], ecx
fstp dword [eax]
fld dword [esp + 0x74]
fstp dword [eax + 4]
fld dword [esp + 0x78]
fstp dword [eax + 8]
fld dword [esp + 0x7c]
fstp dword [eax + 0xc]
mov ecx, dword [0x4c6060]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [ebp + 0x10]
push 0x17
push edi
mov ecx, eax
call fcn.00402380
test edi, edi
mov dword [esp + 0xc4], eax
jle 0x4178cd
push edi
push 0
push eax
call fcn.0042ea90
add esp, 0xc
fld dword [esi + 8]
mov dword [esp + 0x4c], 0xffffffff
fabs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld1
fsubrp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fabs
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fcomp dword [0x4b333c]
fnstsw ax
fld dword [esi + 8]
test ah, 5
fldz
fmul st(1), st(0)
fld dword [esi + 4]
jp 0x417929
fmul st(1)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x50]
fmul dword [esi]
fld dword [esi + 8]
fsubr st(1)
fstp dword [esp + 0x54]
fsubr dword [esi + 4]
jmp 0x417944
fsub st(2)
fstp dword [esp + 0x50]
fld dword [esi]
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x54]
fld dword [esi]
fmul st(1)
fld dword [esi + 4]
fmulp st(2)
fsubrp st(1)
mov ebx, dword [ebp + 0xc]
fstp dword [esp + 0x58]
fld dword [0x4b33dc]
xor ecx, ecx
cmp edi, 4
fstp dword [esp + 0x20]
fld dword [esp + 0x58]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
jl 0x417a61
lea edi, [ecx + 2]
lea edx, [ebx + 0x18]
fld dword [edx - 0x18]
fmul st(1)
fld dword [edx - 0x14]
fmul st(3)
faddp st(1)
fld dword [edx - 0x10]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4179a4
fstp dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
jmp 0x4179a6
fstp st(0)
fld dword [edx - 8]
fmul st(1)
fld dword [edx - 4]
fmul st(3)
faddp st(1)
fld st(3)
fmul dword [edx]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4179da
lea eax, [edi - 1]
fstp dword [esp + 0x20]
mov dword [esp + 0x4c], eax
jmp 0x4179dc
fstp st(0)
fld dword [edx + 8]
fmul st(1)
fld dword [edx + 0xc]
fmul st(3)
faddp st(1)
fld dword [edx + 0x10]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x417a0e
fstp dword [esp + 0x20]
mov dword [esp + 0x4c], edi
jmp 0x417a10
fstp st(0)
fld dword [edx + 0x18]
fmul st(1)
fld dword [edx + 0x1c]
fmul st(3)
faddp st(1)
fld dword [edx + 0x20]
fmul st(4)
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x417a45
lea eax, [edi + 1]
fstp dword [esp + 0x20]
mov dword [esp + 0x4c], eax
jmp 0x417a47
fstp st(0)
mov eax, dword [ebp + 0x10]
add ecx, 4
add eax, 0xfffffffd
add edx, 0x40
add edi, 4
cmp ecx, eax
jl 0x417972
mov edi, dword [ebp + 0x10]
cmp ecx, edi
jge 0x417aab
mov edx, ecx
shl edx, 4
lea edx, [edx + ebx + 8]
fld dword [edx - 8]
fmul st(1)
fld dword [edx - 4]
fmul st(3)
faddp st(1)
fld st(3)
fmul dword [edx]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x417a9f
fstp dword [esp + 0x20]
mov dword [esp + 0x4c], ecx
jmp 0x417aa1
fstp st(0)
add ecx, 1
add edx, 0x10
cmp ecx, edi
jl 0x417a6e
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0xc4]
mov ecx, dword [ebp + 0x14]
mov byte [eax + edi], 1
mov edx, dword [ecx + 8]
shl edi, 4
and edx, 0x3fffffff
add edi, ebx
cmp dword [ecx + 4], edx
jne 0x417af0
fstp st(2)
push 0x10
fstp st(0)
push ecx
fstp st(0)
call fcn.00402730
fld dword [esp + 0x60]
mov ecx, dword [ebp + 0x14]
fld dword [esp + 0x5c]
add esp, 8
fld dword [esp + 0x50]
mov edx, dword [ecx + 4]
mov eax, edx
shl eax, 4
add eax, dword [ecx]
add edx, 1
mov dword [ecx + 4], edx
fld dword [edi]
fstp dword [eax]
fld dword [edi + 4]
fstp dword [eax + 4]
fld dword [edi + 8]
fstp dword [eax + 8]
fld dword [edi + 0xc]
mov edi, dword [esp + 0x4c]
fstp dword [eax + 0xc]
mov dword [esp + 0x68], edi
fld st(1)
fmul dword [esi + 8]
fld st(3)
fmul dword [esi + 4]
fsubp st(1)
fstp dword [esp + 0x30]
fld st(2)
fmul dword [esi]
fld dword [esi + 8]
fmul st(2)
fsubp st(1)
fstp dword [esp + 0x34]
fld dword [esi + 4]
fmul st(1)
fld dword [esi]
or esi, 0xffffffff
fmul st(3)
mov dword [esp + 0x6c], esi
mov dword [esp + 0x24], esi
fsubp st(1)
fstp dword [esp + 0x38]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
fldz
fadd st(0), st(0)
fstp dword [esp + 0x3c]
fldz
fld dword [0x4b343c]
fstp dword [esp + 0x28]
fld dword [esp + 0x30]
fld dword [esp + 0x34]
fld dword [esp + 0x38]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x1c]
fld st(0)
fld dword [esp + 0x1c]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x417bc9
fstp st(1)
call fcn.0042eb10
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld1
fdivrp st(1)
jmp 0x417bcb
fstp st(0)
fstp dword [esp + 0x48]
xor eax, eax
cmp dword [ebp + 0x10], eax
fld dword [esp + 0x48]
fld st(0)
mov dword [esp + 0x48], eax
fmul dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [0x4b33d8]
fstp dword [esp + 0x2c]
fld dword [esp + 0x38]
fld dword [esp + 0x34]
fld dword [esp + 0x30]
jle 0x417e01
lea esi, [ebx + 8]
jmp 0x417c2f
fld dword [esp + 0x38]
fld dword [esp + 0x34]
fld dword [esp + 0x30]
cmp eax, edi
je 0x417dde
fld dword [esi - 8]
mov eax, edi
shl eax, 4
fsub dword [eax + ebx]
add eax, ebx
fstp dword [esp + 0x90]
fld dword [esi - 4]
fsub dword [eax + 4]
fstp dword [esp + 0x94]
fld dword [esi]
fsub dword [eax + 8]
fstp dword [esp + 0x98]
fld dword [esp + 0x98]
fld st(0)
fmul st(3)
fld dword [esp + 0x94]
fld st(0)
fmul st(6)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0xa0]
fld dword [esp + 0x90]
fld st(0)
fmulp st(6)
fld st(2)
fmul st(4)
fsubp st(6)
fxch st(5)
fstp dword [esp + 0xa4]
fld st(0)
fmulp st(3)
fld st(4)
fmulp st(4)
fxch st(2)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0xa8]
fld st(2)
fmulp st(3)
fmul st(0), st(0)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.0042eb10
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 0x20]
fld dword [esp + 0xa0]
fld dword [esp + 0xa4]
fld dword [esp + 0xa8]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
call fcn.0042eb10
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fld st(0)
fdivp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fmul dword [esp + 0x90]
fld dword [esp + 0x94]
fmul dword [esp + 0x34]
faddp st(1)
fld dword [esp + 0x98]
fmul dword [esp + 0x38]
faddp st(1)
fstp dword [esp + 0x1c]
fdivr dword [esp + 0x1c]
fstp dword [esp + 0x18]
mov eax, dword [ebp + 8]
fld dword [esp + 0xa4]
fmul dword [eax + 4]
fld dword [eax]
fmul dword [esp + 0xa0]
faddp st(1)
fld dword [esp + 0xa8]
fmul dword [eax + 8]
faddp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fcomp dword [0x4b72f4]
fnstsw ax
test ah, 0x41
jne 0x417d99
fld dword [esp + 0x20]
fmul qword [0x4b2a70]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
call fcn.00415480
fstp dword [esp + 0x20]
add esp, 8
fld dword [esp + 0x18]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x417de2
mov eax, dword [esp + 0x48]
fstp dword [esp + 0x2c]
fld dword [esp + 0x20]
mov dword [esp + 0x24], eax
fstp dword [esp + 0x28]
jmp 0x417de4
fstp st(2)
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x48]
add eax, 1
add esi, 0x10
cmp eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
jl 0x417c23
mov esi, dword [esp + 0x24]
jmp 0x417e07
fstp st(2)
fstp st(0)
fstp st(0)
cmp edi, dword [esp + 0x4c]
je 0x4180c8
mov eax, dword [esp + 0x68]
shl eax, 4
add eax, ebx
mov ecx, edi
shl ecx, 4
fld dword [ecx + ebx]
lea esi, [ecx + ebx]
fsub dword [eax]
fstp dword [esp + 0x80]
fld dword [esi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x84]
fld dword [esi + 8]
fsub dword [eax + 8]
mov eax, dword [esp + 0x24]
shl eax, 4
add eax, ebx
mov ebx, dword [ebp + 0x18]
fstp dword [esp + 0x88]
fld dword [esi]
mov edx, dword [ebx + 8]
fsub dword [eax]
and edx, 0x3fffffff
cmp dword [ebx + 4], edx
fstp dword [esp + 0x70]
fld dword [esi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x74]
fld dword [esi + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x78]
jne 0x417e89
push 0x10
push ebx
call fcn.00402730
add esp, 8
mov eax, dword [ebx + 4]
fld dword [esp + 0x88]
mov ecx, dword [ebp + 0x18]
fld dword [esp + 0x84]
fld dword [esp + 0x80]
mov ebx, eax
fld dword [esp + 0x78]
add eax, 1
fld dword [esp + 0x74]
shl ebx, 4
add ebx, dword [ecx]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x68], eax
je 0x417ef9
fld st(1)
fmul st(4)
fld st(1)
fmul st(6)
fsubp st(1)
fstp dword [esp + 0xb0]
fld st(4)
fld dword [esp + 0x70]
fld st(0)
fmulp st(2)
fld st(4)
fmulp st(4)
fxch st(1)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0xb4]
fmul st(2)
fld st(3)
fmulp st(2)
fsubrp st(1)
jmp 0x417f16
mov eax, dword [ebp + 8]
fstp st(1)
fstp st(0)
fld dword [eax]
fstp dword [esp + 0xb0]
fld dword [eax + 4]
fstp dword [esp + 0xb4]
fld dword [eax + 8]
fstp dword [esp + 0xb8]
fld dword [esp + 0xb8]
fld st(0)
fmul st(3)
fld dword [esp + 0xb4]
fld st(0)
fmul st(6)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ebx]
fld dword [esp + 0xb0]
fld st(0)
fmulp st(7)
fld st(4)
fmulp st(4)
fxch st(6)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ebx + 4]
fxch st(1)
fmulp st(3)
fxch st(3)
fmulp st(4)
fxch st(1)
fsubrp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ebx + 8]
fldz
fst dword [ebx + 0xc]
fld dword [esp + 0x74]
fmul st(3)
fld st(4)
fmul dword [esp + 0x70]
faddp st(1)
fld dword [esp + 0x78]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x4b333c]
fnstsw ax
test ah, 5
jp 0x417fb2
fld dword [0x4b2f80]
jmp 0x417fb4
fld1
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld st(0)
fmulp st(5)
fxch st(4)
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fst dword [ebx]
fld st(4)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fst dword [ebx + 4]
fld st(4)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fst dword [ebx + 8]
fxch st(4)
fmul qword [0x4bea18]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [ebx + 0xc]
fld st(1)
fld st(3)
fld st(5)
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x18]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x418057
fstp st(3)
fstp st(1)
fstp st(2)
fstp st(1)
call fcn.0042eb10
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld1
fdivrp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x2c]
fld dword [esp + 0x68]
fld dword [esp + 0x48]
jmp 0x41805f
fstp st(0)
fstp dword [esp + 0x20]
fxch st(2)
fld dword [esp + 0x20]
mov eax, dword [esp + 0x6c]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ebx]
fld st(2)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ebx + 4]
fld st(2)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [ebx + 8]
fld dword [esp + 0x1c]
fmulp st(3)
fxch st(2)
fstp dword [ebx + 0xc]
fmul dword [esi + 4]
fld dword [esi]
fmulp st(3)
faddp st(2)
fmul dword [esi + 8]
mov esi, dword [esp + 0x24]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fchs
fstp dword [ebx + 0xc]
mov ebx, dword [ebp + 0xc]
jmp 0x4180ce
mov eax, esi
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc4]
cmp byte [ecx + esi], 0
jne 0x41824a
mov byte [ecx + esi], 1
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 8]
shl esi, 4
and edx, 0x3fffffff
add esi, ebx
cmp dword [ecx + 4], edx
jne 0x418107
push 0x10
push ecx
call fcn.00402730
mov ecx, dword [ebp + 0x14]
add esp, 8
mov edx, dword [ecx + 4]
mov eax, edx
shl eax, 4
add eax, dword [ecx]
add edx, 1
mov dword [ecx + 4], edx
fld dword [esi]
fstp dword [eax]
fld dword [esi + 4]
fstp dword [eax + 4]
fld dword [esi + 8]
fstp dword [eax + 8]
fld dword [esi + 0xc]
fstp dword [eax + 0xc]
mov eax, edi
fld dword [esi]
shl eax, 4
fsub dword [eax + ebx]
add eax, ebx
fstp dword [esp + 0x50]
fld dword [esi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x54]
fld dword [esi + 8]
fsub dword [eax + 8]
fstp dword [esp + 0x58]
fld dword [esi + 0xc]
fsub dword [eax + 0xc]
fstp dword [esp + 0x5c]
fld dword [esp + 0x50]
fld dword [esp + 0x54]
fld dword [esp + 0x58]
fld st(1)
fmulp st(2)
fld st(2)
fmulp st(3)
fxch st(1)
faddp st(2)
fmul st(0), st(0)
faddp st(1)
fstp dword [esp + 0x18]
fldz
fld st(0)
fld dword [esp + 0x18]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4181a3
fstp st(1)
call fcn.0042eb10
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld1
fdivrp st(1)
jmp 0x4181a5
fstp st(0)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld st(0)
fmul dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
fmul st(1)
fstp dword [esp + 0x54]
fld dword [esp + 0x58]
fmul st(1)
fstp dword [esp + 0x58]
fmul dword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x28]
fcomp qword [0x4b33d0]
fnstsw ax
test ah, 5
jp 0x41820f
fld dword [esp + 0x50]
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x24]
fstp dword [esp + 0x30]
fld dword [esp + 0x54]
mov esi, edi
fstp dword [esp + 0x34]
fld dword [esp + 0x58]
fstp dword [esp + 0x38]
fld dword [esp + 0x5c]
jmp 0x417b73
fld dword [esp + 0x50]
mov dword [esp + 0x68], edi
fadd dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov esi, edi
fstp dword [esp + 0x30]
fld dword [esp + 0x54]
fadd dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x58]
fadd dword [esp + 0x38]
fstp dword [esp + 0x38]
fld dword [esp + 0x5c]
fadd dword [esp + 0x3c]
jmp 0x417b73
shl edi, 4
add edi, ebx
mov ecx, edi
shl esi, 4
fld dword [esi + ebx]
lea edi, [esi + ebx]
fsub dword [ecx]
shl eax, 4
add eax, ebx
mov ebx, dword [ebp + 0x18]
fstp dword [esp + 0x80]
fld dword [edi + 4]
fsub dword [ecx + 4]
fstp dword [esp + 0x84]
fld dword [edi + 8]
fsub dword [ecx + 8]
fstp dword [esp + 0x88]
fld dword [edi]
fsub dword [eax]
fstp dword [esp + 0x70]
fld dword [edi + 4]
fsub dword [eax + 4]
fstp dword [esp + 0x74]
fld dword [edi + 8]
fsub dword [eax + 8]
mov eax, dword [ebx + 8]
and eax, 0x3fffffff
cmp dword [ebx + 4], eax
fstp dword [esp + 0x78]
jne 0x4182b9
push 0x10
push ebx
call fcn.00402730
add esp, 8
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov esi, ecx
add ecx, 1
mov dword [ebx + 4], ecx
fld dword [eax]
fld dword [esp + 0x88]
shl esi, 4
fld st(0)
add esi, eax
fmulp st(2)
fld dword [esp + 0x80]
fld st(0)
fmul dword [eax + 8]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fld dword [eax + 4]
fmulp st(2)
fld dword [eax]
fld dword [esp + 0x84]
fld st(0)
fmulp st(2)
fxch st(3)
fsubrp st(1)
fstp dword [esp + 0x28]
fld dword [eax + 8]
fmulp st(2)
fmul dword [eax + 4]
fsubp st(1)
fstp dword [esi]
fld dword [esp + 0x18]
fst dword [esi + 4]
fld dword [esp + 0x28]
fst dword [esi + 8]
fldz
fst dword [esi + 0xc]
fld dword [esp + 0x74]
fmul st(3)
fld dword [esp + 0x70]
fmul dword [esi]
faddp st(1)
fld dword [esp + 0x78]
fmul st(3)
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x4b333c]
fnstsw ax
test ah, 5
jp 0x418358
fld dword [0x4b2f80]
jmp 0x41835a
fld1
fstp dword [esp + 0x28]
fld dword [esi]
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esi]
fld st(1)
fmulp st(5)
fxch st(4)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fst dword [esi + 4]
fld st(1)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fst dword [esi + 8]
fxch st(1)
fmul qword [0x4bea18]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esi + 0xc]
fld st(2)
fld st(1)
fld st(5)
fmulp st(6)
fld st(1)
fmulp st(2)
fxch st(5)
faddp st(1)
fld st(4)
fmulp st(5)
faddp st(4)
fxch st(3)
fstp dword [esp + 0x18]
fld st(0)
fld dword [esp + 0x18]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4183fb
fstp st(2)
fstp st(2)
fstp st(1)
call fcn.0042eb10
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fld1
fdivrp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x28]
fld dword [esp + 0x6c]
jmp 0x418403
fstp st(0)
fstp dword [esp + 0x1c]
fxch st(1)
test dword [ebp + 0x10], 0x80000000
fld dword [esp + 0x1c]
fld st(0)
fmul dword [esi]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esi]
fld st(1)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esi + 4]
fld st(1)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fst dword [esi + 8]
fld dword [esp + 0x2c]
fmulp st(2)
fxch st(1)
fstp dword [esi + 0xc]
fld dword [edi + 4]
fmulp st(2)
fld dword [edi]
fmulp st(3)
fxch st(1)
faddp st(2)
fmul dword [edi + 8]
faddp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fchs
fstp dword [esi + 0xc]
jne 0x418492
mov ecx, dword [0x4c6060]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0xc4]
push 0x17
and ecx, 0x3fffffff
push ecx
push edx
mov ecx, eax
call fcn.004023e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret