Function at 0x51f500
Capabilities:
Enumerate pe sections

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x51f77f
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x10], 0
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 0x1f]
movzx ebx, byte [rbx + 0x1e]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 0x1d]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi + 0x1c]
shl ebx, 0x18
or edx, ebx
mov dword [rcx], edx
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 0x1b]
movzx ebx, byte [rbx + 0x1a]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 0x19]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi + 0x18]
shl ebx, 0x18
or edx, ebx
mov dword [rcx + 4], edx
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 0x17]
movzx ebx, byte [rbx + 0x16]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 0x15]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi + 0x14]
shl ebx, 0x18
or edx, ebx
mov dword [rcx + 8], edx
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 0x13]
movzx ebx, byte [rbx + 0x12]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 0x11]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi + 0x10]
shl ebx, 0x18
or edx, ebx
mov dword [rcx + 0xc], edx
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 0xf]
movzx ebx, byte [rbx + 0xe]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 0xd]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi + 0xc]
shl ebx, 0x18
or edx, ebx
mov dword [rcx + 0x10], edx
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 0xb]
movzx ebx, byte [rbx + 0xa]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 9]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi + 8]
shl ebx, 0x18
or edx, ebx
mov dword [rcx + 0x14], edx
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 7]
movzx ebx, byte [rbx + 6]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 5]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi + 4]
shl ebx, 0x18
or edx, ebx
mov dword [rcx + 0x18], edx
mov rcx, qword [rsp + 0x28]
test byte [rcx], al
mov rdx, qword [rsp + 0x30]
test byte [rdx], al
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
mov rsi, qword [rsp + 0x30]
test byte [rsi], al
mov rdi, qword [rsp + 0x30]
test byte [rdi], al
movzx edx, byte [rdx + 3]
movzx ebx, byte [rbx + 2]
shl ebx, 8
or edx, ebx
movzx ebx, byte [rsi + 1]
shl ebx, 0x10
or edx, ebx
movzx ebx, byte [rdi]
shl ebx, 0x18
or edx, ebx
mov dword [rcx + 0x1c], edx
mov rax, qword [rsp + 0x28]
call fcn.0051f180
mov dword [rsp + 0x14], eax
mov rcx, qword [rsp + 0x28]
mov ebx, eax
mov rax, rcx
call fcn.0051f380
mov eax, dword [rsp + 0x14]
mov dword [rsp + 0x10], eax
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004670c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.0051f500