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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xf0], 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]
cmp eax, 2
jb 0x40500a
push esi
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.0040e9cd
add esp, 4
push eax
call fcn.0040ed61
add esp, 4
push 0x40000
push 1
call fcn.0040e9cd
add esp, 4
push eax
call fcn.0040f22d
add esp, 4
push eax
call fcn.0040f03e
add esp, 8
mov edi, eax
push esi
push 0x423c24
push 1
call fcn.0040e9cd
add esp, 4
push eax
call fcn.00401010
add esp, 0xc
push 1
call fcn.0040e9cd
add esp, 4
push eax
call fcn.0040ed61
add esp, 4
test edi, edi
js 0x404ff3
push edi
push 1
call fcn.0040e9cd
add esp, 4
push eax
call fcn.0040f22d
add esp, 4
push eax
call fcn.0040f03e
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00406004
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
push esi
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 + 0x90]
push eax
push 9
push edi
call dword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x40522f
cmp dword [esp + 0xc], 0x70
jne 0x40522f
test edi, edi
je 0x40522f
or dword [esp + 0x98], 0x3000
lea eax, [esp + 0x88]
push 0x70
push eax
push 9
push edi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x4050a2
push str.Failed_to_update_job_information
jmp 0x405234
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
call fcn.004070e0
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 0x405215
push str.stdout
push 0xfffffffffffffff5
call ebx
lea edx, [esp + 0x60]
mov ecx, eax
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x405215
push str.stderr
push 0xfffffffffffffff4
call ebx
lea edx, [esp + 0x64]
mov ecx, eax
call fcn.00404ea0
add esp, 4
test eax, eax
je 0x405215
push 1
push 0x404f10
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x40515a
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 + 0xf0]
xor ecx, esp
call fcn.00406004
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 0x4051ae
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 + 0xf0]
xor ecx, esp
call fcn.00406004
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 0x4051eb
push str.Failed_to_get_exit_code_of_process
jmp 0x405234
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 + 0xf0]
xor ecx, esp
call fcn.00406004
mov esp, ebp
pop ebp
ret
mov eax, 0x64
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xf0]
xor ecx, esp
call fcn.00406004
mov esp, ebp
pop ebp
ret
push str.Failed_to_query_job_information
push 0
call fcn.004011c0
mov ecx, dword [esp + 0x104]
add esp, 8
mov eax, 0x65
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406004
mov esp, ebp
pop ebp
ret