Function at 0x443d20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [0x646040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x64984c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x657090]
cmp ecx, dword [eax + 4]
jg 0x443ecc
push dword [0x6480b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x443f1b
mov ecx, dword [0x657088]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x65708c]
jne 0x443f1b
cmp dword [eax + ecx*8], 0
je 0x443f1b
push dword [0x6480b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
and eax, 0xfffffffc
je 0x443dc6
mov ecx, dword [0x657088]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x65708c]
jne 0x443dc6
mov edi, dword [eax + ecx*8]
lea edx, [edi + 4]
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [ebp - 0x30], edi
je 0x443eac
mov edi, esi
mov ebx, edx
mov eax, edx
mov esi, dword [ebp - 0x18]
xor edx, edx
cmp dword [ecx + 0x10], esi
setb dl
cmovae eax, ecx
mov ecx, dword [ecx + edx*4]
test ecx, ecx
jne 0x443de0
mov edx, ebx
cmp eax, ebx
mov esi, edi
je 0x443eac
mov ecx, dword [ebp - 0x18]
cmp dword [eax + 0x10], ecx
ja 0x443eac
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x44411c
mov edi, esi
mov dword [ebp - 0x14], 0
mov esi, dword [ecx]
test esi, esi
je 0x444110
xor eax, eax
inc eax
lock xadd dword [esi], eax
test eax, eax
jle 0x444113
mov dword [ebp - 0x20], edx
cmp eax, 0x7fffffff
je 0x444116
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
call dword [0x6401dc]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push edi
push esi
call ecx
add esp, 0x14
mov ebx, eax
lock dec dword [esi]
je 0x444135
test bl, bl
mov ebx, dword [ebp - 0x18]
jne 0x443e87
push dword [ebp - 0x2c]
push dword [ebp - 0x34]
push edi
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x14], eax
cmp edi, 2
mov esi, dword [ebp - 0x20]
je 0x444075
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567335
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
cmp esi, 1
je 0x443fc6
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567335
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_DefWindowProcW]
push 0x657090
call fcn.00565714
add esp, 4
cmp dword [0x657090], 0xffffffff
jne 0x443d69
mov dword [0x65708c], 0
mov dword [0x657088], 0xffffffff
mov ecx, 0x657088
push 0x443c60
call fcn.00423450
push 0x657090
call fcn.00565763
add esp, 4
jmp 0x443d69
mov dword [ebp - 0x28], esi
push 0xc
call fcn.00564055
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 [0x6480b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x443f5d
mov ecx, dword [0x657088]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x65708c]
jne 0x443f5d
mov edi, dword [eax + ecx*8]
push dword [0x6480b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
jne 0x443f77
test esi, esi
je 0x443f90
call fcn.0041d680
mov ecx, dword [0x657088]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x65708c]
mov edx, dword [0x657088]
mov dword [eax + edx*8 + 4], ecx
test edi, edi
mov esi, dword [ebp - 0x28]
je 0x443d9e
jmp 0x444146
mov eax, dword [ebx]
mov dword [ebp - 0x24], ebx
jmp 0x443fd8
mov ebx, eax
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0x10], eax
ja 0x443fa0
jae 0x444143
mov eax, dword [ebx + 4]
test eax, eax
jne 0x443fa7
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
jmp 0x443fdc
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], eax
mov eax, dword [edx]
mov dword [ebp - 0x24], edx
mov ebx, edx
test eax, eax
jne 0x443fa7
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], esi
push 0x18
call fcn.00564055
add esp, 4
mov esi, eax
add eax, 0x10
je 0x444126
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
mov edi, dword [ebp - 0x1c]
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x64e810]
bt ecx, eax
jae 0x444067
push edi
call fcn.004f4df0
add esp, 4
mov dword [esi + 0x14], edi
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov ecx, dword [ebp - 0x24]
mov dword [ecx], esi
mov edi, dword [ebp - 0x30]
mov eax, dword [edi]
mov eax, dword [eax]
test eax, eax
je 0x444042
mov dword [edi], eax
mov esi, dword [ecx]
push esi
push dword [edi + 4]
call fcn.00541870
add esp, 8
inc dword [edi + 8]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
mov esi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
jne 0x443e15
jmp 0x443eb5
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x656810], 1
jmp 0x444021
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
mov eax, dword [esi]
test eax, eax
mov edi, dword [ebp - 0x30]
je 0x444119
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 0x44408e
cmp esi, dword [ebp - 0x20]
je 0x444119
cmp dword [esi + 0x10], ebx
ja 0x444119
mov edx, dword [esi + 4]
test edx, edx
jne 0x444106
mov edx, esi
mov ecx, dword [edx + 8]
cmp dword [ecx], edx
mov edx, ecx
jne 0x4440b3
lea ebx, [esi + 0x10]
cmp dword [edi], esi
jne 0x4440c5
mov dword [edi], ecx
dec dword [edi + 8]
push esi
push eax
call fcn.00509490
add esp, 8
test ebx, ebx
je 0x44411f
mov eax, dword [esi + 0x14]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x64e810]
bt edx, ecx
jae 0x4440f8
push eax
call fcn.004f4f20
add esp, 4
push esi
call fcn.00564050
add esp, 4
jmp 0x443e93
mov ecx, edx
mov edx, dword [edx]
test edx, edx
je 0x4440bc
jmp 0x444106
int3
int3
int3
int3
int3
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x44412b
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x624e92
call fcn.005912b0
push esi
call fcn.004f1840
add esp, 4
jmp 0x443e6f
int3
mov ecx, dword [edi + 4]
call fcn.00443c80
push edi
call fcn.00564050
add esp, 4
jmp 0x443d9e