Function at 0x140056f70
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
xor esi, esi
mov rbp, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
test rdx, rdx
je 0x140056f4d
cmp r8, 0x40000000
ja 0x140056f4d
mov rcx, r8
mov qword [rsp + 0x40], r14
call fcn.14015865c
mov r8, rdi
xor edx, edx
mov rcx, rax
mov r14, rax
call sub.VCRUNTIME140.dll_memset
mov r9, rdi
mov r8, r15
mov rdx, r14
mov rcx, rbx
call fcn.1400558f0
test al, al
je 0x140056f3b
mov r10, qword [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r10 + rax], sil
jne 0x140056ed4
mov r8, rsi
sub rdi, rax
je 0x140056f3b
movzx r11d, byte [r10]
mov rbx, r14
sub rbx, rbp
nop
mov rdx, r10
mov rax, rbp
test r11b, r11b
je 0x140056f1f
movzx ecx, r11b
lea r9, [rbx + r8]
cmp cl, 0x78
jne 0x140056f11
movzx ecx, byte [rax]
cmp byte [r9 + rax], cl
jne 0x140056f24
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x140056f03
cmp byte [rdx], sil
je 0x140056f2e
inc r8
cmp r8, rdi
jb 0x140056ef0
jmp 0x140056f3b
lea rax, [r8 + r14]
test rax, rax
je 0x140056f3b
lea rsi, [r8 + r15]
mov rcx, r14
call fcn.1401582b8
mov r14, qword [rsp + 0x40]
mov rax, rsi
jmp 0x140056f4f
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbp
push r12
push r14
mov eax, 0x1090
call fcn.140158bf0
sub rsp, rax
xor ebp, ebp
mov r12, r8
mov r14, rdx
mov rax, rcx
test r8, r8
jne 0x140056fa4
mov rdx, rbp
jmp 0x1400570e0
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 0x140056f9c
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 0x140057030
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 0x1400570b5
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 0x1400570ae
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x1400570a0
cmp rdi, rax
je 0x140057104
inc esi
cmp esi, r15d
jb 0x140057070
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 0x140056e60
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x1400570b5
mov ecx, dword [rbx + 8]
lea rdx, [rsp + 0x70]
add rdx, rax
je 0x1400570b5
test ecx, ecx
je 0x1400570b5
lea rax, [rsp + 0x70]
mov ebp, ecx
sub rdx, rax
add rdx, r12
jmp 0x1400570b8