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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x558]
sub rsp, 0x630
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov rdi, rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
cmp edx, 0x64
jne 0x1400994b0
add rcx, 0x78
lea rdx, str.btn_twologin_getauthcode
call qword [0x1401a8ed0]
mov rsi, rax
test rax, rax
je 0x14009984c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [rdi + 0x948]
cmp ecx, 0xea60
jbe 0x14009925c
mov rcx, rdi
call qword [0x1401a87d0]
mov rcx, rax
lea edx, [r13 + 0x64]
call qword [sym.imp.USER32.dll_KillTimer]
lea r8d, [r13 - 1]
lea rdx, str.bindIDS_BTN_GET_AUTHCODE
lea rcx, [rbp + 0x220]
call qword [0x1401a8210]
nop
call qword [0x1401a8eb0]
mov rbx, rax
mov rdi, qword [rax]
lea rcx, [rbp + 0x220]
call qword [0x1401a8200]
mov r8, rax
lea rdx, [rbp + 0x3a0]
mov rcx, rbx
call qword [rdi + 0x18]
nop
mov rbx, qword [rsi]
lea rcx, [rbp + 0x3a0]
call qword [0x1401a82a0]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x58]
mov rax, qword [rsi]
mov dl, 1
mov rcx, rsi
call qword [rax + 0x268]
nop
lea rcx, [rbp + 0x3a0]
call qword [0x1401a8208]
nop
lea rcx, [rbp + 0x220]
call qword [0x1401a8208]
jmp 0x14009984c
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov ebx, 0x3c
sub ebx, edx
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x2b0]
call fcn.1401706d2
lea rcx, [rbp + 0x2b0]
call fcn.14009dc90
nop
call qword [0x1401a8eb0]
mov r8, qword [rax]
mov ecx, ebx
xorps xmm2, xmm2
cvtsi2sd xmm2, rcx
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [r8 + 0x68]
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400992bc
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.1400808a0
nop
lea rcx, [rsp + 0x28]
call fcn.1400524a0
mov r8d, 0xffffffff
lea rdx, [0x140230138]
lea rcx, [rbp + 0x70]
call qword [0x1401a8210]
mov rdi, rax
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
mov dword [rsp + 0x20], 2
mov rcx, qword [rbp + 0x328]
test cl, 2
jne 0x140099345
mov rax, qword [rbp + 0x2f8]
mov r8, qword [rax]
test r8, r8
je 0x140099345
mov rax, qword [rbp + 0x2d8]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x320]
cmovb r8, qword [rbp + 0x320]
sub r8, rdx
jmp 0x140099376
test cl, 4
jne 0x140099384
mov rax, qword [rbp + 0x2f0]
mov rcx, qword [rax]
test rcx, rcx
je 0x140099384
mov rax, qword [rbp + 0x2d0]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x308]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x28]
call fcn.140053f60
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8d, 0xffffffff
lea rcx, [rbp - 0x20]
call qword [0x1401a8210]
mov rbx, rax
mov r8d, 0xffffffff
lea rdx, [0x140228ddc]
lea rcx, [rsp + 0x50]
call qword [0x1401a8210]
nop
mov r8, rbx
lea rdx, [rbp + 0x3a0]
mov rcx, rax
call qword [0x1401a8820]
nop
mov r8, rdi
lea rdx, [rbp + 0x220]
mov rcx, rax
call qword [0x1401a8820]
nop
lea rcx, [rbp + 0x3a0]
call qword [0x1401a8208]
nop
lea rcx, [rsp + 0x50]
call qword [0x1401a8208]
nop
lea rcx, [rbp - 0x20]
call qword [0x1401a8208]
nop
lea rcx, [rsp + 0x28]
call fcn.1400524a0
nop
lea rcx, [rbp + 0x70]
call qword [0x1401a8208]
mov rbx, qword [rsi]
lea rcx, [rbp + 0x220]
call qword [0x1401a82a0]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x58]
mov rax, qword [rsi]
xor edx, edx
mov rcx, rsi
call qword [rax + 0x268]
nop
lea rcx, [rbp + 0x220]
call qword [0x1401a8208]
nop
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x2b0], rax
mov rax, qword [rbp + 0x2b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x2ac], edx
lea rcx, [rbp + 0x2b8]
call fcn.14006f390
lea rcx, [rbp + 0x2c0]
call qword [0x1401a9548]
lea rcx, [rbp + 0x338]
jmp 0x140099846
cmp edx, 0x4c8
jne 0x14009984c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rdi + 0xa38]
cmp eax, 0xea60
jb 0x14009958d
mov rcx, rdi
call qword [0x1401a87d0]
mov rcx, rax
mov edx, 0x4c8
call qword [sym.imp.USER32.dll_KillTimer]
mov dword [rdi + 0xa38], r13d
lea rcx, [rdi + 0x78]
lea rdx, str.msg_ok_v2
call qword [0x1401a8ed0]
mov rsi, rax
test rax, rax
je 0x14009984c
mov r8d, 0xffffffff
lea rdx, str.bindIDS_BTN_CONFIRM_TEXT
lea rcx, [rbp + 0x3a0]
call qword [0x1401a8210]
nop
call qword [0x1401a8eb0]
mov rbx, rax
mov rdi, qword [rax]
lea rcx, [rbp + 0x3a0]
call qword [0x1401a82a0]
mov r8, rax
lea rdx, [rbp + 0x220]
mov rcx, rbx
call qword [rdi + 0x18]
nop
mov rbx, qword [rsi]
lea rcx, [rbp + 0x220]
call qword [0x1401a82a0]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x58]
nop
lea rcx, [rbp + 0x220]
call qword [0x1401a8208]
nop
lea rcx, [rbp + 0x3a0]
call qword [0x1401a8208]
jmp 0x14009984c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [rdi + 0xa38]
sub ecx, eax
add ecx, 0xea60
mov eax, 0x10624dd3
mul ecx
mov ebx, edx
shr ebx, 6
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp + 0x430]
call fcn.1401706d2
lea rcx, [rbp + 0x430]
call fcn.14009dc90
nop
mov edx, ebx
lea rcx, [rbp + 0x430]
call qword [0x1401a93e8]
lea rcx, [rdi + 0x78]
lea rdx, str.msg_ok_v2
call qword [0x1401a8ed0]
mov r14, rax
test rax, rax
je 0x1400997f4
mov r8d, 0xffffffff
lea rdx, str.bindIDS_BTN_CONFIRM_TEXT
lea rcx, [rbp + 0x3a0]
call qword [0x1401a8210]
nop
call qword [0x1401a8eb0]
mov r15, rax
mov r8d, 0xffffffff
lea rdx, [0x140230140]
lea rcx, [rbp + 0x2b0]
call qword [0x1401a8210]
mov r12, rax
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], r13w
mov dword [rsp + 0x20], 8
mov rcx, qword [rbp + 0x4a8]
test cl, 2
jne 0x140099690
mov rax, qword [rbp + 0x478]
mov r8, qword [rax]
test r8, r8
je 0x140099690
mov rax, qword [rbp + 0x458]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x4a0]
cmovb r8, qword [rbp + 0x4a0]
sub r8, rdx
jmp 0x1400996c1
test cl, 4
jne 0x1400996cf
mov rax, qword [rbp + 0x470]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400996cf
mov rax, qword [rbp + 0x450]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x488]
movsxd r8, dword [rax]
add r8, r8
sub r8, rdx
add r8, rcx
sar r8, 1
lea rcx, [rsp + 0x28]
call fcn.140053f60
nop
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov r8d, 0xffffffff
lea rcx, [rbp + 0x190]
call qword [0x1401a8210]
mov rsi, rax
mov r8d, 0xffffffff
lea rdx, [0x140228ddc]
lea rcx, [rbp + 0x100]
call qword [0x1401a8210]
mov rdi, rax
mov rbx, qword [r15]
lea rcx, [rbp + 0x3a0]
call qword [0x1401a82a0]
mov r8, rax
lea rdx, [rsp + 0x50]
mov rcx, r15
call qword [rbx + 0x18]
nop
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [0x1401a8820]
nop
mov r8, rsi
lea rdx, [rbp + 0x70]
mov rcx, rax
call qword [0x1401a8820]
nop
mov r8, r12
lea rdx, [rbp + 0x220]
mov rcx, rax
call qword [0x1401a8820]
nop
lea rcx, [rbp + 0x70]
call qword [0x1401a8208]
nop
lea rcx, [rbp - 0x20]
call qword [0x1401a8208]
nop
lea rcx, [rsp + 0x50]
call qword [0x1401a8208]
nop
lea rcx, [rbp + 0x100]
call qword [0x1401a8208]
nop
lea rcx, [rbp + 0x190]
call qword [0x1401a8208]
nop
lea rcx, [rsp + 0x28]
call fcn.1400524a0
nop
lea rcx, [rbp + 0x2b0]
call qword [0x1401a8208]
mov rbx, qword [r14]
lea rcx, [rbp + 0x220]
call qword [0x1401a82a0]
mov rdx, rax
mov rcx, r14
call qword [rbx + 0x58]
nop
lea rcx, [rbp + 0x220]
call qword [0x1401a8208]
nop
lea rcx, [rbp + 0x3a0]
call qword [0x1401a8208]
nop
mov rax, qword [rbp + 0x430]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx + 0x430], rax
mov rax, qword [rbp + 0x430]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx + 0x42c], edx
lea rcx, [rbp + 0x438]
call fcn.14006f390
lea rcx, [rbp + 0x440]
call qword [0x1401a9548]
lea rcx, [rbp + 0x4b8]
call qword [0x1401a9368]
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0x630]
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