Function at 0x140005900
Capabilities:
Terminate process

Disassembly:
push rbx
push r15
sub rsp, 0x108
mov rax, qword [0x14001b1f0]
xor rax, rsp
mov qword [rsp + 0xf0], rax
cmp dword [0x14001b27c], 0
mov rcx, qword [0x14001bbb8]
je 0x14000594c
mov rdx, qword [0x14001b270]
call fcn.1400089d0
movzx ecx, word [0x14001b278]
mov rdx, rax
mov word [0x14001fc70], cx
jmp 0x140005969
mov rdx, qword [0x14001fcc0]
call fcn.1400089d0
mov rdx, rax
movzx eax, word [0x14001fc88]
mov word [0x14001fc70], ax
cmp dword [0x14001b288], 0
mov r15d, 1
mov qword [0x14001fc80], rdx
jne 0x1400059ec
mov rdx, qword [0x14001fcc0]
lea rcx, str.Benchmarking__s
call fcn.140004220
cmp dword [0x14001b27c], 0
je 0x1400059b5
mov r8d, dword [0x14001b278]
lea rcx, str._through__s:_d_
mov rdx, qword [0x14001b270]
call fcn.140004220
cmp dword [0x14001b034], 0
lea rax, reloc.WSOCK32.dll_inet_addr
lea rdx, [0x1400142e4]
cmovne rdx, rax
lea rcx, str._be_patient__s
call fcn.140004220
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
movsxd rbx, dword [reloc.WSOCK32.dll_accept]
mov edx, 0x20a8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
test rax, rax
jne 0x140005a32
lea ecx, [rax + 2]
imul rbx, rbx, 0x20a8
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Could_not_allocate_memory___I64u_bytes__n
mov rcx, rax
call fcn.140001620
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
movsxd rbx, dword [reloc.WSOCK32.dll_accept]
mov edx, 0x20
mov rcx, rbx
mov qword [0x14001bbc8], rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
test rax, rax
jne 0x140005a7c
lea ecx, [rax + 2]
shl rbx, 5
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.Could_not_allocate_memory___I64u_bytes__n
mov rcx, rax
call fcn.140001620
mov ecx, r15d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r8, qword [0x14001bbb8]
lea rcx, [0x14001bbb0]
mov edx, dword [reloc.WSOCK32.dll_accept]
mov r9d, 2
mov qword [0x14001bbc0], rax
call fcn.14000d6b0
test eax, eax
jne 0x1400061bf
mov rdx, qword [0x14001fc48]
lea rbx, [0x140014314]
mov qword [rsp + 0x138], r12
xor r12d, r12d
test rdx, rdx
jne 0x140005b12
mov rax, qword [0x14001fc50]
lea r8, [0x140014318]
mov r9, qword [0x14001fcb8]
mov rdx, qword [0x14001fc90]
mov rcx, qword [0x14001bbb8]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.1400088a0
mov rdx, qword [0x14001fc48]
mov r10, rax
mov qword [0x14001fc90], rax
jmp 0x140005b19
mov r10, qword [0x14001fc90]
cmp dword [0x14001fc28], r12d
je 0x140005b75
cmp dword [reloc.WSOCK32.dll_accept], r12d
je 0x140005b75
mov qword [0x14001b2f8], rdx
test rdx, rdx
jne 0x140005b4a
mov rdx, qword [0x14001fcc0]
mov qword [0x14001b2f8], rdx
test rdx, rdx
je 0x140005b75
cmp byte [rdx], r12b
je 0x140005b6e
mov r9, qword [0x14001bbb8]
lea rcx, [rsp + 0x68]
xor r8d, r8d
call fcn.14000c1b0
mov r10, qword [0x14001fc90]
test eax, eax
jne 0x140005b75
mov qword [0x14001b2f8], r12
cmp dword [0x14001b280], r12d
jne 0x140005baf
mov rcx, qword [0x14001bbb8]
lea r9, [0x140014320]
mov qword [rsp + 0x28], r12
lea r8, str.User_Agent:_ApacheBench_
mov rdx, r10
mov qword [rsp + 0x20], rbx
call fcn.1400088a0
mov r10, rax
mov qword [0x14001fc90], rax
cmp dword [0x14001b284], r12d
jne 0x140005bdb
mov rcx, qword [0x14001bbb8]
lea r8, str.Accept:___r_n
xor r9d, r9d
mov rdx, r10
call fcn.1400088a0
mov r10, rax
mov qword [0x14001fc90], rax
cmp dword [0x14001b24c], r12d
lea rbx, section..data
movsxd r9, dword [0x14001b248]
lea r8, [0x1400128c9]
mov rcx, qword [0x14001fcb0]
mov r9, qword [rbx + r9*8]
jne 0x140005c69
cmp dword [0x14001b258], r12d
lea rax, str.Connection:_Keep_Alive_r_n
mov qword [rsp + 0x40], r10
mov edx, 0x2000
cmovne r8, rax
mov rax, qword [0x14001fc98]
cmp dword [0x14001b27c], r12d
mov qword [rsp + 0x38], rax
cmovne rcx, qword [0x14001fc58]
mov rax, qword [0x14001fca0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
lea r8, str._s__s_HTTP_1.0_r_n_s_s_s_s_r_n
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x14001b050]
call fcn.1400090e0
jmp 0x140005cef
mov rax, qword [0x14001b268]
lea rdx, str.text_plain
test rax, rax
mov qword [rsp + 0x50], r10
cmovne rdx, rax
cmp dword [0x14001b258], r12d
mov qword [rsp + 0x48], rdx
lea rax, str.Connection:_Keep_Alive_r_n
cmovne r8, rax
mov edx, 0x2000
mov rax, qword [0x14001b260]
cmp dword [0x14001b27c], r12d
mov qword [rsp + 0x40], rax
mov rax, qword [0x14001fc98]
cmovne rcx, qword [0x14001fc58]
mov qword [rsp + 0x38], rax
mov rax, qword [0x14001fca0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r8
lea r8, str._s__s_HTTP_1.0_r_n_s_s_sContent_length:__I64u_r_nContent_type:__s_r_n_s_r_n
mov qword [rsp + 0x20], rcx
mov rcx, qword [0x14001b050]
call fcn.1400090e0
cmp eax, 0x2000
jae 0x1400061ce
cmp dword [0x14001b240], 2
jl 0x140005d21
movsxd rdx, dword [0x14001b248]
lea rcx, str.INFO:__s_header___n____n_s_n____n
mov r8, qword [0x14001b050]
mov rdx, qword [rbx + rdx*8]
call fcn.140004220
mov rax, qword [0x14001b050]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], r12b
jne 0x140005d30
cmp dword [0x14001b24c], r12d
mov qword [0x14001dbe0], rcx
je 0x140005da6
mov rax, qword [0x14001b260]
inc rax
add rcx, rax
call fcn.1400069f0
mov rdx, qword [0x14001b050]
mov rbx, rax
mov r8, rax
nop dword [rax + rax]
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
mov byte [r8], cl
lea r8, [r8 + 1]
test cl, cl
jne 0x140005d70
mov rcx, qword [0x14001dbe0]
mov r8, qword [0x14001b260]
add rcx, rbx
mov rdx, qword [0x14001fca8]
call sub.VCRUNTIME140.dll_memcpy
mov qword [0x14001b050], rbx
mov rdx, qword [0x14001fc78]
test rdx, rdx
je 0x140005df5
mov rax, qword [0x14001bbb8]
lea rcx, [0x14001bba8]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r12d
call fcn.14000c5a0
mov ebx, eax
test eax, eax
jne 0x1400061db
cmp qword [0x14001fc78], r12
je 0x140005df5
mov rax, qword [0x14001bba8]
mov r8d, dword [rax + 0x1c]
jmp 0x140005df8
mov r8d, r12d
mov rax, qword [0x14001bbb8]
lea rcx, [0x14001bba0]
movzx r9d, word [0x14001fc70]
mov rdx, qword [0x14001fc80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
call fcn.14000c5a0
mov ebx, eax
test eax, eax
jne 0x140006205
mov qword [rsp + 0x120], rbp
mov qword [rsp + 0x128], rsi
mov qword [rsp + 0x130], rdi
mov qword [rsp + 0x100], r14
call fcn.1400076d0
movsxd rcx, dword [0x14001b254]
mov qword [0x14001fc00], rax
mov qword [0x14001fc08], rax
test ecx, ecx
je 0x140005e78
imul r14, rcx, 0xf4240
add r14, rax
jmp 0x140005e82
movabs r14, 0x7fffffffffffffff
lea rdx, [fcn.140002dd0]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_signal]
mov rax, qword [0x14001bbc8]
mov dword [rax + 0x2098], r12d
mov rcx, qword [0x14001bbc8]
call fcn.140005430
nop
mov eax, dword [reloc.WSOCK32.dll_accept]
mov dword [rsp + 0x60], eax
nop word [rax + rax]
mov rdx, qword [0x14001b048]
lea r9, [rsp + 0x68]
mov rcx, qword [0x14001bbb0]
lea r8, [rsp + 0x60]
call fcn.14000d860
cmp eax, 4
je 0x140005ec0
cmp eax, 0xb2394
je 0x140005ec0
test eax, eax
jne 0x1400061b0
mov ebp, r12d
cmp dword [rsp + 0x60], r12d
jle 0x140005ff0
mov rsi, qword [rsp + 0x68]
add rsi, 0xe
nop dword [rax + rax]
mov rbx, qword [rsi + 0xa]
mov eax, dword [rbx + 0x30]
test eax, eax
je 0x140005fe0
movzx edi, word [rsi]
cmp eax, 2
jne 0x140005f49
mov rcx, qword [rbx + 0x20a0]
test rcx, rcx
je 0x140005f49
call sub.libssl_1_1_x64.dll_SSL_in_init
test eax, eax
je 0x140005f49
mov rcx, rbx
call fcn.140004df0
jmp 0x140005fe0
test dil, 0x23
je 0x140005f57
mov rcx, rbx
call fcn.140004280
test dil, 0x50
jne 0x1400060fc
test dil, 4
je 0x140005fe0
cmp dword [rbx + 0x30], r15d
jne 0x14000609b
mov rdx, qword [0x14001bba0]
mov rcx, qword [rbx + 8]
call fcn.14000bd90
movzx ecx, word [rbx + 0x1c]
mov edi, eax
test eax, eax
je 0x14000603e
mov dword [rbx + 0x30], r12d
test cx, cx
je 0x140005fb0
mov rcx, qword [0x14001bbb0]
lea rdx, [rbx + 0x10]
call fcn.14000d870
test eax, eax
jne 0x14000622f
mov rcx, qword [rbx + 8]
call fcn.14000bd60
mov eax, dword [0x14001b2bc]
mov ecx, eax
inc dword [0x14001b2c8]
inc eax
mov dword [0x14001b2bc], eax
cmp ecx, 0xa
jg 0x14000623e
mov rcx, rbx
call fcn.140005430
inc ebp
add rsi, 0x20
cmp ebp, dword [rsp + 0x60]
jl 0x140005f10
cmp qword [0x14001fc00], r14
jge 0x14000600b
mov eax, dword [reloc.WSOCK32.dll_accept]
cmp dword [0x14001b2b0], eax
jl 0x140005eb0
cmp dword [0x14001b034], r12d
je 0x14000614a
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, dword [0x14001b2b0]
lea rdx, str.Finished__d_requests_n
mov rcx, rax
call fcn.140001620
jmp 0x140006156
mov dword [rbx + 0x30], 2
cmp cx, r15w
je 0x140006085
test cx, cx
je 0x140006068
mov rcx, qword [0x14001bbb0]
lea rdx, [rbx + 0x10]
call fcn.14000d870
test eax, eax
jne 0x140006267
mov word [rbx + 0x1c], r15w
lea rdx, [rbx + 0x10]
mov rcx, qword [0x14001bbb0]
call fcn.14000d6a0
test eax, eax
jne 0x140006276
mov rcx, rbx
cmp qword [rbx + 0x20a0], r12
je 0x1400060f2
call fcn.140004df0
jmp 0x140005fe0
movzx eax, word [rbx + 0x1c]
cmp ax, r15w
je 0x1400060df
test ax, ax
je 0x1400060c2
mov rcx, qword [0x14001bbb0]
lea rdx, [rbx + 0x10]
call fcn.14000d870
test eax, eax
jne 0x140006285
mov word [rbx + 0x1c], r15w
lea rdx, [rbx + 0x10]
mov rcx, qword [0x14001bbb0]
call fcn.14000d6a0
test eax, eax
jne 0x140006294
cmp dword [rbx + 0x30], 3
mov rcx, rbx
jne 0x1400060f2
call fcn.140004280
jmp 0x140005fe0
call fcn.140006760
jmp 0x140005fe0
mov rax, qword [0x14001bba0]
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x140006127
cmp dword [rbx + 0x30], r15d
jne 0x140006127
cmp dword [0x14001b2b8], r12d
jne 0x140006127
mov qword [0x14001bba0], rcx
jmp 0x140005fd8
inc dword [0x14001b2bc]
inc dword [0x14001b2d0]
cmp dword [rbx + 0x30], r15d
jne 0x140005fd8
mov rcx, rbx
call fcn.140004280
jmp 0x140005fe0
lea rcx, str...done_n
call fcn.140004220
cmp dword [0x14001b288], r12d
je 0x1400061a7
call fcn.140002740
mov rbp, qword [rsp + 0x120]
mov rdi, qword [rsp + 0x130]
mov rsi, qword [rsp + 0x128]
mov r14, qword [rsp + 0x100]
mov r12, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140011030
add rsp, 0x108
pop r15
pop rbx
ret
xor ecx, ecx
call fcn.140002dd0
jmp 0x140006164
mov edx, eax
lea rcx, str.apr_pollset_poll
call fcn.140001240
int3
mov edx, eax
lea rcx, str.apr_pollset_create_failed
call fcn.140001240
int3
lea rcx, str.Request_too_long_n
call fcn.1400015d0
int3
mov r9, qword [0x14001fc78]
lea r8, str.apr_sockaddr_info_get___for__s
mov edx, 0x78
lea rcx, [rsp + 0x70]
call fcn.1400090e0
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140001240
int3
mov r9, qword [0x14001fc80]
lea r8, str.apr_sockaddr_info_get___for__s
mov edx, 0x78
lea rcx, [rsp + 0x70]
call fcn.1400090e0
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.140001240
int3
mov edx, eax
lea rcx, str.apr_pollset_remove__
call fcn.140001240
int3
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str._nTest_aborted_after_10_failures_n_n
call fcn.140001620
mov edx, edi
lea rcx, str.apr_socket_connect__
call fcn.140001240
int3
mov edx, eax
lea rcx, str.apr_pollset_remove__
call fcn.140001240
int3
mov edx, eax
lea rcx, str.apr_pollset_add__
call fcn.140001240
int3
mov edx, eax
lea rcx, str.apr_pollset_remove__
call fcn.140001240
int3
mov edx, eax
lea rcx, str.apr_pollset_add__
call fcn.140001240
int3