Function at 0x1400340f0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rsi, rcx
movzx eax, byte [rdx]
test rax, rax
je 0x1400341ba
cmp eax, 1
jne 0x1400341e2
lea rdx, [rdi + 8]
lea rcx, [rsp + 0x50]
mov r8, r15
mov r9, r14
call fcn.140033ef5
mov eax, dword [rdi + 0x28]
mov r11d, dword [rdi + 0x20]
mov ecx, dword [rdi + 0x24]
xor edx, edx
lea r8, [0x141b82168]
mov r9d, 0xff
cmp r14, rdx
je 0x140034236
mov ebx, eax
or ebx, 3
mov r10d, ebx
and r10d, 0xfffffffe
imul r10d, ebx
shr r10d, 8
xor r10b, byte [r15 + rdx]
mov ebx, r11d
shr ebx, 8
xor r11b, r10b
movzx r11d, r11b
xor ebx, dword [r8 + r11*4]
mov dword [rdi + 0x20], ebx
mov r11d, ebx
and ebx, r9d
add ebx, ecx
imul ecx, ebx, 0x8088405
inc ecx
mov dword [rdi + 0x24], ecx
mov ebx, ecx
shr ebx, 0x18
mov ebp, eax
shr ebp, 8
and eax, r9d
xor eax, ebx
xor ebp, dword [r8 + rax*4]
mov dword [rdi + 0x28], ebp
mov byte [r15 + rdx], r10b
inc rdx
mov eax, ebp
jmp 0x140034151
add rdi, 8
mov rcx, rsi
mov rdx, rdi
mov r8, r15
mov r9, r14
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140033ef5
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14003423d
lea r12, [rdi + 8]
cmp rcx, r14
cmovae rcx, r14
lea r9, [0x141b81c10]
mov rdx, r15
mov r8, r14
call fcn.140001030
mov r9, rdx
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, r12
mov r8, rax
call fcn.140033ef5
cmp qword [rbx], 0
je 0x140034257
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x140034243
movups xmm0, xmmword [rsp + 0x50]
jmp 0x140034240
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x58]
sub qword [rdi + 0x30], rdx
lea rbx, [rdi + 0x38]
lea rax, [0x141b81c28]
mov qword [rsp + 0x20], rax
xor ecx, ecx
mov qword [rsp + 0x48], rdx
mov r8, r15
mov r9, r14
call fcn.14000c837
mov rbp, rdx
mov qword [rsp + 0xa8], rbx
lea rdx, [rdi + 0x98]
mov cl, byte [rdi + 0xd8]
movzx ebx, cl
mov r9d, 0x40
sub r9, rbx
cmp r9, rbp
mov qword [rsp + 0x40], rdx
jbe 0x140034302
lea r9, [0x141b81430]
mov r13, rax
mov r8d, 0x40
mov rcx, rbx
call fcn.140001051
mov r8, rdx
mov rcx, rbp
mov rdx, rax
lea r9, [0x141b81430]
call fcn.140001030
lea rcx, [0x141b81448]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r13
mov r9, rbp
call fcn.14000c584
add rbp, rbx
mov rbx, rbp
jmp 0x140034410
test cl, cl
je 0x1400343b0
lea rcx, [0x141b813b8]
mov qword [rsp + 0x20], rcx
lea r13, [rsp + 0x50]
mov rcx, r13
mov rdx, rax
mov r8, rbp
call fcn.140006173
mov rax, qword [r13]
mov qword [rsp + 0x88], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x80], rax
mov rax, qword [r13 + 0x10]
mov qword [rsp + 0x90], rax
mov rbp, qword [r13 + 0x18]
lea r9, [0x141b813d0]
mov r8d, 0x40
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
call fcn.140001051
lea rcx, [0x141b813e8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, qword [rsp + 0x88]
mov r9, qword [rsp + 0x80]
call fcn.14000c584
lea rcx, [rsp + 0xa8]
mov r8d, 1
mov rdx, rbx
call fcn.1400347a1
mov rax, qword [rsp + 0x90]
mov r13, rbp
and r13, 0xffffffffffffffc0
mov ebx, ebp
and ebx, 0x3f
add r13, rax
cmp rbp, 0x3f
jbe 0x1400343dc
shr rbp, 6
lea rcx, [rsp + 0xa8]
mov rdx, rax
mov r8, rbp
call fcn.1400347a1
lea r9, [0x141b81400]
mov r8d, 0x40
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
call fcn.140001030
lea rcx, [0x141b81418]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r13
mov r9, rbx
call fcn.14000c584
mov byte [rdi + 0xd8], bl
mov rbx, qword [rdi + 0x20]
mov r13, qword [rdi + 0x28]
lea r9, [0x141b81c40]
mov rbp, qword [rsp + 0x48]
mov rcx, rbp
mov rdx, r15
mov r8, r14
call fcn.140001030
mov r8, rdx
mov rcx, rbx
mov rdx, rax
call qword [r13 + 0x18]
cmp qword [rdi + 0x30], 0
je 0x140034459
mov qword [rsi + 8], rbp
and qword [rsi], 0
jmp 0x140034243
cmp byte [rdi + 0xe0], 0
jne 0x140034627
lea r15, [rsp + 0x98]
and word [r15 + 8], 0
mov byte [rdi + 0xe0], 1
and qword [r15], 0
mov ebp, 0xa
lea rbx, [rsp + 0x58]
lea r14, [rsp + 0x50]
test rbp, rbp
je 0x1400344f3
mov rcx, r14
mov rdx, r12
mov r8, r15
mov r9, rbp
call fcn.140033ef5
cmp qword [rsp + 0x50], 0
je 0x1400344cb
mov r13, qword [rsp + 0x58]
mov rcx, r13
call fcn.14000145c
cmp al, 0x23
jne 0x14003461e
mov rcx, rbx
call fcn.1400018d8
jmp 0x14003448e
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140034617
mov rdx, r15
mov r8, rbp
lea r9, [0x141b81560]
call fcn.140001051
mov r15, rax
mov rbp, rdx
jmp 0x14003448e
lea r15, [rsp + 0xa8]
mov rcx, r15
call fcn.140033c67
mov rcx, r14
call fcn.140033c67
mov rcx, qword [rdi + 0x38]
mov edx, dword [rdi + 0x40]
movdqu xmm0, xmmword [rdi + 0x40]
mov eax, dword [rdi + 0x50]
mov qword [rsp + 0x38], r14
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
pshufd xmm1, xmm0, 0xff
movd dword [rsp + 0x20], xmm1
pshufd xmm1, xmm0, 0x55
movd r8d, xmm1
pshufd xmm0, xmm0, 0xee
movd r9d, xmm0
call fcn.14003465e
mov edx, dword [rdi + 0x60]
movdqu xmm0, xmmword [rdi + 0x60]
mov eax, dword [rdi + 0x70]
mov rcx, qword [rdi + 0x58]
mov r8d, dword [rsp + 0x60]
mov dword [rbx + 0x10], r8d
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbx], xmm1
mov byte [rdi + 0xd8], 0x14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
pshufd xmm1, xmm0, 0xff
movd dword [rsp + 0x20], xmm1
pshufd xmm1, xmm0, 0x55
movd r8d, xmm1
pshufd xmm0, xmm0, 0xee
movd r9d, xmm0
call fcn.14003465e
movups xmm0, xmmword [rdi + 0x80]
mov eax, dword [rdi + 0x90]
mov rcx, qword [rdi + 0x78]
mov qword [rdi + 0x38], rcx
mov dword [rdi + 0x50], eax
movups xmmword [rdi + 0x40], xmm0
mov byte [rdi + 0xd8], 0
mov eax, dword [r15 + 0x10]
lea rcx, [rsp + 0xc0]
mov dword [rcx + 0x10], eax
movups xmm0, xmmword [r15]
movaps xmmword [rcx], xmm0
lea rdx, [rsp + 0x98]
call fcn.140006eaf
test al, al
je 0x14003460d
lea rdx, [0x141b81c58]
mov r8d, 0x5b
mov cl, 0x15
call fcn.14000c04c
jmp 0x140034229
mov rbp, qword [rsp + 0x48]
jmp 0x14003444c
lea r13, [0x141b81548]
mov qword [rsi + 8], r13
jmp 0x14003422d
lea rax, [0x141b81cf0]
lea rcx, [rsp + 0x50]
mov qword [rcx], rax
mov qword [rcx + 8], 1
lea rax, [0x141b81590]
mov qword [rcx + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
lea rdx, [0x141b81d00]
call fcn.14005ef40
ud2