Function at 0x401c70
Capabilities:
Accept command line arguments
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1074
call fcn.00404110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x1020]
push 0
push eax
call fcn.00404140
add esp, 0xc
mov dword [ebp - 0x1020], 0x11c
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x401eee
cmp dword [ebp - 0x101c], 5
jb 0x401eee
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x100
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0040389f
add esp, 0xc
lea ecx, [ebp - 0x104]
cmp byte [ebp - 0x104], 0
mov eax, ecx
je 0x401d05
mov dl, byte [eax]
cmp dl, 0x22
je 0x401cff
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x401cf5
lea eax, [ebp - 0x104]
mov byte [ecx], 0
push str..exe
push eax
call fcn.004028f0
push 0x421414
push eax
call fcn.004028f0
add esp, 0x10
test eax, eax
je 0x401d2e
mov byte [eax], 0
push esi
lea eax, [ebp - 0x604]
push eax
lea eax, [ebp - 0x584]
push eax
lea eax, [ebp - 0x704]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004038d5
lea edx, [ebp - 0x704]
add esp, 0x14
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x401d62
push ebx
push edi
lea edi, [ebp - 0x404]
sub edx, esi
dec edi
lea ebx, [edi + 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401d77
mov ecx, edx
lea eax, [ebp - 0x1074]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
or dword [ebp - 0x1048], 1
xor eax, eax
push 0x100
mov word [ebp - 0x1044], ax
lea eax, [ebp - 0x904]
push ebx
push eax
call fcn.004034eb
add esp, 0xc
lea eax, [ebp - 0xb04]
push 0x100
push eax
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push 0x100
lea eax, [ebp - 0xb04]
push eax
lea eax, [ebp - 0x504]
push eax
call fcn.0040389f
movdqu xmm0, xmmword [str.cmd__C__regini.exe]
mov eax, dword [0x4214c0]
lea edx, [ebp - 0x504]
add esp, 0xc
mov dword [ebp - 0x2f4], eax
movdqu xmmword [ebp - 0x304], xmm0
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x401e16
lea edi, [ebp - 0x304]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401e26
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x304]
pop edi
dec ecx
pop ebx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x401e45
mov eax, dword [str.mtsregclear.ini_]
mov dword [ecx], eax
mov eax, dword [0x4214c8]
mov dword [ecx + 4], eax
mov eax, dword [0x4214cc]
mov dword [ecx + 8], eax
mov eax, dword [0x4214d0]
mov dword [ecx + 0xc], eax
mov al, byte [0x4214d4]
mov byte [ecx + 0x10], al
lea eax, [ebp - 0x304]
push 0x200
push eax
lea eax, [ebp - 0xf04]
push eax
call fcn.004034eb
add esp, 0xc
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x1074]
push eax
lea eax, [ebp - 0x904]
push eax
push 0
push 0x8000030
push 0
push 0
push 0
lea eax, [ebp - 0xf04]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401eed
push 0x1d4c0
push dword [ebp - 0x1030]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x102c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1030]
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004040f2
mov esp, ebp
pop ebp
ret