Function at 0x424740
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f1e5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x463040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x20], eax
cmp dword [ecx], 0
je 0x424825
mov eax, dword [esi + 4]
mov dword [ebp - 0x5c], eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4247a3
lock inc dword [eax + 4]
mov eax, dword [esi + 8]
movups xmm0, xmmword [esi + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
push ecx
mov dword [ebp - 4], 0
mov ecx, dword [edx]
lea edx, [ebp - 0x60]
add ecx, 0x44
call fcn.004230b0
mov esi, dword [ebp - 0x54]
add esp, 4
test esi, esi
je 0x42496d
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x42496d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x42496d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x42496d
mov eax, dword [edx]
push dword [0x46b9c8]
mov dword [ebp - 0x2c], esi
mov ecx, dword [eax]
mov dword [ebp - 0x18], ecx
lea ecx, [eax + 0x44]
add eax, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x424850
mov ecx, dword [eax + 4]
jmp 0x424852
xor ecx, ecx
push ecx
push dword [ebp - 0x18]
mov edx, 0x84
call fcn.0041a400
mov edi, eax
add esp, 8
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 1
mov ecx, dword [ecx]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x425380
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0x463bbc
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0x4112b0
mov dword [edi + 0x34], ecx
mov byte [edi + 0x38], 0
mov eax, dword [esi + 4]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4248f4
lock inc dword [eax + 4]
mov eax, dword [esi + 8]
lea ecx, [edi + 0x68]
push dword [ebp - 0x1c]
mov dword [edi + 0x44], eax
mov eax, dword [esi + 0xc]
sub esp, 8
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x4c], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x50], eax
mov eax, dword [esi + 0x18]
mov dword [edi + 0x54], eax
movups xmm0, xmmword [esi + 0x1c]
movups xmmword [edi + 0x58], xmm0
call fcn.00423920
mov ecx, dword [ebp - 0x20]
mov edx, 0x1c
push edi
push edi
mov eax, 0x10
mov dword [ebp - 0x24], edi
cmp word [ecx], 2
cmovne eax, edx
push eax
mov eax, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x18]
push 1
push dword [eax + 0x1c]
add ecx, 0x14
push eax
call fcn.00411a50
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
call fcn.00425290
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc