Function at 0x140007800
Capabilities:
Terminate process

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor ebx, ebx
mov rbp, r9
mov qword [rsp + 0x68], r9
mov r13d, r8d
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x70], r8d
lea rax, [0x140003820]
lea r9d, [rbx + 0x10]
lea r8d, [rbx + 0x2f]
lea rdx, [0x140013410]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCR110.dll_bsearch]
test rax, rax
je 0x14000787b
mov rsi, qword [rax + 8]
jmp 0x140007882
lea rsi, str.Unknown_Status_Code
mov edx, 4
mov r8, rbx
lea r14, [0x140013700]
lea rcx, [rdx - 1]
lea rax, [rdx + 1]
add rax, r8
shr rax, 1
cmp rax, rcx
cmovb rcx, rax
mov rax, rcx
add rax, rax
mov r9d, dword [r14 + rax*8]
cmp r9d, r13d
jle 0x1400078ba
mov rdx, rcx
jmp 0x1400078bf
jge 0x1400078c9
mov r8, rcx
cmp rdx, r8
jne 0x140007891
mov r14, rbx
jmp 0x1400078d1
add rcx, rcx
mov r14, qword [r14 + rcx*8 + 8]
call qword [sym.imp.MSVCR110.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.MSVCR110.dll_strerror]
mov rcx, rax
call qword [sym.imp.MSVCR110.dll__strdup]
mov qword [rsp + 0x38], rbp
lea r12, [rdi + 0x1a8]
mov qword [r12], rbx
mov qword [r12 + 8], rbx
mov rdx, qword [rdi + 0x88]
mov rcx, qword [rdi + 0x80]
or dword [rdi + 0x1a0], 1
mov byte [rsp + 0x30], bl
lea r8, [rsp + 0x58]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 3
call qword [sym.imp.php5ts.dll_php_escape_html_entities_ex]
mov r15, rax
mov qword [rsp + 0x40], rax
or rcx, 0xffffffffffffffff
cmp byte [rsi + rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140007942
lea rbp, [rcx + 0x33]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCR110.dll_malloc]
mov rdi, rax
test rax, rax
je 0x1400081c9
lea rcx, [rax + 0x28]
lea r8, str.__doctype_html__html__head__title__d__s__title_
mov r9d, r13d
mov rdx, rbp
mov qword [rsp + 0x28], r15
mov dword [rax + 8], ebx
mov qword [rax + 0x18], rcx
mov qword [rax], rbx
mov qword [rax + 0x10], rax
mov qword [rax + 0x20], rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.php5ts.dll_ap_php_snprintf]
mov rcx, qword [rdi + 0x18]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bl
jne 0x1400079a1
mov qword [rdi + 0x20], rax
mov rax, qword [rdi]
mov rcx, rdi
test rax, rax
je 0x1400079cb
nop dword [rax + rax]
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400079c0
mov rax, qword [r12 + 8]
test rax, rax
jne 0x1400079db
mov qword [r12], rdi
jmp 0x1400079de
mov qword [rax], rdi
mov qword [r12 + 8], rcx
mov r15d, 0x28
mov ecx, r15d
call qword [sym.imp.MSVCR110.dll_malloc]
test rax, rax
je 0x1400081a6
lea rcx, str._style__nbody__background_color:_fcfcfc__color:_333333__margin:_0__padding:0___nh1__font_size:_1.5em__font_weight:_normal__background_color:_9999cc__min_height:2em__line_height:2em__border_bottom:_1px_inset_black__margin:_0___nh1__p__padding_left:_10px___ncode.url__background_color:_eeeeee__font_family:monospace__padding:0_2px__n__style__n
mov dword [rax + 8], 1
mov qword [rax], rbx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], 0x15b
mov rcx, qword [r12 + 8]
test rcx, rcx
jne 0x140007a28
mov qword [r12], rax
jmp 0x140007a2b
mov qword [rcx], rax
mov rcx, r15
mov qword [r12 + 8], rax
call qword [sym.imp.MSVCR110.dll_malloc]
test rax, rax
je 0x140008183
lea rcx, str.__head__body_
mov dword [rax + 8], 1
mov qword [rax], rbx
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_listen
mov rcx, qword [r12 + 8]
test rcx, rcx
jne 0x140007a6f
mov qword [r12], rax
jmp 0x140007a72
mov qword [rcx], rax
mov qword [r12 + 8], rax
or rcx, 0xffffffffffffffff
nop dword [rax + rax]
inc rcx
cmp byte [r14 + rcx], bl
jne 0x140007a80
or rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp byte [rsi + rdx], bl
jne 0x140007a90
mov rax, qword [rsp + 0x58]
add rax, 4
add rcx, rax
add rcx, rdx
call fcn.1400061e0
mov rbp, qword [rsp + 0x40]
mov rdi, rax
test rax, rax
je 0x140008055
mov rdx, qword [rax + 0x20]
mov rcx, qword [rax + 0x18]
mov r9, rsi
mov r8, r14
mov qword [rsp + 0x20], rbp
call qword [sym.imp.php5ts.dll_ap_php_snprintf]
mov rax, qword [rdi + 0x18]
or rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], bl
jne 0x140007ae0
mov qword [rdi + 0x20], rcx
mov rax, qword [rdi]
mov rcx, rdi
test rax, rax
je 0x140007b0b
nop word [rax + rax]
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x140007b00
mov rax, qword [r12 + 8]
test rax, rax
jne 0x140007b1b
mov qword [r12], rdi
jmp 0x140007b1e
mov qword [rax], rdi
mov qword [r12 + 8], rcx
mov rcx, r15
call qword [sym.imp.MSVCR110.dll_malloc]
test rax, rax
je 0x140008160
lea rcx, str.__body___html_
mov rdx, rax
mov dword [rax + 8], 1
mov qword [rax + 0x10], rcx
mov rcx, r12
mov qword [rax], rbx
mov qword [rax + 0x18], setsockopt
call fcn.140006130
mov rdi, qword [rsp + 0x48]
mov edx, dword [rdi + 0x7c]
xor eax, eax
lea rcx, [rsp + 0x70]
lea r9d, [rax + 1]
mov r8d, r13d
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
call fcn.140003840
cmp qword [rsp + 0x70], rbx
je 0x140008055
lea rcx, [rsp + 0x70]
mov r8d, 1
mov rdx, rdi
call fcn.1400043f0
mov rdi, qword [rsp + 0x70]
test rdi, rdi
jne 0x140007bf0
lea edx, [rdi + 0x4f]
xor ecx, ecx
mov r14, rbx
lea esi, [rdi + 0x4e]
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140007c5e
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rsi - 0x4d]
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
lea r15, [r14 + 0x28]
cmp r15, rsi
jb 0x140007c5e
lea rsi, [r15 + 0x80]
cmp rsi, 0x7fffffff
jb 0x140007c28
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
lea rdx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140007c5e
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rax, qword [str.Content_Type:_text_html__charsetUTF_8_r_n]
mov qword [r14 + rdi], rax
mov rax, qword [0x14000ff48]
mov qword [r14 + rdi + 8], rax
mov rax, qword [0x14000ff50]
mov qword [r14 + rdi + 0x10], rax
mov rax, qword [0x14000ff58]
mov qword [r14 + rdi + 0x18], rax
mov rax, qword [0x14000ff60]
mov qword [r14 + rdi + 0x20], rax
test rdi, rdi
jne 0x140007d2e
lea edx, [rdi + 0x4f]
xor ecx, ecx
mov r15, rbx
lea esi, [rdi + 0x4e]
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
je 0x140007d0b
lea ebp, [rsi - 0x3e]
mov rax, qword [str.Content_Length:]
mov r8, rbx
mov qword [r15 + rdi], rax
mov rax, qword [0x14000ff78]
mov qword [r15 + rdi + 8], rax
mov rcx, qword [r12]
lea r15, [rsp + 0x8f]
test rcx, rcx
je 0x140007dac
nop dword [rax]
mov edx, dword [rcx + 8]
test edx, edx
je 0x140007d99
dec edx
je 0x140007d93
mov rax, rbx
jmp 0x140007d9d
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 1
call qword [sym.imp.MSVCR110.dll_exit]
int3
lea rbp, [r15 + 0x10]
cmp rbp, rsi
jb 0x140007cbe
lea rsi, [rbp + 0x80]
cmp rsi, 0x7fffffff
jb 0x140007d59
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
lea rdx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140007cbe
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rax, qword [rcx + 0x18]
jmp 0x140007d9d
mov rax, qword [rcx + 0x20]
mov rcx, qword [rcx]
add r8, rax
test rcx, rcx
jne 0x140007cf0
mov byte [rsp + 0x8f], bl
movabs r9, 0xcccccccccccccccd
nop dword [rax]
dec r15
mov rax, r9
mul r8
shr rdx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r15], r8b
mov r8, rdx
test rdx, rdx
jne 0x140007dc0
lea r14, [rsp + 0x8f]
sub r14, r15
test rdi, rdi
jne 0x140007e54
mov rbp, rbx
cmp r14, 0x4e
jae 0x140007e08
lea esi, [rdx + 0x4e]
jmp 0x140007e1b
mov rsi, r14
cmp r14, 0x7fffff7f
jae 0x140007e1b
lea rsi, [r14 + 0x80]
lea rdx, [rsi + 1]
xor ecx, ecx
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140007eb4
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
add r14, rbp
cmp r14, rsi
jb 0x140007eb4
lea rsi, [r14 + 0x80]
cmp rsi, 0x7fffffff
jb 0x140007e7e
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
lea rdx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140007eb4
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
lea r8, [rsp + 0x8f]
lea rcx, [rdi + rbp]
mov rdx, r15
sub r8, r15
call sub.MSVCR110.dll_memcpy
mov ebp, 2
test rdi, rdi
jne 0x140007f16
lea edx, [rbp + 0x4d]
xor ecx, ecx
mov r14, rbx
mov r15d, ebp
lea esi, [rbp + 0x4c]
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140007f77
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rbp - 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
lea r15, [r14 + 2]
cmp r15, rsi
jb 0x140007f77
lea rsi, [r15 + 0x80]
cmp rsi, 0x7fffffff
jb 0x140007f41
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
lea rdx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140007f77
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov eax, 0xa0d
mov word [r14 + rdi], ax
test rdi, rdi
jne 0x140007fc1
lea edx, [rdi + 0x4f]
xor ecx, ecx
mov r15, rbx
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140008022
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
lea rbp, [r15 + 2]
cmp rbp, rsi
jb 0x140008027
lea rsi, [rbp + 0x80]
cmp rsi, 0x7fffffff
jb 0x140007fec
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
lea rdx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_realloc]
mov rdi, rax
test rax, rax
jne 0x140008022
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
lea ecx, [rdi + 1]
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov eax, 0xa0d
mov r8, rbp
mov rdx, rdi
mov rcx, rdi
mov word [r15 + rdi], ax
call fcn.140006170
mov rdx, rax
test rax, rax
jne 0x140008098
test rdi, rdi
je 0x140008050
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_free]
mov rbp, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140008068
mov rcx, rax
call qword [sym.imp.MSVCR110.dll_free]
mov rcx, rbp
call qword [sym.imp.php5ts.dll__efree]
or eax, 0xffffffff
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14000bdd0
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rax
mov rax, qword [rax]
test rax, rax
je 0x1400080ae
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x1400080a3
mov rax, qword [r12]
mov qword [rcx], rax
cmp qword [r12 + 8], rbx
jne 0x1400080c1
mov qword [r12 + 8], rcx
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov r9, qword [rsp + 0x68]
mov qword [r12], rdx
lea r8, [0x14000ff84]
test rdi, rdi
mov edx, r13d
mov rcx, rsi
cmovne r8, rdi
call fcn.1400064c0
mov r9, qword [rsp + 0x60]
movsxd r8, dword [rsi + 8]
mov ecx, dword [r9 + 0x810]
test ecx, ecx
je 0x140008113
mov eax, ebx
cmp qword [r9 + rax*8 + 0x818], r8
je 0x140008113
inc ebx
cmp ebx, ecx
jb 0x140008101
cmp ebx, ecx
jne 0x140008130
cmp ecx, 0x100
jae 0x140008130
mov eax, ebx
mov qword [r9 + rax*8 + 0x818], r8
inc dword [r9 + 0x810]
cmp r8, qword [r9 + 0x2028]
jbe 0x140008140
mov qword [r9 + 0x2028], r8
test rdi, rdi
je 0x14000814e
mov rcx, rdi
call qword [sym.imp.MSVCR110.dll_free]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.php5ts.dll__efree]
xor eax, eax
jmp 0x140008074
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 1
call qword [sym.imp.MSVCR110.dll_exit]
int3
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 1
call qword [sym.imp.MSVCR110.dll_exit]
int3
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 1
call qword [sym.imp.MSVCR110.dll_exit]
int3
call qword [sym.imp.MSVCR110.dll___iob_func]
lea rdx, str.Out_of_memory_n
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR110.dll_fprintf]
mov ecx, 1
call qword [sym.imp.MSVCR110.dll_exit]
int3