Function at 0x483380
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4e8a08
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x417270]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
push 4
lea eax, [esp + 0x74]
push eax
xor edi, edi
call fcn.0049ef30
test al, al
jne 0x4833f9
mov ecx, dword [0x53e204]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4833ec
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4833ec
mov edx, dword [0x53e204]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x72
mov eax, edi
jmp 0x4835d6
cmp dword [esp + 0x70], 0xffff
jbe 0x483440
mov eax, dword [0x53e204]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x483433
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x483433
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x72
mov eax, edi
jmp 0x4835d6
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x483494
mov edx, dword [esp + 0x78]
push eax
push edx
call fcn.0049ef30
test al, al
jne 0x483494
mov eax, dword [0x53e204]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x483487
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x483487
mov ecx, dword [0x53e204]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x71
mov eax, edi
jmp 0x4835d6
mov edi, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
lea eax, [edi + edi*8]
shl eax, 4
test eax, eax
je 0x4834f4
push eax
push ebp
call fcn.0049ef30
test al, al
jne 0x4834f4
mov edx, dword [0x53e204]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4834e7
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x4834e7
mov eax, dword [0x53e204]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x71
xor eax, eax
jmp 0x4835d6
mov esi, dword [esp + 0x8c]
lea eax, [esi + esi*8]
shl eax, 4
test eax, eax
je 0x483517
mov ecx, dword [esp + 0x88]
push eax
push ecx
call fcn.0049ef30
test al, al
je 0x4834b7
mov ecx, dword [esp + 0x90]
push 4
push ecx
call fcn.0049ef30
test al, al
je 0x4834b7
lea ecx, [esp + 0x14]
call fcn.0049eb60
mov ecx, dword [esp + 0x70]
push ecx
lea ecx, [ebx + 0x6c]
mov dword [esp + 0x6c], 0
call fcn.0047c600
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
push eax
mov eax, dword [esp + 0x7c]
push esi
push edi
push ebp
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.0049e640
push 0
lea ecx, [esp + 0x18]
call fcn.0049e710
push eax
lea ecx, [esp + 0x1c]
call fcn.0049e6f0
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + 0x28]
call fcn.0049f610
test al, al
jne 0x4835a8
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call fcn.0049e5a0
xor eax, eax
jmp 0x4835d6
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x88]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0049e720
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x68], 0xffffffff
call fcn.0049e5a0
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x24