Function at 0x10034fb0
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 0x1007b140
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 0x10035057
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 0x1003504d
cmp ecx, 1
jne 0x100351e0
cmp dword [ebx + 8], 0
setne al
test al, al
jne 0x100351e0
cmp dword [ebx + 0x14], 0
je 0x100351e0
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.10035e40
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.10036660
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0xd4]
call fcn.10035de0
cmp dword [edi + 0x1c], 0xf
lea edx, [edi + 8]
lea ecx, [edx + 0x10]
mov ecx, dword [ecx]
jbe 0x100350d3
mov eax, dword [edx]
mov edx, eax
add ecx, eax
jmp 0x100350d5
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.1003a800
mov esi, dword [ebp - 0x84]
add esp, 0x40
cmp esi, dword [ebp - 0xbc]
je 0x10035152
cmp byte [ebp - 0x80], 0
je 0x10035152
mov eax, dword [edi + 0x18]
sub eax, dword [ebp - 0xa0]
add eax, esi
xor edx, edx
mov dword [edi + 0x24], eax
jmp 0x100351c8
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 0x10035172
mov dword [edi + 0x24], 0xffffffff
xor edx, edx
jmp 0x100351c8
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 0x100353c2
test edx, edx
jne 0x100353c2
mov ecx, dword [ebx + 0x10]
cmp dword [edi + 0x24], 0xffffffff
jne 0x10035240
mov edx, dword [0x10098be8]
mov eax, dword [0x10098bec]
cmp edx, 0x257edfd1
jne 0x10035200
cmp eax, 0xb2ab117a
je 0x1003520f
cmp edx, 0x257edfd0
jne 0x10035213
cmp eax, 0xb2ab117a
jne 0x10035213
mov al, 1
jmp 0x10035227
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 0x1003524d
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 0x10035268
cmp ecx, 1
jne 0x10035270
cmp dword [ebx + 8], 0
setne al
test al, al
jne 0x10035270
mov esi, dword [edi + 0x24]
cmp esi, 0xffffffff
jne 0x10035272
xor esi, esi
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.10034cd0
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 [0x1009e994]
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 0x100352cf
nop dword [eax]
cmp dword [eax], esi
je 0x100353a3
mov eax, dword [eax + 8]
test eax, eax
jne 0x100352c0
lea eax, [ebp - 0x68]
push eax
push 0x78
mov dword [ebp - 0x78], eax
call fcn.1000b8d0
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], 0x100417c0
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.1002a140
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.1000ea70
lea ecx, [ebp - 0x78]
call fcn.10041740
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x10035389
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x10035389
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x10035389
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x100353fb
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x100353fb
cmp dword [eax + 4], 0
je 0x100352cf
nop
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.100439e0
add esp, 8
nop
jmp 0x10035361
mov esi, dword [ebp - 0x7c]
mov edi, dword [edi]
push edx
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.10017a10
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.10040790
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.1004ff4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14