Function at 0x404f20
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push str.PYLAUNCHER_DRYRUN
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
cmp eax, 2
jb 0x40500a
push str.LaunchCommand:__s_n
call fcn.004010f0
push str._Exiting_due_to_PYLAUNCHER_DRYRUN_variable_n
call fcn.004010f0
add esp, 0xc
push 1
call fcn.0040e96d
add esp, 4
push eax
call fcn.0040ed01
add esp, 4
push 0x40000
push 1
call fcn.0040e96d
add esp, 4
push eax
call fcn.0040f1a5
add esp, 4
push eax
call fcn.0040efb6
add esp, 8
mov edi, eax
push esi
push 0x422a0c
push 1
call fcn.0040e96d
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
push 1
call fcn.0040e96d
add esp, 4
push eax
call fcn.0040ed01
add esp, 4
test edi, edi
js 0x404ff3
push edi
push 1
call fcn.0040e96d
add esp, 4
push eax
call fcn.0040f1a5
add esp, 4
push eax
call fcn.0040efb6
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00405fcc
mov esp, ebp
pop ebp
ret
push str._about_to_run:__s_n
call fcn.004010f0
add esp, 8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0x70
lea eax, [esp + 0x70]
push eax
push 9
push edi
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x405206
cmp dword [esp + 0xc], 0x70
jne 0x405206
test edi, edi
je 0x405206
or dword [esp + 0x78], 0x3000
lea eax, [esp + 0x68]
push 0x70
push eax
push 9
push edi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x405079
push str.Failed_to_update_job_information
jmp 0x40520b
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.00407080
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push str.stdin
push 0xfffffffffffffff6
call ebx
lea edx, [esp + 0x5c]
mov ecx, eax
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x4051ec
push str.stdout
push 0xfffffffffffffff5
call ebx
lea edx, [esp + 0x60]
mov ecx, eax
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x4051ec
push str.stderr
push 0xfffffffffffffff4
call ebx
lea edx, [esp + 0x64]
mov ecx, eax
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x4051ec
push 1
push 0x404f10
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x405131
push str.Failed_to_update_Control_C_handler
push eax
call fcn.004011c0
mov eax, 0x64
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00405fcc
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
mov dword [esp + 0x4c], pe_nt_image_headers32
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x405185
push esi
push str.Unable_to_create_process_using__s
push eax
call fcn.004011c0
add esp, 0xc
mov eax, 0x65
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00405fcc
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0xffffffffffffffff
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4051c2
push str.Failed_to_get_exit_code_of_process
jmp 0x40520b
push dword [esp + 0xc]
push str.child_process_exit_code:__d_n
call fcn.004010f0
mov eax, dword [esp + 0x14]
add esp, 8
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00405fcc
mov esp, ebp
pop ebp
ret
mov eax, 0x64
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00405fcc
mov esp, ebp
pop ebp
ret
push str.Failed_to_query_job_information
push 0
call fcn.004011c0
mov ecx, dword [esp + 0xe4]
add esp, 8
mov eax, 0x65
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00405fcc
mov esp, ebp
pop ebp
ret