Function at 0x14015f840
Capabilities:
Check for time delay via gettickcount
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1370]
mov eax, 0x1470
call fcn.140170820
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x14a8], rbx
mov qword [rsp + 0x14b0], rsi
mov qword [rsp + 0x14b8], rdi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x1360], rax
mov rsi, rcx
xor r15d, r15d
mov dword [rbp - 0x58], r15d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1401706d2
lea r12, [0x140227eb8]
mov qword [rbp - 0x30], r12
lea r13, [0x140227c80]
mov qword [rbp - 0x20], r13
lea rcx, [rbp + 0x68]
call qword [0x1401a9250]
nop
mov ebx, 1
mov dword [rbp - 0x58], ebx
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
lea edx, [rbx + 2]
lea rcx, [rbp - 0x18]
call fcn.140057c70
nop
lea rdx, str.Enter
lea rcx, [rbp - 0x20]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.QrLogin::GetQrImage
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x27a
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x58], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.140057bc0
nop
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r15b
lea r8d, [r15 + 0xb]
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x38]
call fcn.140047980
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [0x1401a9e98]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x18]
call fcn.140055cb0
lea rcx, [rbp - 0x10]
call qword [0x1401a9120]
lea rcx, [rbp + 0x68]
call qword [0x1401a9198]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0x954]
cmp eax, 0x1f4
ja 0x14015fb8e
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1401706d2
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r13
lea rcx, [rbp + 0x68]
call qword [0x1401a9250]
nop
mov dword [rbp - 0x58], 7
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea r8d, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], r8d
lea edx, [rbx + 2]
lea rcx, [rbp - 0x18]
call fcn.140057c70
nop
lea rdx, str.Less_than
lea rcx, [rbp - 0x20]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x1f4
call qword [0x1401a9130]
mov rcx, rax
lea rdx, str._ms__GetQrImage_return.
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.QrLogin::GetQrImage
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x27d
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.140057bc0
nop
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r15b
lea r8d, [r15 + 0xb]
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x38]
call fcn.140047980
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call qword [0x1401a9e98]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x18]
call fcn.140055cb0
lea rcx, [rbp - 0x10]
call qword [0x1401a9120]
lea rcx, [rbp + 0x68]
call qword [0x1401a9198]
jmp 0x14015feda
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x954], eax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_0054af419e6e88326b064af4f591e784___void___.0
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
call qword [0x1401a83e8]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [0x1401a83e0]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14015fbe4
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
mov byte [rsp + 0x38], 0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140057dc0
nop
call qword [0x1401a93f0]
mov dword [rbp + 0x1354], 0xffffffff
mov dword [rbp - 0x2c], eax
mov rdx, rbx
nop dword [rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, ebx
mov dword [rbp + rdx*4 - 0x2c], eax
inc ebx
inc rdx
cmp rdx, 0x270
jl 0x14015fc10
mov dword [rbp - 0x30], 0x270
lea rcx, [rbp - 0x30]
call fcn.1400740c0
btr eax, 0x1f
mov edi, eax
movzx ebx, byte [rsi + 0x920]
call fcn.14008a0f0
mov dword [rax + 0x18c], edi
mov eax, 0x80051
mov r9d, 0x80023
test bl, bl
cmovne r9d, eax
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80025
lea edx, [rax - 0x51]
mov r8d, 0xc0000
lea rcx, [rsp + 0x38]
call fcn.14011ac70
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
mov byte [rbp - 0x58], 5
mov qword [rbp - 0x50], rdi
lea rdx, str.qrSeqNum
lea rcx, [rsp + 0x38]
call fcn.140059640
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x58]
mov byte [rax], cl
mov byte [rbp - 0x58], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x50]
mov qword [rax + 8], rdx
mov qword [rbp - 0x50], rcx
movzx edx, byte [rbp - 0x58]
lea rcx, [rbp - 0x50]
call fcn.140055ff0
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [rbp - 0x58], 6
mov eax, eax
mov qword [rbp - 0x50], rax
lea rdx, str.uiProcessId
lea rcx, [rsp + 0x38]
call fcn.140059640
nop
movzx edx, byte [rax]
movzx ecx, byte [rbp - 0x58]
mov byte [rax], cl
mov byte [rbp - 0x58], dl
mov rcx, qword [rax + 8]
mov rdx, qword [rbp - 0x50]
mov qword [rax + 8], rdx
mov qword [rbp - 0x50], rcx
movzx edx, byte [rbp - 0x58]
lea rcx, [rbp - 0x50]
call fcn.140055ff0
lea rdx, [rbp - 0x58]
lea rcx, [rsp + 0x38]
call fcn.140052230
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0x10
cmovae rdx, qword [rbp - 0x58]
lea rcx, [0x1402dd448]
cmp qword [0x1402dd460], 0x10
cmovae rcx, qword [0x1402dd448]
mov r9d, 0x30d40
mov r8, qword [0x1402f1c50]
call qword [0x1401a9e38]
lea rcx, [rbp - 0x58]
call fcn.140047920
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x30]
call fcn.1401706d2
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x20], r13
lea rcx, [rbp + 0x68]
call qword [0x1401a9250]
nop
mov dword [rbp - 0x58], 0x13
xor r8d, r8d
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x30]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
mov edx, 3
lea rcx, [rbp - 0x18]
call fcn.140057c70
nop
lea rdx, str.get_qr_IPC_send_ok
lea rcx, [rbp - 0x20]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.QrLogin::GetQrImage
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x297
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.140057bc0
nop
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rbp - 0x58]
call fcn.140047980
nop
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x58]
call qword [0x1401a9e98]
nop
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x18]
call fcn.140055cb0
lea rcx, [rbp - 0x10]
call qword [0x1401a9120]
lea rcx, [rbp + 0x68]
call qword [0x1401a9198]
nop
movzx edx, byte [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.140055ff0
mov rcx, qword [rbp + 0x1360]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret