Function at 0x43ac40
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 0x481d30
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x49d140]
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 - 0x70], edi
mov eax, dword [ebx + 0x14]
mov dword [edi + 0x20], eax
sub eax, 1
je 0x43acd1
mov esi, dword [edi + 4]
mov edx, dword [ebx + 0x10]
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
cmp dword [ebx + 8], 0
jne 0x43ae57
cmp dword [ebx + 0x10], 0
je 0x43ae57
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax]
mov eax, dword [ecx + 0x20]
lea ecx, [ebp - 0xb8]
mov eax, dword [eax]
sub eax, edx
mov dword [ebp - 0x78], edx
lea edx, [ebp - 0x78]
mov dword [ebp - 0x74], eax
call fcn.0043b950
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.0043c240
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xd4]
call fcn.0043b8f0
cmp dword [edi + 0x1c], 0xf
lea edx, [edi + 8]
lea ecx, [edx + 0x10]
mov ecx, dword [ecx]
jbe 0x43ad4d
mov eax, dword [edx]
mov edx, eax
add ecx, eax
jmp 0x43ad4f
add ecx, edx
movups xmm0, xmmword [ebp - 0xd4]
mov esi, dword [ebp - 0xbc]
push ecx
push edx
sub esp, 0x1c
mov eax, esp
sub esp, 0x1c
mov ecx, esp
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0xc4]
movq qword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x98]
mov dword [eax + 0x18], esi
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.004405c0
mov edx, dword [ebp - 0x84]
add esp, 0x40
cmp edx, esi
je 0x43adc8
cmp byte [ebp - 0x80], 0
je 0x43adc8
mov eax, dword [edi + 0x18]
sub eax, dword [ebp - 0xa0]
add eax, edx
xor ecx, ecx
mov dword [edi + 0x24], eax
jmp 0x43ae42
mov esi, dword [edi + 4]
mov dword [ebp - 0x6c], esi
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov eax, dword [eax]
sub eax, dword [ecx]
cmp eax, dword [esi + 0x38]
jne 0x43ade8
mov dword [edi + 0x24], 0xffffffff
xor ecx, ecx
jmp 0x43ae42
mov eax, dword [ebp - 0xbc]
mov ecx, edx
sub eax, dword [ebp - 0xa0]
sub ecx, dword [ebp - 0xa0]
cmp edx, dword [ebp - 0xbc]
cmovne eax, ecx
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov eax, dword [esi + 0x1c]
mov esi, dword [eax]
mov ecx, esi
mov eax, dword [ebp - 0x6c]
sub ecx, edx
add ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x44]
sub eax, edx
mov edx, dword [ebp - 0x6c]
sub eax, dword [edx + 0x3c]
mov edx, 0x10000
add eax, esi
cmp ecx, edx
cmovb edx, ecx
mov ecx, 0x200
cmp eax, ecx
cmova ecx, eax
cmp edx, ecx
cmovb ecx, edx
cmp dword [ebx + 0x14], 0
mov dword [ebp - 0x6c], ecx
jne 0x43b032
test ecx, ecx
jne 0x43b032
cmp dword [edi + 0x24], 0xffffffff
jne 0x43aeb2
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x4a29e4]
cmp eax, dword [ecx + 4]
jle 0x43aea2
push 0x4a29e4
call fcn.004584c4
add esp, 4
cmp dword [0x4a29e4], 0xffffffff
jne 0x43aea2
push 0x484d20
call fcn.00458aa9
add esp, 4
push 0x4a29e4
call fcn.00458473
add esp, 4
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x70], 0x49dc10
jmp 0x43aebe
mov eax, dword [ebx + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x70], eax
cmp dword [ebx + 8], 0
jne 0x43aecc
mov esi, dword [edi + 0x24]
cmp esi, 0xffffffff
jne 0x43aece
xor esi, esi
lea eax, [edi + 0x30]
push eax
lea ecx, [ebp - 0x68]
call fcn.0043aaa0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x28]
push dword [0x4a29ec]
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x6c], eax
lea eax, [edi + 0x2c]
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x43af1f
nop
cmp dword [eax], esi
je 0x43b015
mov eax, dword [eax + 8]
test eax, eax
jne 0x43af10
lea eax, [ebp - 0x68]
push eax
push 0x78
mov dword [ebp - 0x7c], eax
call fcn.0040c9d0
add esp, 8
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [edi + 0x28]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x448430
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
mov eax, dword [ebp - 0x68]
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x60]
push eax
call fcn.00425d40
mov ecx, dword [ebp - 0x6c]
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x58], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push edi
push dword [ebp - 0x70]
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], edx
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x68], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
call fcn.00411b60
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x43affb
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x43affb
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x43affb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x43b06b
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x43b06b
cmp dword [eax + 4], 0
je 0x43af1f
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push eax
call fcn.0044a590
add esp, 8
jmp 0x43afd3
mov esi, dword [ebp - 0x70]
mov edi, dword [edi]
push ecx
mov esi, dword [esi + 4]
mov ecx, esi
call fcn.0041a4d0
mov eax, dword [esi + 0x20]
mov ecx, dword [edi]
add ecx, 0x14
mov eax, dword [eax]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
lea eax, [edi + 0x44]
push eax
push dword [ebp - 0x70]
lea eax, [ebp - 0x78]
push 0
push eax
lea eax, [edi + 4]
push eax
call fcn.00446ca0
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.00458460
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x10