Function at 0x44b740
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 [0x64a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x64d82c]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [0x65b050]
cmp ecx, dword [eax + 4]
jg 0x44badb
push dword [0x64c0b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x44b842
mov ecx, dword [0x65b048]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x65b04c]
jne 0x44b842
cmp dword [eax + ecx*8], 0
je 0x44b842
push dword [0x64c0b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor edi, edi
and eax, 0xfffffffc
je 0x44b7e6
mov ecx, dword [0x65b048]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x65b04c]
jne 0x44b7e6
mov edi, dword [eax + ecx*8]
lea edx, [edi + 4]
mov ecx, dword [edi + 4]
test ecx, ecx
mov dword [ebp - 0x30], edi
je 0x44b822
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 0x44b7fc
mov edx, esi
cmp eax, esi
mov esi, ebx
je 0x44b822
mov ecx, dword [ebp - 0x18]
cmp dword [eax + 0x10], ecx
jbe 0x44b996
cmp esi, 1
je 0x44b8c7
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
jmp dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0x28], esi
push 0xc
call fcn.0057dc30
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 [0x64c0b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x44b884
mov ecx, dword [0x65b048]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x65b04c]
jne 0x44b884
mov edi, dword [eax + ecx*8]
push dword [0x64c0b0]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
jne 0x44b89e
test esi, esi
je 0x44b8b7
call fcn.00421b30
mov ecx, dword [0x65b048]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x65b04c]
mov edx, dword [0x65b048]
mov dword [eax + edx*8 + 4], ecx
test edi, edi
mov esi, dword [ebp - 0x28]
je 0x44b7be
jmp 0x44bb60
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
je 0x44b901
mov ebx, eax
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0x10], eax
jbe 0x44b8ee
mov eax, dword [ebx]
mov dword [ebp - 0x24], ebx
jmp 0x44b8d9
jae 0x44bb39
mov eax, dword [ebx + 4]
test eax, eax
jne 0x44b8dd
lea eax, [ebx + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], esi
push 0x18
call fcn.0057dc30
add esp, 4
mov esi, eax
add eax, 0x10
je 0x44bb51
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 + 0x6527ec]
bt ecx, eax
jae 0x44b988
push edi
call fcn.00506e00
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 0x44b967
mov dword [edi], eax
mov esi, dword [ecx]
push esi
push dword [edi + 4]
call fcn.00564ff0
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 0x44b9a1
jmp 0x44b82b
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x65a7ec], 1
jmp 0x44b946
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x44bb36
mov edi, esi
mov dword [ebp - 0x14], 0
mov esi, dword [ecx]
test esi, esi
je 0x44bb2a
xor eax, eax
inc eax
lock xadd dword [esi], eax
test eax, eax
jle 0x44bb2d
mov dword [ebp - 0x20], edx
cmp eax, 0x7fffffff
je 0x44bb30
mov dword [ebp - 0x1c], ecx
mov eax, dword [ecx]
mov ecx, dword [eax + 4]
call dword [0x6445dc]
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 0x44bb3c
test bl, bl
mov ebx, dword [ebp - 0x18]
jne 0x44ba13
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
je 0x44ba31
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005810d5
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0
mov esi, dword [ebp - 0x20]
mov eax, dword [esi]
test eax, eax
je 0x44bb33
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 0x44ba4a
cmp esi, dword [ebp - 0x20]
je 0x44bb33
cmp dword [esi + 0x10], ebx
ja 0x44bb33
mov edx, dword [esi + 4]
test edx, edx
jne 0x44bad1
mov edx, esi
mov ecx, dword [edx + 8]
cmp dword [ecx], edx
mov edx, ecx
jne 0x44ba77
lea edi, [esi + 0x10]
mov edx, dword [ebp - 0x30]
cmp dword [edx], esi
jne 0x44ba8c
mov dword [edx], ecx
dec dword [edx + 8]
push esi
push eax
call fcn.0051c2b0
add esp, 8
test edi, edi
je 0x44bb4a
mov eax, dword [esi + 0x14]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x6527ec]
bt edx, ecx
jae 0x44bac3
push eax
call fcn.00506f30
add esp, 4
push esi
call fcn.0057dc2b
add esp, 4
jmp 0x44ba18
mov ecx, edx
mov edx, dword [edx]
test edx, edx
je 0x44ba80
jmp 0x44bad1
push 0x65b050
call fcn.0057dc73
add esp, 4
cmp dword [0x65b050], 0xffffffff
jne 0x44b789
mov dword [0x65b04c], 0
mov dword [0x65b048], 0xffffffff
mov ecx, 0x65b048
push 0x44f5e0
call fcn.004302d0
push 0x65b050
call fcn.0057dcc2
add esp, 4
jmp 0x44b789
int3
int3
int3
int3
int3
int3
push esi
call fcn.00502690
add esp, 4
jmp 0x44b9fb
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:66:_assertion___loc___nullptr_failed:_null_pointer_given_to_destroy_at_n
jmp 0x44bb56
push str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
push 0x62a183
call fcn.005aacb0
mov ecx, dword [edi + 4]
call fcn.0044f600
push edi
call fcn.0057dc2b
add esp, 4
jmp 0x44b7be