Function at 0x14000f190
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x140067008]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
xor r15d, r15d
mov qword [rbp + 0x480], 0xffffffffffffffff
mov qword [rbp + 0x488], 0xffffffffffffffff
mov rdi, rdx
mov qword [rbp + 0x490], 0xffffffffffffffff
mov r13, rcx
mov qword [rsp + 0x50], r15
mov r14d, r15d
mov qword [rbp - 0x40], r15
mov ebx, r15d
mov qword [rbp - 0x38], r15
mov esi, r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x20], r15
test rcx, rcx
je 0x14000fb54
mov qword [rsp + 0x710], r12
lea r8, [rbp - 0x78]
mov r12d, r15d
call fcn.14000eb20
lea rax, [0x140059f14]
mov qword [rsp + 0x28], rdi
mov r9d, 0x104
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x4a0]
mov rcx, r13
lea rdx, [rsp + 0x40]
call fcn.140007970
cmp dword [rsp + 0x40], ebx
je 0x14000f295
mov r8, rdi
lea rdx, str.Error:_CGI_program___s_:_Path_too_long
mov rcx, r13
call fcn.1400079a0
lea r9, str.CGI_path_too_long
mov edx, 0x1f4
lea r8, str.Error:__s
mov rcx, r13
call fcn.140008820
mov rcx, qword [rbp - 0x58]
call fcn.14002da28
mov rcx, qword [rbp - 0x70]
call fcn.14002da28
jmp 0x14000fac2
mov edx, 0x2f
lea rcx, [rbp + 0x4a0]
call fcn.14002c758
mov rbx, rax
test rax, rax
je 0x14000f2b6
mov byte [rax], sil
inc rbx
jmp 0x14000f2c2
mov word [rbp + 0x4a0], 0x2e
mov rbx, rdi
mov edx, 0x2000
lea rcx, [rbp + 0x480]
mov r8d, 0x8000
call fcn.140036b7c
test eax, eax
jne 0x14000fa71
mov edx, 0x2000
lea rcx, [rbp + 0x488]
mov r8d, 0x8000
call fcn.140036b7c
test eax, eax
jne 0x14000fa71
mov edx, 0x2000
lea rcx, [rbp + 0x490]
mov r8d, 0x8000
call fcn.140036b7c
test eax, eax
jne 0x14000fa71
mov rsi, qword [rbp - 0x70]
lea rax, [rbp + 0x4a0]
mov qword [rsp + 0x38], rax
mov r8, rsi
lea rax, [rbp + 0x490]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x30], rax
mov rdx, rbx
lea rax, [rbp + 0x488]
mov rcx, r13
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x480]
mov qword [rsp + 0x20], rax
call fcn.1400092d0
mov qword [rbp - 0x80], rax
cmp rax, 0xffffffffffffffff
jne 0x14000f3cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003d3fc
mov r9, rax
lea rdx, str.Error:_CGI_program___s_:_Can_not_spawn_CGI_process:__s
mov r8, rdi
mov rcx, r13
mov rbx, rax
call fcn.1400079a0
mov r9, rdi
mov qword [rsp + 0x20], rbx
lea r8, str.Error:_Cannot_spawn_CGI_process___s_:__s
mov edx, 0x1f4
mov rcx, r13
call fcn.140008820
mov rcx, qword [rbp - 0x58]
call fcn.14002da28
mov rcx, rsi
call fcn.14002da28
mov rbx, r15
mov rsi, r15
jmp 0x14000fac2
movsxd rcx, dword [rbp + 0x480]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
movsxd rcx, dword [rbp + 0x48c]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
movsxd rcx, dword [rbp + 0x494]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
movsxd rcx, dword [rbp + 0x484]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
movsxd rcx, dword [rbp + 0x488]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
movsxd rcx, dword [rbp + 0x490]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov ecx, dword [rbp + 0x480]
call fcn.140035d94
mov ecx, dword [rbp + 0x48c]
call fcn.140035d94
mov ecx, dword [rbp + 0x494]
call fcn.140035d94
mov ecx, dword [rbp + 0x484]
lea rdx, [0x14005d264]
mov dword [rbp + 0x494], 0xffffffff
mov dword [rbp + 0x48c], 0xffffffff
mov dword [rbp + 0x480], 0xffffffff
call fcn.140033618
mov r14, rax
test rax, rax
jne 0x14000f4f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003d3fc
mov r9, rax
lea rdx, str.Error:_CGI_program___s_:_Can_not_open_stdin:__s
mov r8, rdi
mov rcx, r13
mov rbx, rax
call fcn.1400079a0
mov r9, rbx
lea r8, str.Error:_CGI_can_not_open_fdin_nfopen:__s
mov edx, 0x1f4
mov rcx, r13
call fcn.140008820
mov rcx, qword [rbp - 0x58]
call fcn.14002da28
mov rcx, rsi
call fcn.14002da28
mov rbx, r15
jmp 0x14000fa54
mov ecx, dword [rbp + 0x488]
lea rdx, [0x14005ab64]
call fcn.140033618
mov qword [rsp + 0x48], rax
mov rbx, rax
test rax, rax
jne 0x14000f564
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003d3fc
lea rdx, str.Error:_CGI_program___s_:_Can_not_open_stdout:__s
mov r8, rdi
mov r9, rax
mov rcx, r13
mov rbx, rax
call fcn.1400079a0
mov r9, rbx
lea r8, str.Error:_CGI_can_not_open_fdout_nfopen:__s
mov edx, 0x1f4
mov rcx, r13
call fcn.140008820
mov rcx, qword [rbp - 0x58]
call fcn.14002da28
mov rcx, rsi
call fcn.14002da28
jmp 0x14000fa4f
mov ecx, dword [rbp + 0x490]
lea rdx, [0x14005ab64]
call fcn.140033618
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14000f596
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003d3fc
lea rdx, str.Error:_CGI_program___s_:_Can_not_open_stderr:__s
jmp 0x14000f526
xor edx, edx
mov rcx, r14
call fcn.140032f3c
xor edx, edx
mov rcx, rbx
call fcn.140032f3c
mov rcx, qword [rsp + 0x50]
xor edx, edx
call fcn.140032f3c
mov qword [rbp - 0x30], rbx
cmp qword [r13 + 0x68], r15
jg 0x14000f5c9
cmp dword [r13 + 0x508], r15d
je 0x14000f600
mov rdx, r14
mov rcx, r13
call fcn.14000e630
test eax, eax
jne 0x14000f600
mov r8, rdi
lea rdx, str.Error:_CGI_program___s_:_Forward_body_data_failed
mov rcx, r13
call fcn.1400079a0
mov rcx, qword [rbp - 0x58]
call fcn.14002da28
mov rcx, rsi
call fcn.14002da28
jmp 0x14000fa54
mov rcx, r14
call fcn.1400313a0
mov ecx, 0x4000
mov qword [rsp + 0x78], r15
mov r14, r15
mov dword [rbp + 0x484], 0xffffffff
mov dword [rsp + 0x40], r15d
call fcn.14002da3c
mov qword [rsp + 0x68], rax
mov r12, rax
mov r9d, 0x4000
test rax, rax
jne 0x14000f66a
lea r8, str.Error:_Not_enough_memory_for_CGI_buffer___u_bytes_
mov edx, 0x1f4
mov rcx, r13
call fcn.140008820
mov r9d, 0x4000
lea rdx, str.Error:_CGI_program___s_:_Not_enough_memory_for_buffer___u_bytes_
mov r8, rdi
mov rcx, r13
call fcn.1400079a0
jmp 0x14000f5ea
lea rax, [rsp + 0x40]
mov r8, r12
mov rdx, r13
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.14000de00
mov dword [rsp + 0x58], eax
test eax, eax
jg 0x14000f72a
mov rcx, qword [rsp + 0x50]
mov r9d, 0x4000
mov r8, r12
mov rdx, r13
call fcn.140009f70
mov qword [rsp + 0x20], r12
mov ebx, eax
mov rcx, r13
test eax, eax
jle 0x14000f6e9
mov r9d, eax
lea rdx, str.Error:_CGI_program___s__sent_error_message:___.s_
mov r8, rdi
call fcn.1400079a0
mov r9, rdi
mov qword [rsp + 0x28], r12
lea r8, str.Error:_CGI_program___s__sent_error_message:___.s_
mov dword [rsp + 0x20], ebx
mov edx, 0x1f4
mov rcx, r13
call fcn.140008820
jmp 0x14000f54e
mov ebx, dword [rsp + 0x40]
lea rdx, str.Error:_CGI_program_sent_malformed_or_too_big____u_bytes__HTTP_headers:___.s_
mov r9d, ebx
mov r8d, 0x4000
call fcn.1400079a0
mov r9d, 0x4000
mov qword [rsp + 0x28], r12
lea r8, str.Error:_CGI_program_sent_malformed_or_too_big____u_bytes__HTTP_headers:___.s_
mov dword [rsp + 0x20], ebx
mov edx, 0x1f4
mov rcx, r13
call fcn.140008820
jmp 0x14000f54e
dec eax
mov dword [rbp + 0x78], r15d
movsxd rcx, eax
lea rdi, [rbp + 0x80]
mov rdx, r12
mov rbx, r12
mov esi, 1
mov byte [rcx + r12], r14b
movzx eax, byte [r12]
nop
cmp al, 0x3a
je 0x14000f767
cmp al, 0xd
je 0x14000f767
test al, al
je 0x14000f767
movzx eax, byte [rbx + 1]
inc rbx
cmp al, 0x3a
jne 0x14000f754
movzx eax, byte [rbx]
test al, al
je 0x14000f7d8
cmp al, 0xd
jne 0x14000f783
cmp byte [rbx + 1], 0xa
jne 0x14000f7d8
mov rax, rbx
mov qword [rdi], rdx
mov rbx, r15
jmp 0x14000f7a7
mov byte [rbx], r15b
mov qword [rdi], rdx
nop dword [rax]
inc rbx
cmp byte [rbx], 0x20
je 0x14000f790
lea rdx, [0x14005cba0]
mov rcx, rbx
call fcn.14002c350
mov qword [rdi + 8], rbx
mov dword [rbp + 0x78], esi
test rax, rax
je 0x14000f7d8
lea rdx, [rax + 2]
mov word [rax], r15w
movzx eax, byte [rdx]
cmp al, 0xd
je 0x14000f7d8
inc esi
inc r14
add rdi, 0x10
mov rbx, rdx
cmp r14, 0x40
jl 0x14000f750
lea rax, [0x14005b70c]
mov qword [rsp + 0x60], rax
mov eax, dword [rbp + 0x78]
test eax, eax
jle 0x14000f88b
lea r12, [rbp + 0x80]
mov r14, qword [r12]
lea rax, str.Status
mov rdi, rax
sub r14, rax
nop word [rax + rax]
movzx ecx, byte [r14 + rdi]
mov rsi, rdi
call fcn.140032b90
movzx ecx, byte [rdi]
mov ebx, eax
call fcn.140032b90
inc rdi
cmp eax, ebx
jne 0x14000f874
cmp byte [rsi], 0
jne 0x14000f810
movsxd rax, r15d
add rax, rax
mov rbx, qword [rbp + rax*8 + 0x88]
test rbx, rbx
je 0x14000f888
mov rcx, rbx
call fcn.140036e20
mov dword [r13 + 0x540], eax
movzx ecx, byte [rbx]
mov qword [rsp + 0x60], rbx
call fcn.140031b00
test eax, eax
jne 0x14000f86f
cmp byte [rbx], 0x20
jne 0x14000f909
inc rbx
jmp 0x14000f855
mov eax, dword [rbp + 0x78]
inc r15d
add r12, 0x10
cmp r15d, eax
jge 0x14000f88b
jmp 0x14000f7f6
mov eax, dword [rbp + 0x78]
xor r15d, r15d
test eax, eax
jle 0x14000f8fe
lea r12, [rbp + 0x80]
mov r14, qword [r12]
lea rax, str.Location
mov rdi, rax
sub r14, rax
nop word [rax + rax]
movzx ecx, byte [r14 + rdi]
mov rsi, rdi
call fcn.140032b90
movzx ecx, byte [rdi]
mov ebx, eax
call fcn.140032b90
inc rdi
cmp eax, ebx
jne 0x14000f8f1
cmp byte [rsi], 0
jne 0x14000f8b0
movsxd rax, r15d
add rax, rax
cmp qword [rbp + rax*8 + 0x88], 0
je 0x14000f8fe
mov dword [r13 + 0x540], 0x12e
jmp 0x14000f909
inc r15d
add r12, 0x10
cmp r15d, dword [rbp + 0x78]
jl 0x14000f899
mov dword [r13 + 0x540], 0xc8
mov esi, dword [rbp + 0x78]
xor eax, eax
mov r15d, eax
test esi, esi
jle 0x14000f977
lea r12, [rbp + 0x80]
mov r14, qword [r12]
lea rax, str.Connection
mov rdi, rax
sub r14, rax
nop dword [rax]
movzx ecx, byte [r14 + rdi]
mov rsi, rdi
call fcn.140032b90
movzx ecx, byte [rdi]
mov ebx, eax
call fcn.140032b90
inc rdi
cmp eax, ebx
jne 0x14000f966
cmp byte [rsi], 0
jne 0x14000f930
mov esi, dword [rbp + 0x78]
movsxd rax, r15d
add rax, rax
mov rax, qword [rbp + rax*8 + 0x88]
jmp 0x14000f977
mov esi, dword [rbp + 0x78]
inc r15d
add r12, 0x10
cmp r15d, esi
jl 0x14000f91c
xor eax, eax
mov rcx, rax
call fcn.140007de0
test eax, eax
jne 0x14000f98e
mov dword [r13 + 0x528], 1
mov r9, qword [rsp + 0x60]
lea rdx, str.HTTP_1.1__d__s_r_n
mov r8d, dword [r13 + 0x540]
mov rcx, r13
call fcn.14000a8e0
test esi, esi
jle 0x14000f9e0
lea rbx, [rbp + 0x80]
mov edi, esi
nop word [rax + rax]
mov r9, qword [rbx + 8]
lea rdx, str._s:__s_r_n
mov r8, qword [rbx]
mov rcx, r13
call fcn.14000a8e0
lea rbx, [rbx + 0x10]
sub rdi, 1
jne 0x14000f9c0
mov r8d, 2
lea rdx, [0x14005cba0]
mov rcx, r13
call fcn.14000a560
movsxd rcx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x40]
mov r12, qword [rsp + 0x68]
sub eax, ecx
movsxd r8, eax
lea rdx, [r12 + rcx]
mov rcx, r13
call fcn.14000a560
movsxd rcx, eax
lea rdx, [rbp - 0x40]
add qword [r13 + 0x4f0], rcx
movabs r9, 0x7fffffffffffffff
mov rcx, r13
xor r8d, r8d
call fcn.14000d280
mov rcx, qword [rbp - 0x58]
call fcn.14002da28
mov rcx, qword [rsp + 0x70]
call fcn.14002da28
mov r14, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x50]
jmp 0x14000fac2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14003d3fc
mov r9, rax
lea rdx, str.Error:_CGI_program___s_:_Can_not_create_CGI_pipes:__s
mov r8, rdi
mov rcx, r13
mov rbx, rax
call fcn.1400079a0
mov r9, rbx
lea r8, str.Error:_Cannot_create_CGI_pipe:__s
mov edx, 0x1f4
mov rcx, r13
call fcn.140008820
mov rcx, qword [rbp - 0x58]
call fcn.14002da28
mov rcx, qword [rbp - 0x70]
call fcn.14002da28
mov rbx, rsi
mov ecx, dword [rbp + 0x480]
cmp ecx, 0xffffffff
je 0x14000fad2
call fcn.140035d94
mov ecx, dword [rbp + 0x48c]
cmp ecx, 0xffffffff
je 0x14000fae2
call fcn.140035d94
test r14, r14
je 0x14000faf1
mov rcx, r14
call fcn.1400313a0
jmp 0x14000fb01
mov ecx, dword [rbp + 0x484]
cmp ecx, 0xffffffff
je 0x14000fb01
call fcn.140035d94
test rbx, rbx
je 0x14000fb10
mov rcx, rbx
call fcn.1400313a0
jmp 0x14000fb20
mov ecx, dword [rbp + 0x488]
cmp ecx, 0xffffffff
je 0x14000fb20
call fcn.140035d94
test rsi, rsi
je 0x14000fb2f
mov rcx, rsi
call fcn.1400313a0
jmp 0x14000fb3f
mov ecx, dword [rbp + 0x490]
cmp ecx, 0xffffffff
je 0x14000fb3f
call fcn.140035d94
test r12, r12
je 0x14000fb4c
mov rcx, r12
call fcn.14002da28
mov r12, qword [rsp + 0x710]
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.14002b5c0
add rsp, 0x6c0
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret