Function at 0x140328c10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x14046a618]
mov ebx, ecx
cmp dword [rax + 0x160], 0
je 0x140328c52
lea rcx, str.E994:_Not_allowed_in_a_popup_window
call qword [case.0x1400407ae.0]
mov rbx, rax
call fcn.140182a30
test eax, eax
jne 0x140329001
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140182400
mov rax, qword [0x14046a5f8]
cmp qword [0x14046a5e8], rax
jne 0x140328c85
cmp dword [0x14045b404], 0
jne 0x140329001
xor ecx, ecx
call fcn.140122f90
mov ecx, 0x40
add rsp, 0x20
pop rbx
jmp fcn.14018aca0
call fcn.1400fffc0
test eax, eax
jne 0x140328c62
mov r11, qword [0x14046a618]
mov rax, qword [r11 + 0x30]
test ebx, ebx
je 0x140328cc5
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x30]
test r8, r8
je 0x140329001
nop
dec ebx
test ebx, ebx
jle 0x140328cdb
mov r8, qword [r8 + 0x20]
test r8, r8
jne 0x140328cb0
add rsp, 0x20
pop rbx
ret
mov r8, qword [rax + 0x20]
test r8, r8
jne 0x140328cdb
mov r8, qword [rax + 0x28]
test r8, r8
je 0x140329001
mov rbx, qword [r8 + 0x38]
test rbx, rbx
je 0x140329001
cmp rbx, r11
je 0x140329001
mov rax, qword [r11 + 0x30]
mov r10, qword [r11 + 0x10]
mov qword [rsp + 0x30], rsi
mov rsi, qword [0x14046a5f0]
mov qword [rsp + 0x38], rdi
mov rdi, qword [rax + 0x28]
cmp qword [rbx + 0x10], r11
je 0x140328dcf
mov r9, qword [r11 + 0x18]
test r10, r10
je 0x140328d2e
mov qword [r10 + 0x18], r9
mov r9, qword [0x14046a5e8]
jmp 0x140328d39
mov qword [rsi + 0x20], r9
mov qword [0x14046a5e8], r9
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 0x10]
test rcx, rcx
je 0x140328d4c
mov qword [rcx + 0x10], rax
jmp 0x140328d57
mov qword [rsi + 0x28], rax
mov qword [0x14046a5f8], rax
mov rcx, qword [r11 + 0x30]
call fcn.140324710
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x140328d80
mov rax, r9
mov qword [r11 + 0x10], rcx
mov qword [r11 + 0x18], rax
mov r9, r11
mov qword [0x14046a5e8], r11
jmp 0x140328d90
mov rax, qword [rcx + 0x18]
mov qword [r11 + 0x18], rax
mov qword [r11 + 0x10], rcx
mov qword [rcx + 0x18], r11
test rax, rax
jne 0x140328d9e
mov qword [0x14046a5f8], r11
jmp 0x140328da2
mov qword [rax + 0x10], r11
mov rcx, qword [r11 + 0x30]
mov qword [rcx + 0x20], r8
mov rax, qword [r8 + 0x28]
mov qword [rcx + 0x28], rax
mov qword [r8 + 0x28], rcx
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x140328dc5
mov qword [rax + 0x20], rcx
jmp 0x140328dd6
mov rax, qword [rcx + 0x18]
mov qword [rax + 0x30], rcx
jmp 0x140328dd6
mov r9, qword [0x14046a5e8]
cmp rbx, r10
je 0x140328eb6
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
test rcx, rcx
je 0x140328df2
mov qword [rcx + 0x18], rax
jmp 0x140328e00
mov qword [rsi + 0x20], rax
mov r9, rax
mov qword [0x14046a5e8], rax
mov rcx, qword [rbx + 0x18]
mov rax, qword [rbx + 0x10]
test rcx, rcx
je 0x140328e13
mov qword [rcx + 0x10], rax
jmp 0x140328e1e
mov qword [rsi + 0x28], rax
mov qword [0x14046a5f8], rax
mov rcx, qword [rbx + 0x30]
call fcn.140324710
test r10, r10
jne 0x140328e3d
mov qword [rbx + 0x18], r9
mov qword [rbx + 0x10], r10
mov qword [0x14046a5e8], rbx
jmp 0x140328e4d
mov r9, qword [r10 + 0x18]
mov qword [rbx + 0x18], r9
mov qword [rbx + 0x10], r10
mov qword [r10 + 0x18], rbx
test r9, r9
jne 0x140328e5b
mov qword [0x14046a5f8], rbx
jmp 0x140328e5f
mov qword [r9 + 0x10], rbx
mov rdx, qword [rbx + 0x30]
test rdi, rdi
jne 0x140328e99
mov rax, qword [rdx + 0x18]
mov rcx, qword [rax + 0x30]
mov qword [rdx + 0x20], rcx
mov rax, qword [rcx + 0x28]
mov qword [rdx + 0x28], rax
mov qword [rcx + 0x28], rdx
mov rax, qword [rdx + 0x28]
test rax, rax
je 0x140328e8f
mov qword [rax + 0x20], rdx
jmp 0x140328eb6
mov rax, qword [rdx + 0x18]
mov qword [rax + 0x30], rdx
jmp 0x140328eb6
mov rax, qword [rdi + 0x20]
mov qword [rdx + 0x20], rax
mov qword [rdi + 0x20], rdx
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x140328eb2
mov qword [rax + 0x28], rdx
mov qword [rdx + 0x28], rdi
mov eax, dword [rbx + 0x12c]
mov ecx, dword [r11 + 0x12c]
mov dword [r11 + 0x12c], eax
mov eax, dword [rbx + 0x138]
mov dword [rbx + 0x12c], ecx
mov ecx, dword [r11 + 0x138]
mov dword [r11 + 0x138], eax
mov dword [rbx + 0x138], ecx
mov ecx, dword [r11 + 0x3a8]
add ecx, dword [r11 + 0x12c]
add ecx, dword [r11 + 0x120]
mov rax, qword [r11 + 0x30]
mov dword [rax + 0xc], ecx
mov ecx, dword [rbx + 0x3a8]
add ecx, dword [rbx + 0x120]
add ecx, dword [rbx + 0x12c]
mov rax, qword [rbx + 0x30]
mov dword [rax + 0xc], ecx
mov rax, qword [r11 + 0x30]
mov ecx, dword [r11 + 0x138]
add ecx, dword [r11 + 0x134]
mov dword [rax + 4], ecx
mov ecx, dword [rbx + 0x134]
mov rax, qword [rbx + 0x30]
add ecx, dword [rbx + 0x138]
mov dword [rax + 4], ecx
call fcn.14032e850
mov r10, qword [0x14045b410]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
cmp qword [rbx + 8], r10
je 0x140328f6a
call fcn.1401aab70
jmp 0x140328f85
cmp dword [0x14045b480], 0
je 0x140328f85
movsd xmm0, qword [r11 + 0x38]
movsd qword [rbx + 0x38], xmm0
mov eax, dword [r11 + 0x40]
mov dword [rbx + 0x40], eax
mov edx, 0x19
mov rcx, rbx
call fcn.140325390
mov rax, qword [0x14046a5e8]
mov edx, dword [0x14045b4f4]
mov ecx, dword [0x14045b4d4]
test rax, rax
je 0x140328fee
mov r8d, dword [0x14045b548]
xor r9d, r9d
test r8d, r8d
jne 0x140328fdf
test edx, edx
jne 0x140328fdf
cmp dword [rax + 0x33c], 0x28
jge 0x140328fdf
mov dword [rax + 0x33c], 0x28
mov dword [rax + 0x300], r9d
cmp ecx, 0x28
jge 0x140328fdf
lea ecx, [rdx + 0x28]
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140328fb4
mov dword [0x14045b4d4], ecx
test edx, edx
jne 0x140329001
cmp ecx, 0x28
jge 0x140329001
mov dword [0x14045b4d4], 0x28
add rsp, 0x20
pop rbx
ret