Function at 0x1400c4190
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, rcx
test r8, r8
je 0x1400c435a
mov rdi, r9
test r9, r9
je 0x1400c435a
mov r14, r8
mov ebp, edx
mov dword [rdi], edx
mov rax, qword [rsi + 0x68]
mov rax, qword [rax + 0x20]
mov ecx, edx
mov qword [rsp + 0x38], rcx
mov eax, dword [rax + rcx*4]
mov qword [rdi + 8], rax
movzx eax, word [r8 + 4]
mov word [rdi + 0x10], ax
movzx eax, word [r8 + 6]
mov word [rdi + 0x12], ax
movzx eax, word [r8 + 8]
mov word [rdi + 0x14], ax
movzx eax, word [r8 + 0xa]
mov word [rdi + 0x16], ax
movzx eax, word [r8 + 0xc]
movzx ecx, word [r8 + 0xe]
mov qword [rsp + 0x5c], 0
mov dword [rsp + 0x64], 0xffffffff
mov edx, ecx
shr edx, 9
add edx, 0x50
mov dword [rsp + 0x58], edx
mov edx, ecx
shr edx, 5
and edx, 0xf
dec edx
mov dword [rsp + 0x54], edx
and ecx, 0x1f
mov dword [rsp + 0x50], ecx
mov ecx, eax
shr ecx, 0xb
mov dword [rsp + 0x4c], ecx
mov ecx, eax
shr ecx, 5
and ecx, 0x3f
mov dword [rsp + 0x48], ecx
add eax, eax
and eax, 0x3e
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x44]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov qword [rdi + 0x18], rax
mov eax, dword [r14 + 0x10]
mov dword [rdi + 0x20], eax
mov eax, dword [r14 + 0x14]
mov qword [rsp + 0x28], rax
mov qword [rdi + 0x28], rax
mov r13d, dword [r14 + 0x18]
mov qword [rdi + 0x30], r13
movzx eax, word [r14 + 0x24]
mov word [rdi + 0x38], ax
mov eax, dword [r14 + 0x26]
mov dword [rdi + 0x3c], eax
mov eax, dword [r14 + 0x2a]
mov qword [rsp + 0x30], rax
mov qword [rdi + 0x40], rax
movzx r12d, word [r14 + 0x1c]
cmp r12d, 0x1ff
mov r15d, 0x1ff
cmovae r12d, r15d
lea rcx, [rdi + 0x58]
lea rbx, [r14 + 0x2e]
mov rdx, rbx
mov r8, r12
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov byte [rdi + r12 + 0x58], 0
movzx eax, word [r14 + 0x20]
cmp eax, 0x1ff
cmovb r15d, eax
mov dword [rdi + 0x48], r15d
lea rcx, [rdi + 0x258]
movzx eax, word [r14 + 0x1c]
add rax, r14
add rax, 0x2e
movzx edx, word [r14 + 0x1e]
add rdx, rax
mov r8, r15
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov byte [rdi + r15 + 0x258], 0
mov rax, qword [rsi + 0x68]
test rax, rax
je 0x1400c4368
cmp dword [rsi + 0x10], ebp
jbe 0x1400c4372
mov rcx, qword [rax]
test rcx, rcx
je 0x1400c4415
mov rdx, qword [rax + 0x20]
mov r11, qword [rsp + 0x38]
mov edx, dword [rdx + r11*4]
add rcx, rdx
movzx r8d, word [rcx + 0x1c]
test r8, r8
je 0x1400c4349
mov edx, 1
cmp byte [rcx + r8 + 0x2d], 0x2f
je 0x1400c4352
mov edx, dword [rcx + 0x26]
shr edx, 4
and edx, 1
mov dword [rdi + 0x4c], edx
jmp 0x1400c4428
mov dword [rsi + 0x1c], 0x18
xor eax, eax
jmp 0x1400c451d
mov qword [rdi + 0x4c], 0
jmp 0x1400c438e
mov dword [rsi + 0x1c], 0x18
mov dword [rdi + 0x4c], 0
mov dword [rsi + 0x1c], 0x18
mov dword [rdi + 0x50], 0
mov eax, 0x18
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
mov dword [rsi + 0x1c], eax
xor ecx, ecx
cmp r10, r13
mov rdx, r13
cmova rdx, r10
cmp rdx, r9
cmovbe rdx, r9
mov dword [rdi + 0x54], ecx
mov eax, 1
cmp edx, 0xffffffff
jne 0x1400c451d
movzx edx, word [r14 + 0x1e]
test edx, edx
je 0x1400c451d
movzx ecx, word [r14 + 0x1c]
add rbx, rcx
nop dword [rax]
cmp edx, 3
jbe 0x1400c450a
mov edx, edx
movzx ecx, word [rbx + 2]
lea r8, [rcx + 4]
cmp r8, rdx
ja 0x1400c450a
cmp word [rbx], 1
je 0x1400c44bf
add rbx, r8
sub edx, ecx
add edx, 0xfffffffc
jne 0x1400c43e0
jmp 0x1400c451d
mov dword [rsi + 0x1c], 0x18
mov dword [rdi + 0x4c], 0
mov r11, qword [rsp + 0x38]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400c444a
mov rdx, qword [rax + 0x20]
mov edx, dword [rdx + r11*4]
movzx ecx, word [rcx + rdx + 8]
xor edx, edx
test cl, 0x41
setne dl
mov dword [rdi + 0x50], edx
jmp 0x1400c4458
mov dword [rsi + 0x1c], 0x18
mov dword [rdi + 0x50], 0
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400c44b5
mov rax, qword [rax + 0x20]
mov edx, dword [rax + r11*4]
movzx r8d, word [rcx + rdx + 0xa]
mov eax, 4
test r8d, 0xfff7
jne 0x1400c439d
movzx edx, word [rcx + rdx + 8]
mov eax, 5
test dl, 0x41
jne 0x1400c439d
mov eax, 6
mov ecx, 1
test dl, 0x20
jne 0x1400c439d
jmp 0x1400c43a2
mov eax, 0x18
jmp 0x1400c439d
cmp r13d, 0xffffffff
je 0x1400c44d1
add rbx, 4
cmp r10d, 0xffffffff
jne 0x1400c44ff
jmp 0x1400c44ec
cmp cx, 7
jbe 0x1400c450a
mov rdx, qword [rbx + 4]
mov qword [rdi + 0x30], rdx
add rbx, 0xc
add ecx, 0xfffffff8
cmp r10d, 0xffffffff
jne 0x1400c44ff
cmp ecx, 7
jbe 0x1400c450a
mov rdx, qword [rbx]
mov qword [rdi + 0x28], rdx
add rbx, 8
add ecx, 0xfffffff8
cmp r9d, 0xffffffff
jne 0x1400c451d
cmp ecx, 7
ja 0x1400c4516
mov dword [rsi + 0x1c], 9
jmp 0x1400c4361
mov rcx, qword [rbx]
mov qword [rdi + 0x40], rcx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret