Function at 0x14010185e
Capabilities:
Read file via mapping

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x1401c6028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
jne 0x1401018a8
test rcx, rcx
jne 0x1401018a8
cmp dword [rsi + 0x14], 0
jne 0x1401018a8
cmp qword [rsi + 8], 0
je 0x1401019f4
movabs rbp, 0xaaaaaaaaaaaaaaaa
lea r8, [rsp + 0x40]
mov dword [r8], 0
lea r15, [rsp + 0x48]
mov qword [r15], rbp
mov qword [rsp + 0x20], r15
lea rdx, str.DNASYXOB
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r12d, 0x42
test eax, eax
je 0x1401019fa
cmp qword [rsp + 0x48], 4
jne 0x1401019e4
mov eax, dword [rsp + 0x40]
cmp eax, dword [str.DNASYXOB]
jne 0x1401019ec
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r15
lea rdx, [0x1401d4e28]
lea r8, [rsp + 0x40]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1401019fa
cmp qword [rsp + 0x48], 4
mov r12d, 0x43
jne 0x1401019fa
mov eax, dword [rsp + 0x40]
mov r12d, 0x44
cmp eax, dword [0x1401d4e28]
jne 0x1401019fa
mov eax, dword [rsp + 0xc0]
cmp byte [r14 + 0x10], 0
mov r13, rax
je 0x140101970
mov r13, qword [r14 + 8]
add r13, rax
cmp byte [rbx + 0x10], 0
je 0x14010197a
add r13, qword [rbx + 8]
mov rax, r13
shr rax, 0x20
jne 0x140101cf8
mov r12, qword [rsp + 0xc8]
lea r15, [rsi + 0x28]
mov dword [rsp + 0x20], r13d
mov qword [rsp + 0x28], 0
mov rcx, 0xffffffffffffffff
xor edx, edx
mov r8d, 0x8000004
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rcx, r15
mov rdx, rax
call fcn.140028a00
mov rcx, qword [rsi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
ja 0x140101a1b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov r12d, 0x19
jmp 0x1401019fa
mov r12d, 0x43
jmp 0x1401019fa
mov r12d, 0x44
jmp 0x1401019fa
mov r12d, 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140152280
mov eax, r12d
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, r12
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x20], 0
mov edx, 6
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
test rax, rax
je 0x140101b03
mov rcx, rax
cmp byte [r14 + 0x10], 0
mov r12d, dword [rsp + 0xc0]
mov r13, r15
mov r15, rax
je 0x140101b24
mov r8, qword [r14 + 8]
test r8, r8
je 0x140101b17
mov eax, dword [rsp + 0xc0]
lea r12, [r15 + rax]
mov r13, qword [r14]
mov rcx, r12
mov rdx, r13
call fcn.140153d10
xor eax, eax
pxor xmm0, xmm0
pcmpeqd xmm1, xmm1
movdqu xmm2, xmmword [r12 + rax*8]
movdqa xmm4, xmm2
pcmpeqd xmm4, xmm0
pshufd xmm3, xmm4, 0xb1
pand xmm3, xmm4
movd ecx, xmm3
not ecx
test cl, 1
je 0x140101ac0
movq rcx, xmm2
sub rcx, r13
mov qword [r12 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x140101ae0
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r13
mov qword [r12 + rax*8 + 8], rcx
add rax, 2
cmp rax, 0x40
jne 0x140101a92
cmp byte [r14 + 0x10], 0
je 0x140101d01
mov r12, qword [r14 + 8]
mov r13, qword [rsp + 0xc8]
jmp 0x140101b1a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov r12d, 0x1b
jmp 0x1401019fa
xor r12d, r12d
mov eax, dword [rsp + 0xc0]
add r12, rax
cmp byte [rbx + 0x10], 0
je 0x140101b48
lea rcx, [r15 + r12]
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
call fcn.140153d10
cmp byte [rbx + 0x10], 0
je 0x140101cfe
add r12, qword [rbx + 8]
mov rax, qword [rsp + 0x38]
cmp r12, rax
jne 0x140101cfb
lea r8, [rsp + 0x48]
mov eax, dword [rsp + 0xc0]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x1401de1d0]
mov rcx, rsi
call fcn.1401017ce
test eax, eax
je 0x140101b93
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
jmp 0x1401019fa
cmp byte [r14 + 0x10], 0
je 0x140101bc2
mov rax, qword [r14 + 8]
lea r8, [rsp + 0x40]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x1401de1d8]
mov rcx, rsi
call fcn.1401017ce
test eax, eax
jne 0x140101b81
cmp byte [rbx + 0x10], 0
je 0x140101bf0
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x40]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x1401de1e0]
mov rcx, rsi
call fcn.1401017ce
test eax, eax
jne 0x140101b81
mov ebx, dword [rsi + 0x10]
mov r14, qword [rsi]
mov ecx, 0x40
call fcn.140150d68
mov r12, rax
mov r9, qword [rsi + 0x38]
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov rdx, r14
mov r8d, ebx
call fcn.140128a50
lea rcx, [rsi + 0x30]
mov rdx, r12
call fcn.1401011da
mov rcx, qword [rsi + 0x30]
mov rdx, r15
mov r8d, dword [rsp + 0xc0]
mov r9d, 0x400
call fcn.140128b58
mov r12d, 4
test al, al
je 0x1401019fa
lea rdi, [rsp + 0x40]
mov qword [rdi], rbp
mov rbx, qword [rsi]
mov r14, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], 7
mov rcx, rax
mov rdx, r14
mov r8, rbx
mov r9, rdi
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140101ce3
mov qword [rsp + 0x20], 8
lea r9, [0x1401dac78]
lea r8, [rsp + 0x40]
mov rcx, rsi
call fcn.1401017ce
test eax, eax
jne 0x140101b81
mov dword [rsi + 0x14], 0
mov rdi, qword [rsi + 8]
mov qword [rsi + 8], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140101cd2
call fcn.140075ef0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r12d, r12d
jmp 0x1401019fa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov r12d, 0x1a
jmp 0x1401019fa
int3
int3
int3
int3