Function at 0x599680
Capabilities:
Enumerate pe sections

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5998f5
push rbp
mov rbp, rsp
sub rsp, 0x18
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x10], 0
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 0x1f]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x1e]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x1d]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x1c]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx], ecx
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 0x1b]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x1a]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x19]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x18]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx + 4], ecx
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 0x17]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x16]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x15]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x14]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx + 8], ecx
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 0x13]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x12]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x11]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0x10]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx + 0xc], ecx
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 0xf]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0xe]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0xd]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0xc]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx + 0x10], ecx
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 0xb]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 0xa]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 9]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 8]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx + 0x14], ecx
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 7]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 6]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 5]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 4]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx + 0x18], ecx
mov rcx, qword [rsp + 0x30]
test byte [rcx], al
mov rdx, qword [rsp + 0x28]
test byte [rdx], al
movzx ecx, byte [rcx + 3]
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 2]
shl ebx, 8
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx + 1]
shl ebx, 0x10
or ecx, ebx
mov rbx, qword [rsp + 0x30]
test byte [rbx], al
movzx ebx, byte [rbx]
shl ebx, 0x18
or ecx, ebx
mov dword [rdx + 0x1c], ecx
mov rax, qword [rsp + 0x28]
call sym.github.com_decred_dcrd_dcrec_secp256k1_v4._ModNScalar_.overflows
mov dword [rsp + 0x14], eax
mov rcx, qword [rsp + 0x28]
mov ebx, eax
mov rax, rcx
call sym.github.com_decred_dcrd_dcrec_secp256k1_v4._ModNScalar_.reduce256
mov eax, dword [rsp + 0x14]
mov dword [rsp + 0x10], eax
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp sym.github.com_decred_dcrd_dcrec_secp256k1_v4._ModNScalar_.SetBytes