Function at 0x43e780
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b91b
mov eax, dword fs:[0]
push eax
sub esp, 0x84
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 esi, ecx
mov eax, dword [esi + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
movzx eax, byte [esi + 0x10]
mov byte [ebp - 0x70], al
movzx eax, byte [esi + 0x11]
mov byte [ebp - 0x6f], al
lea eax, [ebp - 0x68]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x44], 0
mov ecx, dword [esi + 0x3c]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x43e7ed
mov eax, dword [ecx]
lea edx, [ebp - 0x68]
push edx
call dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
test eax, eax
je 0x43e806
lock inc dword [eax + 4]
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x40], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x43e82b
lock inc dword [eax + 4]
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x50]
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 0x43e864
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 eax, dword [esi]
lea ebx, [esi + 4]
push dword [0x4a8e80]
mov esi, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 4], 1
mov dword [ebp - 0x7c], eax
call edi
test eax, eax
je 0x43e8a3
cmp dword [eax], esi
je 0x43e8bd
mov eax, dword [eax + 8]
test eax, eax
jne 0x43e898
push dword [0x4a8e68]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x8c], eax
call edi
test eax, eax
je 0x43e905
mov eax, dword [eax + 4]
jmp 0x43e907
cmp dword [eax + 4], 0
je 0x43e8a3
nop
lea eax, [ebp - 0x20]
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x80]
push dword [ebp - 0x7c]
call fcn.0043ebe0
add esp, 0x14
nop
jmp 0x43e9c5
xor eax, eax
push 8
push 0x90
push eax
push dword [ebp - 0x7c]
call fcn.0042e7e0
add esp, 0x10
mov edi, eax
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 3
push eax
lea ecx, [edi + 0x20]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0x4564d0
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.00445af0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [edi + 0x74], ecx
mov ecx, dword [ebp - 0x7c]
mov dword [edi + 0x70], eax
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov eax, dword [ebp - 0x20]
mov dword [edi + 0x78], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp - 0x18]
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [edi + 0x80], eax
push ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
call fcn.00457ef0
mov edi, dword [ebp - 0x1c]
or esi, 0xffffffff
test edi, edi
je 0x43e9ee
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43e9ee
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x43e9ee
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x43ea14
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43ea14
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x43ea14
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x43ea39
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x43ea39
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x43ea39
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0x43ea51
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