Function at 0x44fd10
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov esi, ecx
mov eax, dword [0x597010]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ecx], 0x57ad98
lea edi, [ecx + 4]
mov dword [ecx + 4], 0x57ada0
lea eax, [ebp - 0x18]
push eax
call fcn.00464070
add esp, 4
mov ebx, dword [ebp - 0x18]
lea ecx, [ebx + 0x1bc]
push esi
call fcn.0046a5f0
mov eax, ebx
shr eax, 0xe
mov ecx, ebx
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x59f9d0]
bt ecx, eax
jae 0x44fd6f
push ebx
call fcn.0042f1aa
add esp, 4
call fcn.00455590
mov ecx, eax
push 0
push edi
call fcn.004557d0
mov edi, dword [esi + 8]
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x44fd96
push edi
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov dword [ebp - 0x34], edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x44fdd9
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x1d0]
cmp edx, dword [esi + 0x14]
jne 0x44fdd9
mov edi, dword [ecx + 0x14]
mov dword [esi + 0xc], 0
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ebx, dword [eax + 8]
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [ebp - 0x14]
mov ecx, edi
push eax
push dword [ebp - 0x1c]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov ebx, dword [eax + 0x1a4]
test ebx, ebx
je 0x44fffa
mov edx, ebx
shr edx, 1
and edx, 0x55555555
mov eax, ebx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
cmp eax, 1
mov dword [ebp - 0x1c], eax
ja 0x44fe3a
lea edi, [ebx - 1]
and edi, ecx
jmp 0x44fe48
mov edi, ecx
cmp ecx, ebx
jb 0x44fe48
mov eax, ecx
xor edx, edx
div ebx
mov edi, edx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x1a0]
mov dword [ebp - 0x30], eax
mov eax, dword [eax + edi*4]
test eax, eax
je 0x44fffa
mov ebx, dword [eax]
test ebx, ebx
je 0x44fffa
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], esi
jmp 0x44fe8f
cmp dword [ebx + 8], ecx
je 0x44fecf
mov ebx, dword [ebx]
test ebx, ebx
je 0x44fffa
mov eax, dword [ebx + 4]
cmp eax, ecx
je 0x44fe80
cmp dword [ebp - 0x1c], 1
ja 0x44feb0
and eax, dword [ebp - 0x24]
jmp 0x44fec6
mov edx, dword [ebp - 0x20]
cmp eax, edx
jb 0x44fec6
mov esi, ecx
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov ecx, esi
mov esi, dword [ebp - 0x28]
cmp eax, edi
je 0x44fe85
jmp 0x44fffa
cmp dword [ebp - 0x1c], 1
ja 0x44feda
and ecx, dword [ebp - 0x24]
jmp 0x44feeb
mov edx, dword [ebp - 0x20]
cmp ecx, edx
jb 0x44feeb
mov eax, ecx
mov ecx, edx
xor edx, edx
div ecx
mov ecx, edx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + ecx*4]
nop word cs:[eax + eax]
mov edi, eax
mov eax, dword [eax]
cmp eax, ebx
jne 0x44ff00
mov eax, dword [ebp - 0x2c]
add eax, 0x1a8
cmp edi, eax
je 0x44ff3c
mov eax, dword [edi + 4]
cmp dword [ebp - 0x1c], 1
ja 0x44ff22
and eax, dword [ebp - 0x24]
jmp 0x44ff38
mov edx, dword [ebp - 0x20]
cmp eax, edx
jb 0x44ff38
mov esi, ecx
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov ecx, esi
mov esi, dword [ebp - 0x28]
cmp eax, ecx
je 0x44ff74
mov eax, dword [ebx]
test eax, eax
je 0x44ff6a
mov eax, dword [eax + 4]
cmp dword [ebp - 0x1c], 1
ja 0x44ff50
and eax, dword [ebp - 0x24]
jmp 0x44ff66
mov edx, dword [ebp - 0x20]
cmp eax, edx
jb 0x44ff66
mov esi, ecx
mov ecx, edx
xor edx, edx
div ecx
mov eax, edx
mov ecx, esi
mov esi, dword [ebp - 0x28]
cmp eax, ecx
je 0x44ff74
mov eax, dword [ebp - 0x30]
mov dword [eax + ecx*4], 0
mov edx, dword [ebx]
test edx, edx
je 0x44ff88
mov eax, dword [edx + 4]
cmp dword [ebp - 0x1c], 1
ja 0x44ff8c
and eax, dword [ebp - 0x24]
jmp 0x44ffa8
xor edx, edx
jmp 0x44ffba
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x20]
cmp eax, edx
jb 0x44ffa5
mov esi, ecx
mov ecx, edx
xor edx, edx
div ecx
mov ecx, esi
mov esi, dword [ebp - 0x28]
mov eax, edx
mov edx, dword [ebp - 0x1c]
cmp eax, ecx
je 0x44ffba
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x1a0]
mov dword [ecx + eax*4], edi
mov edx, dword [ebx]
mov dword [edi], edx
mov dword [ebx], 0
mov eax, dword [ebp - 0x2c]
dec dword [eax + 0x1ac]
test ebx, ebx
je 0x44fffa
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x44fff1
lock dec dword [edi + 4]
jne 0x44fff1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
call dword [section..00cfg]
mov ecx, edi
push 1
call dword [ebp - 0x1c]
push ebx
call fcn.00528424
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov edi, dword [esi + 8]
push dword [0x599b44]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x450034
mov ecx, dword [edi + 0x188]
mov dword [eax + ecx*8], 0
mov ecx, dword [edi + 0x188]
mov edx, dword [edi + 0x18c]
mov dword [eax + ecx*8 + 4], edx
mov edi, dword [esi + 0xc]
mov dword [esi + 0xc], 0
test edi, edi
je 0x450052
mov ecx, edi
call fcn.00485150
push edi
call fcn.00528424
add esp, 4
mov eax, dword [esi + 8]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x59f9d0]
bt edx, ecx
jae 0x450074
push eax
call fcn.0042f1aa
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528e13
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret