Function at 0x140050dc0
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 0x140050da1
cmp r8, 0x40000000
ja 0x140050da1
mov rcx, r8
mov qword [rsp + 0x40], rsi
call fcn.1401504d8
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.14004f7a0
test al, al
je 0x140050d8f
mov r10, qword [rsp + 0x60]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r10 + rax], r14b
jne 0x140050d26
mov r8, r14
sub rdi, rax
je 0x140050d8f
movzx r11d, byte [r10]
mov rbx, rsi
sub rbx, rbp
mov rdx, r10
mov rax, rbp
test r11b, r11b
je 0x140050d70
movzx ecx, r11b
lea r9, [rbx + r8]
cmp cl, 0x78
jne 0x140050d62
movzx ecx, byte [rax]
cmp byte [r9 + rax], cl
jne 0x140050d75
movzx ecx, byte [rdx + 1]
inc rdx
inc rax
test cl, cl
jne 0x140050d54
cmp byte [rdx], r14b
je 0x140050d7f
inc r8
cmp r8, rdi
jb 0x140050d41
jmp 0x140050d8f
lea rax, [r8 + rsi]
test rax, rax
je 0x140050d8f
sub rax, rsi
lea r14, [rax + r15]
mov rcx, rsi
call fcn.140150144
mov rsi, qword [rsp + 0x40]
mov rax, r14
jmp 0x140050da3
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.140150a60
sub rsp, rax
xor ebp, ebp
mov r12, r8
mov r14, rdx
mov rax, rcx
test r8, r8
jne 0x140050df4
mov rdx, rbp
jmp 0x140050f30
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 0x140050dec
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 0x140050e80
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 0x140050f05
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 0x140050efe
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], bpl
jne 0x140050ef0
cmp rdi, rax
je 0x140050f54
inc esi
cmp esi, r15d
jb 0x140050ec0
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 0x140050cb0
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x140050f05
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x70]
add rcx, rax
je 0x140050f05
test edx, edx
je 0x140050f05
lea rax, [rsp + 0x70]
mov ebp, edx
sub rcx, rax
lea rdx, [rcx + r12]
jmp 0x140050f08