Function at 0x409e69b7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x409f2284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x409e69e4
mov eax, 0x800401f0
jmp 0x409e6bc0
mov eax, 0x9c
call fcn.409ef750
mov esi, esp
xor edx, edx
cmp esi, edx
jne 0x409e6a00
mov eax, 0x8007000e
jmp 0x409e6bc0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x14]
lea ebx, [esi + 0x54]
mov dword [ebx], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], ecx
mov dword [esi + 0x64], ecx
mov dword [esi + 0x70], edx
mov dword [esi + 0x74], edx
cmp edi, 0xf0000000
jb 0x409e6a56
add edi, 0x10000000
or dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x94], 0xffff
mov dword [esi + 4], 0x409e3bc8
mov dword [esi + 8], 0x67
mov dword [esi + 0xc], 0x409f20d0
mov dword [esi + 0x78], edx
jmp 0x409e6ae9
xor ecx, ecx
inc ecx
push ecx
mov dword [esi + 0x5c], ecx
mov edx, dword [eax]
push 0x24
add eax, 4
push edx
mov dword [esi + 0x8c], edx
mov dword [esi + 0x58], eax
call sub.wow32.dll_WOWGetVDMPointer
mov dword [esi + 0x90], eax
test eax, eax
jne 0x409e6a87
mov eax, 0x80070057
jmp 0x409e6bc0
test byte [eax + 0x1c], 2
mov ecx, dword [eax + 0x20]
jne 0x409e6a96
test ecx, ecx
jne 0x409e6a98
jmp 0x409e6a7d
mov ecx, dword [ecx]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0x94], eax
mov eax, ecx
test eax, eax
jne 0x409e6ab4
mov eax, 0x80004005
jmp 0x409e6bc0
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x78], ecx
mov ecx, dword [esi + 0x94]
shl ecx, 4
mov edx, dword [ecx + 0x409e3430]
sub edx, 0xc
mov dword [esi + 4], edx
mov ecx, dword [ecx + 0x409e3434]
mov dword [esi + 8], ecx
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov ecx, dword [esi + 0x64]
mov dword [ecx], eax
add dword [esi + 0x64], 4
mov eax, dword [esi + 4]
mov eax, dword [eax + edi*4]
mov dword [esi], eax
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x94]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edi
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esi + 0x98], eax
test eax, eax
je 0x409e6aaa
mov eax, dword [eax + 0x40]
xor ecx, ecx
inc ecx
mov dword [esi + 0x7c], eax
mov dword [eax + 8], ecx
cmp dword [esi + 0x94], 0xffff
je 0x409e6b63
push ecx
push 0x24
lea edi, [esi + 0x8c]
push dword [edi]
call sub.wow32.dll_WOWGetVDMPointer
mov dword [esi + 0x90], eax
test byte [eax + 0x1c], 2
jne 0x409e6b63
push dword [edi]
mov ecx, dword [esi + 0x7c]
call fcn.409e4e92
mov eax, dword [esi + 0x68]
movzx eax, byte [eax]
and eax, 0x3f
push ebx
call dword [eax*4 + 0x409e1458]
cmp dword [esi + 0x94], 0xffff
mov ebx, eax
je 0x409e6ba9
push 1
push 0x24
lea edi, [esi + 0x8c]
push dword [edi]
call sub.wow32.dll_WOWGetVDMPointer
mov dword [esi + 0x90], eax
test byte [eax + 0x1c], 2
jne 0x409e6ba9
push dword [edi]
mov ecx, dword [esi + 0x7c]
call fcn.409e5365
mov eax, dword [esi + 0x7c]
and dword [eax + 8], 0
cmp dword [esi + 0x74], 0
jne 0x409e6bbe
push ebx
call sym.OLETHK32.dll_TransformHRESULT_3216
mov ebx, eax
mov eax, ebx
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.409ef71b
leave
ret 0xc