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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100354fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 0x28], 0
call fcn.1000c5e0
test eax, eax
jne 0x10008e4c
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
test esi, esi
je 0x10008b24
push esi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x10008b09
xor esi, esi
jmp 0x10008b24
lea edi, [eax + eax]
mov eax, edi
call fcn.10022c20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.10002ae0
mov edi, dword [ebp - 0x14]
mov esi, eax
cmp byte [esi], 0x20
jne 0x10008b36
lea esp, [esp]
inc esi
cmp byte [esi], 0x20
je 0x10008b30
push str.http:__
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push str.http:__
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIA]
test eax, eax
jne 0x10008e4c
push 0x10047044
push esi
call fcn.10007840
add esp, 8
test al, al
jne 0x10008e4c
push esi
call fcn.100225f3
mov dword [0x10047044], eax
mov eax, dword [edi + 0x30]
add esp, 4
cmp dword [ebp + 8], eax
jne 0x10008e4c
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 8]
test edi, edi
jne 0x10008b94
xor eax, eax
jmp 0x10008bb9
push edi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x10008ba3
xor eax, eax
jmp 0x10008bb9
lea esi, [eax + eax]
mov eax, esi
call fcn.10022c20
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.10002ae0
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x38]
push eax
call fcn.1000da20
test al, al
jne 0x10008e4c
call fcn.1000d510
test al, al
je 0x10008e4c
xor edi, edi
mov dword [ebp - 0x10], edi
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 0x48]
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 4], edi
call edx
cmp eax, edi
jge 0x10008c2d
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 8]
test esi, esi
je 0x10008e36
push esi
call ebx
inc eax
cmp eax, 0x3fffffff
jg 0x10008e36
lea edi, [eax + eax]
mov eax, edi
call fcn.10022c20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.10002ae0
jmp 0x10008e36
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call fcn.1000ccd0
sub esi, eax
call fcn.1000cc20
cmp esi, eax
jae 0x10008c52
call fcn.1000cc20
test eax, eax
jg 0x10008e36
push 0xfe
lea eax, [ebp - 0x14f]
push 0
push eax
mov byte [ebp - 0x150], 0
call fcn.10021df0
push 0x3c
lea ecx, [ebp - 0x50]
push 0
push ecx
call fcn.10021df0
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 8]
add esp, 0x18
lea edx, [ebp - 0x150]
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], 0xff
test esi, esi
jne 0x10008ca1
xor eax, eax
jmp 0x10008cc6
push esi
call ebx
inc eax
cmp eax, 0x3fffffff
jle 0x10008cb0
xor eax, eax
jmp 0x10008cc6
lea edi, [eax + eax]
mov eax, edi
call fcn.10022c20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.10002ae0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10008cd0
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx + 8]
sub eax, edx
mov ebx, eax
test esi, esi
jne 0x10008ce9
xor eax, eax
jmp 0x10008d12
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10008cfc
xor eax, eax
jmp 0x10008d12
lea edi, [eax + eax]
mov eax, edi
call fcn.10022c20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.10002ae0
lea edx, [ebp - 0x50]
push edx
push 0
push ebx
push eax
call fcn.10013c10
add esp, 0x10
call fcn.1000ce10
test eax, eax
jle 0x10008d51
lea eax, [ebp - 0x150]
push eax
call fcn.1000d130
add esp, 4
test eax, eax
jne 0x10008e36
lea eax, [ebp - 0x150]
push eax
call fcn.1000cf70
add esp, 4
mov esi, dword [ebp - 0x14]
lea ecx, [ebp + 8]
push ecx
mov ecx, esi
mov dword [esi + 0x28], 1
call fcn.10007fb0
cmp dword [esi + 0x28], 0
jne 0x10008d8b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10008e4c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x10008e4c
push 0x40c
push 8
mov dword [esi + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, esi
mov edx, dword [ecx + 0x30]
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebx], edx
mov esi, dword [eax + 8]
test esi, esi
jne 0x10008dbd
xor eax, eax
jmp 0x10008de6
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x10008dd0
xor eax, eax
jmp 0x10008de6
lea edi, [eax + eax]
mov eax, edi
call fcn.10022c20
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.10002ae0
push 0x400
push eax
lea ecx, [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov edx, dword [0x10046a2c]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10008e36
push ebx
call fcn.10008690
add esp, 4
cmp eax, 1
jne 0x10008e36
mov eax, dword [0x10046a2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x10008a00
push 0x3e8
push 0
push 0
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x10008e4c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
lea esp, [ebp - 0x15c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8