Function at 0x4017f0
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f64
call fcn.0041ec10
mov eax, dword [0x43b230]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
cmp edi, ebx
je 0x401832
push str.showdebuginfo
push edi
call fcn.0041dd30
add esp, 8
test eax, eax
je 0x401832
push 1
call fcn.00401ae0
add esp, 4
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.00402010
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
push str.PYTHONHOME
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push str.regautorun
push edi
call fcn.0041dd30
add esp, 8
test eax, eax
je 0x4018a9
push 0x104
lea edx, [ebp - 0x310]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x432398
call fcn.00401e10
add esp, 4
test eax, eax
jne 0x401abf
push 1
lea eax, [ebp - 0x310]
push 0x432398
push eax
call fcn.00401f00
add esp, 0xc
jmp 0x401abf
lea ecx, [ebp - 0x108]
push ecx
push esi
call fcn.00401f90
lea eax, [ebp - 0x108]
add esp, 8
mov dword [ebp - 0x2f34], 0xf
mov dword [ebp - 0x2f38], ebx
mov byte [ebp - 0x2f48], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4018d8
sub eax, edx
push eax
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 0x2f48]
call fcn.004015e0
push edi
push 0x432394
lea eax, [ebp - 0x2f48]
push eax
lea ecx, [ebp - 0x2f64]
push ecx
call fcn.004017a0
add esp, 0xc
push eax
lea edx, [ebp - 0x2f2c]
push edx
call fcn.004017a0
mov esi, 0x10
add esp, 0xc
cmp dword [ebp - 0x2f50], esi
jb 0x40193c
mov eax, dword [ebp - 0x2f64]
push eax
call fcn.0041df42
add esp, 4
mov dword [ebp - 0x2f50], 0xf
mov dword [ebp - 0x2f54], ebx
mov byte [ebp - 0x2f64], bl
cmp dword [ebp - 0x2f34], esi
jb 0x401969
mov ecx, dword [ebp - 0x2f48]
push ecx
call fcn.0041df42
add esp, 4
mov eax, dword [ebp - 0x2f2c]
cmp dword [ebp - 0x2f18], esi
jae 0x40197d
lea eax, [ebp - 0x2f2c]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x1f
jge 0x4019eb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.WinMain
push str.__s_Failed_to_load_program___d_
lea edx, [ebp - 0x2f10]
push 0x2800
push edx
call fcn.0041eb64
lea eax, [ebp - 0x2f10]
push eax
push 2
call fcn.00401af0
add esp, 0x1c
cmp dword [ebp - 0x2f18], esi
jb 0x4019d5
mov ecx, dword [ebp - 0x2f2c]
push ecx
call fcn.0041df42
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ead1
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0xb
jne 0x401a4c
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x710]
push str.Launch__s_failed_:_Bad_Format_exe_file
push eax
call fcn.0041eae0
add esp, 0xc
push ebx
push str.55tuan
lea ecx, [ebp - 0x710]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x2f18], esi
jb 0x4019d5
mov edx, dword [ebp - 0x2f2c]
push edx
call fcn.0041df42
add esp, 4
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ead1
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x401aa1
lea eax, [ebp - 0x108]
push eax
push str.Launch__s_failed_:_file_ot_found
lea ecx, [ebp - 0x710]
push ecx
call fcn.0041eae0
add esp, 0xc
push ebx
push str.55tuan
lea edx, [ebp - 0x710]
push edx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x2f2c]
call fcn.004012b0
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041ead1
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 3
jne 0x401ab4
lea eax, [ebp - 0x108]
push eax
push str.Launch__s_failed_:_path_not_found
jmp 0x401a5d
lea ecx, [ebp - 0x2f2c]
call fcn.004012b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0041ead1
mov esp, ebp
pop ebp
ret 0x10