Function at 0x421820
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4c599e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebp
push esi
push edi
mov ebp, ecx
mov ax, word [0x50b630]
mov ecx, 0x40
mov word [esp + 0x80], ax
xor eax, eax
lea edi, [esp + 0x82]
mov esi, 1
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x80]
push 0x104
push ecx
mov dword [esp + 0x29c], esi
stosw word es:[edi], ax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x2c]
push 0x4fce30
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x5c], esi
mov word [esp + 0x60], ax
call sub.mfc42.dll_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x294], 2
call sub.mfc42.dll_CString::CString_4
mov esi, dword [esp + 0x2a4]
lea edx, [esp + 0x10]
push esi
push 0x4fbe04
push edx
mov byte [esp + 0x2a0], 3
call sub.mfc42.dll_CString::Format
add esp, 0xc
cmp esi, 0x10
jne 0x4218f6
push 0x4fce24
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
cmp esi, 0x11
jne 0x42190e
push 0x4fce18
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
cmp esi, 0x12
jne 0x421926
push 0x4fce08
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
cmp esi, 0x13
jne 0x42193e
push 0x4fcdf8
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
cmp esi, 0x14
jne 0x421956
push 0x4fce30
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
cmp esi, 0x15
jne 0x42196e
push 0x4fcde8
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
cmp esi, 0x16
jne 0x421983
push 0x4fcdd4
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
cmp esi, 0x17
jne 0x421998
push 0x4fcdc0
lea ecx, [esp + 0x10]
call sub.mfc42.dll_CString::operator
jmp 0x4219f8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push 0x4fcdb8
push ecx
call sub.mfc42.dll_operator
push 0x4fbe60
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x2a0], 4
call sub.mfc42.dll_operator_1
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x298], 5
call sub.mfc42.dll_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 4
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x294], 3
call sub.mfc42.dll_CString::CString
lea eax, [esp + 0x80]
lea ecx, [esp + 0x24]
push eax
call sub.mfc42.dll_CString::CString_3
push 0x4fcda8
lea ecx, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x2a0], 6
call sub.mfc42.dll_operator_1
lea edx, [esp + 0xc]
mov byte [esp + 0x294], 7
push edx
push eax
lea eax, [esp + 0x28]
push eax
call sub.mfc42.dll_operator_2
lea ecx, [esp + 0x29c]
lea edx, [esp + 0x18]
push ecx
push eax
push edx
mov byte [esp + 0x2a0], 8
call sub.mfc42.dll_operator_2
push 0x4fbe60
push eax
lea eax, [esp + 0x1c]
mov byte [esp + 0x29c], 9
push eax
call sub.mfc42.dll_operator_1
lea ecx, [esp + 0x2a0]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x2a0], 0xa
call sub.mfc42.dll_operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x294], 0x10
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x294], 0xf
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x294], 0xe
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x294], 0xd
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x294], 0xc
call sub.mfc42.dll_CString::CString
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x184]
push eax
push 0x4fb288
push ecx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x2a0]
mov ecx, 0x50f9ac
push edx
call sub.mfc42.dll_CString::operator_1
lea eax, [esp + 0x70]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push 0
push 0x20
push 1
push 0
lea edx, [esp + 0x1a0]
push 0
push edx
push 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
mov eax, dword [ebp + 0x20]
push 0
push 0x7d0
push 0x14d
push eax
call dword [sym.imp.user32.dll_SetTimer]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x294], 3
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x294], 2
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x294], 1
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x29c]
mov byte [esp + 0x294], 0
call sub.mfc42.dll_CString::CString
lea ecx, [esp + 0x2a0]
mov dword [esp + 0x294], 0xffffffff
call sub.mfc42.dll_CString::CString
mov ecx, dword [esp + 0x28c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28c
ret 0xc