Function at 0x462330
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 0x462381
mov eax, dword [ebx + 8]
cmp eax, 1
jne 0x462381
push 1
mov eax, dword [ebx + 0x10]
movsx eax, byte [eax]
inc eax
movzx eax, al
mov eax, dword [eax*4 + 0x7bfba8]
push eax
push ebx
call fcn.004a4e80
add esp, 0xc
jmp 0x4625b3
mov eax, dword [ebx]
and eax, 0x20
je 0x462392
lea eax, [ebx + 8]
inc dword [eax]
jmp 0x4625b3
mov eax, dword [ebx]
and eax, 0xa
je 0x4624aa
mov eax, dword [ebx]
and eax, 2
je 0x4623d6
cmp dword [ebx + 0xc], 0x7fffffff
jge 0x4623d6
lea eax, [ebx + 0xc]
inc dword [eax]
cmp dword [ebx + 0xc], 0xc4653600
jg 0x4623c4
mov dword [ebp - 8], 0x14
jmp 0x4623cb
mov dword [ebp - 8], 0xa
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
jmp 0x4625b3
mov eax, dword [ebx]
and eax, 8
je 0x462460
push dword [ebx + 0xc]
push dword [ebx + 8]
push dword [0x696de8]
push dword [0x696de4]
call fcn.00531ee0
jae 0x462460
lea eax, [ebx + 8]
push dword [eax + 4]
mov esi, dword [eax]
pop edi
add esi, dword [0x696ddc]
adc 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 0x462445
push edx
push eax
push dword [0x696e70]
push dword [0x696e6c]
call fcn.00531e50
jae 0x46244e
mov dword [ebp - 8], 0x14
jmp 0x462455
mov dword [ebp - 8], 0xa
mov eax, dword [ebp - 8]
mov dword [ebx + 0x10], eax
jmp 0x4625b3
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]
fadd 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 0x4625b3
mov eax, dword [ebx]
and eax, 0x10
je 0x4624fd
lea eax, [ebx + 8]
fld qword [eax]
fadd 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 0x4624e2
fld qword [0x696e3c]
fcomp qword [ebp - 0x10]
wait
fnstsw ax
sahf
jb 0x4624eb
mov dword [ebp - 8], 0x14
jmp 0x4624f2
mov dword [ebp - 8], 0xa
mov eax, dword [ebp - 8]
mov dword [ebx + 0x10], eax
jmp 0x4625b3
push ebx
call fcn.004874e0
pop ecx
and eax, 0x40
je 0x46251d
push ebx
push str.__OPINC
push ebx
call fcn.00468ac0
add esp, 0xc
jmp 0x4625b3
push ebx
push 1
push 0x696dcc
push 0
push 0x43e
push 1
call fcn.00492ab0
add esp, 0x18
mov dword [ebp - 8], eax
test eax, eax
je 0x4625b3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
mov eax, dword [eax]
and eax, 0xf405
je 0x462565
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax - 4]
push eax
call fcn.004a45e0
pop ecx
jmp 0x462574
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 0x46259f
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