Function at 0x14015a480
Capabilities:
Enumerate pe sections

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov rbx, rdx
mov byte [rsp + 0x40], 0
mov qword [r11 - 0x60], rdx
xor esi, esi
mov qword [r11 - 0x70], rsi
lea rax, [r11 - 0x64]
mov qword [r11 - 0x78], rax
mov eax, dword [rcx + 0x48]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 8]
lea r8, [r11 - 0x60]
mov edx, 0x90068
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14015a4f6
xor al, al
jmp 0x14015a964
mov rdx, qword [rsp + 0xe8]
cmp qword [rdx], rbx
jb 0x14015a4ef
lea rcx, [rdx + 0xc]
cmp dword [rcx], 0x454c4946
jne 0x14015a4ef
mov eax, dword [rcx + 0x18]
add rax, rcx
mov qword [rsp + 0x58], rax
movzx ebx, word [rcx + 0x14]
add rbx, rcx
mov rbp, rsi
cmp rbx, rax
jae 0x14015a95f
movabs rcx, 0xffffffffffff
nop word [rax + rax]
cmp dword [rbx + 4], 0
jbe 0x14015a69b
mov eax, dword [rbx]
cmp eax, 0xffffffff
je 0x14015a69b
cmp eax, 0x20
jne 0x14015a56c
cmp byte [rbx + 8], 0
jne 0x14015a682
mov rbp, rbx
jmp 0x14015a682
cmp eax, 0x30
jne 0x14015a682
cmp byte [rbx + 8], 0
jne 0x14015a682
movzx edi, word [rbx + 0x14]
add rdi, rbx
cmp byte [rdi + 0x41], 2
je 0x14015a682
mov rsi, qword [rdi]
and rsi, rcx
cmp byte [rsp + 0x40], 0
jne 0x14015a626
mov byte [rsp + 0x40], 1
movzx r9d, byte [rdi + 0x40]
lea r8, [rdi + 0x42]
mov rax, qword [rsp + 0xb0]
movsxd rdx, dword [rax + 0xac]
mov rcx, qword [rsp + 0xc8]
call fcn.1402c06dc
movzx eax, byte [rdi + 0x40]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
mov rax, qword [rdi + 8]
mov rdx, qword [rsp + 0xd8]
mov qword [rdx], rax
mov rdx, qword [rsp + 0xe8]
test byte [rdx + 0x22], 2
je 0x14015a60e
movsxd rax, dword [rcx]
mov rdx, qword [rsp + 0xc8]
mov r8d, 0x5c
mov word [rdx + rax*2], r8w
inc dword [rcx]
mov rax, qword [rsp + 0xc0]
mov qword [rax], rsi
cmp qword [rsp + 0xe0], 0
je 0x14015a694
jmp 0x14015a678
cmp qword [rsp + 0xe0], 0
je 0x14015a682
mov ecx, 0x28
call fcn.1402bcb4c
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0xb8]
mov qword [rax], rcx
mov qword [rax + 8], rsi
mov rcx, qword [rdi + 8]
mov qword [rax + 0x10], rcx
lea rcx, [rdi + 0x42]
mov qword [rax + 0x20], rcx
movzx ecx, byte [rdi + 0x40]
mov byte [rax + 0x18], cl
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0xe0]
call fcn.140008cf0
movabs rcx, 0xffffffffffff
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, qword [rsp + 0x58]
jae 0x14015a69b
jmp 0x14015a540
mov al, 1
jmp 0x14015a964
test rbp, rbp
je 0x14015a95f
xor edi, edi
movzx ebx, word [rbp + 0x14]
add rbx, rbp
mov eax, dword [rbp + 0x10]
add rax, rbp
mov qword [rsp + 0x50], rax
cmp rbx, rax
jae 0x14015a95f
cmp word [rbx + 4], 0
jbe 0x14015a87f
mov eax, dword [rbx]
cmp eax, 0xffffffff
je 0x14015a87f
cmp eax, 0x30
jne 0x14015a863
mov rsi, qword [rbx + 0x10]
and rsi, rcx
mov qword [rsp + 0x58], rsi
cmp rsi, qword [rsp + 0xb8]
je 0x14015a863
movzx eax, byte [rbx + 6]
test al, al
jne 0x14015a76f
mov rbp, qword [rsp + 0xe0]
test rbp, rbp
jne 0x14015a863
cmp byte [rsp + 0x40], bpl
jne 0x14015a863
test rdi, rdi
jne 0x14015a74d
lea ecx, [rbp + 0x10]
call fcn.1402bcb4c
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14015a74b
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
call fcn.1400e3eb0
mov qword [rdi], rax
jmp 0x14015a74d
xor edi, edi
movzx eax, byte [0x140431248]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400e3ef0
jmp 0x14015a863
cmp byte [rsp + 0x40], 0
jne 0x14015a800
mov byte [rsp + 0x40], 1
movzx r9d, al
movzx r8d, byte [rbx + 7]
add r8, rbx
mov rax, qword [rsp + 0xb0]
movsxd rdx, dword [rax + 0xac]
mov rbp, qword [rsp + 0xc8]
mov rcx, rbp
call fcn.1402c06dc
movzx eax, byte [rbx + 6]
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
mov rax, qword [rsp + 0xd8]
mov qword [rax], 0
mov rax, qword [rsp + 0xe8]
test byte [rax + 0x22], 2
je 0x14015a7e4
movsxd rax, dword [rcx]
mov edx, 0x5c
mov word [rbp + rax*2], dx
inc dword [rcx]
mov rax, qword [rsp + 0xc0]
mov qword [rax], rsi
cmp qword [rsp + 0xe0], 0
je 0x14015a87f
jmp 0x14015a863
mov rbp, qword [rsp + 0xe0]
test rbp, rbp
je 0x14015a863
mov ecx, 0x28
call fcn.1402bcb4c
mov rcx, rax
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xb8]
mov qword [rcx], rax
mov qword [rcx + 8], rsi
xor esi, esi
mov qword [rcx + 0x10], rsi
cmp byte [rbx + 6], sil
jne 0x14015a844
mov qword [rcx + 0x20], rsi
mov byte [rcx + 0x18], sil
jmp 0x14015a856
movzx eax, byte [rbx + 7]
add rax, rbx
mov qword [rcx + 0x20], rax
movzx eax, byte [rbx + 6]
mov byte [rcx + 0x18], al
lea rdx, [rsp + 0x58]
mov rcx, rbp
call fcn.140008cf0
movzx eax, word [rbx + 4]
add rbx, rax
cmp rbx, qword [rsp + 0x50]
movabs rcx, 0xffffffffffff
jb 0x14015a6c1
test rdi, rdi
je 0x14015a95f
cmp byte [rsp + 0x40], 0
jne 0x14015a957
mov rax, qword [rdi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14015a957
mov rsi, qword [rsp + 0xd0]
nop word [rax + rax]
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rsp + 0xb0]
call fcn.14015a480
mov byte [rsp + 0x40], al
test al, al
jne 0x14015a957
cmp byte [rbx + 0x19], al
jne 0x14015a94e
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], al
jne 0x14015a92e
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], al
jne 0x14015a94e
nop
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x14015a920
jmp 0x14015a94e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015a94b
cmp rbx, qword [rax + 0x10]
jne 0x14015a94b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015a938
mov rbx, rax
cmp rbx, qword [rdi]
jne 0x14015a8b0
mov rcx, rdi
call fcn.1400da9a0
movzx eax, byte [rsp + 0x40]
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret