Function at 0x1801b1ad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov eax, dword [r8 + 0x18]
cmp eax, 0x17400
jne 0x1801b1f8b
add rdx, 2
lea r8, [rcx + 8]
mov r9d, 4
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 - 8]
mov byte [rdx - 2], cl
movzx eax, byte [r8 - 4]
shl al, 6
or al, cl
mov byte [rdx - 2], al
mov ecx, dword [r8 - 4]
sar ecx, 2
mov byte [rdx - 1], cl
movzx eax, byte [r8]
shl al, 4
or al, cl
mov byte [rdx - 1], al
mov ecx, dword [r8]
sar ecx, 4
mov byte [rdx], cl
movzx eax, byte [r8 + 4]
shl al, 2
or al, cl
mov byte [rdx], al
movzx ecx, byte [r8 + 8]
mov byte [rdx + 1], cl
movzx eax, byte [r8 + 0xc]
shl al, 6
or al, cl
mov byte [rdx + 1], al
mov ecx, dword [r8 + 0xc]
sar ecx, 2
mov byte [rdx + 2], cl
movzx eax, byte [r8 + 0x10]
shl al, 4
or al, cl
mov byte [rdx + 2], al
mov ecx, dword [r8 + 0x10]
sar ecx, 4
mov byte [rdx + 3], cl
movzx eax, byte [r8 + 0x14]
shl al, 2
or al, cl
mov byte [rdx + 3], al
movzx ecx, byte [r8 + 0x18]
mov byte [rdx + 4], cl
movzx eax, byte [r8 + 0x1c]
shl al, 6
or al, cl
mov byte [rdx + 4], al
mov ecx, dword [r8 + 0x1c]
sar ecx, 2
mov byte [rdx + 5], cl
movzx eax, byte [r8 + 0x20]
shl al, 4
or al, cl
mov byte [rdx + 5], al
mov ecx, dword [r8 + 0x20]
sar ecx, 4
mov byte [rdx + 6], cl
movzx eax, byte [r8 + 0x24]
shl al, 2
or al, cl
mov byte [rdx + 6], al
movzx ecx, byte [r8 + 0x28]
mov byte [rdx + 7], cl
movzx eax, byte [r8 + 0x2c]
shl al, 6
or al, cl
mov byte [rdx + 7], al
mov ecx, dword [r8 + 0x2c]
sar ecx, 2
mov byte [rdx + 8], cl
movzx eax, byte [r8 + 0x30]
shl al, 4
or al, cl
mov byte [rdx + 8], al
mov ecx, dword [r8 + 0x30]
sar ecx, 4
mov byte [rdx + 9], cl
movzx eax, byte [r8 + 0x34]
shl al, 2
or al, cl
mov byte [rdx + 9], al
movzx ecx, byte [r8 + 0x38]
mov byte [rdx + 0xa], cl
movzx eax, byte [r8 + 0x3c]
shl al, 6
or al, cl
mov byte [rdx + 0xa], al
mov ecx, dword [r8 + 0x3c]
sar ecx, 2
mov byte [rdx + 0xb], cl
movzx eax, byte [r8 + 0x40]
shl al, 4
or al, cl
mov byte [rdx + 0xb], al
mov ecx, dword [r8 + 0x40]
sar ecx, 4
mov byte [rdx + 0xc], cl
movzx eax, byte [r8 + 0x44]
shl al, 2
or al, cl
mov byte [rdx + 0xc], al
movzx ecx, byte [r8 + 0x48]
mov byte [rdx + 0xd], cl
movzx eax, byte [r8 + 0x4c]
shl al, 6
or al, cl
mov byte [rdx + 0xd], al
mov ecx, dword [r8 + 0x4c]
sar ecx, 2
mov byte [rdx + 0xe], cl
movzx eax, byte [r8 + 0x50]
shl al, 4
or al, cl
mov byte [rdx + 0xe], al
mov ecx, dword [r8 + 0x50]
sar ecx, 4
mov byte [rdx + 0xf], cl
movzx eax, byte [r8 + 0x54]
shl al, 2
or al, cl
mov byte [rdx + 0xf], al
movzx ecx, byte [r8 + 0x58]
mov byte [rdx + 0x10], cl
movzx eax, byte [r8 + 0x5c]
shl al, 6
or al, cl
mov byte [rdx + 0x10], al
mov ecx, dword [r8 + 0x5c]
sar ecx, 2
mov byte [rdx + 0x11], cl
movzx eax, byte [r8 + 0x60]
shl al, 4
or al, cl
mov byte [rdx + 0x11], al
mov ecx, dword [r8 + 0x60]
sar ecx, 4
mov byte [rdx + 0x12], cl
movzx eax, byte [r8 + 0x64]
shl al, 2
or al, cl
mov byte [rdx + 0x12], al
movzx ecx, byte [r8 + 0x68]
mov byte [rdx + 0x13], cl
movzx eax, byte [r8 + 0x6c]
shl al, 6
or al, cl
mov byte [rdx + 0x13], al
mov ecx, dword [r8 + 0x6c]
sar ecx, 2
mov byte [rdx + 0x14], cl
movzx eax, byte [r8 + 0x70]
shl al, 4
or al, cl
mov byte [rdx + 0x14], al
mov ecx, dword [r8 + 0x70]
sar ecx, 4
mov byte [rdx + 0x15], cl
movzx eax, byte [r8 + 0x74]
shl al, 2
or al, cl
mov byte [rdx + 0x15], al
movzx ecx, byte [r8 + 0x78]
mov byte [rdx + 0x16], cl
movzx eax, byte [r8 + 0x7c]
shl al, 6
or al, cl
mov byte [rdx + 0x16], al
mov ecx, dword [r8 + 0x7c]
sar ecx, 2
mov byte [rdx + 0x17], cl
movzx eax, byte [r8 + 0x80]
shl al, 4
or al, cl
mov byte [rdx + 0x17], al
mov ecx, dword [r8 + 0x80]
sar ecx, 4
mov byte [rdx + 0x18], cl
movzx eax, byte [r8 + 0x84]
shl al, 2
or al, cl
mov byte [rdx + 0x18], al
movzx ecx, byte [r8 + 0x88]
mov byte [rdx + 0x19], cl
movzx eax, byte [r8 + 0x8c]
shl al, 6
or al, cl
mov byte [rdx + 0x19], al
mov ecx, dword [r8 + 0x8c]
sar ecx, 2
mov byte [rdx + 0x1a], cl
movzx eax, byte [r8 + 0x90]
shl al, 4
or al, cl
mov byte [rdx + 0x1a], al
mov ecx, dword [r8 + 0x90]
sar ecx, 4
mov byte [rdx + 0x1b], cl
movzx eax, byte [r8 + 0x94]
shl al, 2
or al, cl
mov byte [rdx + 0x1b], al
movzx ecx, byte [r8 + 0x98]
mov byte [rdx + 0x1c], cl
movzx eax, byte [r8 + 0x9c]
shl al, 6
or al, cl
mov byte [rdx + 0x1c], al
mov ecx, dword [r8 + 0x9c]
sar ecx, 2
mov byte [rdx + 0x1d], cl
movzx eax, byte [r8 + 0xa0]
shl al, 4
or al, cl
mov byte [rdx + 0x1d], al
mov ecx, dword [r8 + 0xa0]
sar ecx, 4
mov byte [rdx + 0x1e], cl
movzx eax, byte [r8 + 0xa4]
shl al, 2
or al, cl
mov byte [rdx + 0x1e], al
movzx ecx, byte [r8 + 0xa8]
mov byte [rdx + 0x1f], cl
movzx eax, byte [r8 + 0xac]
shl al, 6
or al, cl
mov byte [rdx + 0x1f], al
mov ecx, dword [r8 + 0xac]
sar ecx, 2
mov byte [rdx + 0x20], cl
movzx eax, byte [r8 + 0xb0]
shl al, 4
or al, cl
mov byte [rdx + 0x20], al
mov ecx, dword [r8 + 0xb0]
sar ecx, 4
mov byte [rdx + 0x21], cl
movzx eax, byte [r8 + 0xb4]
shl al, 2
or al, cl
mov byte [rdx + 0x21], al
movzx ecx, byte [r8 + 0xb8]
mov byte [rdx + 0x22], cl
movzx eax, byte [r8 + 0xbc]
shl al, 6
lea rdx, [rdx + 0x30]
or al, cl
lea r8, [r8 + 0x100]
mov byte [rdx - 0xe], al
mov ecx, dword [r8 - 0x44]
sar ecx, 2
mov byte [rdx - 0xd], cl
movzx eax, byte [r8 - 0x40]
shl al, 4
or al, cl
mov byte [rdx - 0xd], al
mov ecx, dword [r8 - 0x40]
sar ecx, 4
mov byte [rdx - 0xc], cl
movzx eax, byte [r8 - 0x3c]
shl al, 2
or al, cl
mov byte [rdx - 0xc], al
movzx ecx, byte [r8 - 0x38]
mov byte [rdx - 0xb], cl
movzx eax, byte [r8 - 0x34]
shl al, 6
or al, cl
mov byte [rdx - 0xb], al
mov ecx, dword [r8 - 0x34]
sar ecx, 2
mov byte [rdx - 0xa], cl
movzx eax, byte [r8 - 0x30]
shl al, 4
or al, cl
mov byte [rdx - 0xa], al
mov ecx, dword [r8 - 0x30]
sar ecx, 4
mov byte [rdx - 9], cl
movzx eax, byte [r8 - 0x2c]
shl al, 2
or al, cl
mov byte [rdx - 9], al
movzx ecx, byte [r8 - 0x28]
mov byte [rdx - 8], cl
movzx eax, byte [r8 - 0x24]
shl al, 6
or al, cl
mov byte [rdx - 8], al
mov ecx, dword [r8 - 0x24]
sar ecx, 2
mov byte [rdx - 7], cl
movzx eax, byte [r8 - 0x20]
shl al, 4
or al, cl
mov byte [rdx - 7], al
mov ecx, dword [r8 - 0x20]
sar ecx, 4
mov byte [rdx - 6], cl
movzx eax, byte [r8 - 0x1c]
shl al, 2
or al, cl
mov byte [rdx - 6], al
movzx ecx, byte [r8 - 0x18]
mov byte [rdx - 5], cl
movzx eax, byte [r8 - 0x14]
shl al, 6
or al, cl
mov byte [rdx - 5], al
mov ecx, dword [r8 - 0x14]
sar ecx, 2
mov byte [rdx - 4], cl
movzx eax, byte [r8 - 0x10]
shl al, 4
or al, cl
mov byte [rdx - 4], al
mov ecx, dword [r8 - 0x10]
sar ecx, 4
mov byte [rdx - 3], cl
movzx eax, byte [r8 - 0xc]
shl al, 2
or al, cl
mov byte [rdx - 3], al
sub r9, 1
jne 0x1801b1b00
add rsp, 0x38
ret
cmp eax, 0x3ff00
jne 0x1801b2410
add rdx, 2
lea rax, [rcx + 0xc]
mov r8d, 2
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax - 8]
shl cl, 4
or cl, byte [rax - 0xc]
mov byte [rdx - 2], cl
movzx ecx, byte [rax]
shl cl, 4
or cl, byte [rax - 4]
mov byte [rdx - 1], cl
movzx ecx, byte [rax + 8]
shl cl, 4
or cl, byte [rax + 4]
mov byte [rdx], cl
movzx ecx, byte [rax + 0x10]
shl cl, 4
or cl, byte [rax + 0xc]
mov byte [rdx + 1], cl
movzx ecx, byte [rax + 0x18]
shl cl, 4
or cl, byte [rax + 0x14]
mov byte [rdx + 2], cl
movzx ecx, byte [rax + 0x20]
shl cl, 4
or cl, byte [rax + 0x1c]
mov byte [rdx + 3], cl
movzx ecx, byte [rax + 0x28]
shl cl, 4
or cl, byte [rax + 0x24]
mov byte [rdx + 4], cl
movzx ecx, byte [rax + 0x30]
shl cl, 4
or cl, byte [rax + 0x2c]
mov byte [rdx + 5], cl
movzx ecx, byte [rax + 0x38]
shl cl, 4
or cl, byte [rax + 0x34]
mov byte [rdx + 6], cl
movzx ecx, byte [rax + 0x40]
shl cl, 4
or cl, byte [rax + 0x3c]
mov byte [rdx + 7], cl
movzx ecx, byte [rax + 0x48]
shl cl, 4
or cl, byte [rax + 0x44]
mov byte [rdx + 8], cl
movzx ecx, byte [rax + 0x50]
shl cl, 4
or cl, byte [rax + 0x4c]
mov byte [rdx + 9], cl
movzx ecx, byte [rax + 0x58]
shl cl, 4
or cl, byte [rax + 0x54]
mov byte [rdx + 0xa], cl
movzx ecx, byte [rax + 0x60]
shl cl, 4
or cl, byte [rax + 0x5c]
mov byte [rdx + 0xb], cl
movzx ecx, byte [rax + 0x68]
shl cl, 4
or cl, byte [rax + 0x64]
mov byte [rdx + 0xc], cl
movzx ecx, byte [rax + 0x70]
shl cl, 4
or cl, byte [rax + 0x6c]
mov byte [rdx + 0xd], cl
movzx ecx, byte [rax + 0x78]
shl cl, 4
or cl, byte [rax + 0x74]
mov byte [rdx + 0xe], cl
movzx ecx, byte [rax + 0x80]
shl cl, 4
or cl, byte [rax + 0x7c]
mov byte [rdx + 0xf], cl
movzx ecx, byte [rax + 0x88]
shl cl, 4
or cl, byte [rax + 0x84]
mov byte [rdx + 0x10], cl
movzx ecx, byte [rax + 0x90]
shl cl, 4
or cl, byte [rax + 0x8c]
mov byte [rdx + 0x11], cl
movzx ecx, byte [rax + 0x98]
shl cl, 4
or cl, byte [rax + 0x94]
mov byte [rdx + 0x12], cl
movzx ecx, byte [rax + 0xa0]
shl cl, 4
or cl, byte [rax + 0x9c]
mov byte [rdx + 0x13], cl
movzx ecx, byte [rax + 0xa8]
shl cl, 4
or cl, byte [rax + 0xa4]
mov byte [rdx + 0x14], cl
movzx ecx, byte [rax + 0xb0]
shl cl, 4
or cl, byte [rax + 0xac]
mov byte [rdx + 0x15], cl
movzx ecx, byte [rax + 0xb8]
shl cl, 4
or cl, byte [rax + 0xb4]
mov byte [rdx + 0x16], cl
movzx ecx, byte [rax + 0xc0]
shl cl, 4
or cl, byte [rax + 0xbc]
mov byte [rdx + 0x17], cl
movzx ecx, byte [rax + 0xc8]
shl cl, 4
or cl, byte [rax + 0xc4]
mov byte [rdx + 0x18], cl
movzx ecx, byte [rax + 0xd0]
shl cl, 4
or cl, byte [rax + 0xcc]
mov byte [rdx + 0x19], cl
movzx ecx, byte [rax + 0xd8]
shl cl, 4
or cl, byte [rax + 0xd4]
mov byte [rdx + 0x1a], cl
movzx ecx, byte [rax + 0xe0]
shl cl, 4
or cl, byte [rax + 0xdc]
mov byte [rdx + 0x1b], cl
movzx ecx, byte [rax + 0xe8]
shl cl, 4
or cl, byte [rax + 0xe4]
mov byte [rdx + 0x1c], cl
movzx ecx, byte [rax + 0xf0]
shl cl, 4
or cl, byte [rax + 0xec]
mov byte [rdx + 0x1d], cl
movzx ecx, byte [rax + 0xf8]
shl cl, 4
or cl, byte [rax + 0xf4]
mov byte [rdx + 0x1e], cl
movzx ecx, byte [rax + 0x100]
shl cl, 4
or cl, byte [rax + 0xfc]
mov byte [rdx + 0x1f], cl
movzx ecx, byte [rax + 0x108]
shl cl, 4
or cl, byte [rax + 0x104]
mov byte [rdx + 0x20], cl
movzx ecx, byte [rax + 0x110]
shl cl, 4
or cl, byte [rax + 0x10c]
mov byte [rdx + 0x21], cl
movzx ecx, byte [rax + 0x118]
shl cl, 4
or cl, byte [rax + 0x114]
mov byte [rdx + 0x22], cl
movzx ecx, byte [rax + 0x120]
shl cl, 4
or cl, byte [rax + 0x11c]
mov byte [rdx + 0x23], cl
movzx ecx, byte [rax + 0x128]
shl cl, 4
or cl, byte [rax + 0x124]
mov byte [rdx + 0x24], cl
movzx ecx, byte [rax + 0x130]
shl cl, 4
or cl, byte [rax + 0x12c]
mov byte [rdx + 0x25], cl
movzx ecx, byte [rax + 0x138]
shl cl, 4
or cl, byte [rax + 0x134]
mov byte [rdx + 0x26], cl
movzx ecx, byte [rax + 0x140]
shl cl, 4
or cl, byte [rax + 0x13c]
mov byte [rdx + 0x27], cl
movzx ecx, byte [rax + 0x148]
shl cl, 4
or cl, byte [rax + 0x144]
mov byte [rdx + 0x28], cl
movzx ecx, byte [rax + 0x150]
shl cl, 4
or cl, byte [rax + 0x14c]
mov byte [rdx + 0x29], cl
movzx ecx, byte [rax + 0x158]
shl cl, 4
or cl, byte [rax + 0x154]
mov byte [rdx + 0x2a], cl
movzx ecx, byte [rax + 0x160]
shl cl, 4
or cl, byte [rax + 0x15c]
mov byte [rdx + 0x2b], cl
movzx ecx, byte [rax + 0x168]
shl cl, 4
or cl, byte [rax + 0x164]
mov byte [rdx + 0x2c], cl
movzx ecx, byte [rax + 0x170]
shl cl, 4
or cl, byte [rax + 0x16c]
mov byte [rdx + 0x2d], cl
movzx ecx, byte [rax + 0x178]
shl cl, 4
or cl, byte [rax + 0x174]
mov byte [rdx + 0x2e], cl
movzx ecx, byte [rax + 0x180]
shl cl, 4
or cl, byte [rax + 0x17c]
mov byte [rdx + 0x2f], cl
movzx ecx, byte [rax + 0x188]
shl cl, 4
or cl, byte [rax + 0x184]
mov byte [rdx + 0x30], cl
movzx ecx, byte [rax + 0x190]
shl cl, 4
or cl, byte [rax + 0x18c]
mov byte [rdx + 0x31], cl
movzx ecx, byte [rax + 0x198]
shl cl, 4
or cl, byte [rax + 0x194]
mov byte [rdx + 0x32], cl
movzx ecx, byte [rax + 0x1a0]
shl cl, 4
or cl, byte [rax + 0x19c]
mov byte [rdx + 0x33], cl
movzx ecx, byte [rax + 0x1a8]
shl cl, 4
or cl, byte [rax + 0x1a4]
mov byte [rdx + 0x34], cl
movzx ecx, byte [rax + 0x1b0]
shl cl, 4
or cl, byte [rax + 0x1ac]
mov byte [rdx + 0x35], cl
movzx ecx, byte [rax + 0x1b8]
shl cl, 4
or cl, byte [rax + 0x1b4]
mov byte [rdx + 0x36], cl
movzx ecx, byte [rax + 0x1c0]
shl cl, 4
or cl, byte [rax + 0x1bc]
mov byte [rdx + 0x37], cl
movzx ecx, byte [rax + 0x1c8]
shl cl, 4
or cl, byte [rax + 0x1c4]
mov byte [rdx + 0x38], cl
movzx ecx, byte [rax + 0x1d0]
shl cl, 4
or cl, byte [rax + 0x1cc]
mov byte [rdx + 0x39], cl
movzx ecx, byte [rax + 0x1d8]
shl cl, 4
or cl, byte [rax + 0x1d4]
mov byte [rdx + 0x3a], cl
lea rdx, [rdx + 0x40]
movzx ecx, byte [rax + 0x1e0]
lea rax, [rax + 0x200]
shl cl, 4
or cl, byte [rax - 0x24]
mov byte [rdx - 5], cl
movzx ecx, byte [rax - 0x18]
shl cl, 4
or cl, byte [rax - 0x1c]
mov byte [rdx - 4], cl
movzx ecx, byte [rax - 0x10]
shl cl, 4
or cl, byte [rax - 0x14]
mov byte [rdx - 3], cl
sub r8, 1
jne 0x1801b1fb0
add rsp, 0x38
ret
lea r9, [0x1803e4a20]
mov dword [rsp + 0x20], 0x262
lea r8, str.polyw1_pack
lea rdx, [0x1803c6beb]
lea rcx, str.mode.gamma2_____DilithiumModeConstants::Q___1____32
call fcn.1800d1f70
int3