Function at 0x1400571b0
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 0x140057198
cmp r8, 0x40000000
ja 0x140057198
mov qword [rax + 8], rbp
mov rcx, r8
mov qword [rax + 0x18], rsi
call fcn.14016c33c
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rbp, rax
call sub.VCRUNTIME140.dll_memset
xor esi, esi
test rdi, rdi
je 0x14005716b
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], gethostname
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 0x14005716b
mov r10, qword [rsp + 0xb0]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r10 + rax], sil
jne 0x140057106
mov r8, rsi
sub rdi, rax
je 0x14005716b
movzx r11d, byte [r10]
mov rbx, rbp
sub rbx, r14
mov rdx, r10
mov rcx, r14
test r11b, r11b
je 0x14005714f
movzx eax, r11b
lea r9, [rbx + r8]
cmp al, 0x78
jne 0x140057141
movzx eax, byte [rcx]
cmp byte [r9 + rcx], al
jne 0x140057154
movzx eax, byte [rdx + 1]
inc rdx
inc rcx
test al, al
jne 0x140057134
cmp byte [rdx], sil
je 0x14005715e
inc r8
cmp r8, rdi
jb 0x140057121
jmp 0x14005716b
lea rax, [r8 + rbp]
test rax, rax
je 0x14005716b
lea rsi, [r8 + r15]
mov rcx, rbp
call fcn.14016c298
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.14016c910
sub rsp, rax
xor ebp, ebp
mov r12, r8
mov r14, rdx
mov rax, rcx
test r8, r8
jne 0x1400571e4
mov rdx, rbp
jmp 0x140057320
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, Ordinal_45
mov dword [rsp + 0x28], ebp
mov rcx, rax
mov edx, 0x80862007
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x40], gethostname
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 0x1400571dc
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 0x140057270
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 0x1400572f5
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 0x1400572ee
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x1400572e0
cmp rdi, rax
je 0x140057344
inc esi
cmp esi, r15d
jb 0x1400572b0
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 0x140057040
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1400572f5
mov ecx, dword [rbx + 8]
mov edx, eax
lea rax, [rsp + 0x70]
add rax, rdx
je 0x1400572f5
test ecx, ecx
je 0x1400572f5
mov ebp, ecx
add rdx, r12
jmp 0x1400572f8