Function at 0x10007c30
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100181d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push dword [0x100181dc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x10007c5d
mov eax, 0x800401f0
jmp 0x10007e70
mov eax, 0x9c
call fcn.10017200
mov edi, esp
test edi, edi
jne 0x10007c77
mov eax, 0x8007000e
jmp 0x10007e70
mov edx, dword [ebp + 0x10]
lea eax, [edi + 0x14]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov dword [edi + 0x54], edx
mov dword [edi + 0x58], edx
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], eax
mov dword [edi + 0x70], esi
mov dword [edi + 0x74], esi
cmp ebx, 0xf0000000
jb 0x10007cd4
mov eax, 0x10002440
mov dword [edi + 0x94], 0xffff
mov ecx, 0x10001988
mov dword [edi + 4], eax
add ebx, sym.OLETHK32.dll_Ordinal_7
mov dword [edi + 8], 0x67
or dword [edi + 0x5c], 0xffffffff
mov edx, 0xffff
mov dword [edi + 0xc], ecx
mov dword [edi + 0x78], esi
jmp 0x10007d81
mov dword [edi + 0x5c], 1
lea eax, [edx + 4]
mov ecx, dword [edx]
push 1
mov dword [edi + 0x58], eax
mov dword [edi + 0x8c], ecx
mov esi, dword [0x100186d0]
push 0x24
push ecx
mov ecx, esi
call dword [0x10019344]
call esi
mov dword [edi + 0x90], eax
test eax, eax
jne 0x10007d12
mov eax, 0x80070057
jmp 0x10007e70
test byte [eax + 0x1c], 2
mov eax, dword [eax + 0x20]
jne 0x10007d21
test eax, eax
jne 0x10007d23
jmp 0x10007d08
mov eax, dword [eax]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x90]
mov edx, dword [edi + 0x10]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0x94], ecx
test edx, edx
jne 0x10007d46
mov eax, 0x80004005
jmp 0x10007e70
mov eax, dword [edi + 0x8c]
shl ecx, 4
mov dword [edi + 0x78], eax
mov eax, dword [ecx + 0x10001ba8]
sub eax, 0xc
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x10001bac]
mov dword [edi + 8], eax
mov eax, dword [edx]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x64]
mov dword [eax], edx
add dword [edi + 0x64], 4
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x94]
mov eax, dword [eax + ebx*4]
push dword [0x100181dc]
mov dword [edi], eax
mov dword [edi + 0x68], eax
mov eax, dword [ecx + ebx*4]
mov dword [edi + 0x6c], eax
mov dword [edi + 0x80], edx
mov dword [edi + 0x84], ebx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [edi + 0x98], eax
test eax, eax
je 0x10007d3c
mov eax, dword [eax + 0x40]
xor ecx, ecx
inc ecx
mov dword [edi + 0x7c], eax
mov dword [eax + 8], ecx
cmp dword [edi + 0x94], 0xffff
je 0x10007df9
mov esi, dword [0x100186d0]
push ecx
push 0x24
push dword [edi + 0x8c]
mov ecx, esi
call dword [0x10019344]
call esi
mov dword [edi + 0x90], eax
test byte [eax + 0x1c], 2
jne 0x10007df9
push dword [edi + 0x8c]
call fcn.1000661e
mov eax, dword [edi + 0x68]
lea ecx, [edi + 0x54]
push ecx
movzx eax, byte [eax]
and eax, 0x3f
mov esi, dword [eax*4 + 0x10001028]
mov ecx, esi
call dword [0x10019344]
call esi
cmp dword [edi + 0x94], 0xffff
mov ebx, eax
je 0x10007e59
mov esi, dword [0x100186d0]
mov ecx, esi
push 1
push 0x24
push dword [edi + 0x8c]
call dword [0x10019344]
call esi
mov dword [edi + 0x90], eax
test byte [eax + 0x1c], 2
jne 0x10007e59
push dword [edi + 0x8c]
mov ecx, dword [edi + 0x7c]
call fcn.100066b0
mov eax, dword [edi + 0x7c]
and dword [eax + 8], 0
cmp dword [edi + 0x74], 0
jne 0x10007e6e
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.100165d0
mov esp, ebp
pop ebp
ret 0xc