Function at 0x140158a30
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 0x140158aa6
xor al, al
jmp 0x140158f14
mov rdx, qword [rsp + 0xe8]
cmp qword [rdx], rbx
jb 0x140158a9f
lea rcx, [rdx + 0xc]
cmp dword [rcx], 0x454c4946
jne 0x140158a9f
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 0x140158f0f
movabs rcx, 0xffffffffffff
nop word [rax + rax]
cmp dword [rbx + 4], 0
jbe 0x140158c4b
mov eax, dword [rbx]
cmp eax, 0xffffffff
je 0x140158c4b
cmp eax, 0x20
jne 0x140158b1c
cmp byte [rbx + 8], 0
jne 0x140158c32
mov rbp, rbx
jmp 0x140158c32
cmp eax, 0x30
jne 0x140158c32
cmp byte [rbx + 8], 0
jne 0x140158c32
movzx edi, word [rbx + 0x14]
add rdi, rbx
cmp byte [rdi + 0x41], 2
je 0x140158c32
mov rsi, qword [rdi]
and rsi, rcx
cmp byte [rsp + 0x40], 0
jne 0x140158bd6
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.1402bd21c
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 0x140158bbe
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 0x140158c44
jmp 0x140158c28
cmp qword [rsp + 0xe0], 0
je 0x140158c32
mov ecx, 0x28
call fcn.1402b968c
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 0x140158c4b
jmp 0x140158af0
mov al, 1
jmp 0x140158f14
test rbp, rbp
je 0x140158f0f
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 0x140158f0f
cmp word [rbx + 4], 0
jbe 0x140158e2f
mov eax, dword [rbx]
cmp eax, 0xffffffff
je 0x140158e2f
cmp eax, 0x30
jne 0x140158e13
mov rsi, qword [rbx + 0x10]
and rsi, rcx
mov qword [rsp + 0x58], rsi
cmp rsi, qword [rsp + 0xb8]
je 0x140158e13
movzx eax, byte [rbx + 6]
test al, al
jne 0x140158d1f
mov rbp, qword [rsp + 0xe0]
test rbp, rbp
jne 0x140158e13
cmp byte [rsp + 0x40], bpl
jne 0x140158e13
test rdi, rdi
jne 0x140158cfd
lea ecx, [rbp + 0x10]
call fcn.1402b968c
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140158cfb
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
call fcn.1400e2a30
mov qword [rdi], rax
jmp 0x140158cfd
xor edi, edi
movzx eax, byte [0x14042c168]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x58]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.1400e2a70
jmp 0x140158e13
cmp byte [rsp + 0x40], 0
jne 0x140158db0
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.1402bd21c
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 0x140158d94
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 0x140158e2f
jmp 0x140158e13
mov rbp, qword [rsp + 0xe0]
test rbp, rbp
je 0x140158e13
mov ecx, 0x28
call fcn.1402b968c
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 0x140158df4
mov qword [rcx + 0x20], rsi
mov byte [rcx + 0x18], sil
jmp 0x140158e06
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 0x140158c71
test rdi, rdi
je 0x140158f0f
cmp byte [rsp + 0x40], 0
jne 0x140158f07
mov rax, qword [rdi]
mov rbx, qword [rax]
cmp rbx, rax
je 0x140158f07
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.140158a30
mov byte [rsp + 0x40], al
test al, al
jne 0x140158f07
cmp byte [rbx + 0x19], al
jne 0x140158efe
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x19], al
jne 0x140158ede
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], al
jne 0x140158efe
nop
mov rbx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140158ed0
jmp 0x140158efe
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140158efb
cmp rbx, qword [rax + 0x10]
jne 0x140158efb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140158ee8
mov rbx, rax
cmp rbx, qword [rdi]
jne 0x140158e60
mov rcx, rdi
call fcn.1400d9520
movzx eax, byte [rsp + 0x40]
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret