Function at 0x140003840
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
test r8d, r8d
mov r13d, r8d
mov eax, 0xc8
cmove r13d, eax
cmp qword [rcx], 0
mov r12d, r9d
mov r14d, edx
mov rbx, rcx
mov dword [rbp - 0x48], r13d
jne 0x1400038d4
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0x4e
xor ecx, ecx
mov edi, 4
lea edx, [rax - 0x79]
test r9d, r9d
je 0x140003944
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x14000394d
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 - 3]
call qword [sym.imp.MSVCR110.dll_exit]
int3
mov rdi, qword [rcx + 8]
add rdi, 4
cmp rdi, qword [rcx + 0x10]
jb 0x140003950
lea rax, [rdi + 0x80]
mov qword [rcx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140003907
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140003944
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x14000394d
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov dword [rcx + rax], 0x50545448
cmp qword [rbx], 0
mov qword [rbx + 8], rdi
jne 0x1400039ba
mov edi, 1
xor ecx, ecx
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0x4e
lea edx, [rdi + 0x4e]
test r12d, r12d
je 0x140003a25
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003a2e
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, edi
call qword [sym.imp.MSVCR110.dll_exit]
int3
inc rdi
cmp rdi, qword [rbx + 0x10]
jb 0x140003a31
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x1400039e8
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140003a25
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003a2e
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rax, qword [rbx]
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x70], r15
mov qword [rbx + 8], rdi
mov byte [rax + rdi - 1], 0x2f
mov eax, 0x51eb851f
lea rsi, [rbp - 0x11]
mov byte [rbp - 0x11], 0
imul r14d
mov r15d, edx
sar r15d, 5
mov eax, r15d
shr eax, 0x1f
add r15d, eax
mov r8d, r15d
nop dword [rax]
mov eax, 0x66666667
dec rsi
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rsi], r8b
mov r8d, edx
test edx, edx
jg 0x140003a70
cmp qword [rbx], 0
lea rdi, [rbp - 0x11]
jne 0x140003b1a
sub rdi, rsi
mov qword [rbx + 8], 0
cmp rdi, 0x4e
jae 0x140003ac3
mov edx, 0x4e
jmp 0x140003ad6
mov rdx, rdi
cmp rdi, 0x7fffff7f
jae 0x140003ad6
lea rdx, [rdi + 0x80]
mov qword [rbx + 0x10], rdx
xor ecx, ecx
inc rdx
test r12d, r12d
je 0x140003b8c
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003b95
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
mov rax, qword [rbx + 8]
sub rax, rsi
add rdi, rax
cmp rdi, qword [rbx + 0x10]
jb 0x140003b98
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140003b4f
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140003b8c
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003b95
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x11]
mov rdx, rsi
add rcx, qword [rbx]
sub r8, rsi
call sub.MSVCR110.dll_memcpy
cmp qword [rbx], 0
mov qword [rbx + 8], rdi
jne 0x140003c0a
mov edi, 1
xor ecx, ecx
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0x4e
lea edx, [rdi + 0x4e]
test r12d, r12d
je 0x140003c75
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003c7e
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, edi
call qword [sym.imp.MSVCR110.dll_exit]
int3
inc rdi
cmp rdi, qword [rbx + 0x10]
jb 0x140003c81
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140003c38
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140003c75
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003c7e
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rax, qword [rbx]
imul r15d, r15d, 0x64
mov qword [rbx + 8], rdi
lea rsi, [rbp - 0x11]
mov byte [rbp - 0x11], 0
mov byte [rax + rdi - 1], 0x2e
sub r14d, r15d
nop dword [rax]
mov eax, 0x66666667
dec rsi
imul r14d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r14b, cl
add r14b, 0x30
mov byte [rsi], r14b
mov r14d, edx
test edx, edx
jg 0x140003ca0
cmp qword [rbx], 0
lea rdi, [rbp - 0x11]
jne 0x140003d51
xor r14d, r14d
sub rdi, rsi
mov qword [rbx + 8], r14
cmp rdi, 0x4e
jae 0x140003cf1
lea edx, [r14 + 0x4e]
jmp 0x140003d04
mov rdx, rdi
cmp rdi, 0x7fffff7f
jae 0x140003d04
lea rdx, [rdi + 0x80]
mov qword [rbx + 0x10], rdx
xor ecx, ecx
inc rdx
test r12d, r12d
je 0x140003d40
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003d49
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
jmp 0x140003dd2
mov rax, qword [rbx + 8]
sub rax, rsi
add rdi, rax
cmp rdi, qword [rbx + 0x10]
jb 0x140003dcf
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140003d86
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140003dc3
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003dcc
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
xor r14d, r14d
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x11]
mov rdx, rsi
add rcx, qword [rbx]
sub r8, rsi
call sub.MSVCR110.dll_memcpy
cmp qword [rbx], 0
mov qword [rbx + 8], rdi
jne 0x140003e40
mov edi, 1
xor ecx, ecx
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], 0x4e
lea edx, [rdi + 0x4e]
test r12d, r12d
je 0x140003eab
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003eb4
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, edi
call qword [sym.imp.MSVCR110.dll_exit]
int3
inc rdi
cmp rdi, qword [rbx + 0x10]
jb 0x140003eb7
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140003e6e
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140003eab
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003eb4
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rax, qword [rbx]
mov qword [rbx + 8], rdi
lea rsi, [rbp - 0x11]
mov r8d, r13d
mov byte [rbp - 0x11], 0
mov byte [rax + rdi - 1], 0x20
nop
mov eax, 0x66666667
dec rsi
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [rsi], r8b
mov r8d, edx
test edx, edx
jg 0x140003ed0
cmp qword [rbx], 0
lea rdi, [rbp - 0x11]
jne 0x140003f76
sub rdi, rsi
mov qword [rbx + 8], r14
cmp rdi, 0x4e
jae 0x140003f1f
mov edx, 0x4e
jmp 0x140003f32
mov rdx, rdi
cmp rdi, 0x7fffff7f
jae 0x140003f32
lea rdx, [rdi + 0x80]
mov qword [rbx + 0x10], rdx
xor ecx, ecx
inc rdx
test r12d, r12d
je 0x140003fe8
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003ff1
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
mov rax, qword [rbx + 8]
sub rax, rsi
add rdi, rax
cmp rdi, qword [rbx + 0x10]
jb 0x140003ff4
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140003fab
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140003fe8
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x140003ff1
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rcx, qword [rbx + 8]
lea r8, [rbp - 0x11]
mov rdx, rsi
add rcx, qword [rbx]
sub r8, rsi
call sub.MSVCR110.dll_memcpy
cmp qword [rbx], 0
mov qword [rbx + 8], rdi
jne 0x140004062
mov edi, 1
xor ecx, ecx
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], 0x4e
lea edx, [rdi + 0x4e]
test r12d, r12d
je 0x1400040cd
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x1400040d6
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, edi
call qword [sym.imp.MSVCR110.dll_exit]
int3
inc rdi
cmp rdi, qword [rbx + 0x10]
jb 0x1400040d9
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140004090
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x1400040cd
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x1400040d6
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rax, qword [rbx]
mov dword [rbp - 0x40], r13d
lea r13, [0x140003820]
mov r9d, reloc.WS2_32.dll_recv
mov qword [rbx + 8], rdi
mov byte [rax + rdi - 1], 0x20
cmp qword [rbx], 0
mov qword [rbp - 0x38], r14
lea rdx, [0x140013410]
lea r8d, [r9 + 0x1f]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], r13
jne 0x1400041ae
mov qword [rbx + 8], r14
call qword [sym.imp.MSVCR110.dll_bsearch]
lea r15, str.Unknown_Status_Code
test rax, rax
je 0x140004134
mov rax, qword [rax + 8]
jmp 0x140004137
mov rax, r15
or rsi, 0xffffffffffffffff
mov rdi, rsi
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140004140
cmp rdi, 0x4e
jae 0x140004156
mov edx, 0x4e
jmp 0x140004169
mov rdx, rdi
cmp rdi, 0x7fffff7f
jae 0x140004169
lea rdx, [rdi + 0x80]
mov rcx, qword [rbx]
mov qword [rbx + 0x10], rdx
inc rdx
test r12d, r12d
je 0x140004245
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x14000424e
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_bsearch]
lea r15, str.Unknown_Status_Code
test rax, rax
je 0x1400041c6
mov rax, qword [rax + 8]
jmp 0x1400041c9
mov rax, r15
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400041d0
add rdi, qword [rbx + 8]
cmp rdi, qword [rbx + 0x10]
jb 0x140004251
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140004208
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x140004245
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x14000424e
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov eax, dword [rbp - 0x48]
mov r9d, reloc.WS2_32.dll_recv
lea rdx, [0x140013410]
lea rcx, [rbp - 0x40]
lea r8d, [r9 + 0x1f]
mov qword [rbp - 0x38], r14
mov dword [rbp - 0x40], eax
mov qword [rsp + 0x20], r13
call qword [sym.imp.MSVCR110.dll_bsearch]
test rax, rax
je 0x140004286
mov r14, qword [rax + 8]
jmp 0x140004289
mov r14, r15
mov eax, dword [rbp - 0x48]
mov r9d, reloc.WS2_32.dll_recv
lea rdx, [0x140013410]
lea rcx, [rbp - 0x30]
lea r8d, [r9 + 0x1f]
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x30], eax
mov qword [rsp + 0x20], r13
call qword [sym.imp.MSVCR110.dll_bsearch]
test rax, rax
je 0x1400042c0
mov r15, qword [rax + 8]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x1400042c0
mov rcx, qword [rbx + 8]
mov r8, rsi
mov rdx, r15
add rcx, qword [rbx]
call sub.MSVCR110.dll_memcpy
cmp qword [rbx], 0
mov qword [rbx + 8], rdi
jne 0x140004339
mov edi, 2
xor ecx, ecx
mov qword [rbx + 8], 0
mov qword [rbx + 0x10], 0x4e
lea edx, [rdi + 0x4d]
test r12d, r12d
je 0x1400043a5
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x1400043ae
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 rdi, 2
cmp rdi, qword [rbx + 0x10]
jb 0x1400043b1
lea rax, [rdi + 0x80]
mov qword [rbx + 0x10], rax
cmp rax, 0x7fffffff
jb 0x140004368
lea rdx, str.String_size_overflow
mov ecx, 1
call qword [sym.imp.php5ts.dll_zend_error]
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rbx]
inc rdx
test r12d, r12d
je 0x1400043a5
call qword [sym.imp.MSVCR110.dll_realloc]
test rax, rax
jne 0x1400043ae
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
xor r8d, r8d
call qword [sym.imp.php5ts.dll__erealloc]
mov qword [rbx], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov rsi, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x70]
mov edx, 0xa0d
mov word [rcx + rax], dx
mov qword [rbx + 8], rdi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000bdd0
add rsp, 0x78
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret