Function at 0x10033400
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 0x1006dc8b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x10086040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x10033458
lock inc dword [ecx + 4]
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x74], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x74]
mov edx, dword [esi + 0x10]
call fcn.10011a20
mov eax, dword [ebx + 8]
mov edi, dword [ebp - 0x70]
mov dword [esi + 0x14], eax
mov esi, dword [ebp - 0x74]
sub eax, 1
je 0x1003348f
mov edx, dword [ebx + 0x18]
jmp 0x10033519
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
test edi, edi
je 0x100334a9
lock inc dword [edi + 4]
mov eax, dword [ebp - 0x6c]
sub esp, 0xc
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov ecx, esp
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x100334d1
lock inc dword [eax + 4]
mov eax, dword [ebx + 0xc]
mov dword [ecx], eax
mov eax, dword [ebx + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebx + 0x14]
mov dword [ecx + 8], eax
call fcn.10011aa0
mov ecx, dword [ebp - 0x68]
add esp, 0x18
mov edx, dword [ebx + 0x18]
mov dword [ecx + 0x10], eax
test esi, esi
jne 0x100334fb
test edx, edx
jmp 0x10033509
cmp esi, edx
jne 0x10033965
mov eax, dword [ebx + 0x20]
cmp dword [ebp - 0x6c], eax
jne 0x10033965
cmp dword [ebx + 8], 0
jne 0x1003389d
test esi, esi
jne 0x100335a1
test edx, edx
je 0x10033611
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov eax, dword [eax]
cmp dword [eax + 4], 0xffffffff
je 0x100335b4
cmp dword [ebx + 0x24], 0
je 0x10033611
inc ecx
mov eax, 0x6bca1af3
mov dword [ebp - 0x6c], ecx
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x6c], eax
jne 0x10033596
mov ecx, edi
xor esi, esi
xor edi, edi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x70], edi
test ecx, ecx
je 0x10033593
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x10033593
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x78]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x10033593
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp - 0x68]
inc dword [eax + 0x10]
jmp 0x1003348f
cmp esi, edx
jne 0x10033529
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebx + 0x20]
cmp ecx, eax
je 0x10033614
jmp 0x1003352c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008816c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10088e60]
cmp eax, dword [ecx + 4]
jle 0x10033603
push 0x10088e60
call fcn.10046360
add esp, 4
cmp dword [0x10088e60], 0xffffffff
jne 0x10033600
push 0x1006fa40
call fcn.1004680e
add esp, 4
push 0x10088e60
call fcn.1004630f
add esp, 4
mov edx, dword [ebx + 0x18]
mov dword [ebx + 0x24], 0x3e3
mov dword [ebx + 0x28], 0x10086bf8
mov eax, dword [ebx + 0x20]
cmp dword [ebx + 0x24], 0
jne 0x1003362a
test esi, esi
jne 0x10033848
test edx, edx
jne 0x10033859
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x68]
lea esi, [ebp - 0x30]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov eax, dword [edx + 0x24]
test eax, eax
je 0x1003366b
lock inc dword [eax + 4]
mov eax, dword [edx + 0x20]
movups xmm0, xmmword [esi]
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x5c], eax
mov al, byte [edx + 0x28]
mov byte [ebp - 0x58], al
mov eax, dword [ebx + 0x24]
movups xmmword [ebp - 0x4c], xmm0
mov dword [ebp - 0x54], eax
movq xmm0, qword [esi + 0x10]
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x50], ecx
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 7
mov eax, dword [edx + 0x18]
push dword [0x100894bc]
mov esi, dword [edx + 0x1c]
mov dword [ebp - 0x68], eax
lea eax, [edx + 0x1c]
mov dword [ebp - 0x78], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x100336d2
cmp dword [eax], esi
je 0x1003387d
mov eax, dword [eax + 8]
test eax, eax
jne 0x100336c3
lea eax, [ebp - 0x60]
push eax
push 0x54
mov dword [ebp - 0x20], eax
call fcn.10006550
add esp, 8
mov edx, eax
mov byte [ebp - 4], 9
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0x100356f0
mov dword [edx], 0
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x60]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x24], eax
mov al, byte [ebp - 0x58]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [edx + 0x28], al
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
mov dword [edx + 0x30], ecx
mov ecx, dword [ebp - 0x68]
mov dword [edx + 0x2c], eax
movups xmm0, xmmword [ebp - 0x4c]
push edx
push dword [ebp - 0x78]
movups xmmword [edx + 0x34], xmm0
mov dword [ebp - 0x18], 0
movq xmm0, qword [ebp - 0x3c]
movq qword [edx + 0x44], xmm0
mov eax, dword [ebp - 0x34]
mov dword [edx + 0x4c], eax
mov dword [ebp - 0x1c], 0
call fcn.1000ab40
mov ecx, dword [ebp - 0x5c]
or esi, 0xffffffff
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x100337b7
mov eax, esi
lock xadd dword [ecx + 4], eax
jne 0x100337b7
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x78]
mov eax, esi
lock xadd dword [ecx + 8], eax
jne 0x100337b7
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x100337da
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100337da
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100337da
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
or esi, 0xffffffff
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x10033803
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10033803
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x10033803
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebx + 0x1c]
test edi, edi
je 0x10033828
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10033828
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10033828
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
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.100462d6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x24
mov ecx, dword [ebp - 0x6c]
cmp esi, edx
jne 0x1003385c
cmp ecx, eax
je 0x1003362a
jmp 0x1003385c
mov ecx, dword [ebp - 0x6c]
imul eax, ecx, 0x4c
add eax, dword [esi]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], eax
jmp 0x1003364c
cmp dword [eax + 4], 0
je 0x100336d2
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 8
push eax
push eax
call fcn.10035f00
add esp, 8
jmp 0x1003378c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1008816c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10088e6c]
cmp eax, dword [ecx + 4]
jle 0x100338e9
push 0x10088e6c
call fcn.10046360
add esp, 4
cmp dword [0x10088e6c], 0xffffffff
jne 0x100338e9
push 0x1006fa50
call fcn.1004680e
add esp, 4
push 0x10088e6c
call fcn.1004630f
add esp, 4
mov esi, dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
push esi
mov dword [ebx + 0x24], 3
mov dword [ebx + 0x28], 0x10086bf0
call fcn.100346f0
mov eax, dword [ebx + 0x24]
mov ecx, dword [ebx + 0x28]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], ecx
mov esi, dword [esi]
add esi, 0x44
mov byte [ebp - 4], 4
mov ecx, dword [esi + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x2c]
push esi
push ecx
call eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
add esp, 4
mov byte [ebp - 4], 5
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x2c]
call fcn.10033bf0
add esp, 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 6
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
call eax
add esp, 4
lea ecx, [ebp - 0x64]
call fcn.10033340
jmp 0x100339a9
mov ecx, dword [ecx]
lea eax, [ebx + 0x24]
push eax
lea eax, [ecx + 4]
mov ecx, dword [ecx]
push eax
lea eax, [ebp - 0x7c]
add ecx, 0x14
push eax
call fcn.10009f60
imul eax, dword [ebp - 0x6c], 0x4c
lea ecx, [ebp - 0x30]
add eax, dword [esi]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x20], xmm0
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
push eax
push ecx
mov ecx, dword [eax]
call fcn.100339e0
test edi, edi
je 0x100337da
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100337dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100337dd
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x100337dd