Function at 0x423fb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x104
push ebx
push esi
push edi
push 0
lea ecx, [esp + 0xa4]
call fcn.0046c140
push 0
lea ecx, [esp + 0x14]
call fcn.0046c5b0
fld1
mov esi, dword [ebp + 0x10]
fstp dword [esp + 0x10]
cmp byte [esi + 0x1c], 0
sete al
test al, al
jne 0x423ff7
cmp byte [esi + 0x1e], 1
sete al
test al, al
je 0x423ffd
fldz
fstp dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xa4]
call fcn.0046c0d0
cmp byte [esi + 0x1f], 0
setne bl
cmp byte [esi + 0x1e], 0
je 0x42401d
xor bl, bl
fld dword [0x4b2f98]
mov edi, 5
fstp dword [esp + 0x40]
mov ecx, esi
fld dword [0x4b34e8]
mov dword [esp + 0x60], edi
fst dword [esp + 0x44]
mov byte [esp + 0x64], 1
fld1
fstp dword [esp + 0x48]
fst dword [esp + 0x50]
fstp dword [esp + 0x54]
fld dword [0x4b3334]
fstp dword [esp + 0x58]
fldz
fstp dword [esp + 0x5c]
call fcn.00423dd0
fstp dword [esp + 0x40]
mov ecx, esi
call fcn.00423df0
fstp dword [esp + 0x44]
mov ecx, esi
call fcn.00423d90
fstp dword [esp + 0x48]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00423da0
fld dword [eax]
fstp dword [esp + 0x50]
lea edx, [esp + 0x40]
fld dword [eax + 4]
push edx
fstp dword [esp + 0x58]
lea ecx, [esp + 0xa4]
fld dword [eax + 8]
fstp dword [esp + 0x5c]
fld dword [eax + 0xc]
mov byte [esp + 0x68], bl
fstp dword [esp + 0x60]
call fcn.0046c1a0
push 0
lea ecx, [esp + 0x14]
call fcn.0046c550
cmp byte [esi + 0x1d], 0
je 0x4240d5
mov dword [esp + 0x18], 0x32
jmp 0x4240df
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0xa4]
mov dword [esp + 0x20], edi
mov byte [esp + 0x28], bl
call fcn.0046c0a0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [esp + 0xa4]
call fcn.0046c110
mov edx, dword [0x4c6060]
push edx
mov edi, eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [eax + 0x20]
lea edx, [edi + 0x10]
and edx, 0xfffffff0
lea ecx, [ebx + edx]
cmp ecx, dword [eax + 0x2c]
ja 0x42412d
mov dword [eax + 0x20], ecx
jmp 0x424139
mov ebx, dword [eax]
mov ecx, eax
mov eax, dword [ebx + 0x14]
push edx
call eax
mov ebx, eax
xor eax, eax
cmp byte [esi + 0x1e], al
mov ecx, bind
mov dword [esp + 0x7c], 0x200
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x14
je 0x424194
lea ecx, [esp + 0x7c]
mov dword [esp + 0xa4], ecx
mov ecx, dword [0x4c6070]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
push 0x7dd65995
lea eax, [esp + 0x40]
push eax
call edx
mov ecx, dword [0x4c6070]
push ecx
mov eax, esp
mov byte [eax], 0
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
push 0x7dd65995
call edx
mov eax, dword [ebp + 8]
push edi
push ebx
push eax
lea ecx, [esp + 0xac]
call fcn.0046c1e0
mov ecx, dword [0x4c6070]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
mov esi, eax
mov eax, dword [esp + 0x3c]
push eax
push 0x7dd65995
call edx
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x42420c
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push eax
push edx
push 0
call fcn.00423e70
mov eax, dword [0x4c6060]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp ebx, dword [eax + 0x28]
mov dword [eax + 0x20], ebx
jne 0x42422a
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x18]
push ebx
call eax
lea ecx, [esp + 0x7c]
call fcn.00423f40
lea ecx, [esp + 0xa0]
call fcn.0046c090
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret