Function at 0x140052310
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r14
push r15
sub rsp, 0x20
xor r14d, r14d
mov rbp, r9
mov rdi, r8
mov r15, rdx
mov rbx, rcx
test rdx, rdx
je 0x1400522f1
cmp r8, 0x40000000
ja 0x1400522f1
mov rcx, r8
mov qword [rsp + 0x40], rsi
call fcn.14014d098
mov r8, rdi
xor edx, edx
mov rcx, rax
mov rsi, rax
call sub.VCRUNTIME140.dll_memset
mov r9, rdi
mov r8, r15
mov rdx, rsi
mov rcx, rbx
call fcn.140050cf0
test al, al
je 0x1400522df
mov r10, qword [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r10 + rax], r14b
jne 0x140052276
mov r8, r14
sub rdi, rax
je 0x1400522df
movzx r11d, byte [r10]
mov rbx, rsi
sub rbx, rbp
mov rdx, r10
mov rax, rbp
test r11b, r11b
je 0x1400522c0
movzx ecx, r11b
lea r9, [rbx + r8]
cmp cl, 0x78
jne 0x1400522b2
movzx ecx, byte [rax]
cmp byte [r9 + rax], cl
jne 0x1400522c5
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x1400522a4
cmp byte [rdx], r14b
je 0x1400522cf
inc r8
cmp r8, rdi
jb 0x140052291
jmp 0x1400522df
lea rax, [r8 + rsi]
test rax, rax
je 0x1400522df
sub rax, rsi
lea r14, [rax + r15]
mov rcx, rsi
call fcn.14014cd04
mov rsi, qword [rsp + 0x40]
mov rax, r14
jmp 0x1400522f3
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
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.14014d620
sub rsp, rax
xor ebp, ebp
mov r12, r8
mov r14, rdx
mov rax, rcx
test r8, r8
jne 0x140052344
mov rdx, rbp
jmp 0x140052480
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 0x14005233c
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 0x1400523d0
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
cmp bp, r15w
jae 0x140052455
nop dword [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 0x14005244e
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x140052440
cmp rdi, rax
je 0x1400524a4
inc esi
cmp esi, r15d
jb 0x140052410
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 0x140052200
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140052455
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x70]
add rcx, rax
je 0x140052455
test edx, edx
je 0x140052455
lea rax, [rsp + 0x70]
mov ebp, edx
sub rcx, rax
lea rdx, [rcx + r12]
jmp 0x140052458