Function at 0x403ad0
Capabilities:
Get hostname
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x444690]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x4a8], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x4ac], eax
mov dword [ebp - 0x494], ebx
push str.GetLocalTime
push str.Kernel32.dll
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4bc], eax
test eax, eax
je 0x40415a
lea eax, [ebp - 0x494]
push eax
push 0x440788
push 1
push ebx
push 0x4407a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x40415a
mov eax, dword [ebp - 0x494]
test eax, eax
je 0x404160
push esi
lea ecx, [ebp - 0x4a4]
call fcn.00404240
mov byte [ebp - 4], 2
cmp dword [ebp + 0x10], ebx
jne 0x403bea
xor eax, eax
push 0x400
push eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x43a]
push eax
call fcn.00422330
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
add esp, 0xc
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x43c]
push eax
mov dword [ebp - 0x490], 0x201
call esi
push ecx
lea ecx, [ebp - 0x4a4]
call fcn.00404360
lea eax, [ebp - 0x43c]
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00404310
jmp 0x403bf0
mov esi, dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov eax, dword [ebp - 0x494]
push dword [ebp - 0x4a4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov dword [ebp - 0x498], 0
lea edx, [ebp - 0x498]
push edx
push 0x440778
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x494]
push 0x440798
push dword [ebp - 0x4a4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x20]
test eax, eax
mov eax, dword [ebp - 0x498]
jne 0x404128
test eax, eax
je 0x404128
lea edx, [ebp - 0x484]
push edx
mov dword [ebp - 0x484], 0
mov ecx, dword [eax]
push 0x440778
push eax
call dword [ecx]
mov ecx, eax
mov eax, dword [ebp - 0x484]
xor edx, edx
test ecx, ecx
cmovs eax, edx
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x404109
mov eax, dword [0x444008]
mov ecx, 0x444008
mov dword [ebp - 0x488], 0x200
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x480], edi
xor eax, eax
push 0x400
mov byte [ebp - 4], 5
push eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x43a]
push eax
call fcn.00422330
xorps xmm0, xmm0
xor eax, eax
add esp, 0xc
mov word [ebp - 0x38], ax
movq qword [ebp - 0x36], xmm0
movq qword [ebp - 0x2e], xmm0
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
cmp dword [ebp + 0x10], eax
jne 0x403d5d
lea eax, [ebp - 0x4b8]
push eax
lea eax, [ebp - 0x43c]
push eax
mov dword [ebp - 0x4b8], 0x201
call esi
test eax, eax
je 0x4040fe
lea eax, [ebp - 0x4b0]
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x4b0], 0x11
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x4040fe
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x480]
push str._s_s
push eax
call fcn.004047f0
mov edi, dword [ebp - 0x480]
add esp, 0x10
mov dword [ebp - 0x488], 0x2200
mov eax, dword [ebp - 0x484]
push dword [ebp - 0x488]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
test eax, eax
jne 0x4040fe
mov eax, dword [ebp - 0x484]
push 0
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x78]
test eax, eax
jne 0x4040fe
mov edx, dword [ebp - 0x4ac]
test edx, edx
je 0x403dc6
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x403da0
sub ecx, esi
sar ecx, 1
je 0x403dc6
mov eax, dword [ebp - 0x484]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
jne 0x4040fe
mov dword [ebp - 0x48c], 0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x48c]
push edx
lea edx, [ebp - 0x4b4]
mov dword [ebp - 0x4b4], 0
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x48c]
jne 0x4040f0
test eax, eax
je 0x4040f0
mov eax, dword [ebp - 0x484]
push 0xffffffffffffffff
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa8]
test eax, eax
je 0x403e32
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4040f4
push 0x2e
lea eax, [ebp - 0x47a]
push 0
push eax
call fcn.00422330
mov eax, 0x30
mov word [ebp - 0x47c], ax
xor eax, eax
add esp, 0xc
mov word [ebp - 0x44c], ax
mov dword [ebp - 0x442], eax
mov word [ebp - 0x43e], ax
lea eax, [ebp - 0x44c]
xorps xmm0, xmm0
push eax
movq qword [ebp - 0x44a], xmm0
call dword [ebp - 0x4bc]
movzx eax, word [ebp - 0x446]
mov word [ebp - 0x474], ax
movzx eax, word [ebp - 0x44a]
mov word [ebp - 0x476], ax
movzx eax, word [ebp - 0x44c]
mov word [ebp - 0x478], ax
lea eax, [ebp - 0x4a0]
push eax
lea eax, [ebp - 0x44c]
push eax
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
cmp dword [ebp + 0x10], 0
mov edx, 0x47868c00
mov eax, 0x23c34600
cmovne eax, edx
cdq
add dword [ebp - 0x4a0], eax
mov eax, dword [0x444008]
mov ecx, 0x444008
adc dword [ebp - 0x49c], edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x488], esi
mov ecx, 0x6c
mov byte [ebp - 4], 7
call fcn.00404890
test eax, eax
je 0x403f63
push 0x6c
push eax
lea ecx, [ebp - 0x488]
call fcn.004043f0
mov esi, dword [ebp - 0x488]
test eax, eax
je 0x403f63
cmp dword [esi - 0xc], 0
je 0x403f63
push esi
call fcn.0041fd41
cdq
add esp, 4
test edx, edx
jl 0x403f63
jg 0x403f49
test eax, eax
je 0x403f63
push 0
push 0x23c34600
push edx
push eax
call fcn.004252f0
add dword [ebp - 0x4a0], eax
adc dword [ebp - 0x49c], edx
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x444]
mov word [ebp - 0x46c], ax
movzx eax, word [ebp - 0x442]
mov word [ebp - 0x46a], ax
mov eax, 1
mov word [ebp - 0x458], ax
mov eax, dword [ebp - 0x48c]
lea edx, [ebp - 0x47c]
mov dword [ebp - 0x468], 0x5a0
mov dword [ebp - 0x464], 0xf
mov dword [ebp - 0x45c], 1
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x403fee
lea ecx, [ebp - 0x488]
call fcn.004042f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4040f4
mov eax, dword [ebp - 0x484]
push dword [ebp - 0x4a8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
test eax, eax
je 0x404021
lea ecx, [ebp - 0x488]
call fcn.004042f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4040f4
mov ecx, dword [ebp - 0x498]
xor eax, eax
mov dword [ebp - 0x490], eax
test ecx, ecx
je 0x404059
mov eax, dword [ecx]
lea edx, [ebp - 0x490]
push edx
push 0x440cb0
push ecx
call dword [eax]
mov ecx, eax
mov eax, dword [ebp - 0x490]
xor edx, edx
test ecx, ecx
cmovs eax, edx
mov dword [ebp - 0x490], eax
mov byte [ebp - 4], 8
test eax, eax
jne 0x404078
lea ecx, [ebp - 0x488]
call fcn.004042f0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
jmp 0x4040f4
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0x18]
xor ebx, ebx
test eax, eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x490]
sete bl
test eax, eax
je 0x40409d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [ebp - 4], 6
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4040bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x48c]
test eax, eax
je 0x4040d1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add edi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40410c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40410c
mov byte [ebp - 4], 5
test eax, eax
je 0x4040fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x480]
call fcn.004042f0
or esi, 0xffffffff
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x404120
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x498]
jmp 0x40412b
or esi, 0xffffffff
mov byte [ebp - 4], 2
test eax, eax
je 0x404139
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x4a4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40415a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x494]
mov byte [ebp - 4], 0
test eax, eax
je 0x40416e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041fd32
mov esp, ebp
pop ebp
ret