Function at 0x4625c0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x7d8230]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov ebx, dword [eax - 4]
mov eax, dword [ebx]
and eax, 0x400
je 0x462611
mov eax, dword [ebx + 8]
cmp eax, 1
jne 0x462611
push 1
mov eax, dword [ebx + 0x10]
movsx eax, byte [eax]
dec eax
movzx eax, al
mov eax, dword [eax*4 + 0x7bfba8]
push eax
push ebx
call fcn.004a4e80
add esp, 0xc
jmp 0x462845
mov eax, dword [ebx]
and eax, 0x20
je 0x462622
lea eax, [ebx + 8]
dec dword [eax]
jmp 0x462845
mov eax, dword [ebx]
and eax, 0xa
je 0x46273a
mov eax, dword [ebx]
and eax, 2
je 0x462666
cmp dword [ebx + 0xc], 0x80000000
jle 0x462666
lea eax, [ebx + 0xc]
dec dword [eax]
cmp dword [ebx + 0xc], 0xc4653600
jg 0x462654
mov dword [ebp - 8], 0x14
jmp 0x46265b
mov dword [ebp - 8], 0xa
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
jmp 0x462845
mov eax, dword [ebx]
and eax, 8
je 0x4626f0
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [0x696dc8]
push dword [0x696dc4]
call fcn.00531e80
jae 0x4626f0
lea eax, [ebx + 8]
push dword [eax + 4]
mov esi, dword [eax]
pop edi
sub esi, dword [0x696ddc]
sbb edi, dword [0x696de0]
mov dword [eax], esi
mov dword [eax + 4], edi
push dword [ebx + 0xc]
mov eax, dword [ebx + 8]
pop edx
push edx
push eax
push dword [0x696e78]
push dword [0x696e74]
call fcn.00531e80
jae 0x4626d5
push edx
push eax
push dword [0x696e70]
push dword [0x696e6c]
call fcn.00531e50
jae 0x4626de
mov dword [ebp - 8], 0x14
jmp 0x4626e5
mov dword [ebp - 8], 0xa
mov eax, dword [ebp - 8]
mov dword [ebx + 0x10], eax
jmp 0x462845
mov dword [ebp - 8], 0
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
call fcn.0046c000
pop ecx
fst qword [ebp - 0x20]
fstp qword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
push eax
push eax
mov eax, dword [ebp - 8]
push eax
fld qword [ebp - 0x18]
fsub qword [0x696dd4]
fst qword [ebp - 0x28]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x28]
sub esp, 8
fstp qword [esp]
call fcn.0046aab0
add esp, 0x14
jmp 0x462845
mov eax, dword [ebx]
and eax, 0x10
je 0x46278d
lea eax, [ebx + 8]
fld qword [eax]
fsub qword [0x696dd4]
fstp qword [eax]
fld qword [ebx + 8]
fstp qword [ebp - 0x10]
fld qword [0x696e44]
fcomp qword [ebp - 0x10]
wait
fnstsw ax
sahf
jbe 0x462772
fld qword [0x696e3c]
fcomp qword [ebp - 0x10]
wait
fnstsw ax
sahf
jb 0x46277b
mov dword [ebp - 8], 0x14
jmp 0x462782
mov dword [ebp - 8], 0xa
mov eax, dword [ebp - 8]
mov dword [ebx + 0x10], eax
jmp 0x462845
push ebx
call fcn.004874e0
pop ecx
and eax, 0x80
je 0x4627af
push ebx
push str.__OPDEC
push ebx
call fcn.00468ac0
add esp, 0xc
jmp 0x462845
push ebx
push 1
push 0x696dbc
push 0
push 0x43f
push 1
call fcn.00492ab0
add esp, 0x18
mov dword [ebp - 8], eax
test eax, eax
je 0x462845
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x4627f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x462806
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov dword [eax], 0
mov eax, dword [ebp - 4]
lea eax, [eax + 4]
mov edx, dword [eax]
lea edx, [edx - 4]
mov dword [eax], edx
mov eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp eax, edx
jae 0x462831
push 0
push 0
push 0
push 0x233b
call fcn.00492ef0
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004a4430
pop ecx
mov eax, dword [ebp - 8]
push eax
call fcn.0049f7d0
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret