Function at 0x1001764f
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10086700
mov eax, dword fs:[0]
push eax
mov eax, 0x46f4
call fcn.1006e430
mov eax, dword [0x100c3360]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x46e8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x46ec], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x46e4], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x46d8], eax
mov dword [ebp - 0x46f0], ebx
mov dword [ebp - 0x46e0], ebx
mov dword [ebp - 0x4700], ebx
call fcn.1000a31c
xor ecx, ecx
test al, al
jne 0x100176e1
lea edx, [ecx + 1]
lea eax, [ecx + 1]
mov ecx, 0xe2
dec ecx
lea esi, [eax + edx]
lea edx, [eax]
mov eax, esi
jns 0x100176cf
mov dword [0x100c47a0], esi
jmp 0x100176e7
mov esi, dword [0x100c47a0]
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
push 0xc
cdq
pop ecx
idiv ecx
push 4
pop eax
cmp edx, eax
jne 0x1001776b
mov eax, esi
cdq
sub eax, edx
mov edi, eax
mov dword [ebp - 0x46cc], 0xb5
mov eax, dword [ebp - 0x46cc]
mov ecx, ebx
sar edi, 1
test edi, edi
jle 0x10017766
mov eax, esi
cdq
and edx, 3
add eax, edx
sar eax, 2
mov edx, edi
mov dword [ebp - 0x46d4], edi
test eax, eax
jle 0x10017753
mov edx, ebx
mov dword [ebp - 0x46d0], eax
add dword [ebp - 0x46cc], edx
dec edx
dec dword [ebp - 0x46d0]
jne 0x1001773e
mov edx, dword [ebp - 0x46d4]
add ebx, ecx
dec edx
mov dword [ebp - 0x46d4], edx
jne 0x10017732
mov eax, dword [ebp - 0x46cc]
xor ebx, ebx
inc ecx
cmp ecx, eax
jl 0x1001771b
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x46e4]
push ebx
push 0xfde9
call edi
mov esi, dword [0x100c47a0]
mov ebx, eax
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
push 0x12
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x46dc], ebx
cmp edx, 3
jne 0x100177cf
push 0x64
pop ecx
mov eax, esi
cdq
idiv ecx
xor ecx, ecx
push 4
lea eax, [edx + 0x63]
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
push eax
call fcn.1006dc4d
pop ecx
pop ecx
xor ecx, ecx
push 2
pop edx
mov eax, ebx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
pop ecx
push dword [ebp - 0x46dc]
mov ebx, eax
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x46e4]
xor esi, esi
push esi
push 0xfde9
call edi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x46e8]
push esi
push 0xfde9
call edi
xor ecx, ecx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
pop ecx
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 0x46e8]
xor esi, esi
push esi
push 0xfde9
mov dword [ebp - 0x46d4], eax
call edi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x46ec]
push esi
push 0xfde9
call edi
xor ecx, ecx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
pop ecx
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 0x46ec]
xor esi, esi
push esi
push 0xfde9
mov dword [ebp - 0x46fc], eax
call edi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x46d8]
push esi
push 0xfde9
call edi
xor ecx, ecx
push 2
pop edx
mov esi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006c443
pop ecx
push esi
push eax
push 0xffffffffffffffff
push dword [ebp - 0x46d8]
mov dword [ebp - 0x46f4], eax
push 0
push 0xfde9
call edi
push 0x100c4784
lea ecx, [ebp - 0x46dc]
call fcn.10002171
mov eax, dword [ebp - 0x46e4]
mov esi, dword [ebp - 0x46ec]
and dword [ebp - 4], 0
push eax
push eax
push esi
push dword [ebp - 0x46e8]
lea eax, [ebp - 0x46dc]
push str.csInstallPath___s__csParameters___s__csTaskName___s__csAccount___s_
push eax
call fcn.1001754f
mov edx, dword [0x100c47a0]
add esp, 0x18
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
push 0x18
cdq
pop ecx
idiv ecx
cmp edx, 0x10
jne 0x1001793a
push 0xee
push 0xed
push str._d__d_n
call fcn.1006dc67
add esp, 0xc
lea eax, [ebp - 0x46d0]
push eax
push 0x1008c6d4
push 1
push 0
push 0x1008c6f4
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x46d0]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x46d0]
lea edx, [ebp - 0x46cc]
mov ecx, dword [eax]
push edx
push 0x1008c6c4
push 0x1008c6e4
push ebx
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x46cc]
mov edi, dword [ebp - 0x46d4]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x80]
push esi
call fcn.1006d400
pop ecx
test eax, eax
je 0x100179b6
mov eax, dword [ebp - 0x46cc]
push dword [ebp - 0x46fc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x46cc]
xor esi, esi
mov ecx, dword [eax]
push esi
push dword [ebp - 0x46f4]
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x46cc]
push 0x2000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x46cc]
push 0xfffffffffffffffe
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x46cc]
lea edx, [ebp - 0x46f8]
mov ecx, dword [eax]
push edx
push 0x100b31b4
push eax
call dword [ecx]
mov eax, dword [ebp - 0x46f8]
push 1
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x18]
call fcn.100182b0
test al, al
jne 0x10017a42
mov edx, dword [0x100c47a0]
mov ecx, esi
mov eax, dword [ebp + ecx*4 - 0x4698]
imul eax, eax, 0xc4
add edx, eax
inc ecx
cmp ecx, 0x248
jb 0x10017a24
mov dword [0x100c47a0], edx
mov eax, dword [ebp - 0x46cc]
lea edx, [ebp - 0x46f0]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x4700]
push edx
push eax
call dword [ecx + 0xc]
mov ecx, dword [0x100c47a0]
mov eax, ecx
imul eax, ecx
cdq
mov dword [ebp - 0x46d8], 0xd
idiv dword [ebp - 0x46d8]
cmp edx, 6
jne 0x10017a84
inc ecx
mov dword [0x100c47a0], ecx
push 0x30
pop eax
push eax
lea eax, [ebp - 0x46c8]
push esi
push eax
call fcn.1006de50
mov esi, dword [0x100c47a0]
add esp, 0xc
lea ecx, [esi + 1]
lea eax, [esi + 2]
imul eax, ecx
imul eax, esi
push 0x14
cdq
pop ecx
idiv ecx
cmp edx, 0x11
jne 0x10017ad5
xor ecx, ecx
mov eax, dword [ebp + ecx*4 - 0x4450]
imul eax, eax, 0xf4
add esi, eax
inc ecx
cmp ecx, 0xac
jb 0x10017ab7
mov dword [0x100c47a0], esi
push 0x30
imul esi, esi
pop eax
mov word [ebp - 0x46c8], ax
mov eax, 0x7dc
mov word [ebp - 0x46c4], ax
xor eax, eax
inc eax
mov word [ebp - 0x46c2], ax
mov word [ebp - 0x46c0], ax
push 0xa
mov eax, esi
cdq
pop ecx
idiv ecx
push 2
pop eax
mov dword [ebp - 0x46a8], 7
cmp edx, eax
jne 0x10017b85
xor eax, eax
push 0x4390
push eax
mov word [ebp - 0x43a4], ax
lea eax, [ebp - 0x43a2]
push eax
call fcn.1006de50
add esp, 0xc
xor edi, edi
xor esi, esi
xor edx, edx
test edi, edi
je 0x10017b64
test edx, edx
je 0x10017b64
lea eax, [esi + edx]
lea ecx, [esi + edx]
mov ax, word [ebp + eax*2 - 0x445e]
inc ax
add ax, word [ebp + ecx*2 - 0x43a6]
mov word [ebp + ecx*2 - 0x43a4], ax
inc edx
cmp edx, 0x5d
jl 0x10017b3c
add esi, 0x5d
inc edi
cmp esi, 0x21c9
jl 0x10017b3a
movsx eax, word [ebp - 0x14]
mov edi, dword [ebp - 0x46d4]
mov dword [0x100c47a0], eax
mov eax, dword [ebp - 0x46f0]
lea edx, [ebp - 0x46c8]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [0x100c47a0]
imul eax, eax
push 0x14
cdq
pop ecx
idiv ecx
cmp edx, dword [ebp - 0x46d8]
jne 0x10017bb8
call fcn.1006daf8
mov dword [0x100c47a0], eax
mov eax, dword [ebp - 0x46cc]
lea edx, [ebp - 0x46e0]
mov ecx, dword [eax]
push edx
push 0x100b31b4
push eax
call dword [ecx]
mov eax, dword [ebp - 0x46e0]
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x46cc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x46e0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x46f8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x46d0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push ebx
call fcn.1006dc4d
push edi
call fcn.1006dc4d
push dword [ebp - 0x46fc]
call fcn.1006dc4d
push dword [ebp - 0x46f4]
call fcn.1006dc4d
mov ecx, dword [ebp - 0x46dc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.10001efd
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006d48b
leave
ret