Function at 0x140100df0
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 [0x1401c1028]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp dword [rcx + 0x10], 0
mov rcx, qword [rcx]
jne 0x140100e3a
test rcx, rcx
jne 0x140100e3a
cmp dword [rsi + 0x14], 0
jne 0x140100e3a
cmp qword [rsi + 8], 0
je 0x140100f86
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 0x140100f8c
cmp qword [rsp + 0x48], 4
jne 0x140100f76
mov eax, dword [rsp + 0x40]
cmp eax, dword [str.DNASYXOB]
jne 0x140100f7e
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r15
lea rdx, [0x1401cfeb8]
lea r8, [rsp + 0x40]
mov r9d, 4
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x140100f8c
cmp qword [rsp + 0x48], 4
mov r12d, 0x43
jne 0x140100f8c
mov eax, dword [rsp + 0x40]
mov r12d, 0x44
cmp eax, dword [0x1401cfeb8]
jne 0x140100f8c
mov eax, dword [rsp + 0xc0]
cmp byte [r14 + 0x10], 0
mov r13, rax
je 0x140100f02
mov r13, qword [r14 + 8]
add r13, rax
cmp byte [rbx + 0x10], 0
je 0x140100f0c
add r13, qword [rbx + 8]
mov rax, r13
shr rax, 0x20
jne 0x140101270
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.14002873e
mov rcx, qword [rsi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
ja 0x140100fad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r12], eax
mov r12d, 0x19
jmp 0x140100f8c
mov r12d, 0x43
jmp 0x140100f8c
mov r12d, 0x44
jmp 0x140100f8c
mov r12d, 8
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14014c9b0
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 0x140101095
mov rcx, rax
cmp byte [r14 + 0x10], 0
mov r12d, dword [rsp + 0xc0]
mov r13, r15
mov r15, rax
je 0x1401010b6
mov r8, qword [r14 + 8]
test r8, r8
je 0x1401010a9
mov eax, dword [rsp + 0xc0]
lea r12, [r15 + rax]
mov r13, qword [r14]
mov rcx, r12
mov rdx, r13
call fcn.14014e420
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 0x140101052
movq rcx, xmm2
sub rcx, r13
mov qword [r12 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x140101072
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r13
mov qword [r12 + rax*8 + 8], rcx
add rax, 2
cmp rax, 0x40
jne 0x140101024
cmp byte [r14 + 0x10], 0
je 0x140101279
mov r12, qword [r14 + 8]
mov r13, qword [rsp + 0xc8]
jmp 0x1401010ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r15], eax
mov r12d, 0x1b
jmp 0x140100f8c
xor r12d, r12d
mov eax, dword [rsp + 0xc0]
add r12, rax
cmp byte [rbx + 0x10], 0
je 0x1401010da
lea rcx, [r15 + r12]
mov rdx, qword [rbx]
mov r8, qword [rbx + 8]
call fcn.14014e420
cmp byte [rbx + 0x10], 0
je 0x140101276
add r12, qword [rbx + 8]
mov rax, qword [rsp + 0x38]
cmp r12, rax
jne 0x140101273
lea r8, [rsp + 0x48]
mov eax, dword [rsp + 0xc0]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x1401d9298]
mov rcx, rsi
call fcn.140100d60
test eax, eax
je 0x140101125
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
jmp 0x140100f8c
cmp byte [r14 + 0x10], 0
je 0x140101154
mov rax, qword [r14 + 8]
lea r8, [rsp + 0x40]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x1401d92a0]
mov rcx, rsi
call fcn.140100d60
test eax, eax
jne 0x140101113
cmp byte [rbx + 0x10], 0
je 0x140101182
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x40]
mov qword [r8], rax
mov qword [rsp + 0x20], 8
lea r9, [0x1401d92a8]
mov rcx, rsi
call fcn.140100d60
test eax, eax
jne 0x140101113
mov ebx, dword [rsi + 0x10]
mov r14, qword [rsi]
mov ecx, 0x40
call fcn.14014b4a8
mov r12, rax
mov r9, qword [rsi + 0x38]
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov rdx, r14
mov r8d, ebx
call fcn.140125132
lea rcx, [rsi + 0x30]
mov rdx, r12
call fcn.14010076c
mov rcx, qword [rsi + 0x30]
mov rdx, r15
mov r8d, dword [rsp + 0xc0]
mov r9d, 0x400
call fcn.140125232
mov r12d, 4
test al, al
je 0x140100f8c
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 0x14010125b
mov qword [rsp + 0x20], 8
lea r9, [0x1401d5d78]
lea r8, [rsp + 0x40]
mov rcx, rsi
call fcn.140100d60
test eax, eax
jne 0x140101113
mov rcx, rsi
call fcn.1401005f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r12d, r12d
jmp 0x140100f8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r13], eax
mov r12d, 0x1a
jmp 0x140100f8c
int3
int3
int3
int3