Function at 0x1400cf048
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [rdx]
mov rdi, rdx
movzx ebx, byte [rdx + 0x24]
mov r14, rcx
and dword [rsp + 0xa0], 0
not ebx
and dword [rsp + 0x38], 0
and ebx, 1
mov r12d, dword [rax]
mov eax, dword [rdx + 8]
mov rsi, qword [rcx + 0x10]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xd0]
lea ebp, [r12 + rbx]
add ebp, dword [rsp + 0xc8]
test eax, eax
je 0x1400cf0b0
mov r15d, r9d
sub r15d, eax
jmp 0x1400cf0bc
mov eax, dword [rcx + 0x38]
lea r15d, [rax + 1]
add eax, ebp
mov dword [rcx + 0x38], eax
mov r13d, dword [r8 + 0xc]
test r13d, r13d
je 0x1400cf0cf
inc r13d
mov dword [rsp + 0x30], r13d
jmp 0x1400cf0d7
mov eax, dword [r8 + 8]
mov dword [rsp + 0x30], eax
dec dword [rcx + 0x44]
mov r8d, r15d
mov eax, dword [rcx + 0x44]
mov r9d, dword [rsp + 0xc0]
mov dword [rdx + 0x1c], eax
mov eax, r9d
mov rdx, qword [rdx]
neg eax
sbb cl, cl
and cl, 4
inc cl
mov byte [rsp + 0x20], cl
mov rcx, r14
call fcn.1400e0c68
lea r13, [rdi + 0xc]
test ebx, ebx
je 0x1400cf128
and dword [rsp + 0x20], 0
lea r9d, [r15 + r12]
mov r8d, dword [r13]
mov edx, 0x78
mov rcx, rsi
call fcn.1400fb03c
cmp dword [rsp + 0xd0], 0
mov rax, r13
mov qword [rsp + 0x40], rax
jne 0x1400cf174
mov ecx, dword [rsp + 0xc8]
mov qword [rsp + 0x40], rax
test ecx, ecx
jle 0x1400cf174
mov r8d, dword [rsp + 0xb8]
lea r9d, [r15 + r12]
mov dword [rsp + 0x20], ecx
add r9d, ebx
mov rcx, qword [r14 + 0x10]
mov edx, 0x4c
call fcn.1400fb03c
lea rax, [rdi + 0xc]
mov qword [rsp + 0x40], rax
cmp dword [rsp + 0xa8], 0
jle 0x1400cf372
mov r8, qword [rsp + 0xb0]
mov r9d, r15d
mov rdx, rdi
mov dword [rsp + 0x20], ebp
mov rcx, r14
call fcn.1400c87b8
mov edx, dword [r14 + 0x38]
lea r8d, [r15 + r12]
mov dword [rsp + 0xa0], eax
lea eax, [rdx + 1]
add edx, dword [rdi + 8]
mov dword [rsp + 0xd0], eax
mov eax, r12d
mov dword [r14 + 0x38], edx
sub eax, dword [rdi + 8]
add eax, ebx
mov dword [rsp + 0xc0], eax
test ebx, ebx
jne 0x1400cf1d3
mov r8d, dword [r13]
neg ebx
mov rcx, rsi
sbb edx, edx
and dword [rsp + 0x20], 0
and edx, 0xffffffa3
xor r9d, r9d
add edx, 0x71
call fcn.1400fb03c
mov ecx, dword [rdi + 8]
mov r9d, r15d
mov r8d, dword [rsp + 0xd0]
mov edx, 0x56
mov dword [rsp + 0x20], ecx
mov rcx, rsi
mov dword [rsp + 0x34], eax
call fcn.1400fb03c
mov edx, dword [rdi + 0x18]
mov rcx, rsi
call fcn.140102f4c
mov rcx, qword [r14]
mov qword [rsp + 0x48], rax
cmp byte [rcx + 0x61], 0
jne 0x1400cf477
mov rbx, qword [rax + 0x10]
xor edx, edx
mov ecx, dword [rsp + 0xc0]
add ecx, dword [rsp + 0xc8]
mov dword [rax + 8], ecx
movzx r8d, word [rbx + 6]
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0xfffffff7
mov r8, rbx
or edx, 0xffffffff
mov rcx, rsi
call fcn.1400fb3d8
movzx r9d, word [rbx + 8]
mov rcx, r14
movzx eax, word [rbx + 6]
mov r13d, dword [rsp + 0xa8]
sub r9d, eax
mov rdx, qword [rdi]
dec r9d
mov r8d, r13d
call fcn.1400eb5e4
mov rcx, qword [rsp + 0x48]
xor r9d, r9d
mov qword [rcx + 0x10], rax
lea edx, [r9 + 0x10]
mov ebx, dword [rsi + 0x90]
mov rcx, rsi
lea r8d, [rbx + 1]
mov dword [rsp + 0x20], r8d
call fcn.1400fb03c
mov eax, dword [r14 + 0x44]
mov edx, 0xc
and dword [rsp + 0x20], 0
dec eax
mov dword [r14 + 0x44], eax
mov rcx, rsi
mov dword [rdi + 0x14], eax
inc dword [r14 + 0x38]
mov r8d, dword [r14 + 0x38]
mov r9d, dword [rdi + 0x14]
mov dword [rdi + 0x10], r8d
call fcn.1400fb03c
mov r8, qword [rsp + 0x40]
xor r9d, r9d
and dword [rsp + 0x20], 0
mov edx, 0x8b
mov rcx, rsi
mov r8d, dword [r8]
call fcn.1400fb03c
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400cf31f
and dword [rsp + 0x20], 0
mov r8d, eax
mov r9d, dword [rdi + 0x1c]
mov edx, 0x14
mov rcx, rsi
call fcn.1400fb03c
mov edx, dword [rsp + 0x34]
mov rcx, rsi
call fcn.140102f4c
mov ecx, dword [rsi + 0x90]
mov r8d, r15d
mov r9d, dword [rsp + 0xd0]
mov edx, 0x4c
mov dword [rax + 8], ecx
mov eax, dword [rdi + 8]
mov rcx, qword [r14 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400fb03c
mov edx, ebx
mov rcx, rsi
call fcn.140102f4c
mov ecx, dword [rsi + 0x90]
mov dword [rax + 8], ecx
lea rax, [rdi + 0xc]
mov qword [rsp + 0x40], rax
jmp 0x1400cf37a
mov r13d, dword [rsp + 0xa8]
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x1400cf3f8
mov r9d, dword [rsi + 0x90]
mov edx, 0x31
mov ebx, dword [rax]
add r9d, 4
and dword [rsp + 0x20], 0
mov rcx, rsi
call fcn.1400fb03c
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
lea edx, [r9 + 0x21]
call fcn.1400fb03c
xor r9d, r9d
lea eax, [r15 + r13]
sub r12d, r13d
mov r8d, ebx
mov dword [rsp + 0x28], r12d
mov rcx, rsi
mov dword [rsp + 0x20], eax
lea edx, [r9 + 0x26]
call fcn.1400fb150
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rcx, rsi
mov r12d, eax
lea edx, [r9 + 0x7b]
call fcn.1400fb03c
jmp 0x1400cf3fd
mov r12d, dword [rsp + 0x38]
mov r9d, dword [rsp + 0xa0]
test r9d, r9d
jne 0x1400cf427
mov r8, qword [rsp + 0xb0]
mov r9d, r15d
mov rdx, rdi
mov dword [rsp + 0x20], ebp
mov rcx, r14
call fcn.1400c87b8
mov r9d, eax
mov r8, qword [rsp + 0x40]
lea eax, [r15 + r13]
movzx edx, byte [rdi + 0x24]
sub ebp, r13d
and edx, 1
mov dword [rsp + 0x28], ebp
add edx, 0x83
mov dword [rsp + 0x20], eax
mov r8d, dword [r8]
mov rcx, rsi
call fcn.1400fb150
test r12d, r12d
je 0x1400cf477
mov r9d, dword [rdi + 0x20]
test r9d, r9d
jne 0x1400cf468
mov r9d, dword [rsi + 0x90]
mov edx, r12d
mov rcx, rsi
call fcn.140102f4c
mov dword [rax + 8], r9d
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret