Function at 0x140007500
Capabilities:
Parse pe header

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 - 0x110]
sub rsp, 0x210
mov rax, qword [0x140015010]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, qword [0x140015a80]
test r15, r15
je 0x140007704
xorps xmm0, xmm0
lea rcx, [rbp - 0x10]
xor edx, edx
mov r8d, 0x108
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x20], xmm0
call sub.VCRUNTIME140.dll_memset
xor r12d, r12d
lea rax, [rbp - 0x50]
mov rsi, r15
mov ebx, r12d
sub rsi, rax
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [0x140015a90]
lea rdi, [rbp - 0x50]
mov qword [rsp + 0x38], r12
lea r8, [rbp - 0x80]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r12
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x80], r12
mov edx, 0x80002048
mov qword [rbp - 0x70], r12
movdqu xmmword [rbp - 0x64], xmm0
lea rax, [rdi + rsi]
mov dword [rbp - 0x54], r12d
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x68], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140007704
movzx eax, byte [rbp - 0x64]
inc rbx
mov byte [rdi], al
cmp rbx, 0x40
jb 0x140007580
mov eax, 0x5a4d
cmp word [rbp - 0x50], ax
jne 0x140007704
movsxd rsi, dword [rbp - 0x14]
lea rax, [rbp - 0x10]
add rsi, r15
mov rbx, r12
sub rsi, rax
nop dword [rax + rax]
mov rcx, qword [0x140015a90]
lea rdi, [rbp - 0x10]
mov qword [rsp + 0x38], r12
lea r8, [rbp - 0x80]
xorps xmm0, xmm0
mov qword [rsp + 0x30], r12
add rdi, rbx
mov dword [rsp + 0x28], 0x30
mov r9d, 0x30
mov qword [rbp - 0x80], r12
mov edx, 0x80002048
mov qword [rbp - 0x70], r12
movdqu xmmword [rbp - 0x64], xmm0
lea rax, [rdi + rsi]
mov dword [rbp - 0x54], r12d
mov qword [rbp - 0x78], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x68], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140007704
movzx eax, byte [rbp - 0x64]
inc rbx
mov byte [rdi], al
cmp rbx, 0x108
jb 0x140007620
cmp dword [rbp - 0x10], 0x4550
jne 0x140007704
mov ebx, dword [rbp + 0x78]
test ebx, ebx
je 0x140007704
mov eax, dword [rbp + 0x7c]
test eax, eax
je 0x140007704
mov r9d, 4
mov qword [rsp + 0x60], rax
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
mov edi, eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, edi
mov qword [rsp + 0x58], rbx
mov r14, rax
mov qword [rsp + 0x68], rax
lea rax, [rbx + r15]
mov rdx, r14
mov rcx, rax
mov qword [rsp + 0x50], rax
call fcn.140001cb0
mov rcx, r14
test al, al
jne 0x140007736
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor al, al
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140009f00
lea r11, [rsp + 0x210]
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 edx, dword [r14 + 0x20]
sub rcx, rbx
mov r13d, dword [r14 + 0x24]
add rdx, rcx
mov esi, dword [r14 + 0x1c]
add r13, rcx
add rsi, rcx
mov qword [rsp + 0x70], rcx
mov eax, r12d
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], eax
cmp dword [r14 + 0x18], r12d
jbe 0x14000794b
mov r12d, eax
xorps xmm0, xmm0
mov r10d, 0x16
movabs r9, 0x8000000000000000
movabs r8, 0x7fffffffffffffff
mov rbx, 0xffffffffffffffff
movups xmmword [rbp - 0x80], xmm0
mov r14d, dword [rdx + r12*4]
add r14, rcx
xor eax, eax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
nop word [rax + rax]
inc rbx
cmp byte [r14 + rbx], al
jne 0x1400077b0
cmp rbx, r8
ja 0x14000798e
mov qword [rbp - 0x68], 0xf
cmp rbx, 0x10
jae 0x1400077ed
mov r8, rbx
mov qword [rbp - 0x70], rbx
mov rdx, r14
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x80], 0
jmp 0x140007873
mov rdi, rbx
or rdi, 0xf
cmp rdi, r8
jbe 0x140007802
mov rdi, r8
lea rax, [r9 + 0x27]
jmp 0x140007824
cmp rdi, 0x16
cmovb rdi, r10
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140007843
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140007994
mov rcx, rax
call fcn.14000a2bc
test rax, rax
je 0x140007944
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140007850
test rcx, rcx
je 0x14000784d
call fcn.14000a2bc
mov rsi, rax
mov r8, rbx
mov qword [rbp - 0x80], rsi
mov rdx, r14
mov qword [rbp - 0x70], rbx
mov rcx, rsi
mov qword [rbp - 0x68], rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rsi, qword [rsp + 0x48]
mov rdi, qword [0x140015050]
mov rbx, qword [0x140015048]
cmp rbx, rdi
je 0x1400078e9
mov rdx, qword [rbx]
cmp qword [rdx + 0x18], 0x10
jb 0x140007893
mov rdx, qword [rdx]
cmp qword [rbp - 0x68], 0x10
lea rcx, [rbp - 0x80]
cmovae rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400078e0
movzx eax, word [r13 + r12*2]
mov ecx, dword [rsi + rax*4]
cmp ecx, 0x1000
jbe 0x1400078e0
lea rax, [r15 + rcx]
cmp rax, qword [rsp + 0x50]
jb 0x1400078d9
mov rcx, qword [rsp + 0x58]
add rcx, qword [rsp + 0x60]
add rcx, r15
cmp rax, rcx
jbe 0x1400078e0
mov rcx, qword [rbx]
mov qword [rcx + 0x20], rax
add rbx, 8
cmp rbx, rdi
jne 0x140007886
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140007920
mov rcx, qword [rbp - 0x80]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000791b
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140007944
call fcn.140009f20
mov eax, dword [rsp + 0x40]
mov r14, qword [rsp + 0x68]
inc eax
mov dword [rsp + 0x40], eax
cmp eax, dword [r14 + 0x18]
jae 0x14000794b
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
jmp 0x14000776e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, qword [0x140015048]
mov rdx, qword [0x140015050]
cmp rcx, rdx
je 0x140007987
nop
mov rax, qword [rcx]
cmp qword [rax + 0x20], 0
je 0x140007704
add rcx, 8
cmp rcx, rdx
jne 0x140007970
mov al, 1
jmp 0x140007706
call fcn.140001bd0
int3
call fcn.140001b30
int3