Function at 0x140053780
Capabilities:
Check for time delay via queryperformancecounter
Generate random numbers via rtlgenrandom
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140327038]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rax, [0x1402e2670]
mov qword [rcx], rax
lea rax, [0x1402e2750]
mov qword [rcx + 8], rax
lea rax, [0x1402e2790]
mov qword [rcx + 0x10], rax
lea rax, [0x1402e3a10]
mov qword [rcx + 0x18], rax
mov rax, qword [rdx]
mov rax, qword [rax + 8]
mov qword [rcx + 0x20], rax
test rax, rax
je 0x1400537fc
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140053dcc
mov qword [rsi + 0x28], 2
mov rax, qword [rbx]
xor ecx, ecx
mov qword [rbx], rcx
mov qword [rsi + 0x30], rax
mov eax, dword [rdi]
mov dword [rsi + 0x38], eax
mov al, byte [rdi + 4]
mov byte [rsi + 0x3c], al
mov rax, qword [rdi + 8]
mov qword [rsi + 0x40], rax
mov qword [rdi + 8], rcx
movzx eax, word [rdi + 0x10]
mov word [rsi + 0x48], ax
movupd xmm0, xmmword [rdi + 0x18]
movupd xmmword [rsi + 0x50], xmm0
xorps xmm1, xmm1
cmp byte [rsi + 0x3c], 0
jne 0x140053dde
lea rcx, [rsi + 0x60]
call fcn.1400e2b70
movzx eax, byte [rsi + 0x48]
mov dword [rsi + 0x68], eax
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x140053dc5
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140053dcf
mov rdx, qword [rsi + 0x20]
mov qword [rsi + 0x70], rax
xorps xmm6, xmm6
movups xmmword [rsi + 0x78], xmm6
mov r15, qword [rsi + 0x40]
mov dword [rsi + 0x88], 0
movups xmmword [rsi + 0x90], xmm6
movups xmmword [rsi + 0xa0], xmm6
movups xmmword [rsi + 0xb0], xmm6
movups xmmword [rsi + 0xc0], xmm6
movups xmmword [rsi + 0xd0], xmm6
movups xmmword [rsi + 0xe0], xmm6
movups xmmword [rsi + 0xf0], xmm6
movups xmmword [rsi + 0xf9], xmm6
test rdx, rdx
je 0x1400538e6
mov eax, 1
lock xadd dword [rdx], eax
cmp eax, 0x7fffffff
je 0x140053dd2
lea r8, [rsi + 0x38]
lea r14, [rsi + 0x128]
movabs r13, 0xfffffffc00000000
mov rcx, r14
call fcn.1400e30b0
lea rax, [rsi + 0x1d0]
movups xmmword [rsi + 0x1b8], xmm6
xor ecx, ecx
mov qword [rsi + 0x1c8], rcx
mov qword [rsi + 0x1d0], rax
mov qword [rsi + 0x1d8], rax
mov qword [rsi + 0x1e0], rcx
mov dword [rsi + 0x1e8], ecx
lea rax, [rsi + 0x208]
movups xmmword [rsi + 0x1f0], xmm6
mov qword [rsi + 0x200], rcx
mov qword [rsi + 0x208], rax
mov qword [rsi + 0x210], rax
mov qword [rsi + 0x218], rcx
mov dword [rsi + 0x220], ecx
mov rax, r15
and rax, r13
cmp rax, qword [0x140336a08]
je 0x140053bfe
mov qword [rsi + 0x228], r15
mov qword [rsi + 0x230], 0
mov ecx, 0x40
call fcn.14013a6b4
mov r15, rax
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x1400539b5
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140053dd5
xorpd xmm0, xmm0
movupd xmmword [r15 + 0x1c], xmm0
movupd xmmword [r15 + 0x10], xmm0
mov qword [r15 + 0x30], rax
lea rax, [0x1402e3ae0]
mov qword [r15], rax
mov rax, rsi
and rax, r13
cmp rax, qword [0x140336a08]
je 0x140053c0b
mov qword [r15 + 0x38], rsi
mov qword [rsi + 0x238], r15
mov ecx, 0x38
call fcn.14013a6b4
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140053a19
mov edx, 1
lock xadd dword [rcx], edx
cmp edx, 0x7fffffff
je 0x140053dd8
xorpd xmm0, xmm0
movupd xmmword [rax + 0x1c], xmm0
movupd xmmword [rax + 0x10], xmm0
mov qword [rax + 0x30], rcx
lea rcx, [0x1402e3b00]
mov qword [rax], rcx
mov qword [rsi + 0x240], rax
mov byte [rsi + 0x248], 0
xor eax, eax
mov qword [rsi + 0x250], rax
lea rcx, [rsi + 0x260]
movupd xmmword [rsi + 0x260], xmm0
mov qword [rsi + 0x258], rcx
lea rcx, [rsi + 0x278]
movupd xmmword [rsi + 0x278], xmm0
mov qword [rsi + 0x270], rcx
mov word [rsi + 0x288], 0
lea rcx, [rsi + 0x2e0]
movupd xmmword [rsi + 0x290], xmm0
movupd xmmword [rsi + 0x2a0], xmm0
movupd xmmword [rsi + 0x2b0], xmm0
movupd xmmword [rsi + 0x2c0], xmm0
movupd xmmword [rsi + 0x2d0], xmm0
mov qword [rsi + 0x2e0], rcx
mov qword [rsi + 0x2e8], rcx
mov qword [rsi + 0x2f0], rax
mov dword [rsi + 0x2f8], 0
mov qword [rsi + 0x300], rax
cmp byte [rsi + 0x3c], 0
jne 0x140053c88
mov rax, qword [rsi + 0x40]
mov qword [rsi + 0x308], rax
mov ecx, 8
call fcn.14013a6b4
mov dword [rax], 0
mov byte [rax + 4], 0
mov qword [rsi + 0x310], rax
test rax, rax
je 0x140053b20
mov ecx, 1
lock xadd dword [rax], ecx
cmp ecx, 0x7fffffff
je 0x140053ddb
lea r15, [rsi + 0x10]
mov qword [rsi + 0x318], rsi
test byte [0x14032a2b0], 0x19
jne 0x140053cf5
lea r12, [rsi + 8]
mov rcx, r14
mov rdx, r15
call fcn.1400e3050
mov rax, qword [rsi + 0x308]
mov rax, qword [fcn.1400c65b0]
lea rcx, [0x140038c30]
lea r14, [rsp + 0x50]
cmp rax, rcx
je 0x140053c2a
mov rcx, r14
call qword [case.0x14017aab5.0]
mov rax, qword [r14]
lea rcx, [rax + 0x1c9c380]
sar rcx, 0x3f
btc rcx, 0x3f
add rax, 0x1c9c380
cmovo rax, rcx
mov qword [rsi + 0x250], rax
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
mov rdx, r12
call qword [case.0x14017aab5.0]
mov r14, qword [rbx]
mov qword [rbx], 0
test r14, r14
jne 0x140053c18
mov rcx, qword [rdi + 8]
and r13, rcx
cmp r13, qword [0x140336a08]
je 0x140053bf7
mov qword [rdi + 8], 0
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14013d520
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.14010fab2
jmp 0x140053bca
mov rcx, r15
call fcn.14010ecc8
jmp 0x140053978
mov rcx, rsi
call fcn.14010ecc8
jmp 0x1400539e6
mov rcx, r14
call fcn.14012d5c0
mov rcx, r14
call fcn.14013a6ac
jmp 0x140053bba
mov qword [r14], 0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r14]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140053c61
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
jmp 0x140053b76
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140053b76
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x50]
mov qword [rcx], r15
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140053e44
lea rcx, [rsp + 0x50]
mov r12, qword [rcx]
mov qword [rcx], r15
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140053e47
mov rax, qword [rsp + 0x50]
cmp byte [rsi + 0x108], 0
mov qword [rsi + 0x110], r12
mov qword [rsi + 0x118], rax
jne 0x140053ae0
mov byte [rsi + 0x108], 1
jmp 0x140053ae0
mov rax, qword [0x14032a8e8]
lea rcx, [0x140038c30]
cmp rax, rcx
jne 0x140053db8
lea r12, [rsp + 0x50]
mov qword [r12], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r12]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jl 0x140053d59
mov rcx, qword [0x14033afc8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140053d69
imul rax, rax, 0xf4240
cqo
idiv qword [0x14033afc8]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x48], 0x800
lea rdx, [0x14032a2b0]
lea r8, [0x1402fc290]
mov cl, 0x4e
xor r9d, r9d
call fcn.140189ab0
jmp 0x140053b38
lea rcx, [rsp + 0x50]
call qword [case.0x14017aab5.0]
jmp 0x140053d6e
xor edx, edx
jmp 0x14005387c
int3
int3
int3
int3
int3
int3
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rcx, [rsp + 0x50]
mov qword [rcx], rax
mov edx, 8
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x140053e41
movabs rax, 0x1fffffffffffff
and rax, qword [rsp + 0x50]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mov edx, 0xffffffcb
call fcn.14015f0ec
movsd xmm1, qword [0x1402d3b30]
xor eax, eax
ucomisd xmm1, xmm0
seta al
lea rcx, [0x1402fc280]
movsd xmm1, qword [rcx + rax*8]
jmp 0x140053846
int3
int3
int3