Function at 0x408ef0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xb8
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx]
mov dword [ebp - 0x90], eax
mov eax, dword [sym.imp.kernel32.dll_GetCommandLineW]
mov dword [ebp - 0x94], eax
call eax
mov dword [esp], eax
call fcn.00409b40
test eax, eax
mov dword [ebp - 0x8c], eax
je 0x408f48
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
lea eax, [ebp - 0x7c]
mov dword [esp], 0xffffffff
mov dword [esp + 4], eax
lea ebx, [ebp - 0x60]
call dword [sym.imp.kernel32.dll_IsWow64Process]
mov edx, dword [ebp - 0x8c]
sub esp, 8
test eax, eax
je 0x408f77
mov edi, dword [ebp - 0x7c]
test edi, edi
jne 0x409320
mov edx, dword [0x415420]
mov dword [ebp - 0x94], edx
call edx
mov edi, dword [0x4156c0]
mov dword [esp], esi
mov dword [esp + 0xc], 0x64
mov dword [esp + 8], 0x414ce0
mov dword [esp + 4], 0x67
call edi
sub esp, 0x10
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x414c60
mov dword [esp + 4], 0xa1
mov dword [esp], esi
call edi
xor eax, eax
mov ecx, 9
mov dword [0x414c54], esi
mov word [ebp - 0x70], ax
lea edi, [ebp - 0x54]
xor eax, eax
sub esp, 0x10
rep stosd dword es:[edi], eax
mov dword [ebp - 0x58], 0x406110
movq xmm0, qword [0x411ac0]
mov dword [ebp - 0x4c], esi
movq qword [ebp - 0x60], xmm0
mov dword [esp + 4], 0x64
mov dword [esp], esi
call dword [0x4156b4]
sub esp, 8
mov dword [ebp - 0x48], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call dword [0x4156b0]
mov edi, dword [0x415684]
mov dword [ebp - 0x38], str.RegEdit_RegEdit
sub esp, 8
mov dword [ebp - 0x44], eax
mov dword [esp], 0x32
call edi
sub esp, 4
mov dword [ebp - 0x8c], eax
mov dword [esp], 0x31
call edi
sub esp, 4
mov dword [esp + 0x14], 0x8000
mov edx, dword [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x64
mov dword [esp + 0x10], edx
mov dword [esp], esi
call dword [0x4156b8]
mov edi, dword [0x4156dc]
sub esp, 0x18
mov dword [ebp - 0x34], eax
mov dword [esp], ebx
call edi
mov dword [ebp - 0x58], 0x4016d0
sub esp, 4
mov dword [ebp - 0x50], 4
mov dword [ebp - 0x38], 0x4119e0
mov dword [ebp - 0x40], 0x10
mov dword [esp], ebx
call edi
mov edi, dword [0x4156bc]
sub esp, 4
mov dword [esp + 4], 0x82
mov dword [esp], esi
call edi
sub esp, 8
mov dword [0x414c48], eax
mov dword [esp + 4], 0x89
mov dword [esp], esi
call edi
mov edx, dword [ebp - 0x94]
sub esp, 8
mov dword [0x414c44], eax
call edx
call fcn.00407b30
mov dword [esp], str.TODO:_Set_correct_format
call dword [0x4156e4]
sub esp, 4
mov dword [0x414c40], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], esi
mov eax, dword [0x414c48]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0x80000000
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], 0x80000000
mov dword [esp + 0x10], 0x80000000
mov dword [esp + 0xc], 0xcf0200
mov dword [esp + 8], 0x414ce0
mov dword [esp + 4], str.RegEdit_RegEdit
mov dword [esp], 0
call dword [0x415610]
sub esp, 0x30
mov dword [0x414c50], eax
test eax, eax
je 0x408f31
mov dword [esp + 8], eax
lea eax, [ebp - 0x70]
mov dword [esp + 0xc], 0x7d1
mov dword [esp + 4], eax
mov dword [esp], 0x54000100
call dword [0x415424]
sub esp, 0x10
mov dword [0x414c4c], eax
test eax, eax
je 0x4091f8
mov dword [esp + 4], 0
mov eax, dword [0x414c50]
mov dword [esp], eax
call fcn.00404d90
mov dword [esp + 4], 2
mov eax, dword [0x414c48]
mov dword [esp], eax
call dword [0x41567c]
sub esp, 8
mov dword [esp + 8], 8
mov dword [esp + 4], 0x8006
mov dword [esp], eax
call dword [0x4155fc]
sub esp, 0xc
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [0x414c50]
mov dword [esp], eax
call dword [0x415730]
mov eax, dword [0x414c50]
sub esp, 8
mov dword [esp], eax
call dword [0x415740]
sub esp, 4
mov dword [esp], esi
mov dword [esp + 4], 0x6d
call dword [0x4156ac]
mov edi, dword [0x415670]
sub esp, 8
mov esi, eax
jmp 0x409265
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov eax, dword [0x414c50]
mov dword [esp], eax
call dword [0x415738]
sub esp, 0xc
test eax, eax
je 0x4092b0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call edi
sub esp, 0x10
test eax, eax
jne 0x409248
mov eax, dword [0x414c48]
mov dword [esp], eax
call dword [0x415624]
mov eax, dword [ebp - 0x58]
sub esp, 4
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp dword [ebp - 0x5c], 0x100
je 0x4092d8
mov dword [esp], ebx
call dword [0x41573c]
sub esp, 4
mov dword [esp], ebx
call dword [0x415630]
sub esp, 4
jmp 0x409265
cmp dword [ebp - 0x58], 9
jne 0x4092b9
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call dword [0x415674]
mov edx, dword [section..bss]
sub esp, 4
cmp eax, dword [edx]
jne 0x4092b9
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x8067
mov dword [esp + 4], 0x111
mov dword [esp], eax
call dword [0x4156d4]
sub esp, 0x10
jmp 0x409265
lea edi, [ebp - 0x5c]
mov eax, edx
mov ecx, 0x10
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x60], 0x44
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_Wow64DisableWow64FsRedirection]
mov eax, dword [ebp - 0x94]
sub esp, 4
call eax
lea edx, [ebp - 0x70]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], str.C:windows_regedit.exe
call dword [sym.imp.kernel32.dll_CreateProcessW]
sub esp, 0x28
test eax, eax
jne 0x4093f6
test byte [0x410178], 2
jne 0x4093ba
mov eax, dword [ebp - 0x78]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_Wow64RevertWow64FsRedirection]
sub esp, 4
jmp 0x408f77
mov eax, dword fs:[0x18]
mov edi, dword [eax + 0x34]
call fcn.00408c10
mov dword [esp + 0xc], str.failed_to_restart_64_bit__s__err__ld_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x41196c
mov dword [esp + 0x14], edi
mov dword [esp + 4], 0x410178
mov dword [esp], 1
call fcn.00408e90
jmp 0x4093a6
test byte [0x410178], 8
jne 0x409436
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
lea eax, [ebp - 0x74]
push edx
push edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetExitCodeProcess]
push ecx
push ecx
mov eax, dword [ebp - 0x74]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ExitProcess]
call fcn.00408c10
mov dword [esp + 0xc], str.restarting__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x41196c
mov dword [esp + 4], 0x410178
mov dword [esp], 3
call fcn.00408e90
jmp 0x4093ff