Function at 0x1802c1b80
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1b0], rbx
mov rax, qword [0x1806c4cd8]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r12, r9
mov r14, r8
mov rdi, rdx
mov rdx, qword [r8 + 8]
mov rcx, qword [r8]
call fcn.1802c3300
mov rax, qword [r14]
mov qword [r14 + 8], rax
mov byte [r12], 0
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1802c1be5
mov rcx, qword [rdi]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov edx, 0x80000000
call fcn.18010d8f0
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1802c254f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor r13d, r13d
mov qword [rsp + 0x60], r13
mov ebx, r13d
cmp qword [rdi + 0x10], rbx
je 0x1802c1c86
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov dword [rbp - 0x70], eax
lea r8, [rsp + 0x70]
mov rcx, rdi
call fcn.18010dae0
test al, al
je 0x1802c1c86
mov ebx, dword [rbp - 0x74]
shl rbx, 0x20
mov eax, dword [rbp - 0x70]
add rbx, rax
mov al, 1
jmp 0x1802c1c88
xor al, al
mov rdi, r13
test al, al
cmovne rdi, rbx
lea rax, [rdi - 1]
cmp rax, 0x4ffffe
ja 0x1802c1d2d
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.180113f90
mov dword [rbp - 0x40], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x40]
mov r8d, edi
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rbp - 0x40]
cmp rdx, rdi
jae 0x1802c1d2d
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180113f90
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jne 0x1802c1d88
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1802c254f
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802c253c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c253c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov rcx, r13
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], r13
mov rdx, r13
mov qword [rbp - 0x80], rdx
mov dword [rbp - 0x40], 0x2d2d4352
mov dword [rbp - 0x3c], 0x35343332
mov dword [rbp - 0x38], 0x61534350
mov dword [rbp - 0x34], 0x2d302e32
mov dword [rbp - 0x30], 0x2d736843
mov dword [rbp - 0x2c], 0x61435243
mov dword [rbp - 0x28], 0x38313031
mov dword [rbp - 0x24], 0x35313032
movdqa xmm2, xmmword [0x180601b90]
mov eax, r13d
mov r8d, 1
movd xmm3, r8d
lea r8, [rbp - 0x40]
nop
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [r8]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [r8], xmm1
add eax, 4
lea r8, [r8 + 0x10]
cmp eax, 8
jl 0x1802c1e00
mov r8, qword [rsp + 0x58]
mov rax, qword [rsp + 0x50]
sub r8, rax
test rax, rax
je 0x1802c24bb
lea r9, [rsp + 0x70]
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.1802ce870
test al, al
je 0x1802c24b2
mov rcx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
sub rcx, rbx
movabs rax, 0x624dd2f1a9fbe77
mul rcx
mov rdi, rcx
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 9
imul rax, rdi, 0x3e8
sub rcx, rax
je 0x1802c1f28
mov byte [r12], 1
test rbx, rbx
je 0x1802c1ee2
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1802c1ecd
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c1ecd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1802c254f
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802c253c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c253c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rdi, rdi
jne 0x1802c1fce
test rbx, rbx
je 0x1802c1f7a
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1802c1f65
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c1f65
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1802c1fc7
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802c1fb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c1fb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov al, 1
jmp 0x1802c2551
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
lea r8, [rbp - 0x60]
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.1802c2de0
imul r8, rdi, 0x3e8
mov rdx, rbx
mov rcx, qword [rbp - 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov r10, r13
mov rcx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
sub rcx, r9
movabs rsi, 0x20c49ba5e353f7cf
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1802c2097
mov r8, r13
nop dword [rax]
cmp dword [r9 + r8], 0x23ab45db
jne 0x1802c2250
mov word [r9 + r8 + 0x282], r13w
mov word [r9 + r8 + 0x382], r13w
mov word [r9 + r8 + 0x3ca], r13w
inc r10
add r8, 0x3e8
mov rcx, qword [rbp - 0x58]
mov r9, qword [rbp - 0x60]
sub rcx, r9
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
jb 0x1802c2040
mov rax, qword [r14 + 0x10]
sub rax, qword [r14]
sar rax, 7
cmp rdi, rax
jbe 0x1802c20c5
movabs rax, 0x1ffffffffffffff
cmp rdi, rax
ja 0x1802c2578
mov rdx, rdi
mov rcx, r14
call fcn.1802c2bf0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x180601b00]
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r13w
movdqu xmmword [rbp + 0x10], xmm0
movdqu xmmword [rbp + 0x10], xmm1
mov word [rbp], r13w
movdqu xmmword [rbp + 0x30], xmm0
movdqu xmmword [rbp + 0x30], xmm1
mov word [rbp + 0x20], r13w
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], r13
mov qword [rbp + 0x50], r13
mov dword [rbp + 0x58], r13d
mov byte [rbp + 0x5c], 0
mov r15, r13
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1802c2399
mov rsi, r13
movabs r13, 0x20c49ba5e353f7cf
nop word [rax + rax]
lea rdi, [r8 + rsi]
lea rdx, [rdi + 4]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x1802c2160
lea rcx, [rbp - 0x20]
call fcn.18007da60
lea rdx, [rdi + 0x284]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1802c2182
lea rcx, [rbp]
call fcn.18007da60
mov rax, qword [rdi + 0x3cc]
mov qword [rbp + 0x40], rax
mov rax, qword [rdi + 0x3d4]
mov qword [rbp + 0x48], rax
mov rax, qword [rdi + 0x3dc]
mov qword [rbp + 0x50], rax
lea rdx, [rdi + 0x384]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1802c21c5
lea rcx, [rbp + 0x20]
call fcn.18007da60
mov eax, dword [rdi + 0x3e4]
mov dword [rbp + 0x58], eax
mov byte [rbp + 0x5c], 0
mov rdi, qword [r14 + 8]
cmp qword [r14 + 0x10], rdi
je 0x1802c234b
mov qword [rbp - 0x40], rdi
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.18007d8c0
nop
lea rcx, [rdi + 0x20]
lea rdx, [rbp]
call fcn.18007d8c0
nop
lea rcx, [rdi + 0x40]
lea rdx, [rbp + 0x20]
call fcn.18007d8c0
nop
mov rax, qword [rbp + 0x40]
mov qword [rdi + 0x60], rax
mov rax, qword [rbp + 0x48]
mov qword [rdi + 0x68], rax
mov rax, qword [rbp + 0x50]
mov qword [rdi + 0x70], rax
mov eax, dword [rbp + 0x58]
mov dword [rdi + 0x78], eax
movzx eax, byte [rbp + 0x5c]
mov byte [rdi + 0x7c], al
sub qword [r14 + 8], 0xffffffffffffff80
jmp 0x1802c235a
mov byte [r12], 1
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1802c22bc
mov rcx, qword [rbp - 0x50]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x1802c22a8
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c22a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
test rbx, rbx
je 0x1802c2305
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1802c22f0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c22f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1802c254f
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802c253c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c253c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp - 0x20]
mov rdx, rdi
mov rcx, r14
call fcn.1802c3180
inc r15
add rsi, 0x3e8
mov rcx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x60]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r15, rdx
jb 0x1802c2150
xor r13d, r13d
movabs rsi, 0x20c49ba5e353f7cf
mov byte [r12], 0
lea rcx, [rbp + 0x20]
call fcn.18007d9c0
nop
lea rcx, [rbp]
call fcn.18007d9c0
nop
lea rcx, [rbp - 0x20]
call fcn.18007d9c0
nop
mov r8, qword [rbp - 0x60]
test r8, r8
je 0x1802c2423
mov rcx, qword [rbp - 0x50]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x1802c240f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c240f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
test rbx, rbx
je 0x1802c246c
mov rdx, qword [rbp - 0x80]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1802c2457
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c2457
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1802c1fc7
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802c1fb4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c1fb4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rsp + 0x70]
mov byte [r12], 1
test rcx, rcx
je 0x1802c2502
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802c24f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c24f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r13
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1802c254f
mov rdx, qword [rsp + 0x60]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1802c253c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1802c253c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180468ddc
xorps xmm0, xmm0
mov qword [rsp + 0x60], r13
movdqu xmmword [rsp + 0x50], xmm0
xor al, al
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1804688c0
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18007e0e0
nop
int3