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

Disassembly:
push ebp
lea ebp, [esp - 0x46c]
sub esp, 0x46c
push 0xffffffffffffffff
push 0x7758e1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x69bc80]
xor eax, ebp
mov dword [ebp + 0x468], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [0x7cad84]
mov eax, dword [ebp + 0x474]
mov edi, dword [ebp + 0x47c]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x480]
push edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x711849
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x711849
mov eax, dword [0x7cad84]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 4
lea ecx, [ebp - 0x24]
push ecx
mov dword [esi], ebx
call fcn.00724c70
test al, al
je 0x711865
mov esi, dword [ebp - 0x24]
cmp esi, 0xffff
jbe 0x711874
mov ecx, dword [ebp - 0x14]
push 0x72
call fcn.00703780
jmp 0x711ab4
cmp edi, ebx
jne 0x711938
cmp dword [ebp + 0x484], ebx
je 0x711944
push 0x90
lea edx, [ebp + 0x24c]
push ebx
push edx
call fcn.00755e40
add esp, 0xc
push 0x90
lea eax, [ebp + 0x24c]
push eax
push 1
push esi
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.0070b240
cmp eax, 0x90
jne 0x711ab4
mov eax, 2
cmp edi, ebx
jne 0x7118cf
mov eax, 0x1002
push eax
lea ecx, [ebp + 0x38c]
call fcn.00710c80
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
cmp edi, ebx
jne 0x711953
call fcn.006eb860
push eax
lea ecx, [ebp + 0x448]
call fcn.006f2bf0
push ebx
lea ecx, [ebp + 0x448]
push ecx
lea ecx, [ebp + 0x38c]
mov byte [ebp - 4], 2
call fcn.0072d8b0
lea ecx, [ebp + 0x448]
mov byte [ebp - 4], 1
call fcn.007158a0
mov edx, dword [ebp + 0x484]
mov eax, dword [ebp - 0x18]
push edx
push eax
lea ecx, [ebp + 0x38c]
call fcn.0072bdd0
jmp 0x7119e5
cmp dword [ebp + 0x484], ebx
je 0x711888
mov ecx, dword [ebp - 0x14]
push 0x69
call fcn.00703780
jmp 0x711ab4
lea ecx, [ebp + 0x448]
call fcn.006f23b0
mov eax, dword [ebp + 0x478]
and eax, 0xf00
mov byte [ebp - 4], 3
push edi
lea ecx, [ebp + 0x448]
cmp eax, 0x100
je 0x711990
cmp eax, 0x200
je 0x711989
call fcn.006ebe80
jmp 0x711995
call fcn.006ec030
jmp 0x711995
call fcn.006eb450
lea ecx, [ebp + 0x448]
call fcn.006f22e0
cmp al, bl
jne 0x7119c4
push 0xdc
mov ecx, esi
call fcn.00703780
lea ecx, [ebp + 0x448]
mov byte [ebp - 4], 1
call fcn.007158a0
jmp 0x711aa2
lea ecx, [ebp + 0x448]
push ecx
lea ecx, [ebp + 0x38c]
call fcn.0072d9a0
lea ecx, [ebp + 0x448]
mov byte [ebp - 4], 1
call fcn.007158a0
push 0xb0
lea edx, [ebp + 0x2dc]
push ebx
push edx
mov dword [ebp - 4], ebx
call fcn.00755e40
mov ecx, 0x24
lea esi, [ebp + 0x24c]
lea edi, [ebp + 0x2fc]
mov dword [ebp + 0x2dc], 0x10100
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 0x250]
mov ecx, dword [ebp + 0x24e]
push eax
push ecx
lea ecx, [ebp + 0x38c]
call fcn.0072c860
test al, al
je 0x711c80
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp + 0x2f4]
push eax
lea ecx, [ebp + 0x2e8]
push ecx
lea edx, [ebp + 0x2e4]
push edx
lea eax, [ebp + 0x2e0]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp + 0x38c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0072e730
mov dword [ebp - 0x34], eax
mov ecx, edi
cmp eax, ebx
jne 0x711add
push 0xdc
call fcn.00703780
lea ecx, [ebp + 0x38c]
call fcn.0072d700
lea ecx, [ebp + 0x38c]
mov dword [ebp - 4], 0xffffffff
call fcn.00710cf0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x468]
xor ecx, ebp
call fcn.007562ca
add ebp, 0x46c
mov esp, ebp
pop ebp
ret 0x14
push ebx
lea eax, [ebp + 0x2dc]
push eax
push 2
call fcn.0070a900
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
jne 0x711b56
cmp dword [ebp + 0x2e4], ebx
je 0x711b4e
call fcn.006f1b70
push ebx
xor ecx, ecx
lea edx, [ebp + 0x2dc]
push edx
mov word [ebp + 0x2f4], cx
push 2
mov ecx, edi
mov dword [ebp - 0x30], eax
mov dword [ebp + 0x2dc], 0x110100
mov dword [ebp + 0x2e4], ebx
call fcn.0070a900
mov esi, eax
mov dword [ebp - 0x20], esi
cmp esi, ebx
jne 0x711b44
mov eax, dword [ebp - 0x30]
push eax
call fcn.006edc80
add esp, 4
mov dword [ebp + 0x2dc], 0x10100
cmp esi, ebx
je 0x711c1c
cmp dword [ebp - 0x1c], ebx
je 0x711bb8
push 0x24c
lea ecx, [ebp]
push ebx
push ecx
call fcn.00755e40
push 0x24c
lea edx, [ebp]
push edx
push 5
push esi
call fcn.006f1700
add esp, 0x1c
cmp eax, ebx
je 0x711bb8
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x1c]
je 0x711bb8
push esi
mov ecx, edi
call fcn.007069d0
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x1c]
mov ecx, edi
jbe 0x711bae
push 0xe5
call fcn.00703780
mov byte [ebp - 4], bl
jmp 0x711a23
push 0xe4
jmp 0x711a92
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
push ebx
push ebx
push edx
push eax
push ecx
push esi
mov ecx, edi
call fcn.0070b9a0
cmp eax, ebx
jne 0x711c05
mov edx, dword [0x7cad84]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
je 0x711be5
mov ebx, dword [eax]
lea ecx, [ebp + 0x38c]
call fcn.0072d700
push esi
mov ecx, edi
call fcn.007069d0
push ebx
mov ecx, edi
call fcn.00703780
jmp 0x711aa2
push esi
mov ecx, edi
call fcn.007069d0
mov dword [ebp - 0x18], 1
mov dword [ebp - 4], ebx
jmp 0x711a20
mov eax, dword [0x7cad84]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp eax, ebx
jne 0x711c30
xor esi, esi
jmp 0x711c32
mov esi, dword [eax]
lea ecx, [ebp + 0x38c]
call fcn.0072d700
push ebx
mov ecx, edi
call fcn.007069d0
push esi
mov ecx, edi
call fcn.00703780
jmp 0x711aa2
mov esi, dword [ebp - 0x18]
cmp esi, ebx
jne 0x711c93
push 0xc9
mov ecx, edi
call fcn.00703780
lea ecx, [ebp + 0x38c]
mov dword [ebp - 4], 0xffffffff
call fcn.00710cf0
mov eax, esi
jmp 0x711ab6