Function at 0x10005f70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
jmp 0x10005f8a
mov ecx, dword [ebp - 0x20]
add ecx, 0x3f
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0x10]
add edx, 0x1a16
cmp dword [ebp - 0x20], edx
ja 0x10006387
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x112c
ja 0x100060ac
cmp dword [ebp - 4], 0x112c
je 0x10006301
cmp dword [ebp - 4], 0xf34
ja 0x1000603e
cmp dword [ebp - 4], 0xf34
je 0x10006378
cmp dword [ebp - 4], 0xe38
ja 0x10006012
cmp dword [ebp - 4], 0xe38
je 0x100062ca
mov ecx, dword [ebp - 4]
sub ecx, 0xd3c
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xbd
ja case.0x100060fb.1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x100063a8]
jmp dword [eax*4 + 0x10006394]
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
sub dword [ebp - 8], 0xe77
je 0x100061d0
sub dword [ebp - 8], 0x3f
je 0x10006355
sub dword [ebp - 8], 0x3f
je 0x10006250
jmp case.0x100060fb.1
cmp dword [ebp - 4], 0x1030
ja 0x10006080
cmp dword [ebp - 4], 0x1030
je 0x10006278
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], edx
sub dword [ebp - 0xc], 0xf73
je 0x1000632e
sub dword [ebp - 0xc], 0x3f
je 0x10006299
sub dword [ebp - 0xc], 0x3f
je 0x100061a1
jmp case.0x100060fb.1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
sub dword [ebp - 0x10], 0x106f
je 0x10006207
sub dword [ebp - 0x10], 0x3f
je 0x10006266
sub dword [ebp - 0x10], 0x3f
je 0x100062b1
jmp case.0x100060fb.1
cmp dword [ebp - 4], 0x1363
ja 0x1000612e
cmp dword [ebp - 4], 0x1363
je 0x100061e9
cmp dword [ebp - 4], 0x1267
ja 0x10006102
cmp dword [ebp - 4], 0x1267
je 0x10006241
mov ecx, dword [ebp - 4]
sub ecx, 0x116b
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0xbd
ja case.0x100060fb.1
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x1000647c]
jmp dword [eax*4 + 0x10006468]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
sub dword [ebp - 0x14], 0x12a6
je 0x10006339
sub dword [ebp - 0x14], 0x3f
je 0x100062f9
sub dword [ebp - 0x14], 0x3f
je 0x100061b4
jmp case.0x100060fb.1
cmp dword [ebp - 4], 0x145f
ja 0x10006168
cmp dword [ebp - 4], 0x145f
je 0x100061ad
mov edx, dword [ebp - 4]
mov dword [ebp - 0x18], edx
sub dword [ebp - 0x18], 0x13a2
je 0x1000634b
sub dword [ebp - 0x18], 0x3f
je 0x10006197
sub dword [ebp - 0x18], 0x3f
je 0x1000621c
jmp case.0x100060fb.1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
sub dword [ebp - 0x1c], 0x3a8b
je 0x100062d5
sub dword [ebp - 0x1c], 0x214a
je 0x10006308
sub dword [ebp - 0x1c], 0x3f
je 0x10006230
jmp case.0x100060fb.1
call fcn.100281a0
jmp case.0x100060fb.1
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push eax
jmp case.0x100060fb.1
jmp 0x10006197
jmp 0x100061a1
js 0x10006299
pop edi
pop esi
pop ebx
leave
ret 0x24
push dword [ebp + 0x24]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
add edi, 0x60
push dword [ebp + 0xc]
call fcn.10051f20
jmp case.0x100060fb.1
jmp 0x10006339
call fcn.1001d040
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.1003cf80
jmp case.0x100060fb.1
test esi, esi
js 0x10006308
jmp case.0x100060fb.1
lea esi, [ebp - 0x50]
jmp case.0x100060fb.1
add ebp, edi
aaa
mov dword [0x56006a69], eax
push 0
push esi
call fcn.100573f0
pop ecx
pop ecx
jmp case.0x100060fb.1
mov eax, dword [ebp - 0x24]
jmp 0x1000638a
mov esi, eax
test esi, esi
jmp case.0x100060fb.1
push ebx
push 0xfffffffffffffffc
jmp case.0x100060fb.1
je 0x10006221
jmp case.0x100060fb.1
js 0x10006378
lea esi, [ebp - 0xa0]
call fcn.1003b470
jmp case.0x100060fb.1
mov eax, dword [0x1009a175]
mov eax, dword [eax + 0x2508]
test eax, eax
jmp case.0x100060fb.1
call fcn.10002b30
push dword [0x1009a128]
mov dword [ebp - 0xa0], ebx
call edi
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 4], ecx
jmp case.0x100060fb.1
jne case.0x1000600b.0
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
push dword [ebp + 0x28]
add eax, 0xb8
push dword [ebp + 0x1c]
jmp case.0x100060fb.1
je 0x100061b4
push dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
jmp case.0x100060fb.1
jmp 0x10006250
pop ecx
pop ecx
test eax, eax
jne 0x10006299
jmp case.0x100060fb.1
mov cl, byte [0x1009a11d]
mov byte [ebp - 0x24], cl
mov eax, dword [ebp - 0x24]
jmp 0x1000638a
sub esp, 0xa0
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0xc], ebx
jmp case.0x100060fb.1
mov esi, dword [ebp - 8]
jmp case.0x100060fb.1
call fcn.1001f300
jmp case.0x100060fb.1
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x24], eax
jmp case.0x100060fb.1
call fcn.10051040
pop ecx
pop ecx
test eax, eax
jmp case.0x100060fb.1
call fcn.1002e8e0
pop ecx
pop ecx
jmp 0x100061e9
xor esi, esi
jmp case.0x100060fb.1
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp case.0x100060fb.1
xor esi, esi
push dword [0x1009a0ff]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [str.Starting_at_HomeHome]
mov dword [ebp - 0x50], ebx
call edi
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 4], ecx
test esi, esi
jmp case.0x100060fb.1
xor esi, esi
lea eax, [ebp - 0x98]
push esi
push eax
jmp 0x10005f81
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret