Function at 0x403af0
Capabilities:
Create process on windows
Query or enumerate registry value
Schedule task via at

Disassembly:
mov eax, 0x2860
call fcn.004045e0
push ebx
push esi
push edi
mov ecx, 0xa
mov esi, 0x40a848
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x75
xor eax, eax
lea edi, [esp + 0x96]
mov dword [esp + 0x14], 0x200
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x6c]
push eax
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x403e23
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
lea eax, [esp + 0x26c]
push edx
push eax
push 0
push 0
push 0x40a840
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x403e23
lea edi, [esp + 0x26c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x86c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x86c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [0x40b150]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x403caa
mov edi, 0x40a834
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x870]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00408146
add esp, 8
cmp eax, 0xffffffff
je 0x403c46
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x28]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], 0x44
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x88c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403c46
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
push 0x40a820
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x403c90
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push 0x40a804
push 0
push eax
call esi
test eax, eax
je 0x403c90
push 0
push 0x40a7f4
push 0
push eax
call esi
test eax, eax
je 0x403c90
push 0
push 0x9c4b
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2860
ret
mov edi, 0x40a7e4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x870]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00408146
add esp, 8
cmp eax, 0xffffffff
je 0x403e18
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x2c]
mov dword [esp + 0x10], eax
rep stosd dword es:[edi], eax
mov eax, dword [0x40f154]
mov dword [esp + 0x28], 0x44
test eax, eax
jle 0x403dfe
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push ebp
mov ebp, 0x40b154
lea ecx, [esp + 0x870]
push ebp
push ecx
lea edx, [esp + 0x478]
push fcn.0040a7d8
push edx
call fcn.00404580
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x470]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x403d8f
mov eax, dword [esp + 0x1c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [esp + 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x20]
push edx
call esi
push 0x40a7c4
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
test esi, esi
je 0x403de0
push 0x40a7b8
push 0x40a7b0
push 0
push esi
call edi
test eax, eax
je 0x403dc1
push 0
push 0
push 0xf5
push eax
call ebx
push 0
push 0x40a7f4
push 0
push esi
call edi
test eax, eax
je 0x403de0
push 0
push 0x9c4b
push 0x111
push eax
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [0x40f154]
inc eax
add ebp, 0x200
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x403d26
pop ebp
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x2860
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x2860
ret