Function at 0x180082860
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 - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x180], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12, r9
mov r15, r8
mov rdi, rdx
mov rsi, qword [r8 + 8]
mov rbx, qword [r8]
cmp rbx, rsi
je 0x1800828c1
nop dword [rax]
mov rcx, rbx
call fcn.180080f60
sub rbx, 0xffffffffffffff80
cmp rbx, rsi
jne 0x1800828b0
mov rax, qword [r15]
mov qword [r15 + 8], rax
mov byte [r12], 0
cmp qword [rdi + 0x18], 8
jb 0x1800828d9
mov rcx, qword [rdi]
jmp 0x1800828dc
mov rcx, rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r8d, r8d
mov edx, 0x80000000
call fcn.180029ce0
mov rsi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x180082e8d
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
cmp qword [rdi + 0x10], r13
je 0x1800829dd
mov dword [rsp + 0x68], r13d
mov qword [rsp + 0x6c], rax
mov qword [rsp + 0x74], rax
mov qword [rsp + 0x7c], rax
mov qword [rbp - 0x7c], rax
lea r8, [rsp + 0x68]
mov rcx, rdi
call fcn.18002a0f0
test al, al
je 0x1800829dd
mov ebx, dword [rbp - 0x7c]
shl rbx, 0x20
mov eax, dword [rbp - 0x78]
add rbx, rax
lea rax, [rbx - 1]
cmp rax, 0x4ffffe
ja 0x1800829dd
mov byte [rsp + 0x40], r13b
lea r8, [rsp + 0x40]
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.180047970
mov dword [rbp - 0x58], r13d
mov qword [rsp + 0x20], r13
lea r9, [rbp - 0x58]
mov r8d, ebx
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [rbp - 0x58]
cmp rdx, rbx
jae 0x1800829e2
mov byte [rsp + 0x40], r13b
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.180047970
mov rdi, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x58]
cmp rdi, rax
je 0x180082e72
xor ecx, ecx
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], rcx
mov qword [rbp - 0x60], rcx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov dword [rsp + 0x68], 0x2d2d4352
mov dword [rsp + 0x6c], 0x35343332
mov dword [rsp + 0x70], 0x61534350
mov dword [rsp + 0x74], 0x2d302e32
mov dword [rsp + 0x78], 0x2d736843
mov dword [rsp + 0x7c], 0x61435243
mov dword [rbp - 0x80], 0x38313031
mov dword [rbp - 0x7c], 0x35313032
mov ecx, 1
movd xmm2, ecx
movdqu xmm1, xmmword [rsp + 0x68]
pslld xmm1, xmm2
paddd xmm0, xmmword [0x1801b3460]
paddd xmm0, xmm1
movdqu xmmword [rsp + 0x68], xmm0
movdqu xmm1, xmmword [rsp + 0x78]
pslld xmm1, xmm2
movdqa xmm0, xmmword [0x1801b3470]
paddd xmm0, xmmword [0x1801b3460]
paddd xmm0, xmm1
movdqu xmmword [rsp + 0x78], xmm0
sub rax, rdi
test rdi, rdi
je 0x180082e53
lea r9, [rbp - 0x70]
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180090ad0
test al, al
je 0x180082e53
mov r8, qword [rbp - 0x68]
mov r14, qword [rbp - 0x70]
sub r8, r14
movabs rax, 0x624dd2f1a9fbe77
mul r8
mov rbx, r8
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 9
imul rax, rbx, 0x3e8
sub r8, rax
je 0x180082b19
mov byte [r12], 1
test r14, r14
je 0x180082b14
mov rcx, r14
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
jmp 0x180082e77
test rbx, rbx
jne 0x180082b54
test r14, r14
je 0x180082b37
mov rcx, r14
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
mov rcx, rdi
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov al, 1
jmp 0x180082e8f
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r13
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1800838b0
imul r8, rbx, 0x3e8
mov rdx, r14
mov r13, qword [rsp + 0x68]
mov rcx, r13
call fcn.180139340
xor r9d, r9d
mov r8d, r9d
mov rcx, qword [rsp + 0x70]
sub rcx, r13
movabs rax, 0x20c49ba5e353f7cf
imul rcx
mov rsi, rdx
sar rsi, 7
mov rax, rsi
shr rax, 0x3f
add rsi, rax
je 0x180082c4e
lea rax, [r13 + 0x382]
cmp dword [rax - 0x382], 0x23ab45db
jne 0x180082bfd
mov word [rax - 0x100], r9w
mov word [rax], r9w
mov word [rax + 0x48], r9w
inc r8
add rax, 0x3e8
cmp r8, rsi
jb 0x180082bd0
jmp 0x180082c4e
mov byte [r12], 1
test r13, r13
je 0x180082c21
mov rcx, r13
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
xor ebx, ebx
mov qword [rsp + 0x78], rbx
jmp 0x180082c23
xor ebx, ebx
test r14, r14
je 0x180082c3c
mov rcx, r14
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov rcx, rdi
call fcn.180139b7c
mov qword [rsp + 0x60], rbx
jmp 0x180082e84
mov rdx, rbx
mov rcx, r15
call fcn.180083490
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x50], bx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rbx
mov word [rbp - 0x30], bx
mov qword [rbp], rbx
mov qword [rbp + 8], rbx
mov qword [rbp + 8], 7
mov qword [rbp], rbx
mov word [rbp - 0x10], bx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x20], rbx
mov dword [rbp + 0x28], ebx
mov byte [rbp + 0x2c], bl
test rsi, rsi
je 0x180082da0
lea rbx, [r13 + 0x284]
nop word [rax + rax]
lea rdx, [rbx - 0x280]
cmp word [rdx], 0
jne 0x180082ce2
xor r8d, r8d
jmp 0x180082cfb
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x180082cf0
lea rcx, [rbp - 0x50]
call fcn.180005920
cmp word [rbx], 0
jne 0x180082d0f
xor r8d, r8d
jmp 0x180082d1e
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x180082d13
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.180005920
mov rax, qword [rbx + 0x148]
mov qword [rbp + 0x10], rax
mov rax, qword [rbx + 0x150]
mov qword [rbp + 0x18], rax
mov rax, qword [rbx + 0x158]
mov qword [rbp + 0x20], rax
lea rdx, [rbx + 0x100]
cmp word [rdx], 0
jne 0x180082d5d
xor r8d, r8d
jmp 0x180082d6c
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180082d61
lea rcx, [rbp - 0x10]
call fcn.180005920
mov eax, dword [rbx + 0x160]
mov dword [rbp + 0x28], eax
mov byte [rbp + 0x2c], 0
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.180083510
add rbx, 0x3e8
dec rsi
jne 0x180082cd0
xor ebx, ebx
mov byte [r12], 0
cmp qword [rbp + 8], 8
jb 0x180082db5
mov rcx, qword [rbp - 0x10]
call fcn.180139b7c
mov qword [rbp + 8], 7
mov qword [rbp], rbx
mov word [rbp - 0x10], bx
cmp qword [rbp - 0x18], 8
jb 0x180082dd5
mov rcx, qword [rbp - 0x30]
call fcn.180139b7c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rbx
mov word [rbp - 0x30], bx
cmp qword [rbp - 0x38], 8
jb 0x180082df5
mov rcx, qword [rbp - 0x50]
call fcn.180139b7c
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x50], bx
test r13, r13
je 0x180082e20
mov rcx, r13
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rbx
test r14, r14
je 0x180082e39
mov rcx, r14
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov rcx, rdi
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov al, 1
jmp 0x180082e8f
mov byte [r12], 1
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180082e72
call fcn.180139b7c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r13
test rdi, rdi
je 0x180082e8d
mov rcx, rdi
call fcn.180139b7c
mov qword [rsp + 0x60], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor al, al
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret