Function at 0x50b9d0
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov edi, dword [rdx]
mov rbx, rdx
mov r12, rcx
movzx ecx, byte [rdx + 4]
movzx edx, byte [rdx + 5]
movzx eax, byte [rbx + 6]
movzx esi, byte [rbx + 8]
shl rdx, 8
movzx r11d, byte [rbx + 0xe]
movzx r8d, byte [rbx + 0xa]
shl rax, 0x10
shl rsi, 8
movzx ebp, byte [rbx + 0x1a]
mov r13d, dword [rbx + 0x10]
or rdx, rax
movzx eax, byte [rbx + 9]
shl r11, 8
movzx r10d, byte [rbx + 0x15]
or rdx, rcx
movzx ecx, byte [rbx + 7]
movzx r9d, byte [rbx + 0x18]
shl rax, 0x10
shl r10, 8
shl r9, 8
or rsi, rax
movzx eax, byte [rbx + 0xb]
shl rdx, 6
or rsi, rcx
movzx ecx, byte [rbx + 0xc]
shl rax, 8
shl rsi, 5
shl rcx, 0x10
or rax, rcx
movzx ecx, byte [rbx + 0xf]
or rax, r8
movzx r8d, byte [rbx + 0xd]
shl rcx, 0x10
shl rax, 3
or r11, rcx
movzx ecx, byte [rbx + 0x16]
or r11, r8
movzx r8d, byte [rbx + 0x14]
shl rcx, 0x10
or r10, rcx
movzx ecx, byte [rbx + 0x19]
or r10, r8
movzx r8d, byte [rbx + 0x17]
shl rcx, 0x10
shl r10, 7
or r9, rcx
movzx ecx, byte [rbx + 0x1c]
or r9, r8
movzx r8d, byte [rbx + 0x1b]
shl rcx, 0x10
shl r9, 5
shl r8, 8
or r8, rcx
movzx ecx, byte [rbx + 0x1e]
or r8, rbp
movzx ebp, byte [rbx + 0x1d]
movzx ebx, byte [rbx + 0x1f]
shl rcx, 8
shl r8, 4
shl rbx, 0x10
or rcx, rbx
or rcx, rbp
shl rcx, 2
lea rbx, [rcx + 0x1000000]
mov rbp, rbx
and rbx, 0xfffffffffe000000
sub rcx, rbx
sar rbp, 0x19
mov qword [rsp + 0x20], rcx
lea rcx, [rdx + 0x1000000]
lea r14, [rbp + rbp*8]
mov rbx, rcx
and rcx, 0xfffffffffe000000
lea rbp, [rbp + r14*2]
sar rbx, 0x19
sub rdx, rcx
lea rcx, [rax + 0x1000000]
add rbp, rdi
add rsi, rbx
mov rbx, rcx
and rcx, 0xfffffffffe000000
sar rbx, 0x19
sub rax, rcx
lea rdi, [rbp + 0x2000000]
lea rcx, [r13 + 0x1000000]
lea r14, [rbx + r11*4]
mov r15, rdi
sar rdi, 0x1a
mov r11, rcx
and rcx, 0xfffffffffe000000
add rdx, rdi
and r15, 0xfffffffffc000000
sar r11, 0x19
sub r13, rcx
mov dword [rsp + 0x54], edx
sub rbp, r15
lea rcx, [r9 + 0x1000000]
add r10, r11
mov dword [rsp + 0x50], ebp
lea rbx, [rsi + 0x2000000]
mov r11, rcx
mov rdx, rbx
lea rbp, [rsp + 0x50]
and rcx, 0xfffffffffe000000
sar r11, 0x19
and rdx, 0xfffffffffc000000
sub r9, rcx
add r8, r11
sub rsi, rdx
sar rbx, 0x1a
lea r11, [r14 + 0x2000000]
add rax, rbx
mov qword [rsp + 0x28], r9
mov rdx, rbp
lea r9, [r10 + 0x2000000]
mov dword [rsp + 0x5c], eax
mov rax, r11
sar r11, 0x1a
lea rcx, [r8 + 0x2000000]
and rax, 0xfffffffffc000000
lea rdi, [rsp + 0x80]
mov dword [rsp + 0x58], esi
add r13, r11
sub r14, rax
mov rax, r9
lea rsi, [rsp + 0xb0]
sar r9, 0x1a
and rax, 0xfffffffffc000000
mov dword [rsp + 0x60], r14d
add r9, qword [rsp + 0x28]
lea rbx, [rsp + 0xe0]
sub r10, rax
mov rax, rcx
sar rcx, 0x1a
add rcx, qword [rsp + 0x20]
and rax, 0xfffffffffc000000
mov dword [rsp + 0x74], ecx
mov rcx, rdi
sub r8, rax
mov dword [rsp + 0x6c], r9d
mov dword [rsp + 0x68], r10d
mov dword [rsp + 0x64], r13d
lea r13, [rsp + 0x110]
mov dword [rsp + 0x70], r8d
call sym.fe_sq2
mov r8, rsi
mov rdx, rdi
mov rcx, rsi
mov qword [rsp + 0xb0], 1
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
call sym.fe_add
mov rdx, rsi
mov rcx, rbx
call sym.fe_sq
mov rdx, qword [0x0099f790]
mov r8, rdi
mov rcx, r13
call sym.fe_mul
mov r8, r13
mov rdx, rbx
mov rcx, rbx
call sym.fe_add
mov r8, rbx
mov rdx, rsi
mov rcx, r12
call sym.fe_divpowm1
mov rdx, r12
mov rcx, r13
call sym.fe_sq
mov r8, rbx
mov rdx, r13
mov rcx, rbx
call sym.fe_mul
mov r8, rbx
mov rdx, rsi
mov rcx, r13
call sym.fe_sub
mov rax, qword [0x0099f780]
mov rcx, qword [rax + 0x18]
mov r9, qword [rax + 8]
mov r8, qword [rax + 0x10]
mov rdx, qword [rax + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x158], rcx
mov rcx, r13
mov qword [rsp + 0x148], r9
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x150], r8
mov qword [rsp + 0x160], rdx
call sym.fe_isnonzero
test eax, eax
je 0x50be70
mov r8, rbx
mov rdx, rsi
mov rcx, r13
call sym.fe_add
call sym.fe_isnonzero
test eax, eax
jne 0x50be20
mov r8, qword [0x0099f740]
mov rdx, r12
mov rcx, r12
call sym.fe_mul
mov r8, rbp
mov rdx, r12
mov rcx, r12
xor ebx, ebx
call sym.fe_mul
lea r13, [rsp + 0x140]
mov r8, rdi
mov rdx, r13
mov rcx, r13
call sym.fe_mul
lea rcx, [rsp + 0x30]
mov rdx, r12
call sym.fe_tobytes
movzx eax, byte [rsp + 0x30]
and eax, 1
cmp bl, al
je 0x50bdd7
mov rdx, r12
mov rcx, r12
call sym.fe_neg
lea rbx, [r12 + 0x50]
mov rdx, r13
mov r8, rsi
mov rcx, rbx
call sym.fe_add
lea rcx, [r12 + 0x28]
mov r8, rsi
call sym.fe_sub
mov r8, rbx
mov rdx, r12
mov rcx, r12
call sym.fe_mul
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [0x0099f7a0]
mov rdx, rbx
mov rcx, rbx
call sym.fe_mul
mov r8, rbx
mov rdx, rsi
mov rcx, r13
call sym.fe_sub
call sym.fe_isnonzero
mov r8, qword [0x0099f760]
test eax, eax
je 0x50be90
mov rdx, r12
mov rcx, r12
mov ebx, 1
call sym.fe_mul
lea r13, [rsp + 0x140]
jmp 0x50bdb3
mov r8, qword [0x0099f750]
mov rdx, r12
mov rcx, r12
call sym.fe_mul
jmp 0x50bd8d
mov r8, qword [0x0099f770]
jmp 0x50be50