Function at 0x14005a2a0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov rax, rsp
push r14
push r15
sub rsp, 0xa8
mov qword [rax + 8], rbx
mov qword [rax - 0x18], rbp
mov qword [rax - 0x20], rsi
xor esi, esi
mov qword [rax - 0x28], rdi
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r13
mov rax, qword [0x14010e748]
mov rbx, r8
xor dil, dil
xor r13b, r13b
mov r8d, 0xa
mov rbp, rdx
movzx edx, r8w
xor r14b, r14b
mov qword [rsp + 0x48], rax
mov r12, rcx
mov qword [rsp + 0x38], rsi
mov qword [0x14010e748], rsi
lea r15d, [rsi + 1]
mov dword [rsp + 0x40], 0xffffffff
mov word [rsp + 0x30], dx
mov byte [0x14010e5ba], sil
mov byte [0x14010e5b7], sil
mov byte [0x14010e5b6], sil
mov dword [0x14010e744], esi
mov byte [rsp + 0xd0], sil
mov byte [rsp + 0x33], dil
mov byte [rsp + 0x34], sil
mov byte [rsp + 0xd8], r13b
mov byte [rsp + 0x32], sil
cmp word [rbx], si
je 0x14005a561
lea rdi, sym.__________SC.bin__Q_0s_5s__K_x_SA.sEsbp_BL_g__h.sb0IFF_b
movzx ecx, word [rbx]
push rax
call 0x140260415
movzx eax, ax
add eax, 0xffffffbd
cmp eax, 0x19
ja case.0x14005a383.76
cdqe
movzx eax, byte [rdi + rax + 0x5aca4]
mov ecx, dword [rdi + rax*4 + 0x5ac7c]
add rcx, rdi
jmp rcx
movzx edi, word [rbx + 2]
test edi, 0xffffff80
jne 0x14005a3a5
mov edx, 2
mov ecx, edi
push rbp
call 0x14030505b
test eax, eax
je 0x14005a3a5
and edi, 0xffffffdf
movzx edx, word [rsp + 0x30]
cmp di, 0x4c
lea rdi, sym.__________SC.bin__Q_0s_5s__K_x_SA.sEsbp_BL_g__h.sb0IFF_b
jne 0x14005a3c9
add rbx, 2
mov byte [0x14010e5ba], 2
xor esi, esi
jmp 0x14005a54a
mov byte [0x14010e5ba], r15b
xor esi, esi
jmp 0x14005a54a
cmp word [rbx + 2], 0
lea rax, [rbx + 2]
je case.0x14005a383.76
mov rbx, rax
movzx eax, word [rax]
test ax, ax
je case.0x14005a383.76
movzx edx, ax
mov word [rsp + 0x30], ax
jmp 0x14005a54a
movzx eax, word [rbx + 2]
add rbx, 2
cmp ax, 0x20
je case.0x14005a383.69
cmp ax, 9
je case.0x14005a383.69
mov rdi, rbx
movzx edx, ax
test ax, ax
je 0x14005a44f
lea rcx, [0x1400ec0f0]
mov eax, 0x20
nop dword [rax]
cmp dx, ax
je 0x14005a463
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x14005a430
movzx edx, word [rdi + 2]
add rdi, 2
test dx, dx
jne 0x14005a421
or rax, 0xffffffffffffffff
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x14005a453
lea rdi, [rbx + rax*2]
mov r8, rdi
lea rcx, [0x140112790]
xor r9d, r9d
sub r8, rbx
mov rdx, rbx
sar r8, 1
call fcn.1400347c0
mov rcx, rax
mov qword [0x14010e748], rax
test rax, rax
je 0x14005aba5
cmp byte [rax + 0x79], 0
jne 0x14005aba5
mov eax, dword [rax + 0x20]
sub eax, 2
cmp eax, r15d
ja 0x14005aba5
mov rax, qword [rcx + 0x18]
cmp word [rax + 8], 0
jne 0x14005aba5
cmp word [rax + 0x20], 0
jne 0x14005aba5
lea rbx, [rdi - 2]
lea rdi, sym.__________SC.bin__Q_0s_5s__K_x_SA.sEsbp_BL_g__h.sb0IFF_b
jmp case.0x14005a383.76
mov byte [0x14010e5b7], r15b
jmp case.0x14005a383.76
lea rcx, [rbx + 2]
call 0x140207690
int3
lea rdx, str.Random
mov r8d, 6
mov rcx, rbx
call 0x1401fb74c
int3
mov byte [rsp + 0x32], r15b
mov dword [rsp + 0x40], esi
jmp case.0x14005a383.76
movzx r14d, r15b
jmp case.0x14005a383.76
mov byte [rsp + 0x34], r15b
movzx edx, word [rsp + 0x30]
add rbx, 2
cmp word [rbx], 0
jne 0x14005a357
xor dil, dil
mov r8d, 0xa
movzx ecx, word [rbp]
test cx, cx
je 0x14005aba5
mov r15, qword [0x1401108a0]
mov qword [rsp + 0x58], r15
movzx eax, byte [r15 + 0x23]
test al, al
jne 0x14005a58b
mov rax, qword [r15 + 0x10]
movzx eax, byte [rax + 0x23]
cmp al, 2
ja 0x14005ab9f
mov ebx, 1
mov rax, rbp
nop dword [rax + rax]
cmp cx, dx
jne 0x14005a5a8
inc rbx
movzx ecx, word [rax + 2]
add rax, 2
test cx, cx
jne 0x14005a5a0
mov rsi, rax
sub rsi, rbp
sar rsi, 1
test r14b, r14b
jne 0x14005a5db
cmp rax, rbp
jbe 0x14005a5db
cmp word [rax - 2], dx
jne 0x14005a5db
mov byte [rsp + 0xd0], 1
dec rbx
jmp 0x14005a60e
cmp dx, 0xa
jne 0x14005a60e
mov edx, r8d
mov rcx, rbp
call 0x1401d81e4
int3
cmp rbx, 1
jne 0x14005a631
xor r9d, r9d
mov r8, rsi
mov rdx, rbp
mov rcx, r15
mov byte [rsp + 0x20], bl
call fcn.1400b3100
mov r15d, eax
jmp 0x14005aba5
cmp qword [0x14010e748], 0
jne 0x14005a644
test dil, dil
je 0x14005a6c5
lea rcx, [rsi*2 + 6]
push rax
call 0x1402f2dfd
mov r14, rax
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14005a680
lea r9, [0x1400ce544]
lea rdx, str.Out_of_memory.
xor r8d, r8d
mov rcx, r12
call fcn.140047330
mov r15d, eax
jmp 0x14005abaa
lea rdi, [rsi + rsi]
mov rdx, rbp
mov rcx, rax
lea r8, [rdi + 2]
call fcn.1400cc4c0
cmp byte [rsp + 0x33], 0
mov rbp, r14
je 0x14005a6c5
lea rcx, [0x1400f5468]
sub rdi, rcx
lea rdx, [rdi + r14]
nop dword [rax + rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx + rcx - 2], ax
test ax, ax
jne 0x14005a6b0
add rsi, 2
xor eax, eax
test r13b, r13b
lea rcx, [rbx + 1]
setne al
inc eax
cdqe
lea rdi, [rax*8]
mov qword [rsp + 0x50], rdi
imul rcx, rdi
push rcx
call 0x140303394
mov r14, rax
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x14005a71a
lea r9, [0x1400ce544]
lea rdx, str.Out_of_memory.
xor r8d, r8d
mov rcx, r12
call fcn.140047330
mov r15d, eax
jmp 0x14005aba5
mov rdx, qword [0x140114110]
movzx r12d, byte [rsp + 0xd8]
xor ecx, ecx
mov qword [rax], rbp
mov rbx, rax
mov r13d, ecx
cmp word [rbp], cx
je 0x14005a7bf
movzx eax, word [rsp + 0x30]
cmp word [rbp], ax
jne 0x14005a7b4
inc r13
mov word [rbp], cx
test r12b, r12b
je 0x14005a7a5
dec dword [0x14010ca88]
jne 0x14005a76a
call fcn.1400240f0
mov rdx, qword [0x140114110]
mov ecx, dword [rdx]
add rdx, 4
mov eax, ecx
mov qword [0x140114110], rdx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
xor ecx, ecx
mov qword [rbx + 8], rax
lea rax, [rbp + 2]
add rbx, rdi
mov qword [rbx], rax
movzx eax, word [rsp + 0x30]
add rbp, 2
cmp word [rbp], 0
jne 0x14005a744
cmp byte [rsp + 0xd0], 0
jne 0x14005a81e
inc r13
test r12b, r12b
je 0x14005a81e
dec dword [0x14010ca88]
jne 0x14005a7e5
call fcn.1400240f0
mov rdx, qword [0x140114110]
mov ecx, dword [rdx]
add rdx, 4
mov eax, ecx
mov qword [0x140114110], rdx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
mov qword [rbx + 8], rax
cmp qword [0x14010e748], 0
je 0x14005a831
lea r9, [0x14005a010]
jmp 0x14005a856
test r12b, r12b
je 0x14005a83f
lea r9, [0x14005a000]
jmp 0x14005a856
cmp byte [rsp + 0x34], 0
lea r9, [0x140059dd0]
lea rax, [0x140059f50]
cmovne r9, rax
mov r8, rdi
mov rdx, r13
mov rcx, r14
push rbx
call 0x140308e9c
xor r9d, r9d
mov r8, rsi
xor edx, edx
mov rcx, r15
mov byte [rsp + 0x20], 1
call fcn.1400b3100
cmp eax, 1
je 0x14005a889
xor eax, eax
mov r15d, eax
jmp 0x14005aba5
xor eax, eax
xor r8d, r8d
mov rcx, r15
lea edx, [rax + 1]
lea r12, [r13 - 1]
mov edi, eax
mov dword [rsp + 0xd8], eax
mov esi, eax
call fcn.1400018f0
xor r8d, r8d
mov rbx, rax
mov ebp, r8d
test r13, r13
je 0x14005a9bf
movzx r15d, word [rsp + 0x30]
movaps xmmword [rsp + 0x70], xmm6
cmp byte [rsp + 0x32], 0
je 0x14005a962
test rsi, rsi
je 0x14005a962
cmp byte [0x14010e5b7], 0
je 0x14005aa00
cmp dword [0x14010e744], 0
jne 0x14005aa00
mov rdi, qword [r14]
mov rcx, rdi
call fcn.140012670
mov rcx, rdi
test al, al
je 0x14005a91b
xor edx, edx
lea r8d, [rdx + 0x10]
call 0x1401ebfec
int3
call 0x1402c20bb
int3
mov rax, qword [r14]
movzx ecx, word [rax]
test cx, cx
je 0x14005a984
nop dword [rax]
mov word [rbx], cx
movzx ecx, word [rax + 2]
lea rax, [rax + 2]
add rbx, 2
test cx, cx
jne 0x14005a970
cmp rbp, r12
jb 0x14005a993
cmp byte [rsp + 0xd0], 0
je 0x14005a99b
mov word [rbx], r15w
add rbx, 2
mov rsi, qword [r14]
add r14, qword [rsp + 0x50]
inc rbp
mov r8d, 0
cmp rbp, r13
jb 0x14005a8c5
mov r15, qword [rsp + 0x58]
movaps xmm6, xmmword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
push rsi
call 0x1402b0804
cmp byte [rsp + 0x33], 0
lea rdi, [0x140114148]
je 0x14005aaf2
cmp word [rbx - 4], 0xd
jne 0x14005aab6
xor eax, eax
mov word [rbx - 4], ax
cmp byte [r15 + 0x23], al
jne 0x14005aa8c
mov rbx, qword [r15 + 0x10]
jmp 0x14005aa8f
cmp byte [0x14010e5ba], 0
mov rdx, rsi
jne 0x14005aa17
mov rcx, qword [r14]
push rbp
call 0x14030f8b1
jmp 0x14005aa4d
cmp byte [0x14010e5ba], 2
jne 0x14005aa2b
mov rcx, qword [r14]
call 0x140189784
int3
mov rax, qword [r14]
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x14005aa48
add rax, 2
test cx, cx
jne 0x14005aa31
mov eax, r8d
jmp 0x14005aa4d
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
jne 0x14005a962
jmp 0x14005aa63
inc edi
mov dword [rsp + 0xd8], edi
cmp rbp, r12
jne 0x14005a99e
cmp byte [rsp + 0xd0], 0
jne 0x14005a99e
sub rbx, 2
jmp 0x14005a99e
mov rbx, r15
cmp byte [rbx + 0x23], 1
jne 0x14005aaad
test byte [rbx + 0x21], 8
je 0x14005aaa3
mov rcx, rbx
call fcn.1400017c0
add rbx, 0x10
add qword [rbx], 0xfffffffffffffffc
jmp 0x14005aaf7
mov rbx, rdi
add qword [rbx], 0xfffffffffffffffc
jmp 0x14005aaf7
xor eax, eax
mov word [rbx - 2], ax
cmp byte [r15 + 0x23], al
jne 0x14005aac8
mov rbx, qword [r15 + 0x10]
jmp 0x14005aacb
mov rbx, r15
cmp byte [rbx + 0x23], 1
jne 0x14005aae9
test byte [rbx + 0x21], 8
je 0x14005aadf
mov rcx, rbx
call fcn.1400017c0
add rbx, 0x10
add qword [rbx], 0xfffffffffffffffe
jmp 0x14005aaf7
mov rbx, rdi
add qword [rbx], 0xfffffffffffffffe
jmp 0x14005aaf7
xor eax, eax
mov word [rbx], ax
cmp byte [rsp + 0x32], 0
je 0x14005ab6d
mov esi, dword [rsp + 0xd8]
test esi, esi
je 0x14005ab6d
xor r8d, r8d
mov rcx, r15
lea edx, [r8 + 1]
call fcn.1400018f0
or rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x14005ab20
cmp byte [r15 + 0x23], 0
mov qword [rsp + 0xd0], rcx
jne 0x14005ab3f
mov rbx, qword [r15 + 0x10]
jmp 0x14005ab42
mov rbx, r15
cmp byte [rbx + 0x23], 1
jne 0x14005ab62
test byte [rbx + 0x21], 8
je 0x14005ab5e
mov rcx, rbx
call fcn.1400017c0
mov rcx, qword [rsp + 0xd0]
lea rdi, [rbx + 0x10]
lea rax, [rcx + rcx]
mov dword [rsp + 0x40], esi
mov qword [rdi], rax
cmp byte [r15 + 0x23], 0
jne 0x14005ab78
mov r15, qword [r15 + 0x10]
cmp byte [r15 + 0x23], 2
jne 0x14005ab9a
cmp qword [0x140113428], 0
je 0x14005ab9a
lea rcx, [0x140113410]
call fcn.140005fb0
mov r15d, eax
jmp 0x14005aba5
and byte [r15 + 0x21], 0x86
mov r15d, 1
mov r14, qword [rsp + 0x38]
mov edi, dword [rsp + 0x40]
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0xa0]
cmp edi, 0xffffffff
je 0x14005ac42
mov rbx, qword [0x14010e490]
cmp byte [rbx + 0x23], 0
jne 0x14005abe4
mov rbx, qword [rbx + 0x10]
movzx eax, byte [rbx + 0x21]
test al, 2
je 0x14005abfa
mov rcx, qword [rbx]
and al, 0x3d
mov byte [rbx + 0x21], al
mov rax, qword [rcx]
call qword [rax + 0x10]
and byte [rbx + 0x21], 0x9b
or byte [rbx + 0x21], 0x18
mov rax, rdi
mov qword [rbx], rax
movzx eax, byte [rbx + 0x21]
jns 0x14005ac1c
mov rcx, rbx
call fcn.1400017c0
and byte [rbx + 0x21], 0x8f
jmp 0x14005ac42
cmp dword [0x14010e4c8], 0
je 0x14005ac29
test al, 0x10
jne 0x14005ac36
cmp dword [0x14010e4c4], 0
je 0x14005ac42
test al, 0x20
je 0x14005ac42
test al, 8
je 0x14005ac42
mov rcx, rbx
call fcn.1400017c0
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xc0]
test r14, r14
je 0x14005ac60
mov rcx, r14
call 0x140187d43
int3
mov rax, qword [rsp + 0x48]
mov qword [0x14010e748], rax
mov eax, r15d
add rsp, 0xa8
pop r15
pop r14
ret