Function at 0x100100b8
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072734
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x134
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x1001012a
lea eax, [ebp + 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x10010105
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x10010125
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x10010125
push 0
push 0
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x10010323
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0x5d34
mov dword [ebp - 0x2c], 0x10007d7c
cmp dword [ebp - 0x28], 0x5ded
jle 0x100101e6
and dword [ebp - 0x24], 0
jmp 0x10010170
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x245
jge 0x100101e6
and dword [ebp - 0x18], 0
jmp 0x10010186
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x58dd
jge 0x100101e4
and dword [ebp - 0x1c], 0
jmp 0x1001019c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x58e3
jge 0x100101e2
mov eax, dword [ebp - 0x24]
imul eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
lea ecx, [ebp - 0x80]
call fcn.1000ae7e
pop ecx
pop ecx
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.100183f5
push eax
call fcn.10059c69
pop ecx
lea ecx, [ebp - 0x80]
call fcn.100183eb
jmp 0x10010195
jmp 0x1001017f
jmp 0x10010169
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x5a60
jge 0x10010202
push dword [ebp - 0x2c]
call fcn.10059c69
pop ecx
jmp 0x1001021e
or dword [ebp - 4], 0xffffffff
jmp 0x10010228
mov dword [ebp - 0x48], 0x1dbb
cmp dword [ebp - 0x48], 0xea8
jge 0x100102d6
mov edx, 0x10007de4
mov ecx, 0x1061af38
call fcn.1001d234
and dword [ebp - 0x14], 0
jmp 0x10010258
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 7
jge 0x100102c4
push 0x1001d202
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov edx, 0x10007e10
mov ecx, 0x1061af38
call fcn.1001d234
mov ecx, eax
call fcn.1001859d
mov edx, 0x10007e08
mov ecx, eax
call fcn.1001d234
mov ecx, eax
call fcn.10018591
and dword [ebp - 0x20], 0
jmp 0x1001029e
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 7
jge 0x100102c2
imul eax, dword [ebp - 0x14], 0x1c
lea eax, [ebp + eax - 0x144]
mov ecx, dword [ebp - 0x20]
lea eax, [eax + ecx*4]
push eax
mov ecx, 0x1061aff0
call fcn.10018415
jmp 0x10010297
jmp 0x10010251
lea eax, [ebp - 0x144]
push eax
call fcn.1000ff5f
pop ecx
call fcn.10071d18
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
push 0
push 0x7481
push dword [ebp - 0x68]
push dword [ebp - 0x30]
push 0x2412
push dword [ebp - 0x34]
push 0x56f0
push 0x2145
push 0x67ae
push 0x4591
push 0x7b7
push dword [ebp - 0x3c]
push dword [ebp - 0x44]
push dword [ebp - 0x4c]
push 0x816
push dword [ebp - 0x54]
call fcn.1000fd50
add esp, 0x40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret