Function at 0x14018ff40
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
lea r14, [rdx + rdx]
xor eax, eax
mov r15, r14
mov r13, r9
shl r15, 6
mov ebx, r8d
mov r12, rdx
mov r11d, eax
lea rdi, [r15 + r9]
test r14, r14
je 0x1401902a2
mov rbx, qword [rsp + 0x90]
mov r10d, eax
nop dword [rax + rax]
mov r9d, r11d
shl r10, 6
shl r9d, 6
add r10, r13
add r9, rbx
movzx eax, byte [r9 + 2]
movzx r8d, byte [r9 + 3]
shl r8d, 8
add r8d, eax
movzx eax, byte [r9 + 1]
shl r8d, 8
add r8d, eax
movzx eax, byte [r9]
shl r8d, 8
add r8d, eax
mov dword [rdi], r8d
movzx eax, byte [r9 + 6]
movzx ecx, byte [r9 + 7]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 4]
shl ecx, 8
add ecx, eax
mov dword [rdi + 4], ecx
movzx eax, byte [r9 + 0xa]
movzx ecx, byte [r9 + 0xb]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 9]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 8]
shl ecx, 8
add ecx, eax
mov dword [rdi + 8], ecx
movzx eax, byte [r9 + 0xe]
movzx ecx, byte [r9 + 0xf]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0xd]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0xc]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0xc], ecx
movzx eax, byte [r9 + 0x12]
movzx ecx, byte [r9 + 0x13]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x11]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x10]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x10], ecx
movzx eax, byte [r9 + 0x16]
movzx edx, byte [r9 + 0x17]
shl edx, 8
add edx, eax
movzx eax, byte [r9 + 0x15]
shl edx, 8
add edx, eax
movzx eax, byte [r9 + 0x14]
shl edx, 8
add edx, eax
mov dword [rdi + 0x14], edx
movzx eax, byte [r9 + 0x1a]
movzx ecx, byte [r9 + 0x1b]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x19]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x18]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x18], ecx
movzx eax, byte [r9 + 0x1e]
movzx ecx, byte [r9 + 0x1f]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x1d]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x1c]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x1c], ecx
movzx eax, byte [r9 + 0x22]
movzx ecx, byte [r9 + 0x23]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x21]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x20]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x20], ecx
movzx eax, byte [r9 + 0x26]
movzx ecx, byte [r9 + 0x27]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x25]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x24]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x24], ecx
movzx eax, byte [r9 + 0x2a]
movzx ecx, byte [r9 + 0x2b]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x29]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x28]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x28], ecx
movzx eax, byte [r9 + 0x2e]
movzx ecx, byte [r9 + 0x2f]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x2d]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x2c]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x2c], ecx
movzx eax, byte [r9 + 0x32]
movzx ecx, byte [r9 + 0x33]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x31]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x30]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x30], ecx
movzx eax, byte [r9 + 0x36]
movzx ecx, byte [r9 + 0x37]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x35]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x34]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x34], ecx
movzx ecx, byte [r9 + 0x3b]
movzx eax, byte [r9 + 0x3a]
shl ecx, 8
add ecx, eax
inc r11d
movzx eax, byte [r9 + 0x39]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x38]
shl ecx, 8
add ecx, eax
mov dword [rdi + 0x38], ecx
movzx eax, byte [r9 + 0x3e]
movzx ecx, byte [r9 + 0x3f]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x3d]
shl ecx, 8
add ecx, eax
movzx eax, byte [r9 + 0x3c]
shl ecx, 8
add ecx, eax
mov eax, r8d
mov dword [rdi + 0x3c], ecx
mov ecx, edx
shl rcx, 0x20
or rcx, rax
mov qword [r10], rcx
mov eax, dword [rdi + 0x28]
mov ecx, dword [rdi + 0x3c]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 8], rcx
mov eax, dword [rdi + 0x10]
mov ecx, dword [rdi + 0x24]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x10], rcx
mov eax, dword [rdi + 0x38]
mov ecx, dword [rdi + 0xc]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x18], rcx
mov eax, dword [rdi + 0x20]
mov ecx, dword [rdi + 0x34]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x20], rcx
mov eax, dword [rdi + 8]
mov ecx, dword [rdi + 0x1c]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x28], rcx
mov eax, dword [rdi + 0x30]
mov ecx, dword [rdi + 4]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x30], rcx
mov ecx, dword [rdi + 0x2c]
mov eax, dword [rdi + 0x18]
shl rcx, 0x20
or rcx, rax
mov qword [r10 + 0x38], rcx
mov r10d, r11d
cmp r10, r14
jb 0x14018ff90
mov ebx, dword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb8]
mov r8, r12
mov r9, rbp
mov rdx, rdi
mov rcx, r13
call fcn.14018a790
lea rsi, [r15 + rdi]
mov r9, rbp
mov rdx, rsi
mov r8, r12
mov rcx, rdi
call fcn.14018a790
mov ecx, 2
mov rax, r12
shl rax, 7
mov dword [rsp + 0x98], ecx
mov edx, dword [rax + rsi - 0x40]
cmp ebx, ecx
jbe 0x1401903cf
mov eax, ebx
shr eax, 1
mov dword [rsp + 0x30], eax
nop word [rax + rax]
mov ebp, ebx
mov edi, 1
sub ebp, ecx
dec ebp
cmp ecx, eax
cmovb ebp, ecx
cmp ebp, edi
jbe 0x1401903b6
lea eax, [rcx - 1]
mov dword [rsp + 0xa8], eax
nop dword [rax]
nop word [rax + rax]
and edx, eax
lea rbx, [r15 + rsi]
mov rax, qword [rsp + 0xb8]
dec edx
add edx, edi
mov qword [rsp + 0x20], rax
imul rdx, r14
mov r9, r12
mov r8, rbx
shl rdx, 6
mov rcx, rsi
add rdx, r13
call fcn.14018b930
and eax, dword [rsp + 0xa8]
lea rsi, [r15 + rbx]
mov r9, r12
mov r8, rsi
mov rcx, rbx
lea edx, [rdi + rax]
mov rax, qword [rsp + 0xb8]
imul rdx, r14
mov qword [rsp + 0x20], rax
shl rdx, 6
add rdx, r13
call fcn.14018b930
add edi, 2
mov edx, eax
mov eax, dword [rsp + 0xa8]
cmp edi, ebp
jb 0x140190330
mov ecx, dword [rsp + 0x98]
mov ebx, dword [rsp + 0xa0]
mov eax, dword [rsp + 0x30]
add ecx, ecx
mov dword [rsp + 0x98], ecx
cmp ecx, ebx
jb 0x140190300
mov rbp, qword [rsp + 0xb8]
shr ecx, 1
lea rdi, [r15 + rsi]
mov dword [rsp + 0x98], ecx
mov r9, r12
mov r8, rdi
mov qword [rsp + 0x20], rbp
lea ebx, [rcx - 1]
mov eax, ebx
and eax, edx
mov edx, dword [rsp + 0xa0]
add edx, 0xfffffffe
sub eax, ecx
add edx, eax
mov rcx, rsi
imul rdx, r14
shl rdx, 6
add rdx, r13
call fcn.14018b930
mov edx, dword [rsp + 0xa0]
and eax, ebx
sub eax, dword [rsp + 0x98]
dec edx
mov rbx, qword [rsp + 0xb0]
add edx, eax
imul rdx, r14
mov r9, r12
mov qword [rsp + 0x20], rbp
shl rdx, 6
mov r8, rbx
add rdx, r13
mov rcx, rdi
call fcn.14018b930
test r14, r14
je 0x14019076a
mov r10, qword [rsp + 0x90]
xor r9d, r9d
mov r8d, r9d
shl r8, 6
mov edx, r9d
add r8, rbx
shl edx, 6
add rdx, r10
mov ecx, dword [r8]
mov eax, ecx
mov byte [r15 + rbx], cl
shr eax, 8
mov byte [r15 + rbx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 2], al
shr ecx, 0x18
mov byte [r15 + rbx + 3], cl
mov ecx, dword [r8 + 4]
mov eax, ecx
mov byte [r15 + rbx + 4], cl
shr eax, 8
mov byte [r15 + rbx + 5], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 6], al
shr ecx, 0x18
mov byte [r15 + rbx + 7], cl
mov ecx, dword [r8 + 8]
mov eax, ecx
mov byte [r15 + rbx + 8], cl
shr eax, 8
mov byte [r15 + rbx + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0xa], al
shr ecx, 0x18
mov byte [r15 + rbx + 0xb], cl
mov ecx, dword [r8 + 0xc]
mov eax, ecx
mov byte [r15 + rbx + 0xc], cl
shr eax, 8
mov byte [r15 + rbx + 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0xe], al
shr ecx, 0x18
mov byte [r15 + rbx + 0xf], cl
mov ecx, dword [r8 + 0x10]
mov eax, ecx
mov byte [r15 + rbx + 0x10], cl
shr eax, 8
mov byte [r15 + rbx + 0x11], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x12], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x13], cl
mov ecx, dword [r8 + 0x14]
mov eax, ecx
mov byte [r15 + rbx + 0x14], cl
shr eax, 8
mov byte [r15 + rbx + 0x15], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x16], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x17], cl
mov ecx, dword [r8 + 0x18]
mov eax, ecx
mov byte [r15 + rbx + 0x18], cl
shr eax, 8
mov byte [r15 + rbx + 0x19], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x1a], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x1b], cl
mov ecx, dword [r8 + 0x1c]
mov eax, ecx
shr eax, 8
mov byte [r15 + rbx + 0x1c], cl
mov byte [r15 + rbx + 0x1d], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x1e], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x1f], cl
mov ecx, dword [r8 + 0x20]
mov eax, ecx
mov byte [r15 + rbx + 0x20], cl
shr eax, 8
mov byte [r15 + rbx + 0x21], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x22], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x23], cl
mov ecx, dword [r8 + 0x24]
mov eax, ecx
mov byte [r15 + rbx + 0x24], cl
shr eax, 8
mov byte [r15 + rbx + 0x25], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x26], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x27], cl
mov ecx, dword [r8 + 0x28]
mov eax, ecx
mov byte [r15 + rbx + 0x28], cl
shr eax, 8
mov byte [r15 + rbx + 0x29], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x2a], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x2b], cl
mov ecx, dword [r8 + 0x2c]
mov eax, ecx
mov byte [r15 + rbx + 0x2c], cl
shr eax, 8
mov byte [r15 + rbx + 0x2d], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x2e], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x2f], cl
mov ecx, dword [r8 + 0x30]
mov eax, ecx
mov byte [r15 + rbx + 0x30], cl
shr eax, 8
mov byte [r15 + rbx + 0x31], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x32], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x33], cl
mov ecx, dword [r8 + 0x34]
mov eax, ecx
mov byte [r15 + rbx + 0x34], cl
shr eax, 8
mov byte [r15 + rbx + 0x35], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x36], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x37], cl
mov ecx, dword [r8 + 0x38]
mov eax, ecx
shr eax, 8
mov byte [r15 + rbx + 0x38], cl
mov byte [r15 + rbx + 0x39], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x3a], al
shr ecx, 0x18
mov byte [r15 + rbx + 0x3b], cl
mov ecx, dword [r8 + 0x3c]
mov eax, ecx
shr eax, 8
mov byte [r15 + rbx + 0x3c], cl
mov byte [r15 + rbx + 0x3d], al
mov eax, ecx
shr eax, 0x10
mov byte [r15 + rbx + 0x3e], al
inc r9d
shr ecx, 0x18
mov byte [r15 + rbx + 0x3f], cl
mov eax, dword [r15 + rbx]
mov dword [rdx], eax
mov rax, qword [r15 + rbx + 0x30]
shr rax, 0x20
mov dword [rdx + 4], eax
mov eax, dword [r15 + rbx + 0x28]
mov dword [rdx + 8], eax
mov rax, qword [r15 + rbx + 0x18]
shr rax, 0x20
mov dword [rdx + 0xc], eax
mov eax, dword [r15 + rbx + 0x10]
mov dword [rdx + 0x10], eax
mov rax, qword [r15 + rbx]
shr rax, 0x20
mov dword [rdx + 0x14], eax
mov eax, dword [r15 + rbx + 0x38]
mov dword [rdx + 0x18], eax
mov rax, qword [r15 + rbx + 0x28]
shr rax, 0x20
mov dword [rdx + 0x1c], eax
mov eax, dword [r15 + rbx + 0x20]
mov dword [rdx + 0x20], eax
mov rax, qword [r15 + rbx + 0x10]
shr rax, 0x20
mov dword [rdx + 0x24], eax
mov eax, dword [r15 + rbx + 8]
mov dword [rdx + 0x28], eax
mov rax, qword [r15 + rbx + 0x38]
shr rax, 0x20
mov dword [rdx + 0x2c], eax
mov eax, dword [r15 + rbx + 0x30]
mov dword [rdx + 0x30], eax
mov rax, qword [r15 + rbx + 0x20]
shr rax, 0x20
mov dword [rdx + 0x34], eax
mov eax, dword [r15 + rbx + 0x18]
mov dword [rdx + 0x38], eax
mov rax, qword [r15 + rbx + 8]
shr rax, 0x20
mov r8d, r9d
mov dword [rdx + 0x3c], eax
cmp r8, r14
jb 0x140190460
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret