Function at 0x18007c260
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 - 0x50]
sub rsp, 0x150
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r15, r9
mov qword [rsp + 0x48], r9
mov rbx, r8
mov rdi, rdx
mov r8, qword [r8 + 8]
mov rdx, qword [rbx]
call fcn.18007cfe0
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov byte [r15], 0
cmp qword [rdi + 0x18], 8
jb 0x18007c2c8
mov rcx, qword [rdi]
jmp 0x18007c2cb
mov rcx, rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov edx, 0x80000000
call fcn.18000ff70
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x18007c8ce
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 + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [rsp + 0x70], r12
cmp qword [rdi + 0x10], r12
je 0x18007c3ca
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
mov qword [rbp - 0x74], rax
mov qword [rbp - 0x6c], rax
lea r8, [rsp + 0x78]
mov rcx, rdi
call fcn.1800101a0
test al, al
je 0x18007c3ca
mov edi, dword [rbp - 0x6c]
shl rdi, 0x20
mov eax, dword [rbp - 0x68]
add rdi, rax
lea rax, [rdi - 1]
cmp rax, 0x4ffffe
ja 0x18007c3ca
mov byte [rsp + 0x40], r12b
lea r8, [rsp + 0x40]
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.180008e00
mov dword [rbp - 0x48], r12d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x48]
mov r8d, edi
mov r14, qword [rsp + 0x60]
mov rdx, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rbp - 0x48]
cmp rdx, rdi
jae 0x18007c3cf
mov byte [rsp + 0x40], r12b
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180008e00
mov r14, qword [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x68]
cmp r14, rax
jne 0x18007c3fd
test r14, r14
je 0x18007c8ce
mov rcx, r14
call fcn.18008861c
mov qword [rsp + 0x70], r12
jmp 0x18007c8c5
xor ecx, ecx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x50], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
xor esi, esi
mov qword [rbp - 0x50], rsi
mov dword [rsp + 0x78], 0x2d2d4352
mov dword [rsp + 0x7c], 0x35343332
mov dword [rbp - 0x80], 0x61534350
mov dword [rbp - 0x7c], 0x2d302e32
mov dword [rbp - 0x78], 0x2d736843
mov dword [rbp - 0x74], 0x61435243
mov dword [rbp - 0x70], 0x38313031
mov dword [rbp - 0x6c], 0x35313032
mov ecx, 1
movd xmm2, ecx
movdqu xmm1, xmmword [rsp + 0x78]
pslld xmm1, xmm2
paddd xmm0, xmmword [0x1800cb680]
paddd xmm0, xmm1
movdqu xmmword [rsp + 0x78], xmm0
movdqu xmm1, xmmword [rbp - 0x78]
pslld xmm1, xmm2
movdqa xmm0, xmmword [0x1800cb690]
paddd xmm0, xmmword [0x1800cb680]
paddd xmm0, xmm1
movdqu xmmword [rbp - 0x78], xmm0
sub rax, r14
test r14, r14
je 0x18007c895
lea r9, [rbp - 0x60]
mov r8d, eax
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.18004ab70
test al, al
je 0x18007c895
mov r8, qword [rbp - 0x58]
mov r12, qword [rbp - 0x60]
sub r8, r12
movabs rax, 0x624dd2f1a9fbe77
mul r8
mov rdi, r8
sub rdi, rdx
shr rdi, 1
add rdi, rdx
shr rdi, 9
imul rax, rdi, 0x3e8
sub r8, rax
je 0x18007c518
mov byte [r15], 1
test r12, r12
je 0x18007c513
mov rcx, r12
call fcn.18008861c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
jmp 0x18007c8b8
test rdi, rdi
jne 0x18007c553
test r12, r12
je 0x18007c536
mov rcx, r12
call fcn.18008861c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
mov rcx, r14
call fcn.18008861c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov al, 1
jmp 0x18007c8d0
xor eax, eax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.18007cf00
imul r8, rdi, 0x3e8
mov rdx, r12
mov r13, qword [rsp + 0x78]
mov rcx, r13
call fcn.180087f20
mov r8, rsi
mov rcx, qword [rbp - 0x80]
sub rcx, r13
movabs rax, 0x20c49ba5e353f7cf
imul rcx
mov r15, rdx
sar r15, 7
mov rax, r15
shr rax, 0x3f
add r15, rax
je 0x18007c619
lea rax, [r13 + 0x382]
cmp dword [rax - 0x382], 0x23ab45db
jne 0x18007c5ee
mov word [rax - 0x100], si
mov word [rax], si
mov word [rax + 0x48], si
inc r8
add rax, 0x3e8
cmp r8, r15
jb 0x18007c5c4
jmp 0x18007c619
mov rax, qword [rsp + 0x48]
mov byte [rax], 1
test r13, r13
je 0x18007c4fa
mov rcx, r13
call fcn.18008861c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
jmp 0x18007c4fa
mov rax, qword [rbx + 0x10]
sub rax, qword [rbx]
sar rax, 7
cmp rax, rdi
jae 0x18007c650
movabs rax, 0x1ffffffffffffff
cmp rdi, rax
jbe 0x18007c645
lea rcx, str.vector_T__too_long
call fcn.180087e14
int3
mov rdx, rdi
mov rcx, rbx
call fcn.18007d090
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], rsi
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rsi
mov word [rbp], si
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
mov dword [rbp + 0x38], esi
mov byte [rbp + 0x3c], 0
test r15, r15
je 0x18007c80a
lea rdi, [r13 + 0x284]
nop dword [rax + rax]
lea rdx, [rdi - 0x280]
cmp word [rdx], 0
jne 0x18007c6d2
mov r8, rsi
jmp 0x18007c6eb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x18007c6e0
lea rcx, [rbp - 0x40]
call fcn.180003940
cmp word [rdi], 0
jne 0x18007c6ff
mov r8, rsi
jmp 0x18007c70e
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x18007c703
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.180003940
mov rax, qword [rdi + 0x148]
mov qword [rbp + 0x20], rax
mov rax, qword [rdi + 0x150]
mov qword [rbp + 0x28], rax
mov rax, qword [rdi + 0x158]
mov qword [rbp + 0x30], rax
lea rdx, [rdi + 0x100]
cmp word [rdx], 0
jne 0x18007c74d
mov r8, rsi
jmp 0x18007c75c
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x18007c751
lea rcx, [rbp]
call fcn.180003940
mov eax, dword [rdi + 0x160]
mov dword [rbp + 0x38], eax
mov byte [rbp + 0x3c], 0
mov rax, qword [rbx + 8]
lea rcx, [rbp - 0x40]
cmp rcx, rax
jae 0x18007c7cb
mov rcx, qword [rbx]
lea rdx, [rbp - 0x40]
cmp rcx, rdx
ja 0x18007c7cb
lea rsi, [rbp - 0x40]
sub rsi, rcx
cmp rax, qword [rbx + 0x10]
jne 0x18007c7a0
mov rcx, rbx
call fcn.18007d140
and rsi, 0xffffffffffffff80
add rsi, qword [rbx]
mov rcx, qword [rbx + 8]
mov qword [rbp - 0x48], rcx
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x18007c7c2
mov rdx, rsi
call fcn.18007aa60
nop
sub qword [rbx + 8], 0xffffffffffffff80
xor esi, esi
jmp 0x18007c7fa
cmp rax, qword [rbx + 0x10]
jne 0x18007c7d9
mov rcx, rbx
call fcn.18007d140
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x48], rcx
test rcx, rcx
je 0x18007c7f5
lea rdx, [rbp - 0x40]
call fcn.18007aa60
nop
sub qword [rbx + 8], 0xffffffffffffff80
add rdi, 0x3e8
dec r15
jne 0x18007c6c0
mov rax, qword [rsp + 0x48]
mov byte [rax], 0
cmp qword [rbp + 0x18], 8
jb 0x18007c822
mov rcx, qword [rbp]
call fcn.18008861c
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], rsi
mov word [rbp], si
cmp qword [rbp - 8], 8
jb 0x18007c842
mov rcx, qword [rbp - 0x20]
call fcn.18008861c
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x20], si
cmp qword [rbp - 0x28], 8
jb 0x18007c862
mov rcx, qword [rbp - 0x40]
call fcn.18008861c
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x40], si
test r13, r13
je 0x18007c51d
mov rcx, r13
call fcn.18008861c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rsi
jmp 0x18007c51d
mov byte [r15], 1
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x18007c8b3
call fcn.18008861c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rsi
test r14, r14
je 0x18007c8ce
mov rcx, r14
call fcn.18008861c
mov qword [rsp + 0x70], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor al, al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.180087ea0
mov rbx, qword [rsp + 0x190]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret