Function at 0x43d0d0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x644040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x64783c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x655068]
cmp ecx, dword [eax + 4]
jg 0x43d478
push dword [0x6460b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x43d279
mov ecx, dword [0x655060]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x655064]
jne 0x43d279
cmp dword [eax + ecx*8], 0
je 0x43d279
push dword [0x6460b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
and eax, 0xfffffffc
je 0x43d176
mov ecx, dword [0x655060]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x655064]
jne 0x43d176
mov edi, dword [eax + ecx*8]
lea edx, [edi + 4]
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [ebp - 0x2c], edi
je 0x43d259
mov ebx, esi
mov esi, edx
mov eax, edx
mov edi, dword [ebp - 0x18]
xor edx, edx
cmp dword [ecx + 0x10], edi
setb dl
cmovae eax, ecx
mov ecx, dword [ecx + edx*4]
test ecx, ecx
jne 0x43d190
mov edx, esi
cmp eax, esi
mov esi, ebx
je 0x43d259
mov ecx, dword [ebp - 0x18]
cmp dword [eax + 0x10], ecx
ja 0x43d259
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x43d4d3
mov edi, esi
mov dword [ebp - 0x14], 0
mov esi, dword [ecx]
test esi, esi
je 0x43d4c7
xor eax, eax
inc eax
lock xadd dword [esi], eax
test eax, eax
jle 0x43d4ca
mov dword [ebp - 0x20], edx
cmp eax, 0x7fffffff
je 0x43d4cd
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
call dword [0x63e63c]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
push esi
call ecx
add esp, 0x14
mov ebx, eax
lock dec dword [esi]
je 0x43d4d6
test bl, bl
mov ebx, dword [ebp - 0x18]
jne 0x43d237
push dword [ebp - 0x28]
push dword [ebp - 0x30]
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x14], eax
cmp edi, 2
je 0x43d2fe
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
cmp esi, 1
je 0x43d3af
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00568175
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x1c], esi
push 0xc
call fcn.00564ea5
add esp, 4
mov esi, eax
add eax, 4
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi], eax
push dword [0x6460b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x43d2bb
mov ecx, dword [0x655060]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x655064]
jne 0x43d2bb
mov edi, dword [eax + ecx*8]
push dword [0x6460b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
jne 0x43d2d5
test esi, esi
je 0x43d2ee
call fcn.004126f0
mov ecx, dword [0x655060]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x655064]
mov edx, dword [0x655060]
mov dword [eax + edx*8 + 4], ecx
test edi, edi
mov esi, dword [ebp - 0x1c]
je 0x43d14e
jmp 0x43d4fd
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
test eax, eax
je 0x43d4d0
mov ecx, eax
xor edx, edx
cmp dword [ecx + 0x10], ebx
setb dl
cmovae esi, ecx
mov ecx, dword [ecx + edx*4]
test ecx, ecx
jne 0x43d317
cmp esi, dword [ebp - 0x20]
je 0x43d4d0
cmp dword [esi + 0x10], ebx
ja 0x43d4d0
mov edx, dword [esi + 4]
test edx, edx
jne 0x43d39e
mov edx, esi
mov ecx, dword [edx + 8]
cmp dword [ecx], edx
mov edx, ecx
jne 0x43d344
lea edi, [esi + 0x10]
mov edx, dword [ebp - 0x2c]
cmp dword [edx], esi
jne 0x43d359
mov dword [edx], ecx
dec dword [edx + 8]
push esi
push eax
call fcn.005060b0
add esp, 8
test edi, edi
je 0x43d4e4
mov eax, dword [esi + 0x14]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64c804]
bt edx, ecx
jae 0x43d390
push eax
call fcn.004f0f10
add esp, 4
push esi
call fcn.00564ea0
add esp, 4
jmp 0x43d240
mov ecx, edx
mov edx, dword [edx]
test edx, edx
je 0x43d34d
jmp 0x43d39e
mov eax, dword [ebx]
mov dword [ebp - 0x24], ebx
jmp 0x43d3c1
mov eax, dword [ebp - 0x28]
mov edi, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], eax
mov eax, dword [edx]
mov dword [ebp - 0x24], edx
mov ebx, edx
test eax, eax
je 0x43d3e2
mov ebx, eax
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0x10], eax
ja 0x43d3a8
jae 0x43d4fa
mov eax, dword [ebx + 4]
test eax, eax
jne 0x43d3c5
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
push 0x18
call fcn.00564ea5
add esp, 4
mov esi, eax
add eax, 0x10
je 0x43d4eb
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64c804]
bt ecx, eax
jae 0x43d46a
push edi
call fcn.004f0de0
add esp, 4
mov ecx, edi
mov dword [esi + 0x14], edi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov edx, dword [ebp - 0x24]
mov dword [edx], esi
mov edi, dword [ebp - 0x2c]
mov eax, dword [edi]
mov eax, dword [eax]
test eax, eax
mov ebx, ecx
je 0x43d446
mov dword [edi], eax
mov esi, dword [edx]
push esi
push dword [edi + 4]
call fcn.00525aa0
add esp, 8
inc dword [edi + 8]
test ebx, ebx
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov ecx, ebx
jne 0x43d1c5
jmp 0x43d262
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x654804], 1
jmp 0x43d421
push 0x655068
call fcn.00564ee8
add esp, 4
cmp dword [0x655068], 0xffffffff
jne 0x43d119
mov dword [0x655064], 0
mov dword [0x655060], 0xffffffff
mov ecx, 0x655060
push 0x440c00
call fcn.00420010
push 0x655068
call fcn.00564f37
add esp, 4
jmp 0x43d119
int3
int3
int3
int3
int3
push esi
call fcn.004ed190
add esp, 4
jmp 0x43d21f
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x43d4f0
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x624173
call fcn.00591ed0
int3
mov ecx, dword [edi + 4]
call fcn.00440c20
push edi
call fcn.00564ea0
add esp, 4
jmp 0x43d14e