Function at 0x10034c70
Capabilities:
Get thread local storage value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007afe0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x10098140]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x7c], edi
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x20], eax
sub eax, 1
je 0x10034d17
mov esi, dword [edi + 4]
mov edx, dword [ebx + 0x14]
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
cmp eax, edx
cmovb edx, eax
sub eax, edx
mov dword [ecx], eax
mov eax, dword [esi + 0x20]
add dword [eax], edx
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [ebx + 0x10]
test cl, 1
je 0x10034d0d
cmp ecx, 1
jne 0x10034ea0
cmp dword [ebx + 8], 0
setne al
test al, al
jne 0x10034ea0
cmp dword [ebx + 0x14], 0
je 0x10034ea0
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x20]
mov edx, dword [eax]
mov eax, dword [ecx + 0x1c]
lea ecx, [ebp - 0xb8]
mov eax, dword [eax]
sub edx, eax
mov dword [ebp - 0x70], edx
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], eax
call fcn.10035b00
movups xmm0, xmmword [ebp - 0xb8]
mov eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x98]
push dword [edi + 0x24]
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x80], eax
movq xmm0, qword [ebp - 0xa8]
movq qword [ebp - 0x88], xmm0
call fcn.10036320
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xd4]
call fcn.10035aa0
cmp dword [edi + 0x1c], 0xf
lea edx, [edi + 8]
lea ecx, [edx + 0x10]
mov ecx, dword [ecx]
jbe 0x10034d93
mov eax, dword [edx]
mov edx, eax
add ecx, eax
jmp 0x10034d95
add ecx, edx
movups xmm0, xmmword [ebp - 0xd4]
push ecx
mov ecx, dword [ebp - 0xbc]
push edx
sub esp, 0x1c
mov eax, esp
sub esp, 0x1c
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xc4]
movq qword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x98]
mov dword [eax + 0x18], ecx
mov ecx, esp
mov eax, dword [ebp - 0x80]
movups xmmword [ecx], xmm0
movq xmm0, qword [ebp - 0x88]
movq qword [ecx + 0x10], xmm0
mov dword [ecx + 0x18], eax
lea ecx, [ebp - 0x9c]
call fcn.1003a4c0
mov esi, dword [ebp - 0x84]
add esp, 0x40
cmp esi, dword [ebp - 0xbc]
je 0x10034e12
cmp byte [ebp - 0x80], 0
je 0x10034e12
mov eax, dword [edi + 0x18]
sub eax, dword [ebp - 0xa0]
add eax, esi
xor edx, edx
mov dword [edi + 0x24], eax
jmp 0x10034e88
mov edx, dword [edi + 4]
mov dword [ebp - 0x6c], edx
mov eax, dword [edx + 0x20]
mov ecx, dword [eax]
mov eax, dword [edx + 0x1c]
sub ecx, dword [eax]
cmp ecx, dword [edx + 0x38]
jne 0x10034e32
mov dword [edi + 0x24], 0xffffffff
xor edx, edx
jmp 0x10034e88
mov eax, dword [ebp - 0xbc]
mov ecx, esi
sub eax, dword [ebp - 0xa0]
sub ecx, dword [ebp - 0xa0]
cmp esi, dword [ebp - 0xbc]
cmovne eax, ecx
mov dword [edi + 0x24], eax
mov eax, dword [edx + 0x20]
mov esi, dword [edx + 0x38]
mov edx, dword [eax]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x1c]
sub edx, dword [eax]
mov eax, dword [ebp - 0x6c]
sub esi, edx
mov ecx, dword [eax + 0x44]
sub ecx, dword [eax + 0x3c]
mov eax, 0x10000
sub ecx, edx
cmp esi, eax
mov edx, 0x200
cmovb eax, esi
cmp ecx, edx
cmova edx, ecx
cmp eax, edx
cmovb edx, eax
cmp dword [ebx + 0x18], 0
mov dword [ebp - 0x6c], edx
jne 0x10035082
test edx, edx
jne 0x10035082
mov ecx, dword [ebx + 0x10]
cmp dword [edi + 0x24], 0xffffffff
jne 0x10034f00
mov edx, dword [0x10098be8]
mov eax, dword [0x10098bec]
cmp edx, 0x257edfd1
jne 0x10034ec0
cmp eax, 0xb2ab117a
je 0x10034ecf
cmp edx, 0x257edfd0
jne 0x10034ed3
cmp eax, 0xb2ab117a
jne 0x10034ed3
mov al, 1
jmp 0x10034ee7
mov eax, dword [0x10098be0]
mov ecx, 0x10098be0
push 3
mov eax, dword [eax + 0x18]
call eax
mov ecx, dword [ebx + 0x10]
movzx eax, al
add eax, 2
mov dword [ebp - 0x78], 3
mov dword [ebp - 0x74], 0x10098be0
mov dword [ebp - 0x70], eax
jmp 0x10034f0d
movq xmm0, qword [ebx + 8]
movq qword [ebp - 0x78], xmm0
mov dword [ebp - 0x70], ecx
lea eax, [ebp - 0x78]
mov dword [ebp - 0x6c], eax
test cl, 1
je 0x10034f28
cmp ecx, 1
jne 0x10034f30
cmp dword [ebx + 8], 0
setne al
test al, al
jne 0x10034f30
mov esi, dword [edi + 0x24]
cmp esi, 0xffffffff
jne 0x10034f32
xor esi, esi
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.10034990
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c], esi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x28]
push dword [0x1009e624]
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x6c], eax
lea eax, [edi + 0x2c]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x10034f8f
nop dword [eax]
cmp dword [eax], esi
je 0x10035063
mov eax, dword [eax + 8]
test eax, eax
jne 0x10034f80
lea eax, [ebp - 0x68]
push eax
push 0x78
mov dword [ebp - 0x78], eax
call fcn.1000b700
add esp, 8
mov edi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x68]
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x10041480
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
call fcn.10029e10
movq xmm0, qword [ebp - 0x28]
mov ecx, dword [ebp - 0x6c]
movq qword [edi + 0x60], xmm0
mov eax, dword [ebp - 0x20]
push edi
push dword [ebp - 0x7c]
mov dword [edi + 0x68], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x6c], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
call fcn.1000e890
lea ecx, [ebp - 0x78]
call fcn.10041400
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x10035049
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10035049
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10035049
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x100350bb
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x100350bb
cmp dword [eax + 4], 0
je 0x10034f8f
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.100436a0
add esp, 8
nop
jmp 0x10035021
mov esi, dword [ebp - 0x7c]
mov edi, dword [edi]
push edx
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.100176e0
mov eax, dword [esi + 0x20]
mov ecx, dword [edi]
add ecx, 0x14
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
lea eax, [edi + 0x44]
push eax
push dword [ebp - 0x7c]
lea eax, [ebp - 0x74]
push 0
push eax
lea eax, [edi + 4]
push eax
call fcn.10040450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004fde9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14