Function at 0x10001f80
Capabilities:
Get common file path
Schedule task via itaskservice

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001338c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x308
push esi
push edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x20]
push eax
push 0x100141b4
push 1
push 0
push 0x100141c4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x20]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
lea eax, [ebp - 0xe8]
push eax
call edi
mov dword [ebp - 4], 0
lea eax, [ebp - 0xd8]
movups xmm0, xmmword [ebp - 0xe8]
push eax
movups xmmword [ebp - 0x88], xmm0
call edi
movups xmm0, xmmword [ebp - 0xd8]
lea eax, [ebp - 0xc8]
push eax
movups xmmword [ebp - 0x98], xmm0
call edi
movups xmm0, xmmword [ebp - 0xc8]
lea eax, [ebp - 0xb8]
push eax
movups xmmword [ebp - 0xa8], xmm0
call edi
mov byte [ebp - 4], 3
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x88]
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0xa8]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0xb8]
push dword [ebp - 0x20]
movups xmmword [eax], xmm0
call esi
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xb8]
push eax
call esi
lea eax, [ebp - 0xc8]
push eax
call esi
lea eax, [ebp - 0xd8]
push eax
call esi
lea eax, [ebp - 0xe8]
mov dword [ebp - 4], 0xffffffff
push eax
call esi
mov eax, dword [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
call fcn.100018f0
mov dword [ebp - 4], 4
mov eax, dword [eax]
test eax, eax
je 0x100020cf
mov eax, dword [eax]
jmp 0x100020d1
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push eax
push dword [ebp - 0x20]
call esi
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1000212f
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000212f
test esi, esi
je 0x1000212f
mov eax, dword [esi]
test eax, eax
je 0x1000210d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10002124
push eax
call fcn.10002943
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10002948
add esp, 8
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
push edx
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x24]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x24]
movaps xmm0, xmmword [str.Microsoft_Corpor]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0x6f697461
mov word [ebp - 0x48], 0x6e
mov eax, dword [eax]
push 0xc
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x18], eax
call fcn.10002956
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 5
test esi, esi
je 0x100021a3
lea eax, [ebp - 0x5c]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call fcn.10002660
mov dword [esi], eax
jmp 0x100021a5
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], esi
test esi, esi
je 0x10002535
mov dword [ebp - 4], 6
push dword [esi]
push dword [ebp - 0x24]
call dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x1000220c
mov eax, dword [esi]
test eax, eax
je 0x100021ea
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10002201
push eax
call fcn.10002943
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10002948
add esp, 8
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x28]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x28]
push 3
push ecx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, dword [ebp - 0x28]
push 1
push ecx
mov eax, dword [ecx]
call dword [eax + 0x48]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [ebp - 0x2c]
push 0xffffffffffffffff
push ecx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp - 0x60]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x3c]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x24]
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x64]
push edx
push 9
push ecx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x40]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x44]
mov ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x44]
push edx
push 0
push ecx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x44]
lea edx, [ebp - 0x30]
push edx
push str.MbLk
push ecx
mov eax, dword [ecx]
call dword [eax]
push 0x104
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.10004010
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x100023b4
push 0x104
lea eax, [ebp - 0x318]
push 0
push eax
call fcn.10004010
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push str._s_tgp_daemon.exe
push 0xffffffffffffffff
lea eax, [ebp - 0x318]
push 0x104
push eax
call fcn.100018d0
mov eax, dword [ebp - 0x30]
add esp, 0x14
mov eax, dword [eax]
push 0xc
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x18], eax
call fcn.10002956
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 7
test esi, esi
je 0x1000234b
lea eax, [ebp - 0x318]
mov dword [esi + 4], 0
push eax
mov dword [esi + 8], 1
call fcn.10002660
mov dword [esi], eax
jmp 0x1000234d
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], esi
test esi, esi
je 0x1000253f
mov dword [ebp - 4], 8
push dword [esi]
push dword [ebp - 0x30]
call dword [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
mov eax, edi
lock xadd dword [esi + 8], eax
dec eax
jne 0x100023b4
mov eax, dword [esi]
test eax, eax
je 0x10002392
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100023a9
push eax
call fcn.10002943
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10002948
add esp, 8
mov eax, dword [ebp - 0x34]
push 0x10019c40
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
mov dword [ebp - 0x14], eax
mov eax, 8
mov word [ebp - 0x78], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x10002549
mov dword [ebp - 4], 9
lea eax, [ebp - 0x108]
movups xmm0, xmmword [ebp - 0x78]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
push eax
movups xmmword [ebp - 0xa8], xmm0
call esi
movups xmm0, xmmword [ebp - 0x108]
lea eax, [ebp - 0xf8]
push eax
movups xmmword [ebp - 0x98], xmm0
call esi
mov byte [ebp - 4], 0xb
movups xmm0, xmmword [ebp - 0xf8]
mov eax, dword [ebp - 0x1c]
push 0xc
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x18], eax
call fcn.10002956
mov esi, eax
add esp, 4
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10002461
push str.winost7_11
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.10002660
mov dword [esi], eax
jmp 0x10002463
xor esi, esi
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x38], esi
test esi, esi
je 0x10002553
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x68]
movups xmm0, xmmword [ebp - 0xa8]
push eax
sub esp, 0x10
mov eax, esp
push 3
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x98]
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [ebp - 0x88]
push 6
push dword [ebp - 0x18]
movups xmmword [eax], xmm0
push dword [esi]
push dword [ebp - 0x34]
call dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
lock xadd dword [esi + 8], edi
dec edi
jne 0x100024f6
mov ecx, dword [esi]
test ecx, ecx
je 0x100024d4
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100024eb
push eax
call fcn.10002943
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.10002948
add esp, 8
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0xf8]
push eax
call esi
lea eax, [ebp - 0x108]
push eax
call esi
lea eax, [ebp - 0x78]
push eax
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
xor eax, eax
cmp dword [ebp - 0x14], eax
pop edi
sete al
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.10002640
push 0x8007000e
call fcn.10002640
push 0x8007000e
call fcn.10002640
push 0x8007000e
call fcn.10002640
int3