Function at 0x140071620
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov r12, r8
mov r15, qword [0x140124798]
test r15, r15
je 0x14007192f
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x50], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call fcn.14007b990
xor r14d, r14d
mov ebx, r14d
lea rax, [rbp - 0x80]
mov rsi, r15
sub rsi, rax
nop dword [rax + rax]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5c], xmm0
mov dword [rsp + 0x6c], r14d
lea rdi, [rbp - 0x80]
add rdi, rbx
lea rax, [rdi + rsi]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x30
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x40]
mov edx, 0x80002048
mov rcx, qword [0x1401247f0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14007192f
movzx eax, byte [rsp + 0x5c]
mov byte [rdi], al
inc rbx
cmp rbx, 0x40
jb 0x140071690
mov eax, 0x5a4d
cmp word [rbp - 0x80], ax
jne 0x14007192f
movsxd rsi, dword [rbp - 0x44]
add rsi, r15
mov rbx, r14
lea rax, [rbp - 0x40]
sub rsi, rax
nop word [rax + rax]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x5c], xmm0
mov dword [rsp + 0x6c], r14d
lea rdi, [rbp - 0x40]
add rdi, rbx
lea rax, [rdi + rsi]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x30
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x30
lea r8, [rsp + 0x40]
mov edx, 0x80002048
mov rcx, qword [0x1401247f0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14007192f
movzx eax, byte [rsp + 0x5c]
mov byte [rdi], al
inc rbx
cmp rbx, 0x108
jb 0x140071740
cmp dword [rbp - 0x40], 0x4550
jne 0x14007192f
mov ebx, dword [rbp + 0x48]
test ebx, ebx
je 0x14007192f
mov eax, dword [rbp + 0x4c]
test eax, eax
je 0x14007192f
mov esi, eax
mov qword [rsp + 0x78], rax
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov qword [rsp + 0x70], rbx
lea rax, [rbx + r15]
mov qword [rbp + 0x128], rax
mov r9d, esi
mov r8, rdi
mov rdx, rax
call fcn.140070f30
test al, al
je 0x14007191e
mov r14, rdi
sub r14, rbx
mov r13d, dword [rdi + 0x20]
add r13, r14
mov eax, dword [rdi + 0x24]
add rax, r14
mov qword [rbp + 0x118], rax
mov eax, dword [rdi + 0x1c]
add rax, r14
mov qword [rbp + 0x110], rax
xor eax, eax
mov ebx, eax
cmp dword [rdi + 0x18], eax
jbe 0x14007191e
nop word [rax + rax]
mov esi, ebx
mov edx, dword [r13 + rsi*4]
add rdx, r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x140071894
lea rcx, [rsp + 0x40]
call fcn.14000b840
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400718b7
mov rdx, qword [r12]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call fcn.14008d48c
test eax, eax
je 0x14007194c
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14007190e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140071909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400719ef
call fcn.140078e58
inc ebx
cmp ebx, dword [rdi + 0x18]
mov eax, 0
jb 0x140071870
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x118]
movzx eax, word [rax + rsi*2]
mov rcx, qword [rbp + 0x110]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x140071999
lea rbx, [r15 + rcx]
cmp rbx, qword [rbp + 0x128]
jb 0x1400719dc
mov rax, qword [rsp + 0x70]
add rax, qword [rsp + 0x78]
add rax, r15
cmp rbx, rax
ja 0x1400719dc
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400719d4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400719cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400719ef
call fcn.140078e58
mov rax, rbx
jmp 0x140071931
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14007199b
call fcn.140088a84
int3