Function at 0x140001ab0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x78
mov rax, qword [0x1400374d0]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov qword [rsp + 0x20], rdx
lea rdx, [0x1400297bc]
mov esi, r9d
mov r13, r8
mov rdi, rcx
call fcn.14000aa30
mov rbx, rax
test rax, rax
jne 0x140001b0f
inc dword [0x14003804c]
lea rcx, str.Error:_File_not_found:__s_n
mov rdx, rdi
call fcn.1400034a0
or rax, 0xffffffffffffffff
jmp 0x140002240
mov rcx, rbx
mov qword [rsp + 0x70], r14
call fcn.140013a10
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.140011068
cmp dword [0x14003803c], 1
movsxd r14, dword [rsp + 0x44]
je 0x140001b62
cmp r14d, 0x2800
jle 0x140001b62
mov rcx, rbx
call fcn.14000a44c
inc dword [0x14003804c]
lea rcx, str.Error:_Can_not_encode_file_larger_than_10_KB_in_unregistered_version._n_n
call fcn.1400034a0
or rax, 0xffffffffffffffff
jmp 0x14000223b
cmp r14d, 0x6400000
jle 0x140001b8e
mov rcx, rbx
call fcn.14000a44c
inc dword [0x14003804c]
lea rcx, str.Error:_Can_not_encode_file_larger_than_100MB__n_n
call fcn.1400034a0
or rax, 0xffffffffffffffff
jmp 0x14000223b
lea eax, [r14 + 0x18]
mov qword [rsp + 0xc8], r12
movsxd rcx, eax
mov edx, 1
mov qword [rsp + 0x28], r14
call fcn.14000fc44
mov rdx, r14
mov r9, rbx
mov r8d, 1
mov rcx, rax
mov r12, rax
call fcn.14000ae80
test rax, rax
je 0x140001bd0
mov rcx, rbx
call fcn.14000a44c
mov rax, qword [r12]
cmp rax, qword [str.__php___8689186f49294cf1]
jne 0x140001c50
mov rax, qword [r12 + 8]
cmp rax, qword [0x140029860]
jne 0x140001c50
mov rax, qword [r12 + 0x10]
cmp rax, qword [0x140029868]
jne 0x140001c50
mov rcx, r12
call fcn.14000fc4c
mov rdx, rdi
lea rcx, str.Source_file_already_encoded:__s_n
call fcn.1400034a0
cmp esi, 1
jne 0x140001c35
lea rcx, str.File_copied_instead__n
call fcn.1400034a0
mov rdx, rdi
mov rcx, rbp
call fcn.1400017c0
or rax, 0xffffffffffffffff
jmp 0x140002233
inc dword [0x140038048]
lea rcx, str.Ignoring_file__n
call fcn.1400034a0
or rax, 0xffffffffffffffff
jmp 0x140002233
or r15, 0xffffffffffffffff
cmp dword [0x140038038], 1
je 0x140001c9d
mov rax, qword [0x1400380f0]
cmp byte [rax], 0
jne 0x140001c9d
mov rax, qword [0x140038030]
cmp byte [rax], 0
jne 0x140001c9d
mov rax, qword [0x140038050]
cmp byte [rax], 0
jne 0x140001c9d
mov rax, qword [0x1400380a0]
cmp byte [rax], 0
jne 0x140001c9d
mov rax, qword [0x1400380c8]
cmp byte [rax], 0
je 0x140002076
mov edx, 1
mov ecx, 0x8000000
call fcn.14000fc44
mov rbx, rax
lea rcx, [rax - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001cb3
cmp dword [0x140038038], 1
movsd xmm0, qword [str._phpharden__n]
movsd qword [rcx], xmm0
mov eax, dword [0x1400298d0]
mov dword [rcx + 8], eax
movzx eax, word [0x1400298d4]
mov word [rcx + 0xc], ax
movzx eax, byte [0x1400298d6]
mov byte [rcx + 0xe], al
jne 0x140001d1d
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001cf4
movsd xmm0, qword [str.allow_cli:1_n]
movsd qword [rcx], xmm0
mov eax, dword [0x1400298e0]
mov dword [rcx + 8], eax
movzx eax, byte [0x1400298e4]
mov byte [rcx + 0xc], al
mov r8, qword [0x140038030]
cmp byte [r8], 0
je 0x140001d88
lea rcx, [rbx - 1]
nop
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001d30
mov eax, dword [str.date:]
mov dword [rcx], eax
movzx eax, word [0x1400298ec]
mov word [rcx + 4], ax
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001d51
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001d60
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001d74
movzx eax, word [0x1400297b8]
mov word [rcx], ax
mov rax, qword [0x1400380f0]
mov r11d, 0xa
cmp byte [rax], 0
je 0x140001e12
lea r9, [0x1400380f0]
mov r10d, r11d
mov r8, qword [r9]
cmp byte [r8], 0
je 0x140001e08
lea rax, [rbx - 1]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140001db1
movsd xmm0, qword [str.domain:]
lea rcx, [rbx - 1]
movsd qword [rax], xmm0
nop dword [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001dd0
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001de0
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001df4
movzx eax, word [0x1400297b8]
mov word [rcx], ax
add r9, 8
sub r10, 1
jne 0x140001da4
mov rax, qword [0x140038050]
cmp byte [rax], 0
je 0x140001e92
lea r9, [0x140038050]
mov r8, qword [r9]
cmp byte [r8], 0
je 0x140001e88
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001e32
mov eax, dword [0x1400298f8]
mov dword [rcx], eax
lea rax, [rbx - 1]
nop dword [rax + rax]
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x140001e50
xor edx, edx
nop dword [rax]
movzx ecx, byte [r8 + rdx]
mov byte [rax + rdx], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x140001e60
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001e74
movzx eax, word [0x1400297b8]
mov word [rcx], ax
add r9, 8
sub r11, 1
jne 0x140001e25
mov rax, qword [0x1400380a0]
mov r11d, 5
cmp byte [rax], 0
je 0x140001f22
lea r9, [0x1400380a0]
mov r10d, r11d
nop
mov r8, qword [r9]
cmp byte [r8], 0
je 0x140001f18
lea rcx, [rbx - 1]
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001ec0
mov eax, dword [str.mac:]
mov dword [rcx], eax
movzx eax, byte [0x140029900]
mov byte [rcx + 4], al
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001ee0
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001ef0
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001f04
movzx eax, word [0x1400297b8]
mov word [rcx], ax
add r9, 8
sub r10, 1
jne 0x140001eb0
mov rax, qword [0x1400380c8]
cmp byte [rax], 0
je 0x140001fa2
lea r9, [0x1400380c8]
mov r8, qword [r9]
cmp byte [r8], 0
je 0x140001f98
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001f42
mov eax, dword [str.var:]
mov dword [rcx], eax
movzx eax, byte [0x140029908]
mov byte [rcx + 4], al
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001f62
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001f70
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001f84
movzx eax, word [0x1400297b8]
mov word [rcx], ax
add r9, 8
sub r11, 1
jne 0x140001f35
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x140001fa6
movsd xmm0, qword [str.__phpharden_]
movsd qword [rcx], xmm0
mov eax, dword [0x140029918]
mov dword [rcx + 8], eax
movzx eax, word [0x14002991c]
mov word [rcx + 0xc], ax
movzx eax, byte [0x14002991e]
mov byte [rcx + 0xe], al
mov rax, r15
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x140001fe0
add r14d, eax
mov edx, 1
lea eax, [r14 + 0x100]
movsxd rsi, eax
mov rcx, rsi
call fcn.14000fc44
mov rdi, rax
mov rax, rbx
mov rdx, rdi
sub rdx, rbx
nop
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x140002010
lea rdx, [rdi - 1]
cmp byte [rdx + 1], 0
lea rdx, [rdx + 1]
jne 0x140002022
xor r8d, r8d
nop
movzx eax, byte [r12 + r8]
mov byte [rdx + r8], al
lea r8, [r8 + 1]
test al, al
jne 0x140002030
mov rcx, r12
call fcn.14000fc4c
mov edx, 1
mov rcx, rsi
call fcn.14000fc44
mov rcx, rax
mov r12, rax
sub rcx, rdi
nop
movzx eax, byte [rdi]
mov byte [rcx + rdi], al
lea rdi, [rdi + 1]
test al, al
jne 0x140002060
mov rcx, rbx
call fcn.14000fc4c
lea ecx, [r14*4 + 0x60]
mov eax, 0x55555556
imul ecx
mov eax, 0x38e38e39
mov ecx, edx
add edx, 4
shr ecx, 0x1f
add ecx, edx
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, 0x101
add eax, edx
mov edx, 1
add eax, ecx
movsxd rcx, eax
call fcn.14000fc44
mov r8, rax
mov edx, r14d
mov rcx, r12
mov rbp, rax
call fcn.1400061b0
mov rbx, qword [rsp + 0x20]
lea rdx, [0x140029920]
mov rcx, rbx
movsxd r14, eax
call fcn.14000aa30
mov rsi, rax
test rax, rax
jne 0x1400020f9
inc dword [0x14003804c]
lea rcx, str.Error:_Can_not_create_file:__s_n
mov rdx, rbx
jmp 0x140002212
mov edx, 0x18
lea rcx, str.__php___8689186f49294cf1
mov r9, rsi
lea r8d, [rdx - 0x17]
call fcn.14000b198
mov edx, 0x60
lea rcx, str._nif__extension_loaded_phphidden__echo_Error:_phpHidden_extension_1.0_not_found__exit_99___n
mov r9, rsi
lea r8d, [rdx - 0x5f]
call fcn.14000b198
test r13, r13
je 0x14000216e
cmp dword [0x14003803c], 1
je 0x140002150
inc dword [0x14003804c]
lea rcx, str.Error:_Can_not_include_PHP_header_in_unregistered_version._n_n
call fcn.1400034a0
jmp 0x14000216e
inc r15
cmp byte [r15 + r13], 0
jne 0x140002150
mov rdx, r15
mov r9, rsi
mov r8d, 1
mov rcx, r13
call fcn.14000b198
mov edx, 0x1d
lea rcx, str._exit_99_____edf1966d__phdn_1
mov r9, rsi
lea r8d, [rdx - 0x1c]
call fcn.14000b198
mov edx, 1
lea ecx, [rdx + 8]
call fcn.14000fc44
mov edx, 1
mov rdi, rax
lea ecx, [rdx + 7]
call fcn.14000fc44
mov r8, qword [rsp + 0x28]
lea rdx, str._08x
mov rcx, rdi
mov rbx, rax
call fcn.140003f80
mov rcx, qword [rdi]
mov edx, 8
mov qword [rbx], rcx
mov r9, rsi
mov rcx, rbx
lea r8d, [rdx - 7]
call fcn.14000b198
mov rcx, rdi
call fcn.14000fc4c
mov rcx, rbx
call fcn.14000fc4c
mov rdx, r14
mov r9, rsi
mov r8d, 1
mov rcx, rbp
call fcn.14000b198
mov rcx, rsi
call fcn.14000a44c
inc dword [0x140038040]
lea rcx, str.File_encoded:__s_n
mov rdx, qword [rsp + 0x20]
call fcn.1400034a0
test r12, r12
je 0x140002224
mov rcx, r12
call fcn.14000fc4c
test rbp, rbp
je 0x140002231
mov rcx, rbp
call fcn.14000fc4c
xor eax, eax
mov r12, qword [rsp + 0xc8]
mov r14, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400083a0
add rsp, 0x78
pop r15
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret