Function at 0x10044c10
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x101149a1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e6198]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x34], 1
cmp ebx, dword [esp + 0x44]
je 0x10044d2c
jmp 0x10044c60
cmp ebp, dword [esp + 0x4c]
je 0x10044d2c
mov esi, dword [ebp]
mov edi, dword [ebx]
mov ecx, esi
call dword [0x101235ec]
test al, al
je 0x10044cab
mov ecx, edi
call dword [0x101235ec]
test al, al
je 0x10044ce9
mov ecx, edi
call dword [0x1012369c]
push eax
mov ecx, esi
call dword [0x1012369c]
push eax
call dword [0x101237cc]
add esp, 8
test eax, eax
setl al
test al, al
je 0x10044ce9
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x10044cc9
mov ecx, dword [ebp]
mov dword [eax], ecx
mov eax, dword [esp + 0x60]
add dword [eax + 4], 4
add ebp, 4
jmp 0x10044d20
test eax, eax
je 0x10044cd6
mov edx, dword [ebp]
mov dword [eax], edx
mov ecx, dword [esp + 0x60]
add dword [ecx + 4], 4
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov dword [eax + 8], ecx
add ebp, 4
jmp 0x10044d20
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
jae 0x10044d03
mov edx, dword [ebx]
mov dword [eax], edx
mov eax, dword [esp + 0x60]
add dword [eax + 4], 4
jmp 0x10044d1d
test eax, eax
je 0x10044d0f
mov ecx, dword [ebx]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
add dword [ecx + 4], 4
mov eax, dword [esp + 0x60]
mov edx, dword [eax + 4]
mov dword [eax + 8], edx
add ebx, 4
xor esi, esi
cmp ebx, dword [esp + 0x44]
jne 0x10044c60
mov edx, dword [esp + 0x44]
sub esp, 0x14
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x54], esp
push edx
mov dword [eax + 0x10], ecx
lea eax, [esp + 0x30]
push ebx
push eax
call fcn.10044960
mov edi, dword [esp + 0x38]
mov ecx, dword [eax + 0x10]
mov ebx, dword [0x1012379c]
add esp, 0x20
mov dword [esp + 0x60], ecx
cmp edi, esi
je 0x10044d9f
mov edx, dword [0x101237bc]
mov eax, dword [edx]
mov esi, dword [0x101e7834]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
push edi
push ecx
push eax
mov eax, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
push esi
call eax
add esp, 0xc
mov ecx, eax
call ebx
xor esi, esi
mov edx, dword [esp + 0x4c]
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x58], esp
push edx
push ebp
mov ebp, dword [esp + 0x58]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov ecx, dword [esp + 0x7c]
push ebp
mov dword [eax + 0x10], ecx
call fcn.10044960
add esp, 0x20
mov edi, dword [esp + 0x50]
mov dword [esp + 0x14], 1
mov byte [esp + 0x34], 0
test edi, edi
je 0x10044e0f
mov eax, dword [0x101237bc]
mov ecx, dword [eax]
mov esi, dword [0x101e7834]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esi + 4]
mov edx, dword [eax + 4]
push edi
push ecx
push eax
mov eax, dword [edx + ecx*4]
lea edx, [edx + ecx*4]
push esi
call eax
add esp, 0xc
mov ecx, eax
call ebx
mov eax, ebp
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret