Function at 0x43e530
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b8c3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x49c100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 8]
lea esi, [ebx + 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
push esi
mov dword [ebp - 0x78], eax
call fcn.00447220
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x43e58e
lock inc dword [eax + 4]
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x28], ecx
test eax, eax
je 0x43e5c7
lock inc dword [eax + 4]
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebx]
push dword [0x4a8e80]
mov esi, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 0
mov dword [ebp - 0x7c], ecx
call edi
test eax, eax
je 0x43e60b
nop dword [eax]
cmp dword [eax], esi
je 0x43e625
mov eax, dword [eax + 8]
test eax, eax
jne 0x43e600
push dword [0x4a8e68]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x88], eax
call edi
test eax, eax
je 0x43e653
mov eax, dword [eax + 4]
jmp 0x43e655
cmp dword [eax + 4], 0
je 0x43e60b
nop
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0043eb10
add esp, 0x18
nop
jmp 0x43e6cf
xor eax, eax
push 8
push 0x90
push eax
push dword [ebp - 0x7c]
call fcn.0042e7e0
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x4563f0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x1c], 0
call fcn.00445e50
mov ecx, dword [ebp - 0x7c]
lea eax, [ebx + 4]
push esi
push eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
call fcn.00457ef0
mov edi, dword [ebp - 0x1c]
or esi, 0xffffffff
test edi, edi
je 0x43e6f8
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43e6f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x43e6f8
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x43e71e
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43e71e
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x43e71e
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x43e743
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43e743
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x43e743
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x43e75b
mov edx, dword [ecx]
lea eax, [ebp - 0x68]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475cb4
mov esp, ebp
pop ebp
ret 8