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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x538
push 0x208
push 0
lea eax, [ebp - 0x330]
push eax
call fcn.004082f0
add esp, 0xc
mov ecx, 0x5c
mov word [ebp - 0x38], cx
xor edx, edx
mov word [ebp - 0x36], dx
push 0x208
push 0
lea eax, [ebp - 0x538]
push eax
call fcn.004082f0
add esp, 0xc
mov ecx, 0x50
mov word [ebp - 0x44], cx
mov edx, 0x54
mov word [ebp - 0x42], dx
mov eax, 0x30
mov word [ebp - 0x40], ax
mov ecx, 0x53
mov word [ebp - 0x3e], cx
xor edx, edx
mov word [ebp - 0x3c], dx
mov dword [ebp - 0x48], 0x104
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
push 0x104
lea eax, [ebp - 0x538]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x330]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 6
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x10]
push eax
push 0x41d82c
push 1
push 0
push 0x41d83c
call dword [sym.imp.ole32.dll_CoCreateInstance]
nop
lea ecx, [ebp - 0xf8]
call fcn.004060f0
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x54], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x50], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x4c], edx
lea ecx, [ebp - 0xe8]
call fcn.004060f0
mov ecx, dword [eax]
mov dword [ebp - 0x68], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x64], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x60], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x5c], edx
lea ecx, [ebp - 0xd8]
call fcn.004060f0
mov ecx, dword [eax]
mov dword [ebp - 0x78], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x74], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x70], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x6c], edx
lea ecx, [ebp - 0xc8]
call fcn.004060f0
mov ecx, dword [eax]
mov dword [ebp - 0x88], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x84], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x80], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x7c], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x58]
mov dword [eax], ecx
mov edx, dword [ebp - 0x54]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x68]
mov dword [eax], ecx
mov edx, dword [ebp - 0x64]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x60]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x5c]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x78]
mov dword [eax], ecx
mov edx, dword [ebp - 0x74]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x70]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov edx, dword [ebp - 0x84]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x80]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc8]
call fcn.00406110
lea ecx, [ebp - 0xd8]
call fcn.00406110
lea ecx, [ebp - 0xe8]
call fcn.00406110
lea ecx, [ebp - 0xf8]
call fcn.00406110
nop
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 4], eax
push 0xffffffffffffffff
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x58]
call edx
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x48]
call eax
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x40]
call ecx
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 0x70]
call eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x24]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 9
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x28]
call ecx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x20]
push edx
push 0x41d84c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 4], eax
cmp dword [0x425f48], 0
je 0x4064ab
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x3c]
call edx
push 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 0x48]
call eax
nop
lea ecx, [ebp - 0x330]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 0x5c]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x44]
call ecx
mov dword [ebp - 4], eax
lea edx, [ebp - 0x28]
push edx
push 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 0x30]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x2c]
push ecx
push str.MbLk
mov edx, dword [ebp - 0x28]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x538]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [edx + 0x2c]
call ecx
mov dword [ebp - 4], eax
push 0x41d740
lea ecx, [ebp - 0x128]
call fcn.004060a0
mov edx, dword [eax]
mov dword [ebp - 0x98], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x94], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x90], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x118]
call fcn.004060f0
mov ecx, dword [eax]
mov dword [ebp - 0xa8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xa4], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa0], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x9c], edx
lea ecx, [ebp - 0x108]
call fcn.004060f0
mov ecx, dword [eax]
mov dword [ebp - 0xb8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0xb4], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xac], edx
lea eax, [ebp - 0x34]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x98]
mov dword [ecx], edx
mov eax, dword [ebp - 0x94]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x90]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x8c]
mov dword [ecx + 0xc], eax
push 3
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xa8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xa4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xa0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xb8]
mov dword [ecx], edx
mov eax, dword [ebp - 0xb4]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xb0]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xac]
mov dword [ecx + 0xc], eax
push 6
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [str.Java_V3]
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x44]
call eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x108]
call fcn.00406110
lea ecx, [ebp - 0x118]
call fcn.00406110
lea ecx, [ebp - 0x128]
call fcn.00406110
nop
cmp dword [ebp - 0xc], 0
je 0x406682
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 0x14], 0
je 0x406697
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 0x18], 0
je 0x4066ac
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x1c], 0
je 0x4066c1
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 0x20], 0
je 0x4066d6
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 0x24], 0
je 0x4066eb
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x28], 0
je 0x406700
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 0x2c], 0
je 0x406715
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 0x10], 0
je 0x40672a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
nop
cmp dword [ebp - 0x30], 0
je 0x40673f
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 8]
call ecx
nop
cmp dword [ebp - 8], 0
je 0x406754
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
nop
cmp dword [ebp - 0x34], 0
je 0x406769
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 8]
call eax
nop
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov esp, ebp
pop ebp
ret