Function at 0x41f520
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aade8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
push esi
push edi
mov eax, dword [0x4dc6e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x4af9b8
mov dword [ebp - 0x20], 0xffffffff
call fcn.0048faa4
mov dword [ebp - 0x14], eax
push 0x4af9b8
mov dword [ebp - 4], 0
call fcn.0048faa4
mov dword [ebp - 0x1c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x28], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x24], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x2c], eax
push 0x4af9b8
call fcn.0048faa4
mov dword [ebp - 0x30], eax
mov ecx, dword [0x4d59ac]
mov esi, 0x4af9b8
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
call fcn.0048faa4
mov dword [ebp - 0x34], eax
mov eax, dword [0x4d59ac]
test eax, eax
cmovne esi, eax
push esi
call fcn.0048faa4
mov dword [ebp - 0x10], eax
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push dword [ebp - 0x20]
push 2
push dword [ebp + 8]
call fcn.00403eb0
add esp, 0x64
mov dword [ebp - 0x20], eax
push dword [ebp - 0x10]
call fcn.0048faf7
push dword [ebp - 0x34]
call fcn.0048faf7
push dword [ebp - 0x30]
call fcn.0048faf7
push dword [ebp - 0x2c]
call fcn.0048faf7
push dword [ebp - 0x24]
call fcn.0048faf7
push dword [ebp - 0x28]
call fcn.0048faf7
push dword [ebp - 0x1c]
call fcn.0048faf7
push dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call fcn.0048faf7
add esp, 0x20
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x4c51ac
push 1
push 0
push 0x4c53bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41f814
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x54]
push eax
call esi
movdqu xmm0, xmmword [ebp - 0x54]
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 8
push eax
movdqu xmmword [ebp - 0x84], xmm0
call esi
movdqu xmm0, xmmword [ebp - 0x64]
lea eax, [ebp - 0x74]
push eax
movdqu xmmword [ebp - 0x94], xmm0
call esi
movdqu xmm0, xmmword [ebp - 0x74]
lea eax, [ebp - 0x44]
push eax
movdqu xmmword [ebp - 0xa4], xmm0
call esi
movdqu xmm0, xmmword [ebp - 0x84]
mov ecx, dword [ebp - 0x18]
sub esp, 0x10
mov eax, esp
mov byte [ebp - 4], 0xb
sub esp, 0x10
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0x94]
movdqu xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0xa4]
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [ebp - 0x44]
push ecx
movdqu xmmword [eax], xmm0
call dword [edx + 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, eax
lea eax, [ebp - 0x44]
push eax
call esi
lea eax, [ebp - 0x74]
push eax
call esi
lea eax, [ebp - 0x64]
push eax
call esi
lea eax, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
push eax
call esi
test edi, edi
js 0x41f80b
mov eax, dword [0x4de02c]
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x41f779
push 0
call eax
push 0x100
push dword [0x4de020]
call edi
push 0x4afa48
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0
call fcn.00403690
mov eax, dword [eax]
mov dword [ebp - 4], 0xc
test eax, eax
je 0x41f79e
mov edx, dword [eax]
jmp 0x41f7a0
xor edx, edx
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x10]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0048c930
test esi, esi
js 0x41f7f1
push dword [ebp - 0x10]
push ecx
mov ecx, esp
push 0x4af9b8
call fcn.00403690
push dword [0x4d59ac]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call fcn.0041d8e0
mov eax, dword [ebp - 0x10]
add esp, 0x14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [0x4de02c]
test eax, eax
je 0x41f80b
push 1
call eax
push 0x200
push dword [0x4de020]
call edi
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret