Function at 0x140328b30
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 0x140328b72
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 0x140328f21
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140182400
mov rax, qword [0x14046a5f8]
cmp qword [0x14046a5e8], rax
jne 0x140328ba5
cmp dword [0x14045b404], 0
jne 0x140328f21
xor ecx, ecx
call fcn.140122f90
mov ecx, 0x40
add rsp, 0x20
pop rbx
jmp fcn.14018aca0
call fcn.1400fffc0
test eax, eax
jne 0x140328b82
mov r11, qword [0x14046a618]
mov rax, qword [r11 + 0x30]
test ebx, ebx
je 0x140328be5
mov rcx, qword [rax + 0x18]
mov r8, qword [rcx + 0x30]
test r8, r8
je 0x140328f21
nop
dec ebx
test ebx, ebx
jle 0x140328bfb
mov r8, qword [r8 + 0x20]
test r8, r8
jne 0x140328bd0
add rsp, 0x20
pop rbx
ret
mov r8, qword [rax + 0x20]
test r8, r8
jne 0x140328bfb
mov r8, qword [rax + 0x28]
test r8, r8
je 0x140328f21
mov rbx, qword [r8 + 0x38]
test rbx, rbx
je 0x140328f21
cmp rbx, r11
je 0x140328f21
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 0x140328cef
mov r9, qword [r11 + 0x18]
test r10, r10
je 0x140328c4e
mov qword [r10 + 0x18], r9
mov r9, qword [0x14046a5e8]
jmp 0x140328c59
mov qword [rsi + 0x20], r9
mov qword [0x14046a5e8], r9
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 0x10]
test rcx, rcx
je 0x140328c6c
mov qword [rcx + 0x10], rax
jmp 0x140328c77
mov qword [rsi + 0x28], rax
mov qword [0x14046a5f8], rax
mov rcx, qword [r11 + 0x30]
call fcn.140324630
mov rcx, qword [rbx + 0x10]
test rcx, rcx
jne 0x140328ca0
mov rax, r9
mov qword [r11 + 0x10], rcx
mov qword [r11 + 0x18], rax
mov r9, r11
mov qword [0x14046a5e8], r11
jmp 0x140328cb0
mov rax, qword [rcx + 0x18]
mov qword [r11 + 0x18], rax
mov qword [r11 + 0x10], rcx
mov qword [rcx + 0x18], r11
test rax, rax
jne 0x140328cbe
mov qword [0x14046a5f8], r11
jmp 0x140328cc2
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 0x140328ce5
mov qword [rax + 0x20], rcx
jmp 0x140328cf6
mov rax, qword [rcx + 0x18]
mov qword [rax + 0x30], rcx
jmp 0x140328cf6
mov r9, qword [0x14046a5e8]
cmp rbx, r10
je 0x140328dd6
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 0x18]
test rcx, rcx
je 0x140328d12
mov qword [rcx + 0x18], rax
jmp 0x140328d20
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 0x140328d33
mov qword [rcx + 0x10], rax
jmp 0x140328d3e
mov qword [rsi + 0x28], rax
mov qword [0x14046a5f8], rax
mov rcx, qword [rbx + 0x30]
call fcn.140324630
test r10, r10
jne 0x140328d5d
mov qword [rbx + 0x18], r9
mov qword [rbx + 0x10], r10
mov qword [0x14046a5e8], rbx
jmp 0x140328d6d
mov r9, qword [r10 + 0x18]
mov qword [rbx + 0x18], r9
mov qword [rbx + 0x10], r10
mov qword [r10 + 0x18], rbx
test r9, r9
jne 0x140328d7b
mov qword [0x14046a5f8], rbx
jmp 0x140328d7f
mov qword [r9 + 0x10], rbx
mov rdx, qword [rbx + 0x30]
test rdi, rdi
jne 0x140328db9
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 0x140328daf
mov qword [rax + 0x20], rdx
jmp 0x140328dd6
mov rax, qword [rdx + 0x18]
mov qword [rax + 0x30], rdx
jmp 0x140328dd6
mov rax, qword [rdi + 0x20]
mov qword [rdx + 0x20], rax
mov qword [rdi + 0x20], rdx
mov rax, qword [rdx + 0x20]
test rax, rax
je 0x140328dd2
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.14032e770
mov r10, qword [0x14045b410]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
cmp qword [rbx + 8], r10
je 0x140328e8a
call fcn.1401aab70
jmp 0x140328ea5
cmp dword [0x14045b480], 0
je 0x140328ea5
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.1403252b0
mov rax, qword [0x14046a5e8]
mov edx, dword [0x14045b4f4]
mov ecx, dword [0x14045b4d4]
test rax, rax
je 0x140328f0e
mov r8d, dword [0x14045b548]
xor r9d, r9d
test r8d, r8d
jne 0x140328eff
test edx, edx
jne 0x140328eff
cmp dword [rax + 0x33c], 0x28
jge 0x140328eff
mov dword [rax + 0x33c], 0x28
mov dword [rax + 0x300], r9d
cmp ecx, 0x28
jge 0x140328eff
lea ecx, [rdx + 0x28]
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x140328ed4
mov dword [0x14045b4d4], ecx
test edx, edx
jne 0x140328f21
cmp ecx, 0x28
jge 0x140328f21
mov dword [0x14045b4d4], 0x28
add rsp, 0x20
pop rbx
ret