Function at 0x14005c770
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rdi, r8
mov byte [rbp + 0x10], 0x50
mov rsi, rdx
mov rbx, rcx
mov rcx, rdi
lea rdx, [rbp + 0x10]
mov r8d, 1
call rsi
mov r8d, 1
mov byte [rbp + 0x10], 0x4b
lea rdx, [rbp + 0x10]
mov rcx, rdi
call rsi
mov r8d, 1
mov byte [rbp + 0x10], 3
lea rdx, [rbp + 0x10]
mov rcx, rdi
call rsi
mov r8d, 1
mov byte [rbp + 0x10], 4
lea rdx, [rbp + 0x10]
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 2]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 3]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0x3c]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0x3d]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 6]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 7]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 8]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
mov eax, dword [rbx + 8]
lea rdx, [rbp + 0x10]
shr eax, 8
mov r8d, 1
mov rcx, rdi
mov byte [rbp + 0x10], al
call rsi
movzx eax, byte [rbx + 0xa]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0xb]
mov r8d, 1
mov byte [rbp + 0x10], al
lea rdx, [rbp + 0x10]
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0xc]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
mov eax, dword [rbx + 0xc]
lea rdx, [rbp + 0x10]
shr eax, 8
mov r8d, 1
mov rcx, rdi
mov byte [rbp + 0x10], al
call rsi
movzx eax, byte [rbx + 0xe]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0xf]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0x10]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
mov eax, dword [rbx + 0x10]
lea rdx, [rbp + 0x10]
shr eax, 8
mov r8d, 1
mov rcx, rdi
mov byte [rbp + 0x10], al
call rsi
movzx eax, byte [rbx + 0x12]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0x13]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0x14]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
mov eax, dword [rbx + 0x14]
lea rdx, [rbp + 0x10]
shr eax, 8
mov r8d, 1
mov rcx, rdi
mov byte [rbp + 0x10], al
call rsi
movzx eax, byte [rbx + 0x16]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0x17]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
movzx eax, byte [rbx + 0x18]
mov r8d, 1
mov byte [rbp + 0x10], al
lea rdx, [rbp + 0x10]
mov rcx, rdi
call rsi
mov eax, dword [rbx + 0x18]
lea rdx, [rbp + 0x10]
shr rax, 8
mov r8d, 1
mov rcx, rdi
mov byte [rbp + 0x10], al
call rsi
movzx eax, byte [rbx + 0x20]
lea rdx, [rbp + 0x10]
mov r8d, 1
mov byte [rbp + 0x10], al
mov rcx, rdi
call rsi
mov eax, dword [rbx + 0x20]
lea rdx, [rbp + 0x10]
shr rax, 8
mov r8d, 1
mov rcx, rdi
mov byte [rbp + 0x10], al
call rsi
mov r8d, dword [rbx + 0x18]
lea rdx, [rbx + 0x168]
mov rcx, rdi
call rsi
mov eax, eax
cmp rax, qword [rbx + 0x18]
je 0x14005ca45
mov eax, 0xa
jmp 0x14005ca66
cmp qword [rbx + 0x20], 0
je 0x14005ca64
mov r8d, dword [rbx + 0x20]
mov rcx, rdi
mov rdx, qword [rbx + 0x150]
call rsi
mov eax, eax
cmp rax, qword [rbx + 0x20]
jne 0x14005ca3e
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret