Function at 0x7ff7871278c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdi, rcx
lea rax, [0x7ff787438590]
mov qword [rsp + 0x20], rax
lea r9, [0x7ff7874385e8]
mov r8, qword [0x7ff7874d2f98]
lea rdx, [0x7ff7874385e0]
call fcn.7ff787127de0
mov qword [0x7ff7874d2fa0], rax
lea rax, [0x7ff787438620]
mov qword [rsp + 0x20], rax
lea r9, [0x7ff787438618]
mov r8, qword [0x7ff7874d2f98]
lea rdx, [0x7ff787438648]
mov rcx, rdi
call fcn.7ff787127de0
mov qword [0x7ff7874d2fa8], rax
mov rdx, qword [0x7ff7874d2fa0]
test rdx, rdx
jne 0x7ff78712798a
lea rax, [0x7ff787438628]
mov qword [rsp + 0x20], rax
lea r9, [0x7ff787438658]
mov r8, qword [0x7ff7874d2f98]
lea rdx, [0x7ff787438650]
mov rcx, rdi
call fcn.7ff787127de0
mov qword [0x7ff7874d2fa0], rax
test rax, rax
je 0x7ff787127dc6
lea rdx, [rax + 0x10]
mov rax, qword [0x7ff7874d2fa8]
jmp 0x7ff78712798e
add rdx, 0x1c
mov qword [0x7ff7874d2fa0], rdx
test rax, rax
je 0x7ff787127dc6
mov r9d, 7
lea r8d, [r9 - 4]
mov rcx, rdi
call fcn.7ff7871273b0
mov r15, rax
mov r9d, 0xa
lea r8d, [r9 - 4]
mov rdx, qword [0x7ff7874d2fa8]
mov rcx, rdi
call fcn.7ff7871273b0
mov r14, rax
mov rdx, r15
mov rcx, rdi
call fcn.7ff787127440
test al, al
je 0x7ff787127dc6
lea rcx, [rbp + 0xf]
call fcn.7ff787125e40
nop
lea r9, [rbp + 0xf]
cmp qword [rbp + 0x27], 7
cmova r9, qword [rbp + 0xf]
mov eax, 0x5a4d
xor ebx, ebx
cmp word [0x7ff787491770], ax
je 0x7ff787127a0f
mov r8d, ebx
jmp 0x7ff787127a2b
movsxd r8, dword [0x7ff7874917ac]
lea rax, [0x7ff787491770]
add r8, rax
cmp dword [r8], 0x4550
cmovne r8, rbx
mov r8d, dword [r8 + 8]
mov rdx, r14
mov rcx, rdi
call fcn.7ff7871276e0
mov rsi, rax
test rax, rax
je 0x7ff787127dab
add rax, 8
je 0x7ff787127dab
mov qword [rbp - 9], 8
mov qword [rbp - 0x11], rax
lea rax, [rbp - 0x19]
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
je 0x7ff787127dab
mov qword [rbp - 9], 8
mov qword [rbp - 0x11], rsi
lea rax, [rbp + 0x7f]
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
je 0x7ff787127dab
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x7ff787127dab
mov qword [rbp - 9], 8
lea rcx, [rbp + 0x7f]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
je 0x7ff787127dab
mov rax, qword [rbp + 0x7f]
add rax, 8
je 0x7ff787127dab
mov qword [rbp - 9], 8
lea rcx, [rbp - 0x19]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
je 0x7ff787127dab
test r14, r14
je 0x7ff787127dab
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x7ff7874d3580], eax
jle 0x7ff787127cc0
lea rcx, [0x7ff7874d3580]
call fcn.7ff78718e628
cmp dword [0x7ff7874d3580], 0xffffffff
jne 0x7ff787127cc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov ecx, 0x20
call fcn.7ff78718e8f0
mov rdx, rax
mov qword [rbp - 0x11], rax
movdqa xmm0, xmmword [0x7ff78744d240]
movdqu xmmword [rbp - 1], xmm0
movups xmm1, xmmword [0x7ff787438558]
movups xmmword [rax], xmm1
movsd xmm0, qword [0x7ff787438568]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x7ff787438570]
mov dword [rax + 0x18], ecx
movzx eax, word [0x7ff787438574]
mov word [rdx + 0x1c], ax
movzx eax, byte [0x7ff787438576]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], 0
lea r8, [rbp - 0x11]
mov rdx, qword [0x7ff7874d2f98]
mov rcx, rdi
call fcn.7ff787126720
mov qword [0x7ff7874d3510], rax
mov rdx, qword [rbp + 7]
cmp rdx, 0xf
jbe 0x7ff787127ca3
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff787127c9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff787127c9e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff78718e8e8
movdqa xmm0, xmmword [0x7ff78744d1a0]
movdqu xmmword [rbp - 1], xmm0
mov byte [rbp - 0x11], 0
lea rcx, [0x7ff7874d3580]
call fcn.7ff78718e5bc
cmp qword [0x7ff7874d3510], 0
je 0x7ff787127dab
mov qword [rsp + 0x20], rsi
mov r9, r14
lea rdx, [rbp + 0x6f]
mov rcx, rdi
call fcn.7ff78712ad20
test al, al
je 0x7ff787127dab
cmp byte [rbp + 0x6f], 0
je 0x7ff787127dab
mov dword [rbp + 0x77], ebx
lea rsi, [r14 + 0x40]
test rsi, rsi
je 0x7ff787127d9c
mov qword [rbp - 9], 4
mov qword [rbp - 0x11], rsi
lea rax, [rbp + 0x77]
mov qword [rbp - 1], rax
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeviceIoControl]
mov eax, dword [rbp + 0x77]
test eax, eax
je 0x7ff787127d9c
dec eax
mov dword [rbp + 0x77], eax
mov qword [rbp - 9], 4
lea rax, [rbp + 0x77]
mov qword [rbp - 0x11], rax
mov qword [rbp - 1], rsi
mov dword [rbp + 0x6f], ebx
mov qword [rsp + 0x38], rbx
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9d, 0x18
lea r8, [rbp - 0x11]
mov edx, 0x30394004
mov rcx, rdi
call qword [sym.imp.kernel32.dll_DeviceIoControl]
mov rdx, r15
mov rcx, rdi
call fcn.7ff7871275a0
mov bl, 1
jmp 0x7ff787127db8
mov rdx, r15
mov rcx, rdi
call fcn.7ff7871275a0
xor bl, bl
lea rcx, [rbp + 0xf]
call fcn.7ff787129950
movzx eax, bl
jmp 0x7ff787127dc8
xor al, al
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret