Function at 0x1800933c0
Capabilities:
Query environment variable
Reference absolute stream path on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov rax, qword [0x18011c010]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rax, qword [rbp + 0x2f8]
xor edi, edi
mov r13, r9
mov r12, qword [rbp + 0x2e0]
mov r15, qword [rbp + 0x320]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0x300]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x308]
mov qword [rbp - 0x70], rax
mov rax, qword [rbp + 0x310]
mov qword [rbp - 0x68], rax
mov rax, qword [rbp + 0x318]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x58], r8
mov dword [rbp - 0x80], edx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x40], r12
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x58], 0xffffffffffffffff
mov qword [rsp + 0x60], 0xffffffffffffffff
mov qword [rsp + 0x68], 0xffffffffffffffff
mov qword [rsp + 0x48], 0xffffffffffffffff
mov qword [rsp + 0x40], 0xffffffffffffffff
mov qword [rsp + 0x70], rdi
cmp qword [rbp + 0x2f0], rdi
je 0x1800934b1
cmp dword [0x18011eee0], edi
jne 0x1800934b1
lea r8, str.passing_a_child_setup_function_to_the_g_spawn_functions_is_pointless_on_Windows_and_it_is_ignored
mov dword [0x18011eee0], 1
lea edx, [rdi + 0x10]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
mov r14d, edi
cmp qword [r13], rdi
je 0x1800934cc
mov rax, r13
nop dword [rax]
inc r14d
lea rax, [rax + 8]
cmp qword [rax], rdi
jne 0x1800934c0
lea eax, [r14 + 1]
movsxd rcx, eax
movabs rax, 0x1fffffffffffffff
cmp rcx, rax
jbe 0x180093512
mov qword [rsp + 0x28], 8
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:333
mov qword [rsp + 0x20], rcx
lea r8, str._s:_overflow_allocating__I64u_I64u_bytes
lea rcx, [0x18009cbc8]
mov edx, 4
call sym.glib_2.0.dll_g_log
nop
jmp 0x180093510
lea rbx, [rcx*8]
test rbx, rbx
je 0x180093554
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x180093557
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], rbx
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
jmp 0x180093552
mov rsi, rdi
movsxd rax, r14d
mov qword [rbp - 0x48], rax
test r14d, r14d
jle 0x180093592
mov r12, r13
mov rbx, rsi
sub r12, rsi
mov r15, rax
nop
mov rcx, qword [r12 + rbx]
call fcn.1800927b0
mov qword [rbx], rax
lea rbx, [rbx + 8]
sub r15, 1
jne 0x180093570
mov r15, qword [rsp + 0x78]
mov r12, qword [rbp - 0x40]
movsxd rax, r14d
mov r8d, dword [rbp + 0x2e8]
mov dword [rbp - 0x78], r8d
mov qword [rsi + rax*8], rdi
cmp qword [rbp - 0x50], rdi
jne 0x18009361c
cmp qword [rbp - 0x70], rdi
jne 0x18009369e
cmp qword [rbp - 0x68], rdi
jne 0x1800936b9
mov eax, r8d
and al, 0x38
cmp al, 0x20
jne 0x1800936ce
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1800935da
cmp byte [rax], dil
jne 0x1800936ce
test r8b, 1
je 0x1800936ce
mov rax, qword [rbp - 0x38]
mov r9, r13
mov edx, dword [rbp - 0x80]
mov rcx, qword [rbp - 0x60]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r12
call fcn.180093000
mov rcx, rsi
mov ebx, eax
call sym.glib_2.0.dll_g_strfreev
mov eax, ebx
jmp 0x180094041
mov edx, 0x1000
lea rcx, [rsp + 0x58]
mov r8d, 0x8000
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__pipe]
test eax, eax
jns 0x180093698
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, dword [rax]
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x180093655
lea rdi, str.Failed_to_create_pipe_for_communicating_with_child_process___s_
jmp 0x18009366c
lea rdx, str.Failed_to_create_pipe_for_communicating_with_child_process___s_
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rdi, rax
mov ecx, ebx
call sym.glib_2.0.dll_g_strerror
mov rbx, rax
call sym.glib_2.0.dll_g_spawn_error_quark
mov edx, eax
mov qword [rsp + 0x20], rbx
mov r9, rdi
mov r8d, reloc.WS2_32.dll_send
mov rcx, r15
call sym.glib_2.0.dll_g_set_error
jmp 0x180093fa9
cmp qword [rbp - 0x70], rdi
je 0x1800936b3
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.180092b10
test eax, eax
je 0x180093fa9
cmp qword [rbp - 0x68], rdi
je 0x1800936ce
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.180092b10
test eax, eax
je 0x180093fa9
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.180092b10
test eax, eax
je 0x180093fa9
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.180092b10
test eax, eax
je 0x180093fa9
lea eax, [r14 + 0xb]
movsxd rcx, r14d
add rcx, 0xb
mov dword [rsp + 0x50], eax
mov edx, 8
call sym.glib_2.0.dll_g_malloc_n
mov r12, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
lea rcx, str.gspawn_win64_helper.exe
lea r14, str.gspawn_win64_helper_console.exe
cmove r14, rcx
mov rcx, qword [0x18011eff0]
test rcx, rcx
je 0x1800937a1
mov r8d, 0x104
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1800937a1
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rcx, [rbp + 0x60]
lea edx, [r9 - 1]
call sym.glib_2.0.dll_g_utf16_to_utf8
mov edx, 0x5c
mov rcx, rax
mov rbx, rax
call qword [sym.imp.VCRUNTIME140.dll_strrchr]
test rax, rax
je 0x1800937a1
mov byte [rax], dil
test rbx, rbx
je 0x1800937a1
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call sym.glib_2.0.dll_g_build_filename
mov rcx, rbx
mov r15, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800937ac
mov rcx, r14
call sym.glib_2.0.dll_g_strdup
mov r15, rax
mov rcx, r15
call fcn.1800927b0
mov qword [r12], rax
lea rdx, [0x1800f1604]
mov r8d, dword [rsp + 0x4c]
lea rcx, [rbp - 6]
call fcn.1800971d0
lea rax, [rbp - 6]
xor edx, edx
mov qword [r12 + 8], rax
mov ecx, dword [rsp + 0x48]
call fcn.180092720
mov r13d, dword [rbp - 0x78]
mov dword [rsp + 0x48], eax
test r13b, 0x40
je 0x18009380a
lea rcx, [rbp - 6]
dec rcx
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x1800937f6
movzx eax, word [0x1800ff900]
mov word [rcx], ax
mov r8d, dword [rsp + 0x40]
lea rdx, [0x1800f1604]
lea rcx, [rbp + 4]
call fcn.1800971d0
lea rax, [rbp + 4]
mov edx, 1
mov qword [r12 + 0x10], rax
mov ecx, dword [rsp + 0x44]
call fcn.180092720
lea r14, [0x1800f4410]
mov dword [rsp + 0x44], eax
lea rbx, [0x1800ff904]
cmp qword [rbp - 0x50], rdi
je 0x180093869
mov r8d, dword [rsp + 0x58]
lea rdx, [0x1800f1604]
lea rcx, [rbp + 0xe]
call fcn.1800971d0
lea rax, [rbp + 0xe]
jmp 0x180093874
test r13b, 0x20
mov rax, r14
cmove rax, rbx
mov qword [r12 + 0x18], rax
cmp qword [rbp - 0x70], rdi
je 0x18009389a
mov r8d, dword [rsp + 0x64]
lea rdx, [0x1800f1604]
lea rcx, [rbp + 0x18]
call fcn.1800971d0
lea rax, [rbp + 0x18]
jmp 0x1800938a5
test r13b, 8
mov rax, rbx
cmove rax, r14
mov qword [r12 + 0x20], rax
cmp qword [rbp - 0x68], rdi
je 0x1800938cb
mov r8d, dword [rsp + 0x6c]
lea rdx, [0x1800f1604]
lea rcx, [rbp + 0x22]
call fcn.1800971d0
lea rbx, [rbp + 0x22]
jmp 0x1800938d3
test r13b, 0x10
cmove rbx, r14
mov rax, qword [rbp - 0x58]
mov qword [r12 + 0x28], rbx
test rax, rax
je 0x1800938f3
cmp byte [rax], dil
je 0x1800938f3
mov rcx, rax
call fcn.1800927b0
mov rcx, rax
jmp 0x18009393c
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, rax
test rax, rax
jne 0x180093932
lea r9, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgmem.c:105
mov qword [rsp + 0x20], 2
lea r8, str._s:_failed_to_allocate__I64u_bytes
lea edx, [rax + 4]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_log
nop dword [rax]
jmp 0x180093930
movzx eax, word [0x1800f4410]
mov word [rcx], ax
mov qword [r12 + 0x30], rcx
test r13b, 1
lea rcx, [0x1800f39b8]
mov rax, rcx
cmovne rax, r14
test r13b, 4
mov qword [r12 + 0x38], rax
lea rax, [0x1800ff908]
cmove rcx, r14
cmp qword [rbp - 0x60], rdi
mov qword [r12 + 0x40], rcx
cmovne r14, rax
mov qword [r12 + 0x48], r14
mov rdx, qword [rbp - 0x48]
test rdx, rdx
js 0x1800939a2
mov r8, r12
mov rcx, rsi
sub r8, rsi
inc rdx
nop
mov rax, qword [rcx]
mov qword [r8 + rcx + 0x50], rax
lea rcx, [rcx + 8]
sub rdx, 1
jne 0x180093990
mov eax, dword [0x18011e034]
cmp eax, 0xffffffff
jne 0x1800939d3
lea rcx, str.G_SPAWN_WIN32_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1800939cb
mov dword [0x18011e034], 1
jmp 0x1800939d7
mov dword [0x18011e034], edi
jmp 0x180093a2a
test eax, eax
je 0x180093a2a
mov rdx, r15
lea rcx, str.calling__s_with_argv:_n
call sym.glib_2.0.dll_g_print
mov r13d, dword [rsp + 0x50]
mov ebx, edi
test r13d, r13d
jle 0x180093a2a
mov r14, r12
nop word [rax + rax]
mov rax, qword [r14]
lea r8, str.NULL
test rax, rax
lea rcx, str.argv__d_:__s_n
mov edx, ebx
cmovne r8, rax
call sym.glib_2.0.dll_g_print
inc ebx
lea r14, [r14 + 8]
cmp ebx, r13d
jl 0x180093a00
lea r9, [rsp + 0x70]
mov rcx, r12
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x78]
call fcn.180092e60
test eax, eax
jne 0x180093ba9
call fcn.18002a6c0
call fcn.18002aa30
mov ebx, dword [rsp + 0x50]
cmp ebx, 6
jne 0x180093aa9
test eax, eax
jne 0x180093a68
lea rbx, str.Invalid_working_directory:__s
jmp 0x180093a7f
lea rdx, str.Invalid_working_directory:__s
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rbx, rax
call sym.glib_2.0.dll_g_spawn_error_quark
mov rcx, qword [rsp + 0x70]
mov edx, eax
mov r9, rbx
mov r8, qword [rcx + 8]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], r8
mov r8d, 2
call sym.glib_2.0.dll_g_set_error
jmp 0x180093afc
test eax, eax
jne 0x180093ab6
lea r14, str.Invalid_string_in_argument_vector_at__d:__s
jmp 0x180093acd
lea rdx, str.Invalid_string_in_argument_vector_at__d:__s
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov r14, rax
add ebx, 0xfffffff6
call sym.glib_2.0.dll_g_spawn_error_quark
mov rcx, qword [rsp + 0x70]
mov edx, eax
mov r9, r14
mov r8, qword [rcx + 8]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x28], r8
mov r8d, reloc.WS2_32.dll_send
mov dword [rsp + 0x20], ebx
call sym.glib_2.0.dll_g_set_error
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x180093b24
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180093b15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_recv
call sym.glib_2.0.dll_g_slice_free1
jmp 0x180093b3e
lea r8, str.error___NULL
lea rdx, [0x1800eea88]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
test rsi, rsi
je 0x180093b6a
mov rax, qword [rsi]
test rax, rax
je 0x180093b61
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsi + rdi*8 + 8]
inc rdi
test rax, rax
jne 0x180093b4b
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r12]
test rcx, rcx
je 0x180093b79
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x180093b89
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r15, r15
je 0x180093fa9
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180093fa9
mov rcx, qword [rbp - 0x40]
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, [rbp - 0x48]
call fcn.180092e60
test eax, eax
jne 0x180093d01
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x180093bdd
lea rbx, str.Invalid_string_in_environment:__s
jmp 0x180093bf4
lea rdx, str.Invalid_string_in_environment:__s
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rbx, rax
call sym.glib_2.0.dll_g_spawn_error_quark
mov rcx, qword [rsp + 0x70]
mov edx, eax
mov r9, rbx
mov r8, qword [rcx + 8]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x20], r8
mov r8d, reloc.WS2_32.dll_send
call sym.glib_2.0.dll_g_set_error
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x180093c44
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180093c35
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, rbx
mov ecx, reloc.WS2_32.dll_recv
call sym.glib_2.0.dll_g_slice_free1
jmp 0x180093c5e
lea r8, str.error___NULL
lea rdx, [0x1800eea88]
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_return_if_fail_warning
test rsi, rsi
je 0x180093c8d
mov rax, qword [rsi]
test rax, rax
je 0x180093c84
mov rbx, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsi + rbx*8 + 8]
inc rbx
test rax, rax
jne 0x180093c6e
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r12]
test rcx, rcx
je 0x180093c9c
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x180093cac
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r15, r15
je 0x180093cc3
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x180093fa9
cmp qword [rbx], rdi
je 0x180093cf3
mov rax, qword [rbx]
test rax, rax
je 0x180093ce6
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbx + rdi*8 + 8]
inc rdi
test rax, rax
jne 0x180093cdd
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180093fa9
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
mov rcx, r15
lea edx, [r9 - 1]
call sym.glib_2.0.dll_g_utf8_to_utf16
mov rbx, rax
test r15, r15
je 0x180093d29
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r15, qword [rbp - 0x48]
mov rdx, rbx
mov r14, qword [rbp - 0x78]
mov ecx, 1
mov r8, r14
test r15, r15
je 0x180093d4c
mov r9, r15
call qword [sym.imp.api_ms_win_crt_process_l1_1_0.dll__wspawnvpe]
jmp 0x180093d52
call qword [sym.imp.api_ms_win_crt_process_l1_1_0.dll__wspawnvp]
mov r13, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
test rbx, rbx
je 0x180093d6f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x180093da3
cmp qword [r14], rdi
je 0x180093d9a
mov rax, qword [r14]
mov rbx, rdi
test rax, rax
je 0x180093d8d
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [r14 + rbx*8 + 8]
inc rbx
test rax, rax
jne 0x180093d84
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r15, r15
je 0x180093dd7
cmp qword [r15], rdi
je 0x180093dce
mov rax, qword [r15]
mov rbx, rdi
test rax, rax
je 0x180093dc1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [r15 + rbx*8 + 8]
inc rbx
test rax, rax
jne 0x180093db8
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
js 0x180093ded
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x4c], 0xffffffff
mov ecx, dword [rsp + 0x40]
test ecx, ecx
js 0x180093e03
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x40], 0xffffffff
mov ecx, dword [rsp + 0x58]
test ecx, ecx
js 0x180093e19
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x58], 0xffffffff
mov ecx, dword [rsp + 0x64]
test ecx, ecx
js 0x180093e2f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x64], 0xffffffff
mov ecx, dword [rsp + 0x6c]
test ecx, ecx
js 0x180093e45
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x6c], 0xffffffff
test rsi, rsi
je 0x180093e74
mov rax, qword [rsi]
test rax, rax
je 0x180093e6b
mov rbx, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rsi + rbx*8 + 8]
inc rbx
test rax, rax
jne 0x180093e55
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r12]
test rcx, rcx
je 0x180093e83
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [r12 + 0x30]
test rcx, rcx
je 0x180093e93
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp r13, 0xffffffffffffffff
jne 0x180093f06
mov ebx, dword [rsp + 0x50]
test ebx, ebx
je 0x180093f06
call fcn.18002a6c0
call fcn.18002aa30
test eax, eax
jne 0x180093ec1
lea rdi, str.Failed_to_execute_helper_program___s_
jmp 0x180093ed8
lea rdx, str.Failed_to_execute_helper_program___s_
lea rcx, str.glib20
call qword [sym.imp.intl.dll_libintl_dgettext]
mov rdi, rax
mov ecx, ebx
call sym.glib_2.0.dll_g_strerror
mov rbx, rax
call sym.glib_2.0.dll_g_spawn_error_quark
mov rcx, qword [rsp + 0x78]
mov edx, eax
mov r9, rdi
mov qword [rsp + 0x20], rbx
mov r8d, reloc.WS2_32.dll_send
call sym.glib_2.0.dll_g_set_error
jmp 0x180093fa9
cmp qword [rbp - 0x60], rdi
je 0x180093f24
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x18009413c
mov eax, dword [rsp + 0x48]
mov dword [rcx], eax
jmp 0x1800940c9
mov rbx, qword [rsp + 0x78]
lea rdx, [rbp - 0x28]
mov ecx, dword [rsp + 0x48]
mov r8, rbx
call fcn.180092bc0
test eax, eax
je 0x180093f9a
mov ecx, dword [rsp + 0x48]
test ecx, ecx
js 0x180093f53
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x48], 0xffffffff
cmp qword [rbp - 0x28], rdi
je 0x18009406b
mov ecx, dword [rsp + 0x44]
lea rdx, [0x1800eb0f8]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
mov ecx, dword [rsp + 0x44]
test ecx, ecx
js 0x180093f8a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x44], 0xffffffff
mov rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x28]
mov r8, rbx
call fcn.180092d30
cmp r13, 0xffffffffffffffff
je 0x180093fa9
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x48]
cmp ecx, 0xffffffff
je 0x180093fb8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x4c]
cmp ecx, 0xffffffff
je 0x180093fc7
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x40]
cmp ecx, 0xffffffff
je 0x180093fd6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x44]
cmp ecx, 0xffffffff
je 0x180093fe5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x58]
cmp ecx, 0xffffffff
je 0x180093ff4
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x5c]
cmp ecx, 0xffffffff
je 0x180094003
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x60]
cmp ecx, 0xffffffff
je 0x180094012
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x64]
cmp ecx, 0xffffffff
je 0x180094021
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x68]
cmp ecx, 0xffffffff
je 0x180094030
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov ecx, dword [rsp + 0x6c]
cmp ecx, 0xffffffff
je 0x18009403f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1800989b0
mov rbx, qword [rsp + 0x3c8]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x1800940c9
cmp dword [rbp - 0x80], edi
je 0x1800940c6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, qword [rbp - 0x20]
mov r9, rbx
mov dword [rsp + 0x30], 2
mov r8, rax
mov dword [rsp + 0x28], 1
mov rcx, r13
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1800940c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call sym.glib_2.0.dll_g_win32_error_message
mov rdx, rax
lea rcx, [0x1800f0cf4]
call sym.glib_2.0.dll_g_print
mov qword [rbx], rdi
mov ecx, dword [rsp + 0x44]
lea rdx, [0x1800eb0f8]
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
mov ecx, dword [rsp + 0x44]
test ecx, ecx
js 0x1800940f6
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__close]
mov dword [rsp + 0x44], 0xffffffff
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x180094105
mov eax, dword [rsp + 0x5c]
mov dword [rcx], eax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180094114
mov eax, dword [rsp + 0x60]
mov dword [rcx], eax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180094123
mov eax, dword [rsp + 0x68]
mov dword [rcx], eax
cmp r13, 0xffffffffffffffff
je 0x180094132
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x180094041
lea rax, str.err_report___NULL
mov r8d, 0x318
lea r9, str.do_spawn_with_pipes
mov qword [rsp + 0x20], rax
lea rdx, str.d:_buildob_bora_15653658cayman_glibglib_srcglibgspawn_win32.c
lea rcx, [0x18009cbc8]
call sym.glib_2.0.dll_g_assertion_message_expr
int3