Function at 0x140017610
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1610]
mov eax, 0x1710
call fcn.14005f310
sub rsp, rax
mov rax, qword [0x1400b5200]
xor rax, rsp
mov qword [rbp + 0x1608], rax
mov r14, rcx
xor r13d, r13d
mov ecx, 1
call fcn.1400204e0
mov dword [rbp + 0x15f0], 0x390038
mov dword [rbp + 0x15f4], 0x370041
mov dword [rbp + 0x15f8], 0x450032
mov dword [rbp + 0x15fc], 0x300046
mov dword [rbp + 0x1600], 0x31
lea rdx, [rbp + 0x15f0]
lea rcx, [rbp - 0x68]
call fcn.140026490
nop
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
test al, al
jne 0x1400176d3
mov ecx, 2
call fcn.140068518
mov rcx, rax
lea rdx, str.Cant_lock_synchronize_n
call fcn.140017590
mov r12d, 1
jmp 0x1400181fd
lea rcx, [rsp + 0x78]
call fcn.140025a60
nop
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x18]
test al, al
je 0x1400176f8
mov r12d, 2
jmp 0x1400181e8
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x100], r13
mov qword [rbp + 0x108], r13
mov qword [rbp + 0x110], r13
mov ecx, 0x10
call fcn.14005e4a0
mov qword [rax + 8], r13
mov qword [rbp + 0xf0], rax
lea rcx, [rbp + 0xf0]
mov qword [rax], rcx
mov qword [rbp + 0x118], r13
mov qword [rbp + 0x120], r13
mov qword [rbp + 0x128], r13
mov qword [rbp + 0x130], r13
mov qword [rbp + 0x138], r13
mov ecx, 0x10
call fcn.14005e4a0
mov qword [rax + 8], r13
mov qword [rbp + 0x118], rax
lea rcx, [rbp + 0x118]
mov qword [rax], rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x158], xmm0
movups xmmword [rbp + 0x168], xmm0
movups xmmword [rbp + 0x178], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x148], xmm1
mov dword [rbp + 0x188], 0xffffffff
mov r12d, 2
mov dword [rbp + 0x140], r12d
mov dword [rbp + 0x18c], r13d
lea rcx, [rbp + 0x190]
call fcn.14003d354
nop
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], r13
mov qword [rbp - 0x20], 0x14
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x1e0]
call fcn.140018e80
mov byte [rbp + 0x1d8], 1
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_56afa3ecc4b99decf72c845ffdb15239___bool__struct_WalkerItem_const____ptr64_.0
mov qword [rbp + 0xb0], rax
lea rax, [rbp + 0xb0]
mov qword [rbp + 0xe8], rax
mov rbx, qword [rbp + 0x1e8]
cmp rbx, qword [rbp + 0x1f0]
je 0x1400178a2
mov qword [rbx + 0x38], r13
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140017898
lea rax, [rbp + 0xb0]
cmp rcx, rax
jne 0x14001788a
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + 8]
mov qword [rbx + 0x38], rax
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x140017898
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, r13
mov qword [rbp + 0xe8], rcx
add qword [rbp + 0x1e8], 0x40
jmp 0x1400178bf
mov qword [rbx + 0x38], rcx
mov rcx, r13
mov qword [rbp + 0xe8], rcx
add qword [rbp + 0x1e8], 0x40
jmp 0x1400178bf
lea r8, [rbp + 0xb0]
mov rdx, rbx
lea rcx, [rbp + 0x1e0]
call fcn.1400199a0
mov rcx, qword [rbp + 0xe8]
test rcx, rcx
je 0x1400178d7
mov rax, qword [rcx]
lea rdx, [rbp + 0xb0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rsi, r13
mov qword [rbp - 0x70], r13
movups xmmword [rbp + 0x200], xmm0
movups xmmword [rbp + 0x210], xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x220], xmm1
movups xmmword [rbp + 0x230], xmm1
xor eax, eax
movups xmmword [rbp + 0x240], xmm0
mov qword [rbp + 0x250], rax
mov byte [rbp + 0x258], al
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
imul ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
imul ecx, ebx
rdtsc
shl rdx, 0x20
or rax, rdx
imul eax, ecx
imul eax, dword [rsp + 0x30]
mov dword [rsp + 0x54], eax
mov r9d, r12d
mov r8d, 4
lea rdx, [rsp + 0x54]
xor ecx, ecx
call qword [sym.imp.bcrypt.dll_BCryptGenRandom]
test eax, eax
jns 0x14001798a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea r8, [rsp + 0x60]
call fcn.14001a1c0
mov ecx, dword [rsp + 0x54]
call fcn.140034210
mov eax, dword [rsp + 0x54]
mov dword [rbp + 0x25c], eax
lea rcx, [rbp + 0x200]
call fcn.14000c360
test al, al
jne 0x1400179d7
mov ecx, r12d
call fcn.140068518
mov rcx, rax
lea rdx, str.Cant_init_crypto_session_n
call fcn.140017590
mov r12d, 1
mov rbx, qword [rbp - 0x78]
mov r14, qword [rbp - 0x80]
jmp 0x140018150
mov rcx, qword [0x1400b5e90]
lea r15, [0x1400b5e80]
cmp rcx, 0x40
jb 0x140017a0f
mov qword [0x1400b5e90], 0x40
mov rax, r15
cmp qword [0x1400b5e98], 0xf
cmova rax, qword [0x1400b5e80]
mov byte [rax + 0x40], 0
jmp 0x140017a6f
mov edi, 0x40
sub rdi, rcx
mov rdx, qword [0x1400b5e98]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140017a59
mov qword [0x1400b5e90], 0x40
mov rbx, r15
cmp rdx, 0xf
cmova rbx, qword [0x1400b5e80]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call fcn.140087b80
mov byte [rdi + rbx], 0
jmp 0x140017a6f
mov byte [rsp + 0x20], 0
mov r9, rdi
xor r8d, r8d
mov rdx, rdi
mov rcx, r15
call fcn.140002280
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r13
lea r8, [rsp + 0x50]
mov edx, 0x20
lea rcx, [rsp + 0x30]
call fcn.140016d00
mov rbx, qword [rsp + 0x30]
movaps xmm0, xmmword [rbp + 0x200]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [rbp + 0x210]
movups xmmword [rbx + 0x10], xmm1
lea rdx, [rbx + 0xc]
mov dword [rsp + 0x60], r13d
mov r8d, 0x14
lea rcx, [rsp + 0x60]
call fcn.140020420
cmp qword [0x1400b5e98], 0xf
cmova r15, qword [0x1400b5e80]
mov edx, dword [rsp + 0x38]
sub edx, ebx
mov r8, r15
mov rcx, rbx
call fcn.14001ee60
nop
test rbx, rbx
je 0x140017b20
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140017b18
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018267
mov rcx, rbx
call fcn.14005e4dc
lea rcx, [rbp + 0x88]
call fcn.14001d6e0
nop
lea rcx, [rbp + 0x640]
call fcn.1400248e0
nop
lea rdx, [rbp + 0x640]
lea rcx, [rbp + 0x3a0]
call fcn.1400112e0
nop
cmp dword [rbp + 0x590], 0
jne 0x140017c03
mov byte [rbp + 0x598], 1
mov rdx, r12
lea rcx, [rbp + 0x260]
call fcn.140023e00
nop
lea rax, [rbp + 0x260]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x3a0]
mov qword [rsp + 0x38], rax
mov ecx, 0x10
call fcn.14005e4a0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax], xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140016b60]
xor edx, edx
xor ecx, ecx
call fcn.14006b988
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140018279
cmp dword [rbp + 0x590], 0
jne 0x140018273
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x588], xmm1
lea rcx, [rbp + 0x260]
call fcn.140023e70
nop
lea rcx, [rbp + 0x2b0]
call fcn.140005c20
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_3edd0cabd3fe21553d0e373a492b6efc___void___.0
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x3a0]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x640]
call fcn.140024af0
lea rcx, [rbp + 0x68]
call fcn.140001300
nop
mov rax, qword [r14 + 0x18]
cmp qword [r14 + 0x10], rax
jne 0x140017c7e
call fcn.140025e80
lea rcx, [rsp + 0x30]
call fcn.140025cb0
nop
mov r9, qword [rsp + 0x38]
mov r8, qword [rsp + 0x30]
sub r9, r8
sar r9, 5
mov rdx, qword [r14 + 0x18]
lea rcx, [r14 + 0x10]
call fcn.1400192d0
nop
lea rcx, [rsp + 0x30]
call fcn.140004200
mov edx, dword [r14 + 8]
lea rcx, [rbp + 0xec0]
call fcn.14000f040
nop
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_8474572a91047f0564182ca5e361ef14___void__struct_WalkerItem_.0
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0xf0]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x28]
mov qword [rbp + 0x60], rax
lea rdx, [r14 + 0x10]
lea rcx, [rbp - 0x60]
call fcn.140003d40
nop
lea r8, [rbp + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140026250
nop
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, vtable.std::_Func_impl_no_alloc_class__lambda_72d1e3d479cf596c201a62475718359b___enum_WalkerFilter__struct_WalkerItem_const____ptr64_.0
mov qword [rbp - 0x18], rdx
lea rdx, [rbp + 0xec0]
mov qword [rbp - 0x10], rdx
lea rdx, [rbp - 0x18]
mov qword [rbp + 0x20], rdx
lea rdx, [rbp - 0x18]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, vtable.std::_Func_impl_no_alloc_class__lambda_9552c67f3c339e524127f6b53b455477___enum_WalkerFilter__struct_WalkerItem_const____ptr64_.0
mov qword [rbp - 0x18], rdx
lea rdx, [rbp + 0x68]
mov qword [rbp - 0x10], rdx
lea rdx, [rbp - 0x18]
mov qword [rbp + 0x20], rdx
lea rdx, [rbp - 0x18]
call qword [rax + 0x20]
movsxd rax, dword [r14]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140017d5f
movabs rcx, 0xfffffffffffffff
cmp rax, rcx
ja 0x14001826d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140018d00
mov rsi, qword [rbp - 0x70]
mov eax, dword [r14]
inc eax
movsxd rdx, eax
lea rcx, [rbp + 0x300]
call fcn.140023e00
nop
mov edi, r13d
mov rbx, qword [rbp - 0x78]
cmp dword [r14], r13d
jle 0x140017e3b
lea rax, [rbp + 0x300]
mov qword [rbp - 0x60], rax
lea rax, [rbp + 0x200]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0xf0]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r14
lea rax, [rbp + 0x640]
mov qword [rbp - 0x40], rax
cmp rbx, rsi
je 0x140017e18
mov ecx, 0x28
call fcn.14005e4a0
movups xmm0, xmmword [rbp - 0x60]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x50]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [rbp - 0x40]
movsd qword [rax + 0x20], xmm0
mov qword [rsp + 0x30], rax
lea r15, [rbx + 8]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x140019eb0]
xor edx, edx
xor ecx, ecx
call fcn.14006b988
mov qword [rbx], rax
test rax, rax
je 0x140018289
add rbx, 0x10
mov qword [rbp - 0x78], rbx
jmp 0x140017e30
lea r8, [rbp - 0x60]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.140019700
mov rsi, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
inc edi
cmp edi, dword [r14]
jl 0x140017d84
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rbp + 0x300]
call fcn.140023e70
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
lea rcx, [rbp + 0x140]
call fcn.140043040
test eax, eax
jne 0x140018249
mov eax, dword [rbp + 0x18c]
cmp eax, 0x7fffffff
je 0x140018254
cmp qword [rbp + 0x110], 0
jne 0x140017e96
cmp qword [rbp + 0x138], 0
je 0x140017ec2
lea rcx, [rbp + 0x140]
call fcn.140043048
mov ecx, 0x32
call fcn.140026050
lea rcx, [rbp + 0x140]
call fcn.140043040
test eax, eax
jne 0x140018249
jmp 0x140017e71
lea rcx, [rbp + 0x140]
call fcn.140043048
lea rcx, [rbp + 0xf0]
call fcn.140018bd0
mov r14, qword [rbp - 0x80]
mov rdi, r14
cmp r14, rbx
je 0x140017f29
cmp dword [rdi + 8], 0
je 0x1400182a6
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + 8], eax
je 0x140018249
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x30], xmm0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400433f4
test eax, eax
jne 0x14001829d
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
add rdi, 0x10
cmp rdi, rbx
jne 0x140017ee6
lea rcx, [rbp + 0x3a0]
call fcn.140013ef0
mov r12d, r13d
lea rcx, [rbp + 0x350]
call fcn.140005c20
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140017f5a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
lea r9, [fcn.140001a60]
mov edx, 0x20
mov r8d, 6
lea rcx, [rbp + 0x1528]
call fcn.14005e630
nop
lea r9, [fcn.140001a60]
mov edx, 0x20
mov r8d, 0x2f
lea rcx, [rbp + 0xf48]
call fcn.14005e630
nop
lea rcx, [rbp + 0xf08]
call fcn.14000f5d0
lea rcx, [rbp + 0xec8]
call fcn.14000f5d0
nop
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140017fef
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017fea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140018297
call fcn.14005e4dc
mov qword [rbp + 0x78], r13
mov qword [rbp + 0x80], 0xf
mov byte [rbp + 0x68], 0
lea rcx, [rbp + 0x3a0]
call fcn.140013ef0
lea rcx, [rbp + 0x5f8]
call fcn.140005c20
cmp dword [rbp + 0x590], 0
jne 0x1400182b1
lea rcx, [rbp + 0x3a0]
call fcn.1400119d0
nop
mov rcx, qword [rbp + 0xea0]
test rcx, rcx
je 0x1400180d1
mov r15, qword [rbp + 0xea8]
cmp rcx, r15
je 0x140018087
lea rdi, [rcx + 0x38]
mov rcx, qword [rdi]
test rcx, rcx
je 0x140018073
mov rax, qword [rcx]
mov r8, qword [rax + 0x20]
lea rax, [rdi - 0x38]
cmp rcx, rax
setne dl
call r8
mov qword [rdi], r13
add rdi, 0x40
lea rax, [rdi - 0x38]
cmp rax, r15
jne 0x140018054
mov rcx, qword [rbp + 0xea0]
mov rdx, qword [rbp + 0xeb0]
sub rdx, rcx
and rdx, 0xffffffffffffffc0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400180ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400182b7
call fcn.14005e4dc
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xea0], xmm0
mov qword [rbp + 0xeb0], r13
lea r9, [fcn.140001a60]
mov edx, 0x28
mov r8d, 0x35
lea rcx, [rbp + 0x658]
call fcn.14005e630
nop
mov rdx, qword [rbp + 0xa0]
cmp rdx, 7
jbe 0x140018136
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140018131
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400182bd
call fcn.14005e4dc
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xa0], 7
mov word [rbp + 0x88], r13w
test r14, r14
je 0x1400181ab
mov rax, r14
cmp r14, rbx
je 0x140018173
nop dword [rax]
cmp dword [rax + 8], 0
jne 0x140018243
add rax, 0x10
cmp rax, rbx
jne 0x140018160
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14001819f
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400182c3
mov rdx, rsi
mov rcx, r14
call fcn.14005e4dc
nop
lea rcx, [rbp + 0xf0]
call fcn.140018bd0
lea rcx, [rbp + 0x1e0]
call fcn.140018a20
lea rcx, [rbp + 0x190]
call fcn.140005c20
lea rcx, [rbp + 0x118]
call fcn.140018ae0
lea rcx, [rbp + 0xf0]
call fcn.140018ae0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400181fd
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
nop
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140018210
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov eax, r12d
mov rcx, qword [rbp + 0x1608]
xor rcx, rsp
call fcn.14005e480
lea r11, [rsp + 0x1710]
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
call fcn.14006ba70
nop
mov ecx, 5
call fcn.14003d4dc
int3
dec eax
mov dword [rbp + 0x18c], eax
mov ecx, 6
call fcn.14003d4dc
nop
call fcn.1400645e4
nop
call fcn.140006630
nop
call fcn.14006ba70
nop
mov dword [rsp + 0x68], r13d
mov ecx, 6
call fcn.14003d4dc
nop
mov dword [r15], r13d
mov ecx, 6
call fcn.14003d4dc
nop
call fcn.1400645e4
nop
mov ecx, r12d
call fcn.14003d4dc
int3
mov ecx, 1
call fcn.14003d4dc
nop
call fcn.14006ba70
nop
call fcn.1400645e4
nop
call fcn.1400645e4
nop
call fcn.1400645e4
int3