Function at 0x14004ca50
Capabilities:
Enumerate pe sections

Disassembly:
mov r11, rsp
push rsi
push r12
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r12d, edx
mov r14, r9
mov r15, r8
mov rsi, rcx
test r8, r8
je 0x14004cdbc
test r9, r9
je 0x14004cdbc
mov dword [r9], r12d
mov rax, qword [rcx + 0x68]
mov qword [r11 + 0x10], rbx
mov qword [r11 - 0x28], rbp
xor ebp, ebp
mov qword [r11 - 0x50], rbp
mov rcx, qword [rax + 0x20]
mov qword [r11 - 0x30], rdi
mov qword [r11 - 0x38], r13
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rcx + r12*4]
mov qword [r9 + 8], rax
movzx eax, word [r8 + 4]
mov word [r9 + 0x10], ax
movzx eax, word [r8 + 6]
mov word [r9 + 0x12], ax
movzx eax, word [r8 + 8]
mov word [r9 + 0x14], ax
movzx eax, word [r8 + 0xa]
mov word [r9 + 0x16], ax
movzx ecx, word [r8 + 0xe]
movzx edx, word [r8 + 0xc]
mov eax, ecx
shr eax, 9
add eax, 0x50
mov dword [rsp + 0x34], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [rsp + 0x2c], ecx
dec eax
lea rcx, [r11 - 0x68]
mov dword [rsp + 0x30], eax
mov eax, edx
shr eax, 0xb
mov dword [rsp + 0x28], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x20], edx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov qword [r14 + 0x18], rax
mov edi, 0x1ff
mov eax, dword [r15 + 0x10]
lea rdx, [r15 + 0x2e]
mov dword [r14 + 0x20], eax
mov eax, dword [r15 + 0x14]
mov qword [r14 + 0x28], rax
mov eax, dword [r15 + 0x18]
mov qword [r14 + 0x30], rax
movzx eax, word [r15 + 0x24]
mov word [r14 + 0x38], ax
mov eax, dword [r15 + 0x26]
mov dword [r14 + 0x3c], eax
mov eax, dword [r15 + 0x2a]
mov qword [r14 + 0x40], rax
mov eax, edi
movzx ecx, word [r15 + 0x1c]
cmp ecx, edi
cmovb eax, ecx
lea rcx, [r14 + 0x58]
mov r8d, eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + r14 + 0x58], bpl
movzx eax, word [r15 + 0x20]
cmp eax, edi
cmovb edi, eax
mov dword [r14 + 0x48], edi
movzx edx, word [r15 + 0x1e]
movzx ecx, word [r15 + 0x1c]
add rdx, r15
add rcx, 0x2e
mov r8d, edi
add rdx, rcx
lea rcx, [r14 + 0x258]
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rsp + 0x98]
mov byte [rdi + r14 + 0x258], bpl
mov rdx, qword [rsi + 0x68]
mov rdi, qword [rsp + 0x58]
test rdx, rdx
je 0x14004cc18
cmp r12d, dword [rsi + 0x10]
jae 0x14004cc18
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + r12*4]
add rcx, qword [rdx]
je 0x14004cc18
movzx eax, word [rcx + 0x1c]
test ax, ax
je 0x14004cc0c
cmp byte [rax + rcx + 0x2d], 0x2f
jne 0x14004cc0c
lea eax, [rbp + 1]
jmp 0x14004cc21
movzx eax, byte [rcx + 0x26]
shr eax, 4
and eax, 1
jmp 0x14004cc21
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x4c], eax
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x14004cc4c
cmp r12d, dword [rsi + 0x10]
jae 0x14004cc4c
mov rax, qword [rcx + 0x20]
mov edx, dword [rax + r12*4]
add rdx, qword [rcx]
je 0x14004cc4c
test byte [rdx + 8], 0x41
mov eax, ebp
setne al
jmp 0x14004cc55
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x50], eax
mov rdx, qword [rsi + 0x68]
test rdx, rdx
je 0x14004ccae
cmp r12d, dword [rsi + 0x10]
jae 0x14004ccae
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + r12*4]
add rcx, qword [rdx]
je 0x14004ccae
movzx eax, word [rcx + 8]
mov edx, 0xfff7
test word [rcx + 0xa], dx
je 0x14004cc8d
mov dword [rsi + 0x1c], 4
jmp 0x14004ccb5
test al, 0x41
je 0x14004cc9a
mov dword [rsi + 0x1c], 5
jmp 0x14004ccb5
test al, 0x20
je 0x14004cca7
mov dword [rsi + 0x1c], 6
jmp 0x14004ccb5
mov ebp, 1
jmp 0x14004ccb5
mov dword [rsi + 0x1c], 0x18
mov rcx, qword [r14 + 0x28]
mov r11d, 0xffffffff
cmp rcx, qword [r14 + 0x30]
mov rax, qword [r14 + 0x40]
cmovbe rcx, qword [r14 + 0x30]
mov r13, qword [rsp + 0x50]
cmp rcx, rax
mov dword [r14 + 0x54], ebp
mov rbp, qword [rsp + 0x60]
cmova rax, rcx
cmp rax, r11
jne 0x14004cd39
movzx r8d, word [r15 + 0x1e]
test r8d, r8d
je 0x14004cd39
movzx r9d, word [r15 + 0x1c]
add r9, 0x2e
add r9, r15
nop dword [rax]
cmp r8d, 4
jb 0x14004cdb3
movzx eax, word [r9 + 2]
mov ecx, r8d
lea rdx, [rax + 4]
cmp rdx, rcx
ja 0x14004cdb3
cmp word [r9], 1
je 0x14004cd43
add r9, 4
mov ecx, 0xfffffffc
add r9, rax
sub ecx, eax
add r8d, ecx
jne 0x14004cd00
mov eax, 1
jmp 0x14004cdca
add r9, 4
cmp qword [r14 + 0x30], r11
jne 0x14004cd6b
cmp eax, 8
jb 0x14004cdb3
mov edx, dword [r9 + 4]
mov ecx, dword [r9]
add r9, 8
shl rdx, 0x20
or rdx, rcx
mov qword [r14 + 0x30], rdx
add eax, 0xfffffff8
cmp qword [r14 + 0x28], r11
jne 0x14004cd8f
cmp eax, 8
jb 0x14004cdb3
mov edx, dword [r9 + 4]
mov ecx, dword [r9]
add r9, 8
shl rdx, 0x20
or rdx, rcx
mov qword [r14 + 0x28], rdx
add eax, 0xfffffff8
cmp qword [r14 + 0x40], r11
jne 0x14004cd39
cmp eax, 8
jb 0x14004cdb3
mov eax, dword [r9]
mov ecx, dword [r9 + 4]
shl rcx, 0x20
or rcx, rax
mov eax, 1
mov qword [r14 + 0x40], rcx
jmp 0x14004cdca
mov dword [rsi + 0x1c], 9
jmp 0x14004cdc8
test rsi, rsi
je 0x14004cdc8
mov dword [rcx + 0x1c], 0x18
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005c420
add rsp, 0x68
pop r15
pop r14
pop r12
pop rsi
ret