Function at 0x1400553d0
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 edi, r9d
mov r15, r8
mov rbx, rdx
mov rsi, rcx
mov rbp, qword [rsp + 0xc8]
mov r13d, dword [rsp + 0xc0]
mov r12, qword [0x1400db108]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea eax, [rdi + r13]
lea r14, [rcx + 0x28]
mov dword [rsp + 0x20], eax
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, r14
mov rdx, rax
call fcn.140008150
mov rcx, qword [rsi + 0x28]
lea rax, [rcx + 1]
cmp rax, 1
ja 0x140055468
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov ebp, 0x19
jmp 0x1400556fc
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 0x1400556cf
mov r14, rax
mov eax, r13d
mov qword [rsp + 0x40], rax
mov ebp, edi
test r15, r15
je 0x14005552c
test r13d, r13d
je 0x14005552c
lea r13, [r14 + rbp]
mov rcx, r13
mov rdx, r15
mov r8, qword [rsp + 0x40]
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
xor eax, eax
pxor xmm0, xmm0
pcmpeqd xmm1, xmm1
jmp 0x1400554da
add rax, 2
cmp rax, 0x40
je 0x14005552c
movdqu xmm2, xmmword [r13 + rax*8]
movdqa xmm4, xmm2
pcmpeqd xmm4, xmm0
pshufd xmm3, xmm4, 0xb1
pand xmm3, xmm4
movd ecx, xmm3
not ecx
test cl, 1
je 0x14005550a
movq rcx, xmm2
sub rcx, r15
mov qword [r13 + rax*8], rcx
pxor xmm3, xmm1
pextrw ecx, xmm3, 4
test cl, 1
je 0x1400554d0
pshufd xmm2, xmm2, 0xee
movq rcx, xmm2
sub rcx, r15
mov qword [r13 + rax*8 + 8], rcx
jmp 0x1400554d0
mov r13, qword [0x1400df7d0]
mov qword [r13], rbp
mov rcx, rsi
call fcn.14002b560
mov ebp, 8
test al, al
je 0x1400556e4
mov rcx, qword [rsi]
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x20], rbp
mov r15, qword [0x1400df7d0]
mov r9d, 8
mov rdx, r15
mov r8, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400556df
mov r13, rbp
cmp qword [rsp + 0x48], 8
mov qword [r15], 0
mov ebp, 0x3a
jne 0x1400556ec
mov r15, qword [0x1400de2c0]
mov rax, qword [rsp + 0x40]
mov qword [r15], rax
mov rcx, rsi
call fcn.14002b560
mov ebp, 8
test al, al
je 0x14005572c
mov rcx, qword [rsi]
mov qword [rsp + 0x20], r13
mov r15, qword [0x1400de2c0]
mov r9d, 8
mov rdx, r15
mov r8, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140055720
cmp qword [rsp + 0x48], 8
mov qword [r15], 0
mov ebp, 0x3a
jne 0x1400556ec
mov ecx, 0x40
call fcn.1400aca30
mov r15, rax
mov rdx, qword [rsi]
mov r8d, dword [rsi + 0x10]
mov r9, qword [rsi + 0x40]
mov qword [rsp + 0x20], rbx
mov rcx, rax
call fcn.1400512e0
mov rbx, qword [rsi + 0x38]
mov qword [rsi + 0x38], r15
test rbx, rbx
je 0x140055640
mov rcx, rbx
call fcn.140051350
mov rcx, rbx
call fcn.1400acb10
mov r15, qword [rsi + 0x38]
mov rcx, r15
mov rdx, r14
mov r8d, edi
mov r9d, 0x400
call fcn.140051480
mov ebp, 4
test al, al
je 0x1400556fc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsi]
mov rdx, qword [rsi + 0x28]
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 7
lea r9, [rsp + 0x48]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x140055735
mov rax, qword [rsp + 0x48]
mov rdi, qword [0x1400df038]
mov qword [rdi], rax
mov r9d, 8
mov rcx, rsi
mov r8, rdi
call fcn.140055340
mov qword [rdi], 0
test eax, eax
je 0x14005574c
mov ebp, eax
jmp 0x1400556ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp], eax
mov ebp, 0x1b
jmp 0x1400556fc
mov ebp, 0x39
mov qword [r13], 0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov rax, qword [rsp + 0x50]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x140055761
mov eax, ebp
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, 0x39
mov r15, qword [0x1400de2c0]
mov qword [r15], 0
jmp 0x1400556ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx], eax
mov ebp, 0x1a
jmp 0x1400556fc
mov rcx, rsi
call fcn.14002b780
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebp, ebp
jmp 0x1400556fc
call fcn.1400addd0
int3