Function at 0x44ac9d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x44ad17
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x44acf4
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
push 1
push dword [ebp - 0x40]
push dword [ebp - 0xac]
call fcn.0044af81
add esp, 0xc
jmp 0x44ad12
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x88], eax
push 0x5328
push 0
push dword [ebp - 0x88]
call fcn.0045c974
add esp, 0xc
jmp 0x44af7d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x44af75
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax]
test eax, eax
je 0x44adc6
push 0x1054
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x44af73
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x44af42
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x44aef6
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax], 2
jle 0x44ae6e
mov dword [ebp - 0x18], 1
jmp 0x44ae72
and dword [ebp - 0x18], 0
push 1
mov ecx, dword [ebp - 8]
call fcn.00437a47
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [eax]
jle 0x44ae8c
mov dword [ebp - 0x20], 1
jmp 0x44ae90
and dword [ebp - 0x20], 0
push 2
mov ecx, dword [ebp - 8]
call fcn.00437a47
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax]
je 0x44aead
mov dword [ebp - 0x94], 1
jmp 0x44aeb4
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 4]
push 8
pop ecx
sub ecx, dword [eax]
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
push 1
mov ecx, dword [ebp - 8]
call fcn.00437a47
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
push 1
mov ecx, dword [ebp - 8]
call fcn.00437a47
cmp dword [eax], 0
jne 0x44aef6
and dword [ebp - 0x10], 0
jmp 0x44aefd
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x10], 1
jne 0x44af17
mov dword [ebp - 0x1c], 1
jmp 0x44af1b
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx]
jle 0x44af42
push 1
mov ecx, dword [ebp - 8]
call fcn.00437a47
cmp dword [eax], 0
je 0x44af42
mov dword [ebp - 0x14], 1
jmp 0x44af46
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
sub ecx, dword [eax]
cmp ecx, 4
jb 0x44af67
mov dword [ebp - 0x2c], 1
jmp 0x44af6b
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
jmp 0x44af7d
push 0
call fcn.004459c7
pop ecx
mov esp, ebp
pop ebp
ret