Function at 0x1800051f0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x10], rdx
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rsi, r8
mov byte [rbp + 0x18], 0x50
mov rbx, rcx
lea rdx, [rbp + 0x18]
mov rcx, rsi
mov r8d, 1
call fcn.180005e60
mov r8d, 1
mov byte [rbp + 0x18], 0x4b
lea rdx, [rbp + 0x18]
mov rcx, rsi
call fcn.180005e60
mov r8d, 1
mov byte [rbp + 0x18], 1
lea rdx, [rbp + 0x18]
mov rcx, rsi
call fcn.180005e60
mov r8d, 1
mov byte [rbp + 0x18], 2
lea rdx, [rbp + 0x18]
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 1]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 2]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 3]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 4]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 5]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 6]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 7]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 8]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 8]
lea rdx, [rbp + 0x18]
shr eax, 8
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0xa]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0xb]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0xc]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0xc]
lea rdx, [rbp + 0x18]
shr eax, 8
mov r8d, 1
mov rcx, rsi
mov byte [rbp + 0x18], al
call fcn.180005e60
movzx eax, byte [rbx + 0xe]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0xf]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x10]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0x10]
lea rdx, [rbp + 0x18]
shr eax, 8
mov r8d, 1
mov rcx, rsi
mov byte [rbp + 0x18], al
call fcn.180005e60
movzx eax, byte [rbx + 0x12]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x13]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x14]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0x14]
lea rdx, [rbp + 0x18]
shr eax, 8
mov r8d, 1
mov rcx, rsi
mov byte [rbp + 0x18], al
call fcn.180005e60
movzx eax, byte [rbx + 0x16]
lea rdx, [rbp + 0x18]
mov byte [rbp + 0x18], al
mov r8d, 1
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x17]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x18]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0x18]
lea rdx, [rbp + 0x18]
shr rax, 8
mov r8d, 1
mov rcx, rsi
mov byte [rbp + 0x18], al
call fcn.180005e60
movzx eax, byte [rbx + 0x28]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0x28]
lea rdx, [rbp + 0x18]
shr rax, 8
mov r8d, 1
mov rcx, rsi
mov byte [rbp + 0x18], al
call fcn.180005e60
movzx eax, byte [rbx + 0x30]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0x30]
lea rdx, [rbp + 0x18]
shr rax, 8
mov r8d, 1
mov rcx, rsi
mov byte [rbp + 0x18], al
call fcn.180005e60
movzx eax, byte [rbx + 0x38]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x39]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x3a]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x3b]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x40]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0x40]
mov r8d, 1
shr eax, 8
mov byte [rbp + 0x18], al
lea rdx, [rbp + 0x18]
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x42]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x43]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x44]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov eax, dword [rbx + 0x44]
lea rdx, [rbp + 0x18]
shr eax, 8
mov r8d, 1
mov rcx, rsi
mov byte [rbp + 0x18], al
call fcn.180005e60
movzx eax, byte [rbx + 0x46]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
movzx eax, byte [rbx + 0x47]
lea rdx, [rbp + 0x18]
mov r8d, 1
mov byte [rbp + 0x18], al
mov rcx, rsi
call fcn.180005e60
mov r8d, dword [rbx + 0x18]
xor edi, edi
test r8d, r8d
jne 0x1800056a7
mov eax, edi
jmp 0x1800056b6
lea rdx, [rbx + 0x168]
mov rcx, rsi
call fcn.180005e60
mov eax, eax
cmp rax, qword [rbx + 0x18]
jne 0x18000571c
mov rcx, qword [rbx + 0x28]
test rcx, rcx
je 0x1800056ec
test ecx, ecx
jne 0x1800056cf
mov eax, edi
jmp 0x1800056e5
mov rdx, qword [rbx + 0x158]
mov r8d, ecx
mov rcx, rsi
call fcn.180005e60
mov rcx, qword [rbx + 0x28]
mov eax, eax
cmp rax, rcx
jne 0x18000571c
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x180005718
test ecx, ecx
je 0x180005711
mov rdx, qword [rbx + 0x160]
mov r8d, ecx
mov rcx, rsi
call fcn.180005e60
mov rcx, qword [rbx + 0x30]
mov edi, eax
mov eax, edi
cmp rax, rcx
jne 0x18000571c
xor eax, eax
jmp 0x180005721
mov eax, 0xa
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret