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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe4
fld dword [0x4b3338]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [edi]
mov eax, dword [edi + 4]
push ecx
lea edx, [esp + 0x14]
fstp dword [esp]
mov dword [esp + 0x18], eax
push edx
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x1c], ecx
call fcn.00412980
fld dword [eax]
mov ecx, dword [0x4c6060]
fstp dword [esp + 0x2c]
fld dword [eax + 4]
add esp, 0xc
fstp dword [esp + 0x24]
push ecx
fld dword [eax + 8]
fstp dword [esp + 0x2c]
fld dword [eax + 0xc]
fstp dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x17
push 0x80
mov ecx, eax
call fcn.00402380
xor ecx, ecx
mov esi, eax
mov eax, dword [edi + 4]
cmp eax, ecx
mov ebx, bind
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
jle 0x412cf3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x3c], eax
jmp 0x412c16
mov edi, dword [ebp + 8]
mov edx, dword [edi]
mov eax, dword [esp + 0x10]
fld dword [eax + edx]
lea edi, [eax + edx]
fsub dword [esp + 0x20]
fstp dword [esp + 0x50]
fld dword [edi + 4]
fsub dword [esp + 0x24]
fstp dword [esp + 0x54]
fld dword [edi + 8]
fsub dword [esp + 0x28]
fstp dword [esp + 0x58]
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 + 0x38]
fld dword [esp + 0x38]
call fcn.0042eb10
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fabs
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fld dword [ebp + 0x14]
fcompp
fnstsw ax
test ah, 0x41
jne 0x412cdc
and ebx, 0x3fffffff
cmp dword [esp + 0x6c], ebx
jne 0x412cae
lea ecx, [esp + 0x68]
push 0x10
push ecx
call fcn.00402730
add esp, 8
mov ecx, dword [esp + 0x6c]
mov eax, ecx
shl eax, 4
add eax, dword [esp + 0x68]
add ecx, 1
mov dword [esp + 0x6c], ecx
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]
fstp dword [eax + 0xc]
mov ebx, dword [esp + 0x70]
add dword [esp + 0x10], 0x10
sub dword [esp + 0x3c], 1
jne 0x412c13
cmp dword [esp + 0x6c], 8
je 0x412d41
test ebx, ebx
js 0x412d1c
mov edx, dword [0x4c6060]
push edx
and ebx, 0x3fffffff
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x17
shl ebx, 4
push ebx
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, eax
call fcn.004023e0
mov edx, dword [0x4c6060]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x17
push 0x80
push esi
mov ecx, eax
call fcn.004023e0
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x68]
fld dword [eax]
lea ebx, [esi + 8]
fstp dword [esi]
fld dword [eax + 4]
fstp dword [esi + 4]
fld dword [eax + 8]
fstp dword [ebx]
fld dword [eax + 0xc]
fstp dword [esi + 0xc]
mov eax, dword [esp + 0x68]
fld dword [eax + 0x10]
add eax, 0x10
fstp dword [esi + 0x10]
fld dword [eax + 4]
fstp dword [esi + 0x14]
fld dword [eax + 8]
fstp dword [esi + 0x18]
fld dword [eax + 0xc]
fstp dword [esi + 0x1c]
mov eax, dword [esp + 0x68]
fld dword [eax + 0x20]
add eax, 0x20
fstp dword [esi + 0x20]
fld dword [eax + 4]
fstp dword [esi + 0x24]
fld dword [eax + 8]
fstp dword [esi + 0x28]
fld dword [eax + 0xc]
fstp dword [esi + 0x2c]
mov eax, dword [esp + 0x68]
fld dword [eax + 0x30]
add eax, 0x30
fstp dword [esi + 0x30]
fld dword [eax + 4]
fstp dword [esi + 0x34]
fld dword [eax + 8]
fstp dword [esi + 0x38]
fld dword [eax + 0xc]
fstp dword [esi + 0x3c]
mov eax, dword [esp + 0x68]
fld dword [eax + 0x40]
add eax, 0x40
fstp dword [esi + 0x40]
fld dword [eax + 4]
fstp dword [esi + 0x44]
fld dword [eax + 8]
fstp dword [esi + 0x48]
fld dword [eax + 0xc]
fstp dword [esi + 0x4c]
mov eax, dword [esp + 0x68]
fld dword [eax + 0x50]
add eax, 0x50
fstp dword [esi + 0x50]
fld dword [eax + 4]
fstp dword [esi + 0x54]
fld dword [eax + 8]
fstp dword [esi + 0x58]
fld dword [eax + 0xc]
fstp dword [esi + 0x5c]
mov eax, dword [esp + 0x68]
fld dword [eax + 0x60]
add eax, 0x60
fstp dword [esi + 0x60]
fld dword [eax + 4]
fstp dword [esi + 0x64]
fld dword [eax + 8]
fstp dword [esi + 0x68]
fld dword [eax + 0xc]
fstp dword [esi + 0x6c]
mov eax, dword [esp + 0x68]
fld dword [eax + 0x70]
add eax, 0x70
fstp dword [esi + 0x70]
fld dword [eax + 4]
fstp dword [esi + 0x74]
fld dword [eax + 8]
fstp dword [esi + 0x78]
fld dword [eax + 0xc]
fstp dword [esi + 0x7c]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x50], eax
fld dword [esp + 0x50]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], ecx
fsub dword [esp + 0x20]
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x58], edx
mov edx, dword [esi + 0x14]
fstp dword [esp + 0x50]
fld dword [esp + 0x54]
mov dword [esp + 0x24], edx
fsub dword [esp + 0x24]
mov edx, dword [esi]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x18]
fstp dword [esp + 0x54]
mov dword [esp + 0x28], eax
fld dword [esp + 0x58]
mov eax, dword [esi + 4]
fsub dword [esp + 0x28]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], edx
fstp dword [esp + 0x58]
mov edx, dword [esi + 0xc]
fld dword [esp + 0x5c]
mov dword [esp + 0x44], eax
fsub dword [esp + 0x2c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
fstp dword [esp + 0x5c]
mov dword [esp + 0x48], ecx
fld dword [esp + 0x40]
mov ecx, dword [esi + 0x24]
fsub dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esi + 0x28]
fstp dword [esp + 0x40]
mov dword [esp + 0x28], edx
fld dword [esp + 0x44]
mov dword [esp + 0x2c], eax
fsub dword [esp + 0x24]
lea ecx, [esi + 0x38]
mov edx, 5
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fsub dword [esp + 0x28]
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x58]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
fld dword [esp + 0x48]
jmp 0x412f28
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
mov eax, dword [esi]
mov dword [esp + 0x20], eax
fld dword [esp + 0x20]
fsub dword [ecx - 8]
mov eax, dword [esi + 4]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 8]
fstp dword [esp + 0x20]
mov dword [esp + 0x28], eax
fld dword [esp + 0x24]
mov eax, dword [esi + 0xc]
fsub dword [ecx - 4]
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fsub dword [ecx]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fsub dword [ecx + 4]
fstp dword [esp + 0x2c]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fld dword [esp + 0x28]
fld st(2)
fmulp st(3)
fld st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
fld st(2)
fld st(2)
fld st(5)
fld st(2)
fmulp st(3)
fld st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x10]
fld dword [esp + 0x3c]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x413048
fstp st(1)
fld dword [esp + 0x44]
fld dword [esp + 0x40]
fxch st(3)
fst qword [esp + 0x10]
fld st(1)
fmulp st(2)
fld st(3)
fmulp st(4)
fxch st(1)
faddp st(3)
fld qword [esp + 0x10]
fmul st(0), st(0)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x413014
fstp st(0)
fstp dword [esp + 0x40]
fstp dword [esp + 0x44]
fstp dword [esp + 0x48]
fld dword [esp + 0x5c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
jmp 0x41301a
fstp st(3)
fstp st(1)
fstp st(0)
fld dword [esp + 0x20]
fstp dword [esp + 0x50]
fld dword [esp + 0x24]
fstp dword [esp + 0x54]
fld dword [esp + 0x28]
fstp dword [esp + 0x58]
fld dword [esp + 0x2c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x58]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
jmp 0x4130ab
fstp st(0)
fld dword [esp + 0x44]
fld dword [esp + 0x40]
fxch st(3)
fst qword [esp + 0x10]
fld st(1)
fmulp st(2)
fld st(3)
fmulp st(4)
fxch st(1)
faddp st(3)
fld qword [esp + 0x10]
fmul st(0), st(0)
faddp st(3)
fxch st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4130a5
fstp st(0)
fld dword [esp + 0x20]
fstp dword [esp + 0x40]
fld dword [esp + 0x24]
fstp dword [esp + 0x44]
fld dword [esp + 0x28]
fstp dword [esp + 0x48]
fld dword [esp + 0x2c]
fstp dword [esp + 0x4c]
fld dword [esp + 0x48]
fxch st(3)
fxch st(2)
fxch st(1)
add ecx, 0x10
sub edx, 1
jne 0x412f1e
fld dword [esp + 0x44]
fld st(0)
fmul st(3)
fld dword [esp + 0x40]
fmul st(3)
faddp st(1)
fld st(5)
fmul st(5)
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fcomp dword [0x4b3338]
fnstsw ax
test ah, 0x41
jne 0x413124
fstp st(0)
fstp st(2)
fstp st(0)
fstp st(0)
mov edi, dword [esp + 0x70]
fstp st(0)
test edi, edi
js 0x413119
mov ecx, dword [0x4c6060]
push ecx
and edi, 0x3fffffff
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x68]
push 0x17
shl edi, 4
push edi
push edx
mov ecx, eax
call fcn.004023e0
mov eax, dword [0x4c6060]
push eax
jmp 0x412d23
fld st(4)
fmul st(3)
fld st(1)
fmul st(5)
fsubp st(1)
fstp dword [esp + 0x20]
fld st(3)
fmul dword [esp + 0x40]
fld st(5)
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x24]
fmul st(1)
fld st(2)
fmul dword [esp + 0x40]
fsubp st(1)
fstp dword [esp + 0x28]
fld st(1)
fld st(1)
fld st(4)
fld st(2)
fmulp st(3)
fld st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
fldz
fld st(0)
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4131b2
fstp st(1)
fstp st(3)
fstp st(1)
fstp st(0)
fstp st(1)
call fcn.0042eb10
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld1
fdivrp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x58]
fld dword [esp + 0x48]
fld dword [esp + 0x54]
fld dword [esp + 0x50]
fldz
jmp 0x4131be
fstp st(0)
fst dword [esp + 0x10]
fxch st(3)
fxch st(4)
fxch st(3)
fld dword [esp + 0x10]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x50]
fld st(1)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x54]
fld st(0)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x5c]
fld dword [esp + 0x44]
fld dword [esp + 0x40]
fld st(2)
fld st(2)
fmulp st(3)
fld st(1)
fmulp st(2)
fxch st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x10]
fld st(1)
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x41323e
fstp st(2)
fstp st(0)
call fcn.0042eb10
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld1
fdivrp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x48]
fldz
jmp 0x413246
fstp st(0)
fxch st(1)
fst dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fmul dword [esp + 0x40]
fstp dword [esp + 0x40]
fld dword [esp + 0x44]
fmul st(1)
fstp dword [esp + 0x44]
fld st(0)
fmulp st(3)
fxch st(2)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x4c]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fld dword [esp + 0x28]
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 + 0x10]
fld st(0)
fld dword [esp + 0x10]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4132ba
fstp st(1)
call fcn.0042eb10
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld1
fdivrp st(1)
jmp 0x4132bc
fstp st(0)
fstp dword [esp + 0x10]
push ecx
fld dword [esp + 0x14]
lea ecx, [esp + 0x84]
fld st(0)
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x2c]
fmul qword [0x4bea18]
fstp dword [esp + 0x30]
fld dword [esp + 0x54]
fstp dword [esp + 0x84]
fld dword [esp + 0x58]
fstp dword [esp + 0x88]
fld dword [esp + 0x5c]
fstp dword [esp + 0x8c]
fld dword [esp + 0x60]
fstp dword [esp + 0x90]
fld dword [esp + 0x44]
fstp dword [esp + 0x94]
fld dword [esp + 0x48]
fstp dword [esp + 0x98]
fld dword [esp + 0x4c]
fstp dword [esp + 0x9c]
fld dword [esp + 0x50]
fstp dword [esp + 0xa0]
fld dword [esp + 0x24]
fstp dword [esp + 0xa4]
fld dword [esp + 0x28]
fstp dword [esp + 0xa8]
fld dword [esp + 0x2c]
fstp dword [esp + 0xac]
fld dword [esp + 0x30]
fstp dword [esp + 0xb0]
fld dword [0x4bea20]
fstp dword [esp]
call fcn.004072f0
mov edi, esi
mov dword [esp + 0x10], 8
push edi
lea ecx, [esp + 0x84]
push ecx
mov ecx, edi
call fcn.0040d5c0
add edi, 0x10
sub dword [esp + 0x10], 1
jne 0x413390
fld dword [esi]
lea ecx, [esi + 0x18]
fstp dword [esp + 0x78]
mov edx, 7
fld dword [esi]
fstp dword [esp + 0x7c]
fld dword [esi + 4]
fstp dword [esp + 0x38]
fld dword [esi + 4]
fstp dword [esp + 0x74]
fld dword [ebx]
fstp dword [esp + 0x10]
fld dword [ebx]
fstp dword [esp + 0x3c]
jmp 0x4133e0
fld dword [esp + 0x78]
fld dword [ecx - 8]
fcompp
fnstsw ax
test ah, 5
jp 0x4133f9
fld dword [ecx - 8]
fstp dword [esp + 0x78]
jmp 0x413410
fld dword [esp + 0x7c]
fld dword [ecx - 8]
fcompp
fnstsw ax
test ah, 0x41
jne 0x413410
fld dword [ecx - 8]
fstp dword [esp + 0x7c]
fld dword [esp + 0x38]
fld dword [ecx - 4]
fcompp
fnstsw ax
test ah, 5
jp 0x413429
fld dword [ecx - 4]
fstp dword [esp + 0x38]
jmp 0x413440
fld dword [esp + 0x74]
fld dword [ecx - 4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x413440
fld dword [ecx - 4]
fstp dword [esp + 0x74]
fld dword [esp + 0x10]
fld dword [ecx]
fcompp
fnstsw ax
test ah, 5
jp 0x413457
fld dword [ecx]
fstp dword [esp + 0x10]
jmp 0x41346c
fld dword [esp + 0x3c]
fld dword [ecx]
fcompp
fnstsw ax
test ah, 0x41
jne 0x41346c
fld dword [ecx]
fstp dword [esp + 0x3c]
add ecx, 0x10
sub edx, 1
jne 0x4133e0
xor edi, edi
mov edx, ebx
fld dword [0x4b2f70]
push ecx
lea ebx, [edx - 8]
fstp dword [esp]
lea ecx, [esp + 0x7c]
mov eax, ebx
call fcn.0040fe70
add esp, 4
test al, al
jne 0x4134be
fld dword [0x4b2f70]
push ecx
lea ecx, [esp + 0x80]
fstp dword [esp]
mov eax, ebx
call fcn.0040fe70
add esp, 4
test al, al
je 0x4138e2
fld dword [0x4b2f70]
push ecx
lea ebx, [edx - 4]
fstp dword [esp]
lea ecx, [esp + 0x3c]
mov eax, ebx
call fcn.0040fe70
add esp, 4
test al, al
jne 0x4134fd
fld dword [0x4b2f70]
push ecx
lea ecx, [esp + 0x78]
fstp dword [esp]
mov eax, ebx
call fcn.0040fe70
add esp, 4
test al, al
je 0x4138e2
fld dword [0x4b2f70]
push ecx
lea ecx, [esp + 0x14]
fstp dword [esp]
mov eax, edx
call fcn.0040fe70
add esp, 4
test al, al
jne 0x413539
fld dword [0x4b2f70]
push ecx
lea ecx, [esp + 0x40]
fstp dword [esp]
mov eax, edx
call fcn.0040fe70
add esp, 4
test al, al
je 0x4138e2
add edi, 1
add edx, 0x10
cmp edi, 8
jl 0x41347c
mov edi, dword [ebp + 0xc]
fld dword [esp + 0x7c]
fld st(0)
fld dword [esp + 0x78]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [edi]
fld dword [esp + 0x74]
fld st(0)
fld dword [esp + 0x38]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [edi + 4]
fld dword [esp + 0x3c]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [edi + 8]
fld dword [edi]
fld qword [0x4b2f68]
fmul st(1), st(0)
fxch st(1)
fstp dword [edi]
fld dword [edi + 4]
fmul st(1)
fstp dword [edi + 4]
fld dword [edi + 8]
fmul st(1)
fstp dword [edi + 8]
fld dword [edi + 0xc]
fmul st(1)
fstp dword [edi + 0xc]
fxch st(6)
faddp st(5)
fxch st(4)
fmul st(5)
fstp dword [esp + 0x20]
fxch st(2)
faddp st(1)
fmul st(3)
fstp dword [esp + 0x24]
faddp st(1)
fmulp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x20]
fld qword [0x4b2a70]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fmul st(1)
fstp dword [esp + 0x28]
fldz
fmulp st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x80]
fstp dword [esp + 0xb0]
fld dword [esp + 0x84]
fstp dword [esp + 0xb4]
fld dword [esp + 0x88]
fstp dword [esp + 0xb8]
fld dword [esp + 0x8c]
fstp dword [esp + 0xbc]
fld dword [esp + 0x90]
fstp dword [esp + 0xc0]
fld dword [esp + 0x94]
fstp dword [esp + 0xc4]
fld dword [esp + 0x98]
fstp dword [esp + 0xc8]
fld dword [esp + 0x9c]
fstp dword [esp + 0xcc]
fld dword [esp + 0xa0]
fstp dword [esp + 0xd0]
fld dword [esp + 0xa4]
mov ecx, dword [esp + 0x24]
fstp dword [esp + 0xd4]
fld dword [esp + 0xa8]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
fstp dword [esp + 0xd8]
fld dword [esp + 0xac]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0xe4], ecx
fstp dword [esp + 0xdc]
lea ecx, [esp + 0xb0]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, ebx
mov dword [esp + 0xec], edx
mov dword [esp + 0xf0], eax
call fcn.00402ac0
fld dword [ebp + 0x14]
push ecx
lea eax, [esp + 0x84]
fstp dword [esp]
call fcn.004105b0
add esp, 4
test al, al
je 0x413802
fld dword [ebp + 0x14]
push ecx
lea eax, [esp + 0x94]
fstp dword [esp]
call fcn.004105b0
add esp, 4
test al, al
je 0x413802
fld dword [ebp + 0x14]
push ecx
lea eax, [esp + 0xa4]
fstp dword [esp]
call fcn.004105b0
add esp, 4
test al, al
je 0x413802
push edi
push ebx
mov ecx, edi
call fcn.0040d5c0
fldz
fst dword [edi + 0xc]
fld dword [edi]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [edi]
fld dword [edi + 4]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [edi + 4]
fld dword [edi + 8]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [edi + 8]
fld dword [edi + 0xc]
fabs
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fstp dword [edi + 0xc]
fst dword [esp + 0x84]
fst dword [esp + 0x88]
fst dword [esp + 0x8c]
fst dword [esp + 0x90]
fst dword [esp + 0x98]
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fst dword [esp + 0xa4]
fst dword [esp + 0xac]
fld1
fst dword [esp + 0x80]
fst dword [esp + 0x94]
fst dword [esp + 0xa8]
fst dword [ebx]
fxch st(1)
fst dword [ebx + 4]
fst dword [ebx + 8]
fst dword [ebx + 0xc]
fst dword [ebx + 0x10]
fxch st(1)
fst dword [ebx + 0x14]
fxch st(1)
fst dword [ebx + 0x18]
fst dword [ebx + 0x1c]
fst dword [ebx + 0x20]
fst dword [ebx + 0x24]
fxch st(1)
fstp dword [ebx + 0x28]
fstp dword [ebx + 0x2c]
push ebx
lea ecx, [esp + 0xb4]
call fcn.00402ac0
mov ebx, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebx + 4], ecx
mov dword [esp + 0x3c], ecx
jle 0x413891
lea eax, [esp + 0x20]
sub eax, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x10], ecx
mov edx, dword [ebx]
add edx, dword [esp + 0x10]
lea eax, [esp + 0xb0]
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.0040d4a0
fld qword [0x4b3390]
xor ecx, ecx
mov edx, edi
mov eax, dword [esp + 0x38]
fld dword [eax + edx]
fabs
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fld dword [edx]
fmul st(2)
fcompp
fnstsw ax
test ah, 5
jnp 0x4130ea
add ecx, 1
add edx, 4
cmp ecx, 3
jl 0x41384d
mov eax, dword [esp + 0x3c]
fstp st(0)
add dword [esp + 0x10], 0x10
add eax, 1
cmp eax, dword [ebx + 4]
mov dword [esp + 0x3c], eax
jl 0x41382b
mov edi, dword [esp + 0x70]
test edi, edi
js 0x4138be
mov ecx, dword [0x4c6060]
push ecx
and edi, 0x3fffffff
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [esp + 0x68]
push 0x17
shl edi, 4
push edi
push edx
mov ecx, eax
call fcn.004023e0
mov eax, dword [0x4c6060]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x17
push 0x80
push esi
mov ecx, eax
call fcn.004023e0
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x70]
test edi, edi
js 0x412d1c
mov edx, dword [0x4c6060]
push edx
and edi, 0x3fffffff
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x17
shl edi, 4
push edi
jmp 0x412d10