Function at 0x140005130
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1400bc0f8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rdi, rdx
mov byte [rsp + 0x20], 0x80
mov edx, dword [rdx + 0x18]
mov r15, rcx
mov eax, edx
mov byte [rsp + 0x2b], dl
shr eax, 0x18
mov ecx, dword [rdi + 0x14]
mov byte [rsp + 0x28], al
mov eax, edx
shr eax, 0x10
mov byte [rsp + 0x29], al
mov eax, edx
shr eax, 8
mov byte [rsp + 0x2a], al
mov eax, ecx
shr eax, 0x18
mov byte [rsp + 0x2c], al
mov eax, ecx
shr eax, 0x10
mov byte [rsp + 0x2d], al
mov eax, ecx
shr eax, 8
mov byte [rsp + 0x2e], al
lea eax, [rcx + 8]
mov byte [rsp + 0x2f], cl
mov dword [rdi + 0x14], eax
cmp eax, ecx
jae 0x1400051a6
inc edx
shr ecx, 3
mov ebp, 0x40
and ecx, 0x3f
mov qword [rsp + 0x80], rsi
mov dword [rdi + 0x18], edx
lea eax, [rcx + 1]
cmp eax, 0x3f
jbe 0x14000520f
mov ebx, ebp
lea rdx, [rsp + 0x20]
sub ebx, ecx
add rcx, 0x1c
add rcx, rdi
mov r8d, ebx
call fcn.14004c3b0
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.140005470
lea esi, [rbx + 0x3f]
cmp esi, 1
jae 0x14000520b
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov rcx, rdi
call fcn.140005470
add ebx, ebp
add esi, ebp
cmp esi, 1
jb 0x1400051f0
xor ecx, ecx
jmp 0x140005211
xor ebx, ebx
mov r8d, 1
mov eax, ebx
add rcx, 0x1c
lea rdx, [rsp + 0x20]
sub r8d, ebx
add rdx, rax
add rcx, rdi
call fcn.14004c3b0
mov ecx, dword [rdi + 0x14]
mov eax, ecx
and eax, 0x1f8
cmp eax, 0x1c0
je 0x1400052f5
mov byte [rsp + 0x20], 0
nop word [rax + rax]
lea eax, [rcx + 8]
mov dword [rdi + 0x14], eax
cmp eax, ecx
jae 0x14000525d
inc dword [rdi + 0x18]
shr ecx, 3
and ecx, 0x3f
lea eax, [rcx + 1]
cmp eax, 0x3f
jbe 0x1400052bf
mov ebx, ebp
lea rdx, [rsp + 0x20]
sub ebx, ecx
add rcx, 0x1c
add rcx, rdi
mov r8d, ebx
call fcn.14004c3b0
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.140005470
lea esi, [rbx + 0x3f]
cmp esi, 1
jae 0x1400052bb
nop word [rax + rax]
mov eax, ebx
lea rdx, [rsp + 0x20]
add rdx, rax
mov rcx, rdi
call fcn.140005470
add ebx, ebp
add esi, ebp
cmp esi, 1
jb 0x1400052a0
xor ecx, ecx
jmp 0x1400052c1
xor ebx, ebx
mov r8d, 1
mov eax, ebx
add rcx, 0x1c
lea rdx, [rsp + 0x20]
sub r8d, ebx
add rdx, rax
add rcx, rdi
call fcn.14004c3b0
mov ecx, dword [rdi + 0x14]
mov eax, ecx
and eax, 0x1f8
cmp eax, 0x1c0
jne 0x140005250
mov rsi, qword [rsp + 0x80]
lea eax, [rcx + 0x40]
mov dword [rdi + 0x14], eax
cmp eax, ecx
jae 0x14000530a
inc dword [rdi + 0x18]
shr ecx, 3
and ecx, 0x3f
lea eax, [rcx + 8]
cmp eax, 0x3f
jbe 0x140005363
sub ebp, ecx
lea rdx, [rsp + 0x28]
add rcx, 0x1c
mov r8d, ebp
add rcx, rdi
call fcn.14004c3b0
lea rdx, [rdi + 0x1c]
mov rcx, rdi
call fcn.140005470
lea ebx, [rbp + 0x3f]
cmp ebx, 8
jae 0x14000535f
mov eax, ebp
lea rdx, [rsp + 0x28]
add rdx, rax
mov rcx, rdi
call fcn.140005470
add ebp, 0x40
add ebx, 0x40
cmp ebx, 8
jb 0x140005342
xor ecx, ecx
jmp 0x140005365
xor ebp, ebp
mov r8d, 8
mov eax, ebp
add rcx, 0x1c
lea rdx, [rsp + 0x28]
sub r8d, ebp
add rdx, rax
add rcx, rdi
call fcn.14004c3b0
movzx eax, byte [rdi + 3]
xorps xmm0, xmm0
mov byte [r15], al
movzx eax, byte [rdi + 2]
mov byte [r15 + 1], al
mov eax, dword [rdi]
shr eax, 8
mov byte [r15 + 2], al
movzx eax, byte [rdi]
mov byte [r15 + 3], al
movzx eax, byte [rdi + 7]
mov byte [r15 + 4], al
movzx eax, byte [rdi + 6]
mov byte [r15 + 5], al
mov eax, dword [rdi + 4]
shr eax, 8
mov byte [r15 + 6], al
movzx eax, byte [rdi + 4]
mov byte [r15 + 7], al
movzx eax, byte [rdi + 0xb]
mov byte [r15 + 8], al
movzx eax, byte [rdi + 0xa]
mov byte [r15 + 9], al
mov eax, dword [rdi + 8]
shr eax, 8
mov byte [r15 + 0xa], al
movzx eax, byte [rdi + 8]
mov byte [r15 + 0xb], al
movzx eax, byte [rdi + 0xf]
mov byte [r15 + 0xc], al
movzx eax, byte [rdi + 0xe]
mov byte [r15 + 0xd], al
mov eax, dword [rdi + 0xc]
shr eax, 8
mov byte [r15 + 0xe], al
movzx eax, byte [rdi + 0xc]
mov byte [r15 + 0xf], al
movzx eax, byte [rdi + 0x13]
mov byte [r15 + 0x10], al
movzx eax, byte [rdi + 0x12]
mov byte [r15 + 0x11], al
mov eax, dword [rdi + 0x10]
shr eax, 8
mov byte [r15 + 0x12], al
movzx eax, byte [rdi + 0x10]
mov byte [r15 + 0x13], al
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
mov qword [rdi + 0x50], rax
mov dword [rdi + 0x58], eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14003fb10
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rbp
pop rbx
ret