Function at 0x140005850
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140105358]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov ecx, dword [rcx + 0x38]
mov rsi, rdx
mov edx, dword [rbx + 0x30]
mov r9d, dword [rbx + 0x34]
mov byte [rsp + 0x20], 1
lea r8d, [rdx + rcx]
mov byte [rsp + 0x21], 0x81
cmp r8d, ecx
jae 0x140005894
inc r9d
mov eax, r9d
mov edi, 0x1b8
mov byte [rsp + 0x2b], r9b
shr eax, 0x18
mov byte [rsp + 0x2f], r8b
mov byte [rsp + 0x28], al
mov eax, r9d
shr eax, 0x10
mov byte [rsp + 0x29], al
mov eax, r9d
shr eax, 8
mov byte [rsp + 0x2a], al
mov eax, r8d
shr eax, 0x18
mov byte [rsp + 0x2c], al
mov eax, r8d
shr eax, 0x10
mov byte [rsp + 0x2d], al
mov eax, r8d
shr eax, 8
mov byte [rsp + 0x2e], al
cmp ecx, edi
jne 0x140005901
lea eax, [rdx - 8]
lea rdx, [rsp + 0x21]
mov r8d, 8
mov rcx, rbx
mov dword [rbx + 0x30], eax
call fcn.140005720
jmp 0x140005988
jge 0x14000592e
test ecx, ecx
jne 0x14000590e
mov dword [rbx + 0x3c], 1
lea eax, [r8 - 0x1b8]
sub edi, ecx
lea rdx, [0x1400ca560]
movsxd r8, edi
mov rcx, rbx
mov dword [rbx + 0x30], eax
call fcn.140005720
jmp 0x140005971
lea eax, [r8 - 0x200]
lea rdx, [0x1400ca560]
mov dword [rbx + 0x30], eax
mov eax, 0x200
sub eax, ecx
mov rcx, rbx
movsxd r8, eax
call fcn.140005720
add dword [rbx + 0x30], 0xfffffe48
lea rdx, [0x1400ca561]
mov r8, rdi
mov rcx, rbx
call fcn.140005720
mov dword [rbx + 0x3c], 1
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rbx
call fcn.140005720
add dword [rbx + 0x30], 0xfffffff8
add dword [rbx + 0x30], 0xffffffc0
lea rdx, [rsp + 0x28]
mov r8d, 0x40
mov rcx, rbx
call fcn.140005720
movzx eax, byte [rbx + 3]
mov byte [rsi], al
movzx eax, byte [rbx + 2]
mov byte [rsi + 1], al
mov eax, dword [rbx]
shr eax, 8
mov byte [rsi + 2], al
movzx eax, byte [rbx]
mov byte [rsi + 3], al
movzx eax, byte [rbx + 7]
mov byte [rsi + 4], al
movzx eax, byte [rbx + 6]
mov byte [rsi + 5], al
mov eax, dword [rbx + 4]
shr eax, 8
mov byte [rsi + 6], al
movzx eax, byte [rbx + 4]
mov byte [rsi + 7], al
movzx eax, byte [rbx + 0xb]
mov byte [rsi + 8], al
movzx eax, byte [rbx + 0xa]
mov byte [rsi + 9], al
mov eax, dword [rbx + 8]
shr eax, 8
mov byte [rsi + 0xa], al
movzx eax, byte [rbx + 8]
mov byte [rsi + 0xb], al
movzx eax, byte [rbx + 0xf]
mov byte [rsi + 0xc], al
movzx eax, byte [rbx + 0xe]
mov byte [rsi + 0xd], al
mov eax, dword [rbx + 0xc]
shr eax, 8
mov byte [rsi + 0xe], al
movzx eax, byte [rbx + 0xc]
mov byte [rsi + 0xf], al
movzx eax, byte [rbx + 0x13]
mov byte [rsi + 0x10], al
movzx eax, byte [rbx + 0x12]
mov byte [rsi + 0x11], al
mov eax, dword [rbx + 0x10]
shr eax, 8
mov byte [rsi + 0x12], al
movzx eax, byte [rbx + 0x10]
mov byte [rsi + 0x13], al
movzx eax, byte [rbx + 0x17]
mov byte [rsi + 0x14], al
movzx eax, byte [rbx + 0x16]
mov byte [rsi + 0x15], al
mov eax, dword [rbx + 0x14]
shr eax, 8
mov byte [rsi + 0x16], al
movzx eax, byte [rbx + 0x14]
mov byte [rsi + 0x17], al
movzx eax, byte [rbx + 0x1b]
mov byte [rsi + 0x18], al
movzx eax, byte [rbx + 0x1a]
mov byte [rsi + 0x19], al
mov eax, dword [rbx + 0x18]
shr eax, 8
mov byte [rsi + 0x1a], al
movzx eax, byte [rbx + 0x18]
mov byte [rsi + 0x1b], al
movzx eax, byte [rbx + 0x1f]
mov byte [rsi + 0x1c], al
movzx eax, byte [rbx + 0x1e]
mov byte [rsi + 0x1d], al
mov eax, dword [rbx + 0x1c]
shr eax, 8
mov byte [rsi + 0x1e], al
movzx eax, byte [rbx + 0x1c]
mov byte [rsi + 0x1f], al
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140084a30
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret