Function at 0x140072420
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 [0x140125a98]
test r15, r15
je 0x14007272f
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.14007cb50
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 [0x140125af0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14007272f
movzx eax, byte [rsp + 0x5c]
mov byte [rdi], al
inc rbx
cmp rbx, 0x40
jb 0x140072490
mov eax, 0x5a4d
cmp word [rbp - 0x80], ax
jne 0x14007272f
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 [0x140125af0]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14007272f
movzx eax, byte [rsp + 0x5c]
mov byte [rdi], al
inc rbx
cmp rbx, 0x108
jb 0x140072540
cmp dword [rbp - 0x40], 0x4550
jne 0x14007272f
mov ebx, dword [rbp + 0x48]
test ebx, ebx
je 0x14007272f
mov eax, dword [rbp + 0x4c]
test eax, eax
je 0x14007272f
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.140071d30
test al, al
je 0x14007271e
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 0x14007271e
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 0x140072694
lea rcx, [rsp + 0x40]
call fcn.14000b9c0
mov rdx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400726b7
mov rdx, qword [r12]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
call fcn.14008e64c
test eax, eax
je 0x14007274c
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14007270e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140072709
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400727ef
call fcn.14007a00c
inc ebx
cmp ebx, dword [rdi + 0x18]
mov eax, 0
jb 0x140072670
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 0x140072799
lea rbx, [r15 + rcx]
cmp rbx, qword [rbp + 0x128]
jb 0x1400727dc
mov rax, qword [rsp + 0x70]
add rax, qword [rsp + 0x78]
add rax, r15
cmp rbx, rax
ja 0x1400727dc
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 0x1400727d4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400727cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400727ef
call fcn.14007a00c
mov rax, rbx
jmp 0x140072731
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14007279b
call fcn.140089c44
int3