Function at 0x1801755f8
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0x100
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r15, r9
mov rdi, r8
mov r13, rdx
mov rbx, rcx
xor esi, esi
mov dword [rsp + 0x34], esi
mov qword [rbp - 0x71], rsi
mov r12d, esi
mov dword [rbp - 0x79], esi
mov dword [rsp + 0x30], esi
test rdx, rdx
je 0x180175c0c
test r8, r8
je 0x180175c0c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r14d, dword [rbp + 0x77]
cmp byte [rbx + 0x409], sil
jne 0x1801756ea
test r15, r15
je 0x1801756e1
mov rax, r15
shr rax, 0x20
mov dword [rbp - 0x69], eax
mov edx, r15d
mov ecx, r14d
sub ecx, 1
je 0x1801756a0
sub ecx, 1
je 0x180175699
cmp ecx, 1
jne 0x1801756a0
lea eax, [rsi + 2]
neg edx
jmp 0x1801756a2
mov eax, 1
jmp 0x1801756a2
mov eax, esi
mov r9d, eax
lea r8, [rbp - 0x69]
mov rcx, qword [rbx + 0x400]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov r12d, eax
mov dword [rbp - 0x79], eax
cmp eax, 0xffffffff
je 0x1801756cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1801756e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x866
mov edx, eax
mov rcx, rbx
jmp 0x180175c17
lea rsi, [rbx + 0x470]
jmp 0x180175715
lea rsi, [rbx + 0x470]
mov r12d, dword [rsi]
mov dword [rbp - 0x79], r12d
test r14d, r14d
je 0x180175712
mov eax, 2
cmp r14d, eax
jne 0x18017570c
add qword [rsi], r15
jmp 0x180175715
cmp r14d, 1
jne 0x180175715
mov qword [rsi], r15
cmp byte [rbx + 0x409], 0
je 0x180175b8f
mov rdx, qword [rbx + 0x3f0]
add rdx, qword [rsi]
mov qword [rbp - 0x61], rdx
mov r12, qword [rbx + 0x478]
add r12, qword [rsi]
mov ecx, dword [0x1802bccdc]
mov rax, qword gs:[0x58]
mov r8d, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [r8 + rcx]
cmp dword [0x1802c50c8], eax
jle 0x180175984
lea rcx, [0x1802c50c8]
call fcn.1802696f0
or r13, 0xffffffffffffffff
cmp dword [0x1802c50c8], r13d
jne 0x18017597c
lea rax, [rbp - 0x39]
mov qword [rbp - 0x11], rax
mov dword [rsp + 0x48], 0x27
mov byte [rsp + 0x4c], 0x75
mov byte [rsp + 0x4d], 0x42
mov byte [rsp + 0x4e], 0x46
mov byte [rsp + 0x4f], 0x43
mov byte [rsp + 0x50], 0x77
mov byte [rsp + 0x51], 0x55
mov byte [rsp + 0x52], 0x48
mov byte [rsp + 0x53], 0x44
mov byte [rsp + 0x54], 0x42
mov byte [rsp + 0x55], 0x54
mov byte [rsp + 0x56], 0x54
mov byte [rsp + 0x57], 0x6a
mov byte [rsp + 0x58], 0x42
mov byte [rbp - 0x80], 0x4a
mov byte [rbp - 0x7f], 0x48
mov byte [rbp - 0x7e], 0x55
mov byte [rbp - 0x7d], 0x5e
xor eax, eax
mov byte [rbp - 0x7c], al
mov al, byte [rsp + 0x4c]
xor r9d, r9d
mov edx, r9d
mov al, byte [rsp + rdx + 0x4c]
mov ecx, dword [rsp + 0x48]
xor cl, al
mov byte [rsp + rdx + 0x4c], cl
inc rdx
cmp rdx, 0x11
jb 0x1801757f0
mov byte [rbp - 0x7c], r9b
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r9
mov qword [rbp - 0x21], r9
lea rax, [rsp + 0x4c]
mov r8, r13
inc r8
cmp byte [rax + r8], r9b
jne 0x180175822
lea rdx, [rsp + 0x4c]
lea rcx, [rbp - 0x39]
call fcn.18007b70c
nop
mov dword [rsp + 0x38], 0x7d
mov byte [rsp + 0x3c], 0x16
mov byte [rsp + 0x3d], 0x18
mov byte [rsp + 0x3e], 0xf
mov byte [rsp + 0x3f], 0x13
mov byte [rsp + 0x40], 0x18
mov byte [rsp + 0x41], 0x11
mov byte [rsp + 0x42], 0x4e
mov byte [rsp + 0x43], 0x4f
xor eax, eax
mov byte [rsp + 0x44], al
mov al, byte [rsp + 0x3c]
xor r8d, r8d
mov edx, r8d
mov al, byte [rsp + rdx + 0x3c]
mov ecx, dword [rsp + 0x38]
xor cl, al
mov byte [rsp + rdx + 0x3c], cl
inc rdx
cmp rdx, 8
jb 0x18017587a
mov byte [rsp + 0x44], r8b
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], r8
mov qword [rbp - 0x41], r8
lea rax, [rsp + 0x3c]
inc r13
cmp byte [rax + r13], r8b
jne 0x1801758aa
mov r8, r13
lea rdx, [rsp + 0x3c]
lea rcx, [rbp - 0x59]
call fcn.18007b70c
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 1]
call fcn.180188b20
nop
xor r13d, r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp - 0x39]
mov rdx, rax
lea rcx, [0x1802c4c50]
call fcn.180180580
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x180175930
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18017592b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18017592b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], r13b
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x12]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x18027dd50]
call fcn.18026951c
nop
lea rcx, [0x1802c50c8]
call fcn.180269690
mov rdx, qword [rbp - 0x61]
mov r13, qword [rbp + 0x5f]
test r14d, r14d
jne 0x180175a44
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 0x40]
mov r8, rdi
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.18017531c
cmp byte [rbx + 0x48a], r14b
je 0x1801759ca
mov r8, rdi
mov rdx, qword [rsi]
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbp - 0x71], rdi
mov r14b, 1
jmp 0x1801759f7
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9, r13
mov r8, qword [rsi]
mov rdx, qword [rbx + 0x400]
lea rcx, [0x1802c4c50]
call fcn.1801810bc
test eax, eax
setne r14b
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, rdi
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.18017531c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test r14b, r14b
jne 0x180175a2a
mov r8d, 0x89e
jmp 0x1801756d7
cmp rdi, qword [rbp - 0x71]
je 0x180175b29
mov edx, 0x80006
mov r8d, 0x8a2
jmp 0x1801756d9
mov rcx, qword [rbx + 0x478]
cmp r12, rcx
jb 0x180175a6e
add rcx, qword [rbx + 0x68]
cmp r12, rcx
ja 0x180175a6e
mov r8, rdi
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbp - 0x71], rdi
jmp 0x180175b31
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.18017531c
cmp byte [rbx + 0x48a], 0
je 0x180175aad
mov r8, rdi
mov rdx, r12
mov rcx, r13
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbp - 0x71], rdi
mov r14b, 1
jmp 0x180175ada
lea rax, [rbp - 0x71]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
mov r9, r13
mov r8, r12
mov rdx, qword [rbx + 0x400]
lea rcx, [0x1802c4c50]
call fcn.1801810bc
test eax, eax
setne r14b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13d, eax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x30]
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.18017531c
test r14b, r14b
jne 0x180175b13
mov r8d, 0x8bd
mov edx, r13d
jmp 0x1801756d9
cmp rdi, qword [rbp - 0x71]
je 0x180175b29
mov edx, 0x80006
mov r8d, 0x8c1
jmp 0x1801756d9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12d, dword [rbp - 0x79]
xor r14d, r14d
cmp byte [rbx + 0x409], r14b
jne 0x180175bda
test r15, r15
je 0x180175be6
cmp byte [rbp + 0x7f], r14b
jne 0x180175be6
xor r9d, r9d
lea r8, [rbp - 0x69]
mov edx, r12d
mov rcx, qword [rbx + 0x400]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x180175b7e
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180175be6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x8e2
jmp 0x1801756d7
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x34]
mov r8d, edi
mov rdx, r13
mov rcx, qword [rbx + 0x400]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180175bfb
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x180175bfb
mov eax, dword [rsp + 0x34]
cmp rdi, rax
je 0x180175b38
mov edx, 0x80006
mov r8d, 0x8d5
jmp 0x1801756d9
cmp byte [rbp + 0x7f], r14b
jne 0x180175be6
mov ecx, r12d
mov qword [rsi], rcx
cmp byte [rbx + 4], r14b
je 0x180175bef
add qword [rsi], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov al, 1
jmp 0x180175c1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x8d1
jmp 0x1801756d7
mov edx, 0x57
mov r8d, 0x849
call fcn.1801728a8
xor al, al
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret