Function at 0x1000383c
Capabilities:
Get session user name
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x44], edx
mov esi, ecx
call fcn.10004716
test al, al
je 0x1000385a
xor al, al
jmp 0x10003c2c
xor ebx, ebx
push 0x104
push ebx
mov edi, ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x38], eax
call esi
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
add eax, 0x618
push eax
mov dword [ebp - 0x4c], eax
call esi
push dword [ebp - 0x44]
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x38]
mov dword [ebp - 0x48], 0x104
push 2
call dword [sym.imp.Secur32.dll_GetUserNameExW]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test al, al
je 0x10003c01
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, eax
test edi, edi
js 0x10003c01
push ebx
push ebx
push ebx
push 3
push 6
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x18]
push eax
push 0x10006248
xor eax, eax
inc eax
push eax
push ebx
push 0x10006458
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test edi, edi
js 0x10003bfb
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
sub esp, 0x10
mov eax, dword [ebp - 0x18]
mov edi, esp
lea esi, [ebp - 0x5c]
sub esp, 0x10
mov ecx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x5c]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x5c]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x5c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x28]
mov edi, eax
test edi, edi
js 0x10003bec
push 0x10007314
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x18]
push edx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push esi
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x10003bec
mov eax, dword [ebp - 0x34]
push ebx
push dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 8]
push edx
mov dword [ebp - 8], ebx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
js 0x10003be3
mov eax, dword [ebp - 8]
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edi, eax
test edi, edi
js 0x10003be3
mov eax, dword [ebp - 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebp - 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0xc]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edi, eax
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], ebx
push 9
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
mov edi, eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x14], ebx
push 0x100062f8
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x14]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x38]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov edi, eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x10003bda
cmp byte [ebp + 0xc], bl
je 0x10003aac
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edi, eax
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x24]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x48]
mov edi, eax
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edi, eax
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 0x2c], ebx
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
mov edi, eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 0x10], ebx
push str.MbLk
mov ecx, dword [eax]
push eax
call dword [ecx]
mov edi, eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
test edi, edi
jns 0x10003b31
push eax
call dword [ecx + 8]
jmp 0x10003bda
push dword [ebp - 0x44]
push eax
call dword [ecx + 0x34]
mov edi, eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test edi, edi
js 0x10003bda
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp byte [ebp + 0xc], bl
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x64], esi
lea esi, [ebp - 0x30]
push 8
pop eax
push esi
mov word [ebp - 0x6c], ax
lea esi, [ebp - 0x5c]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x30], ebx
cmove eax, ecx
sub esp, 0x10
mov edi, esp
mov ecx, dword [ebp - 0x34]
push 3
movsd dword es:[edi], dword [esi]
sub esp, 0x10
mov edx, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x5c]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
mov esi, eax
push 0x26
push dword [ebp - 8]
push dword [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x44]
mov edi, eax
test edi, edi
js 0x10003bda
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x5c]
push ebx
sub esp, 0x10
mov edi, esp
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x30]
mov edi, eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 1
test edi, edi
movzx ebx, bl
pop ecx
cmovns ebx, ecx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebp - 0x38]
call esi
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x44]
call esi
test bl, bl
jne 0x10003c2a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x10003c22
mov dword [eax], edi
mov ecx, dword [ebp - 0x4c]
call fcn.10003738
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret