Function at 0x420ef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
fldz
sub esp, 0x144
fcom dword [ebp + 0x14]
push ebx
push esi
push edi
fnstsw ax
test ah, 1
jne 0x420f19
fstp st(0)
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fcomp dword [ebp + 0x18]
fnstsw ax
test ah, 0x41
je 0x420f0d
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
fld dword [edi]
mov ebx, dword [ebp + 8]
fsub dword [esi]
fstp dword [esp + 0x40]
fld dword [edi + 4]
fsub dword [esi + 4]
fstp dword [esp + 0x44]
fld dword [edi + 8]
fsub dword [esi + 8]
fstp dword [esp + 0x48]
fld dword [ebx]
fsub dword [esi]
fstp dword [esp + 0xc0]
fld dword [ebx + 4]
fsub dword [esi + 4]
fstp dword [esp + 0xc4]
fld dword [ebx + 8]
fsub dword [esi + 8]
fstp dword [esp + 0xc8]
fld dword [esp + 0xc8]
fld st(0)
fld dword [esp + 0x44]
fld st(0)
fmulp st(2)
fld dword [esp + 0xc4]
fld st(0)
fld dword [esp + 0x48]
fld st(0)
fmulp st(2)
fxch st(4)
fsubrp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0xc0]
fld st(0)
fmulp st(4)
fld dword [esp + 0x40]
fld st(0)
fmulp st(6)
fxch st(4)
fsubrp st(5)
fxch st(4)
fstp dword [esp + 0x14]
fmulp st(2)
fmulp st(2)
fsubrp st(1)
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fld dword [esp + 0x10]
fld dword [esp + 0x18]
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 + 0x30]
fld dword [esp + 0x30]
call fcn.0042eb10
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp + 0x3c]
fld dword [0x4b3338]
fld dword [ebp + 0x18]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x421266
fstp st(1)
fstp st(0)
fld dword [ebx]
fstp dword [esp + 0x10]
fld dword [ebx + 4]
fstp dword [esp + 0x14]
fld dword [ebx + 8]
fstp dword [esp + 0x18]
fld dword [ebx + 0xc]
fstp dword [esp + 0x1c]
fld dword [esi]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esi + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esi + 8]
fstp dword [esp + 0x18]
fld dword [esi + 0xc]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [edi]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [edi + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [edi + 8]
fstp dword [esp + 0x18]
fld dword [edi + 0xc]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fld qword [0x4b3380]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [ebx]
fld dword [esp + 0x10]
fld st(0)
fld qword [0x4b3378]
fmul st(1), st(0)
fld dword [esi]
fld dword [edi]
fld dword [ebp + 0x14]
fdiv qword [0x4b3370]
fxch st(5)
fmul st(4)
fld st(6)
fmulp st(7)
faddp 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)
fmul st(2)
fstp dword [esp + 0xc]
fld dword [ebx + 4]
fld dword [esp + 0x14]
fld st(0)
fmul st(5)
fld dword [esi + 4]
fstp qword [esp + 0x40]
fld dword [edi + 4]
fstp qword [esp + 0x30]
fld st(1)
fmul st(1)
fld st(3)
fmulp st(4)
faddp st(3)
fld qword [esp + 0x40]
fmul st(0), st(0)
faddp st(3)
fld qword [esp + 0x30]
fmul st(0), st(0)
faddp st(3)
fxch st(2)
fmul st(4)
fstp dword [esp + 0x30]
fld dword [ebx + 8]
fld dword [esi + 8]
fstp qword [esp + 0x40]
fld dword [edi + 8]
fstp qword [esp + 0xc0]
fld dword [esp + 0x18]
fld st(0)
fmulp st(7)
fld st(0)
fmulp st(7)
fld st(1)
fmulp st(2)
fxch st(6)
faddp st(1)
fld qword [esp + 0x40]
fmul st(0), st(0)
faddp st(1)
fld qword [esp + 0xc0]
fmul st(0), st(0)
faddp st(1)
fmul st(4)
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fld st(0)
fadd dword [esp + 0x30]
fstp dword [esp + 0xd0]
fld dword [esp + 0xc]
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [esp + 0xe4]
fadd dword [esp + 0x30]
fstp dword [esp + 0xf8]
fld dword [ebx + 4]
fmul dword [ebx]
fxch st(1)
fmul st(3)
faddp st(1)
fld dword [esi]
fmul dword [esi + 4]
faddp st(1)
fld dword [edi + 4]
fmul dword [edi]
faddp st(1)
fmul st(3)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fchs
fstp dword [esp + 0xd4]
fld dword [esp + 0xd4]
fstp dword [esp + 0xe0]
fld dword [ebx]
fmul dword [ebx + 8]
fld st(4)
fmulp st(3)
faddp st(2)
fld dword [esi]
fmul dword [esi + 8]
faddp st(2)
fld dword [edi]
fmul dword [edi + 8]
faddp st(2)
fxch st(1)
fmul st(2)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fchs
fstp dword [esp + 0xd8]
fld dword [esp + 0xd8]
fstp dword [esp + 0xf0]
lea eax, [esp + 0xd0]
fld dword [ebx + 4]
push eax
fmul dword [ebx + 8]
push ecx
fxch st(3)
lea ecx, [esp + 0x18]
fmulp st(1)
faddp st(2)
fld dword [esi + 4]
fmul dword [esi + 8]
faddp st(2)
fld dword [edi + 4]
fmul dword [edi + 8]
faddp st(2)
fmulp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fchs
fstp dword [esp + 0xfc]
fld dword [esp + 0xfc]
fstp dword [esp + 0xf0]
fld dword [ebp + 0x14]
fstp dword [esp]
push ecx
call fcn.0041e8d0
add esp, 0xc
jmp 0x421b6b
fxch st(1)
fcomp dword [esp + 0x3c]
fnstsw ax
test ah, 0x41
jne 0x4213d3
fstp st(0)
fld dword [ebx]
fstp dword [esp + 0x10]
fld dword [ebx + 4]
fstp dword [esp + 0x14]
fld dword [ebx + 8]
fstp dword [esp + 0x18]
fld dword [ebx + 0xc]
fstp dword [esp + 0x1c]
fld dword [esi]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [esi + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [esi + 8]
fstp dword [esp + 0x18]
fld dword [esi + 0xc]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [edi]
fadd dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fadd dword [edi + 4]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd dword [edi + 8]
fstp dword [esp + 0x18]
fld dword [edi + 0xc]
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
fld qword [0x4b3380]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fmul dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld st(0)
fmul st(0), st(0)
fld dword [esp + 0x14]
fld st(0)
fmul st(0), st(0)
fld st(0)
fadd st(3)
fld dword [ebp + 0x14]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xd0]
fld dword [esp + 0x10]
fld st(0)
fmul st(0), st(0)
fld st(0)
faddp st(6)
fld st(2)
fmulp st(6)
fxch st(5)
fstp dword [esp + 0xe4]
fxch st(4)
faddp st(2)
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xf8]
fld st(0)
fchs
fstp dword [esp + 0xc]
fld st(1)
fmul st(3)
fld dword [esp + 0xc]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fst dword [esp + 0xe0]
fstp dword [esp + 0xd4]
fld st(4)
fmulp st(4)
fld st(0)
fmulp st(4)
fxch st(3)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fst dword [esp + 0xf0]
fstp dword [esp + 0xd8]
fxch st(3)
fmulp st(1)
fmulp st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fst dword [esp + 0xe8]
fstp dword [esp + 0xf4]
jmp 0x421b6e
fld dword [esp + 0x30]
fstp dword [esp + 0xc]
fldz
fld st(0)
fld dword [esp + 0xc]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x42140c
fstp st(1)
fstp st(1)
call fcn.0042eb10
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld1
fdivrp st(1)
fstp dword [esp + 0x30]
fld dword [ebp + 0x18]
jmp 0x421412
fstp st(0)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
lea edx, [esp + 0x60]
fld st(0)
mov dword [esp + 0x50], edx
fmul dword [esp + 0x10]
mov dword [esp + 0x58], htons
mov dword [esp + 0x54], 6
fstp dword [esp + 0x10]
fld dword [esp + 0x14]
fmul st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fmul st(1)
fstp dword [esp + 0x18]
fmul qword [0x4bea18]
fstp dword [esp + 0x1c]
fld dword [ebx]
fstp dword [esp + 0x60]
fld dword [ebx + 4]
fstp dword [esp + 0x64]
fld dword [ebx + 8]
fstp dword [esp + 0x68]
fld dword [ebx + 0xc]
fstp dword [esp + 0x6c]
fld dword [ebx]
fstp dword [esp + 0x70]
fld dword [ebx + 4]
fstp dword [esp + 0x74]
fld dword [ebx + 8]
fstp dword [esp + 0x78]
fld dword [ebx + 0xc]
fstp dword [esp + 0x7c]
fld qword [0x4b2f68]
fmul st(1)
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fst dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fld dword [esp + 0x10]
fld st(0)
fmulp st(2)
fld dword [esp + 0x60]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x60]
fld dword [esp + 0x14]
fld st(0)
fmul st(3)
fadd dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x18]
fld st(0)
fmul st(4)
fadd dword [esp + 0x68]
fstp dword [esp + 0x68]
fld dword [esp + 0x1c]
fld st(0)
fmulp st(5)
fld dword [esp + 0x6c]
faddp st(5)
fxch st(4)
fstp dword [esp + 0x6c]
fxch st(5)
fchs
fmul qword [0x4b2f68]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fmul st(3)
fadd dword [esp + 0x70]
fstp dword [esp + 0x70]
fld st(1)
fmul st(1)
fadd dword [esp + 0x74]
fstp dword [esp + 0x74]
fld st(5)
fmul st(1)
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
fmul st(3)
fadd dword [esp + 0x7c]
fstp dword [esp + 0x7c]
fld dword [esi]
fstp dword [esp + 0x80]
fld dword [esi + 4]
fstp dword [esp + 0x84]
fld dword [esi + 8]
fstp dword [esp + 0x88]
fld dword [esi + 0xc]
fstp dword [esp + 0x8c]
fld dword [esi]
fstp dword [esp + 0x90]
fld dword [esi + 4]
fstp dword [esp + 0x94]
fld dword [esi + 8]
fstp dword [esp + 0x98]
fld dword [esi + 0xc]
fstp dword [esp + 0x9c]
fxch st(3)
fst dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fmul st(3)
fadd dword [esp + 0x80]
fstp dword [esp + 0x80]
fld st(4)
fmul st(1)
fadd dword [esp + 0x84]
fstp dword [esp + 0x84]
fld st(5)
fmul st(1)
fadd dword [esp + 0x88]
fstp dword [esp + 0x88]
fmul st(3)
fadd dword [esp + 0x8c]
fstp dword [esp + 0x8c]
fld dword [esp + 0x30]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fmul st(3)
fadd dword [esp + 0x90]
fstp dword [esp + 0x90]
fld st(4)
fmul st(1)
fadd dword [esp + 0x94]
fstp dword [esp + 0x94]
fld st(5)
fmul st(1)
fadd dword [esp + 0x98]
fstp dword [esp + 0x98]
fmul st(3)
fadd dword [esp + 0x9c]
fstp dword [esp + 0x9c]
fld dword [edi]
fstp dword [esp + 0xa0]
fld dword [edi + 4]
fstp dword [esp + 0xa4]
fld dword [edi + 8]
fstp dword [esp + 0xa8]
fld dword [edi + 0xc]
fstp dword [esp + 0xac]
fld dword [edi]
fstp dword [esp + 0xb0]
fld dword [edi + 4]
fstp dword [esp + 0xb4]
fld dword [edi + 8]
fstp dword [esp + 0xb8]
fld dword [edi + 0xc]
fstp dword [esp + 0xbc]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fmul st(2)
fadd dword [esp + 0xa0]
fstp dword [esp + 0xa0]
fld st(3)
fmul st(1)
fadd dword [esp + 0xa4]
fstp dword [esp + 0xa4]
lea ecx, [esp + 0x100]
fld st(4)
fmul st(1)
fadd dword [esp + 0xa8]
fstp dword [esp + 0xa8]
fmul st(2)
fadd dword [esp + 0xac]
fstp dword [esp + 0xac]
fld dword [esp + 0x30]
fstp dword [esp + 0xc]
fld dword [esp + 0xc]
fld st(0)
fmulp st(2)
fld dword [esp + 0xb0]
faddp st(2)
fxch st(1)
fstp dword [esp + 0xb0]
fld st(0)
fmulp st(3)
fld dword [esp + 0xb4]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xb4]
fld st(1)
fmulp st(3)
fld dword [esp + 0xb8]
faddp st(3)
fxch st(2)
fstp dword [esp + 0xb8]
fmulp st(1)
fadd dword [esp + 0xbc]
fstp dword [esp + 0xbc]
call fcn.00401a50
mov edx, dword [esp + 0x54]
xor eax, eax
cmp edx, eax
mov ecx, bind
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jle 0x421788
mov eax, dword [0x4c6060]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x54]
shl ecx, 4
push 0x17
push ecx
mov ecx, eax
call fcn.00402380
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x54]
and ecx, 0x40000000
or ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x50]
xor esi, esi
cmp edx, 4
mov dword [esp + 0x14], edx
mov edi, edx
mov dword [esp + 0x30], eax
jl 0x421822
add edx, 0xfffffffc
shr edx, 2
add edx, 1
lea ecx, [eax + 0x18]
lea eax, [ebx + 0x18]
lea esi, [edx*4]
fld dword [eax - 0x18]
add eax, 0x40
fstp dword [ecx - 0x18]
add ecx, 0x40
sub edx, 1
fld dword [eax - 0x54]
fstp dword [ecx - 0x54]
fld dword [eax - 0x50]
fstp dword [ecx - 0x50]
fld dword [eax - 0x4c]
fstp dword [ecx - 0x4c]
fld dword [eax - 0x48]
fstp dword [ecx - 0x48]
fld dword [eax - 0x44]
fstp dword [ecx - 0x44]
fld dword [eax - 0x40]
fstp dword [ecx - 0x40]
fld dword [eax - 0x3c]
fstp dword [ecx - 0x3c]
fld dword [eax - 0x38]
fstp dword [ecx - 0x38]
fld dword [eax - 0x34]
fstp dword [ecx - 0x34]
fld dword [eax - 0x30]
fstp dword [ecx - 0x30]
fld dword [eax - 0x2c]
fstp dword [ecx - 0x2c]
fld dword [eax - 0x28]
fstp dword [ecx - 0x28]
fld dword [eax - 0x24]
fstp dword [ecx - 0x24]
fld dword [eax - 0x20]
fstp dword [ecx - 0x20]
fld dword [eax - 0x1c]
fstp dword [ecx - 0x1c]
jne 0x4217b7
cmp esi, edi
jge 0x421864
mov edx, dword [esp + 0x30]
mov eax, esi
shl eax, 4
lea ecx, [ebx + eax + 0xc]
lea eax, [edx + eax + 4]
mov edx, ebx
sub edx, dword [esp + 0x30]
sub edi, esi
nop
fld dword [ecx - 0xc]
add ecx, 0x10
fstp dword [eax - 4]
add eax, 0x10
sub edi, 1
fld dword [edx + eax - 0x10]
fstp dword [eax - 0x10]
fld dword [ecx - 0x14]
fstp dword [eax - 0xc]
fld dword [ecx - 0x10]
fstp dword [eax - 8]
jne 0x421840
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x421892
add eax, eax
cmp esi, eax
jl 0x421882
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [eax + 8], 4
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x4218e2
add eax, eax
cmp esi, eax
jl 0x4218d2
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [eax], 1
mov dword [eax + 4], 5
mov ebx, 3
mov dword [eax + 8], ebx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x421933
add eax, eax
cmp esi, eax
jl 0x421923
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [eax], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], 2
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x42197f
add eax, eax
cmp esi, eax
jl 0x42196f
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [eax], 0
mov dword [eax + 4], 1
mov dword [eax + 8], ebx
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x4219cb
add eax, eax
cmp esi, eax
jl 0x4219bb
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [eax], 1
mov dword [eax + 4], 0
mov dword [eax + 8], 4
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x421a1b
add eax, eax
cmp esi, eax
jl 0x421a0b
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [eax], 1
mov dword [eax + 4], 4
mov dword [eax + 8], 5
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x421a6b
add eax, eax
cmp esi, eax
jl 0x421a5b
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], esi
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [eax], 2
mov dword [eax + 4], 5
mov dword [eax + 8], 4
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, esi
add esi, 1
and eax, 0x3fffffff
cmp eax, esi
jge 0x421abb
add eax, eax
cmp esi, eax
jl 0x421aab
mov eax, esi
push 0xc
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004026b0
add esp, 0xc
mov edx, dword [esp + 0x1c]
fld dword [ebp + 0x14]
lea ecx, [edi + edi*2]
lea eax, [edx + ecx*4]
mov dword [esp + 0x20], esi
mov dword [eax], 2
mov dword [eax + 4], ebx
mov dword [eax + 8], 5
lea eax, [esp + 0x100]
push eax
push ecx
lea ecx, [esp + 0x18]
fstp dword [esp]
push ecx
call fcn.004203b0
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00401b30
fld dword [esp + 0x110]
fstp dword [esp + 0x10]
lea edx, [esp + 0x120]
fld dword [esp + 0x114]
push edx
fstp dword [esp + 0x18]
lea ecx, [esp + 0xd4]
fld dword [esp + 0x11c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x120]
fstp dword [esp + 0x20]
call fcn.00401680
mov eax, dword [esp + 0x58]
test eax, eax
js 0x421b6b
and eax, 0x3fffffff
mov esi, eax
mov eax, dword [0x4c6060]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 0x50]
push 0x17
shl esi, 4
push esi
push ecx
mov ecx, eax
call fcn.004023e0
fld dword [ebp + 0x14]
mov esi, dword [ebp + 0x1c]
lea edx, [esp + 0xd0]
fstp dword [esi + 4]
push edx
lea ecx, [esi + 0x20]
call fcn.00401680
fld dword [esp + 0x10]
fstp dword [esi + 0x10]
pop edi
fld dword [esp + 0x10]
xor eax, eax
fstp dword [esi + 0x14]
fld dword [esp + 0x14]
fstp dword [esi + 0x18]
fld dword [esp + 0x18]
fstp dword [esi + 0x1c]
fld dword [esp + 0x38]
fmul qword [0x4b2f68]
fmul dword [ebp + 0x18]
fstp dword [esi]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret