Function at 0x14003af30
Capabilities:
Enumerate pe sections

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rdi
push r14
push r15
sub rsp, 0x70
mov r14, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
test rdx, rdx
je 0x14003af18
cmp r8, 0x40000000
ja 0x14003af18
mov qword [rax + 8], rbp
mov rcx, r8
mov qword [rax + 0x18], rsi
call fcn.140054048
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
xor esi, esi
test rdi, rdi
je 0x14003aeeb
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
lea r9d, [rsi + 0x28]
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x40]
mov edx, 0x80862007
mov qword [rsp + 0x20], rsi
mov rcx, rbx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], 0x33
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x98], esi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14003aeeb
mov r10, qword [rsp + 0xb0]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r10 + rax], sil
jne 0x14003ae86
mov r8, rsi
sub rdi, rax
je 0x14003aeeb
movzx r11d, byte [r10]
mov rbx, rbp
sub rbx, r14
mov rdx, r10
mov rcx, r14
test r11b, r11b
je 0x14003aecf
movzx eax, r11b
lea r9, [rbx + r8]
cmp al, 0x78
jne 0x14003aec1
movzx eax, byte [rcx]
cmp byte [r9 + rcx], al
jne 0x14003aed4
movzx eax, byte [rdx + 1]
inc rdx
inc rcx
test al, al
jne 0x14003aeb4
cmp byte [rdx], sil
je 0x14003aede
inc r8
cmp r8, rdi
jb 0x14003aea1
jmp 0x14003aeeb
lea rax, [r8 + rbp]
test rax, rax
je 0x14003aeeb
lea rsi, [r8 + r15]
mov rcx, rbp
call fcn.1400539ec
mov rbp, qword [rsp + 0x90]
mov rax, rsi
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
add rsp, 0x70
pop r15
pop r14
pop rdi
ret
mov rbx, qword [rsp + 0xa8]
xor eax, eax
add rsp, 0x70
pop r15
pop r14
pop rdi
ret
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push r12
push r14
mov eax, 0x1090
call fcn.140054af0
sub rsp, rax
xor ebp, ebp
mov r12, r8
mov r14, rdx
mov rax, rcx
test r8, r8
jne 0x14003af64
mov rdx, rbp
jmp 0x14003b0a0
mov qword [rsp + 0x38], rbp
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x58], rcx
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x10c0]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x30], rcx
mov r9d, 0x28
mov dword [rsp + 0x28], ebp
mov rcx, rax
mov edx, 0x80862007
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x40], 0x33
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], 0x1000
mov dword [rsp + 0x10c0], ebp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x14003af5c
mov qword [rsp + 0x1088], rsi
mov qword [rsp + 0x1080], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1078], r13
mov qword [rsp + 0x1070], r15
inc rdi
cmp byte [r14 + rdi], bpl
jne 0x14003aff0
movsxd rax, dword [rsp + 0xac]
lea rcx, [rsp + 0x70]
add rcx, rax
mov qword [rsp + 0x10b8], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r13, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r13, rax
test r15d, r15d
je 0x14003b075
nop dword [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, r14
lea rcx, [rax + rax*4]
lea rbx, [rcx*8]
add rbx, r13
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003b06e
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x14003b060
cmp rdi, rax
je 0x14003b0c4
inc esi
cmp esi, r15d
jb 0x14003b030
mov rdx, rbp
mov rbx, qword [rsp + 0x10b8]
mov rdi, qword [rsp + 0x1080]
mov rsi, qword [rsp + 0x1088]
mov r13, qword [rsp + 0x1078]
mov r15, qword [rsp + 0x1070]
mov r9, qword [rsp + 0x10c8]
mov rcx, qword [rsp + 0x10b0]
mov r8d, ebp
add rsp, 0x1090
pop r14
pop r12
pop rbp
jmp 0x14003adc0
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x14003b075
mov ecx, dword [rbx + 8]
mov edx, eax
lea rax, [rsp + 0x70]
add rax, rdx
je 0x14003b075
test ecx, ecx
je 0x14003b075
mov ebp, ecx
add rdx, r12
jmp 0x14003b078