Function at 0x140035c10
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x14006c408]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r12, qword [rsp + 0xc0]
xor ebp, ebp
mov r13d, edx
mov r14, r9
mov r15, r8
mov rsi, rcx
test r12, r12
je 0x140035c4d
mov dword [r12], ebp
test r15, r15
je 0x140035fa5
test r14, r14
je 0x140035fa5
mov dword [r9], r13d
lea rdx, [r13*4]
mov rax, qword [rcx + 0x68]
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0x60], rdi
mov rcx, qword [rax + 0x20]
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rcx + rdx]
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 + 0x3c], eax
mov eax, ecx
shr eax, 5
and ecx, 0x1f
and eax, 0xf
mov dword [rsp + 0x34], ecx
dec eax
lea rcx, [rsp + 0x28]
mov dword [rsp + 0x38], eax
mov eax, edx
shr eax, 0xb
mov dword [rsp + 0x30], eax
mov eax, edx
shr eax, 5
and edx, 0x1f
and eax, 0x3f
add edx, edx
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x28], 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 byte [rdi + r14 + 0x258], bpl
mov r8, qword [rsi + 0x68]
lea rcx, [rsi + 0x10]
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0xa8]
test r8, r8
je 0x140035e00
cmp r13d, dword [rcx]
jae 0x140035e00
mov rax, qword [r8 + 0x20]
mov r9, qword [rsp + 0x20]
mov edx, dword [rax + r9]
add rdx, qword [r8]
je 0x140035e05
movzx eax, word [rdx + 0x1c]
test ax, ax
je 0x140035df3
cmp byte [rax + rdx + 0x2d], 0x2f
jne 0x140035df3
mov eax, 1
jmp 0x140035e0e
test byte [rdx + 0x26], 0x10
je 0x140035e0c
mov eax, 1
jmp 0x140035e0e
mov r9, qword [rsp + 0x20]
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x4c], eax
mov r8, qword [rsi + 0x68]
test r8, r8
je 0x140035e38
cmp r13d, dword [rcx]
jae 0x140035e38
mov rax, qword [r8 + 0x20]
mov edx, dword [rax + r9]
add rdx, qword [r8]
je 0x140035e38
test byte [rdx + 8], 0x41
mov eax, ebp
setne al
jmp 0x140035e41
mov dword [rsi + 0x1c], 0x18
mov eax, ebp
mov dword [r14 + 0x50], eax
mov rdx, qword [rsi + 0x68]
test rdx, rdx
je 0x140035e99
cmp r13d, dword [rcx]
jae 0x140035e99
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + r9]
add rcx, qword [rdx]
je 0x140035e99
movzx eax, word [rcx + 8]
mov edx, 0xfff7
test word [rcx + 0xa], dx
je 0x140035e78
mov dword [rsi + 0x1c], 4
jmp 0x140035ea0
test al, 0x41
je 0x140035e85
mov dword [rsi + 0x1c], 5
jmp 0x140035ea0
test al, 0x20
je 0x140035e92
mov dword [rsi + 0x1c], 6
jmp 0x140035ea0
mov ebp, 1
jmp 0x140035ea0
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]
cmp rcx, rax
mov dword [r14 + 0x54], ebp
cmova rax, rcx
cmp rax, r11
jne 0x140035f9e
movzx r8d, word [r15 + 0x1e]
test r8d, r8d
je 0x140035f9e
movzx r9d, word [r15 + 0x1c]
add r9, 0x2e
add r9, r15
cmp r8d, 4
jb 0x140035f3b
movzx eax, word [r9 + 2]
mov ecx, r8d
lea rdx, [rax + 4]
cmp rdx, rcx
ja 0x140035f3b
cmp word [r9], 1
je 0x140035f1f
add r9, 4
mov ecx, 0xfffffffc
add r9, rax
sub ecx, eax
add r8d, ecx
jne 0x140035ee5
lea eax, [r8 + 1]
jmp 0x140035fb3
add r9, 4
test r12, r12
je 0x140035f30
mov dword [r12], 1
cmp qword [r14 + 0x30], r11
jne 0x140035f5d
cmp eax, 8
jae 0x140035f44
mov dword [rsi + 0x1c], 9
jmp 0x140035fb1
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 0x140035f81
cmp eax, 8
jb 0x140035f3b
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 0x140035f9e
cmp eax, 8
jb 0x140035f3b
mov ecx, dword [r9 + 4]
mov eax, dword [r9]
shl rcx, 0x20
or rcx, rax
mov qword [r14 + 0x40], rcx
mov eax, 1
jmp 0x140035fb3
test rsi, rsi
je 0x140035fb1
mov dword [rcx + 0x1c], 0x18
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140056920
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret