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

Disassembly:
push 0xffffffffffffffff
push 0x774937
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x69bc80]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x7cad84]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x706bca
push 4
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x706bca
mov ecx, dword [0x7cad84]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [esp + 0x14]
mov dword [esi], ebx
call fcn.00725890
test byte [esp + 0x40], 1
mov dword [esp + 0x38], ebx
je 0x706c19
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x706c09
push ebx
push ebx
push 1
push 0x6a5070
mov ecx, eax
call fcn.00725530
jmp 0x706c0b
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test byte [esp + 0x40], 2
je 0x706c59
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 2
cmp eax, ebx
je 0x706c49
push ebx
push ebx
push 2
push 0x6a5054
mov ecx, eax
call fcn.00725530
jmp 0x706c4b
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test byte [esp + 0x40], 4
je 0x706c99
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 3
cmp eax, ebx
je 0x706c89
push ebx
push ebx
push 4
push 0x6a503c
mov ecx, eax
call fcn.00725530
jmp 0x706c8b
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test byte [esp + 0x40], 8
je 0x706cd9
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 4
cmp eax, ebx
je 0x706cc9
push ebx
push ebx
push 8
push 0x6a5020
mov ecx, eax
call fcn.00725530
jmp 0x706ccb
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test byte [esp + 0x40], 0x10
je 0x706d19
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 5
cmp eax, ebx
je 0x706d09
push ebx
push ebx
push 0x10
push 0x6a5000
mov ecx, eax
call fcn.00725530
jmp 0x706d0b
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test byte [esp + 0x40], 0x20
je 0x706d59
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 6
cmp eax, ebx
je 0x706d49
push ebx
push ebx
push 0x20
push 0x6a4fe4
mov ecx, eax
call fcn.00725530
jmp 0x706d4b
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test byte [esp + 0x40], 0x40
je 0x706d99
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 7
cmp eax, ebx
je 0x706d89
push ebx
push ebx
push 0x40
push 0x6a4fc8
mov ecx, eax
call fcn.00725530
jmp 0x706d8b
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test byte [esp + 0x40], 0x80
je 0x706ddc
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 8
cmp eax, ebx
je 0x706dcc
push ebx
push ebx
push 0x80
push 0x6a4fa8
mov ecx, eax
call fcn.00725530
jmp 0x706dce
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test dword [esp + 0x40], 0x200
je 0x706e22
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 9
cmp eax, ebx
je 0x706e12
push ebx
push ebx
push 0x200
push 0x6a4f94
mov ecx, eax
call fcn.00725530
jmp 0x706e14
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test dword [esp + 0x40], 0x400
je 0x706e68
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 0xa
cmp eax, ebx
je 0x706e58
push ebx
push ebx
push 0x400
push 0x6a4f7c
mov ecx, eax
call fcn.00725530
jmp 0x706e5a
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test dword [esp + 0x40], 0x800
je 0x706eae
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x38], 0xb
cmp eax, ebx
je 0x706e9e
push ebx
push ebx
push 0x800
push 0x6a4f64
mov ecx, eax
call fcn.00725530
jmp 0x706ea0
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
test dword [esp + 0x40], 0x800000
je 0x706ef5
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x38], 0xc
cmp eax, ebx
je 0x706ee5
push ebx
push 1
push 0x800000
push 0x69d300
mov ecx, eax
call fcn.00725530
jmp 0x706ee7
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
push 0x10
call fcn.007562f4
add esp, 4
mov dword [esp + 0x40], eax
mov byte [esp + 0x38], 0xd
cmp eax, ebx
je 0x706f21
push ebx
push ebx
push 0x100
push 0x6a4f44
mov ecx, eax
call fcn.00725530
jmp 0x706f23
xor eax, eax
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], bl
call fcn.007258b0
lea ecx, [esp + 0x14]
xor esi, esi
call fcn.00725700
cmp eax, ebx
je 0x706f45
mov esi, dword [eax + 8]
jmp 0x706f4e
push 0x75
mov ecx, edi
call fcn.00703780
lea ecx, [esp + 0x14]
call fcn.00725680
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0xffffffff
call fcn.00725ce0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 4