Function at 0x140105160
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movzx ebx, dx
mov rsi, qword [rcx + 0x40]
cmp rsi, rbx
jbe 0x14010552f
mov ebp, r8d
mov rdi, rcx
mov rax, qword [rcx + 0x38]
movzx ecx, word [rax + rbx*2]
mov r8d, ecx
shr r8d, 0xc
je 0x140105226
cmp r8d, 1
jne 0x140105200
mov eax, ecx
and eax, 0xfff
mov rdx, qword [rdi + 0x10]
cmp rdx, rax
jbe 0x14010554d
mov rdx, qword [rdi + 8]
imul r9, rax, 0x32
lea rax, [rdx + r9]
movzx edx, byte [rdx + r9 + 0x30]
cmp dl, 0x10
mov r9d, 0x10
cmovb r9d, edx
movzx edx, r9b
xor r9d, r9d
nop dword [rax + rax]
cmp rdx, r9
je 0x140105200
lea r10, [r9 + 1]
cmp byte [rax + r9 + 0x20], bpl
mov r9, r10
jne 0x1401051e0
movzx esi, word [rax + r10*2 - 2]
xor eax, eax
jmp 0x140105397
lea r14, [rdi + 0x30]
cmp r8w, 1
je 0x140105264
movzx eax, r8w
test eax, eax
jne 0x1401052c6
mov rdx, qword [rdi + 0x28]
and ecx, 0xfff
jmp 0x140105356
and ecx, 0xfff
mov rdx, qword [rdi + 0x28]
cmp rdx, rcx
jbe 0x14010555c
mov rax, rcx
shl rax, 9
add rax, qword [rdi + 0x20]
movzx r8d, bpl
movzx r8d, word [rax + r8*2]
cmp r8d, 0x1000
jae 0x140105352
xor eax, eax
mov esi, r8d
jmp 0x140105397
mov qword [rsp + 0x20], r14
and ecx, 0xfff
mov rdx, qword [rdi + 0x10]
cmp rdx, rcx
jbe 0x140105568
mov r15, qword [rdi + 8]
imul r14, rcx, 0x32
lea r12, [r15 + r14]
lea r13, [r15 + r14]
add r13, 0x30
movzx eax, byte [r15 + r14 + 0x30]
cmp rax, 0x10
jae 0x1401053aa
mov byte [rax + r12 + 0x20], bpl
mov word [r12 + rax*2], si
inc byte [r13]
mov r14, qword [rsp + 0x20]
mov rdx, qword [rdi + 0x40]
cmp rdx, qword [rdi + 0x30]
je 0x140105379
jmp 0x140105385
mov r15, qword [rdi + 0x10]
mov rax, r15
cmp r15, qword [rdi]
jne 0x1401052e1
mov rcx, rdi
mov rdx, r15
call fcn.1401059e0
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
imul rax, rax, 0x32
xorps xmm0, xmm0
movups xmmword [rcx + rax + 0x20], xmm0
movups xmmword [rcx + rax + 0x10], xmm0
movups xmmword [rcx + rax], xmm0
mov byte [rcx + rax + 0x30], 0
mov rax, qword [rdi + 0x10]
mov rcx, rax
inc rcx
mov qword [rdi + 0x10], rcx
je 0x140105592
mov rcx, qword [rdi + 8]
imul rax, rax, 0x32
mov word [rcx + rax], si
mov byte [rcx + rax + 0x20], bpl
mov byte [rcx + rax + 0x30], 1
mov rdx, qword [rdi + 0x40]
cmp rdx, rbx
jbe 0x140105574
mov rax, qword [rdi + 0x38]
or r15d, 0x1000
mov word [rax + rbx*2], r15w
mov rdx, qword [rdi + 0x40]
cmp rdx, qword [rdi + 0x30]
je 0x140105379
jmp 0x140105385
lea r14, [rdi + 0x30]
cmp rdx, rcx
jbe 0x140105541
shl rcx, 9
add rcx, qword [rdi + 0x20]
movzx eax, bpl
mov word [rcx + rax*2], si
mov rdx, qword [rdi + 0x40]
cmp rdx, qword [rdi + 0x30]
jne 0x140105385
mov rcx, r14
call fcn.140085a20
mov rdx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x38]
mov word [rax + rdx*2], 0x2000
inc qword [rdi + 0x40]
mov ax, 1
mov edx, esi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbp, qword [rdi + 0x28]
mov rcx, rbp
cmp rbp, qword [rdi + 0x18]
jne 0x1401053c7
lea rcx, [rdi + 0x18]
mov rdx, rbp
call fcn.140105920
mov rcx, qword [rdi + 0x28]
shl rcx, 9
add rcx, qword [rdi + 0x20]
mov r8d, 0x200
mov dl, 0xff
call sub.VCRUNTIME140.dll_memset
mov rcx, qword [rdi + 0x28]
mov rax, rcx
shl rax, 9
add rax, qword [rdi + 0x20]
inc rcx
mov qword [rdi + 0x28], rcx
je 0x1401055aa
lea rcx, [r15 + r14]
add rcx, 0x20
sub r13, rcx
cmp r13, 0x10
mov edx, 0x10
cmovb rdx, r13
test rdx, rdx
je 0x140105506
movzx edx, byte [rcx]
movzx r8d, word [r12]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 1]
movzx r8d, word [r12 + 2]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 2]
movzx r8d, word [r12 + 4]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 3]
movzx r8d, word [r12 + 6]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 4]
movzx r8d, word [r12 + 8]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 5]
movzx r8d, word [r12 + 0xa]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 6]
movzx r8d, word [r12 + 0xc]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 7]
movzx r8d, word [r12 + 0xe]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 8]
movzx r8d, word [r12 + 0x10]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 9]
movzx r8d, word [r12 + 0x12]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 0xa]
movzx r8d, word [r12 + 0x14]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 0xb]
movzx r8d, word [r12 + 0x16]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 0xc]
movzx r8d, word [r12 + 0x18]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 0xd]
movzx r8d, word [r12 + 0x1a]
mov word [rax + rdx*2], r8w
movzx edx, byte [rcx + 0xe]
movzx r8d, word [r12 + 0x1c]
mov word [rax + rdx*2], r8w
movzx ecx, byte [rcx + 0xf]
movzx edx, word [r12 + 0x1e]
mov word [rax + rcx*2], dx
mov rdx, qword [rdi + 0x40]
cmp rdx, rbx
jbe 0x140105583
mov rax, qword [rdi + 0x38]
mov word [rax + rbx*2], bp
mov r14, qword [rsp + 0x20]
mov rdx, qword [rdi + 0x40]
cmp rdx, qword [rdi + 0x30]
je 0x140105379
jmp 0x140105385
lea r8, [0x1401bfb98]
mov rcx, rbx
mov rdx, rsi
call fcn.14014cf90
lea r8, [0x1401bfc58]
call fcn.14014cf90
lea r8, [0x1401bfbb0]
mov rcx, rax
call fcn.14014cf90
lea r8, [0x1401bfbc8]
call fcn.14014cf90
lea r8, [0x1401bfc10]
call fcn.14014cf90
lea r8, [0x1401bfbf8]
mov rcx, rbx
call fcn.14014cf90
lea r8, [0x1401bfc40]
mov rcx, rbx
call fcn.14014cf90
lea rcx, [0x1401bfb08]
lea r8, [0x1401bfbe0]
mov edx, 0x2b
call fcn.14014ce90
lea rcx, [0x1401bfb08]
lea r8, [0x1401bfc28]
mov edx, 0x2b
call fcn.14014ce90
int3