Function at 0x439464
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x43958e
lea eax, [ebp + 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x439512
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x4394ef
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x4394ed
push 1
push 1
push 1
call fcn.0043857b
add esp, 0xc
jmp 0x439510
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x439510
push 1
push 0
push 1
push 0x712e
push 0
call fcn.00431c71
add esp, 0x14
jmp 0x439589
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
test eax, eax
je 0x439558
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x439556
push 0
push 0x79eb
push 0
push 0x3fc5
call fcn.004386cf
add esp, 0x10
jmp 0x439589
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x60]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x88]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
jmp 0x4396ee
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x4396e6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x4396b4
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x43964a
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
lea eax, [eax + ecx + 0x415d]
test eax, eax
je 0x43964a
mov dword [ebp - 0xc], 1
jmp 0x43964e
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0xe6f7fbf2
ja 0x439660
mov dword [ebp - 0x18], 1
jmp 0x439664
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x84]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x18]
jg 0x43967a
mov dword [ebp - 0x10], 1
jmp 0x43967e
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 1
jae 0x43968d
mov dword [ebp - 0x14], 1
jmp 0x439691
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x63ab
jl 0x4396a3
mov dword [ebp - 0x1c], 1
jmp 0x4396a7
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x4396e4
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x4396e4
push 0x1563
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x4396ee
push 0
call fcn.0042fc8a
pop ecx
mov esp, ebp
pop ebp
ret