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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov dword [rsp + 0x40], 0xc8
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xec], 0
je 0x1402d6de4
mov rdx, qword [rsp + 0xc8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.USER32.dll_CopyRect]
mov dword [rsp + 0x44], 0
xor r9d, r9d
lea r8, [rsp + 0x44]
xor edx, edx
mov ecx, 0x26
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 0xd4], 0
jne 0x1402d6da7
cmp dword [rsp + 0x44], 0
je 0x1402d6da7
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x68]
mov edx, dword [rsp + 0x50]
sub edx, eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, edx
add eax, ecx
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x6c]
mov edx, dword [rsp + 0x54]
sub edx, eax
mov eax, dword [rsp + 0x64]
mov ecx, dword [rsp + 0x4c]
sub ecx, eax
mov eax, edx
add eax, ecx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x54]
sub edx, eax
mov ecx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
cmp edx, eax
jg 0x1402d6c2f
mov eax, dword [rsp + 0x48]
mov edx, dword [rsp + 0x50]
sub edx, eax
mov ecx, dword [rsp + 0x60]
mov eax, dword [rsp + 0x68]
sub eax, ecx
cmp edx, eax
jg 0x1402d6c2f
mov dword [rsp + 0x90], 0
jmp 0x1402d6c3a
mov dword [rsp + 0x90], 1
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0
je 0x1402d6cc4
lea rdi, [rsp + 0x60]
lea rsi, [rsp + 0x48]
mov ecx, reloc.WS2_32.dll_recv
rep movsb byte [rdi], byte [rsi]
mov r8d, dword [rsp + 0x58]
neg r8d
mov edx, dword [rsp + 0x80]
neg edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [rsp + 0x64]
mov eax, dword [rsp + 0x6c]
sub eax, ecx
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
sub ecx, eax
mov dword [rsp + 0x30], reloc.WS2_32.dll_gethostbyname
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call sub.mfc90u.dll_CStatusCmdUI::SetCheck
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x74], 0xc8
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x70], eax
mov ecx, dword [rsp + 0x74]
mov eax, dword [rsp + 0x7c]
add eax, ecx
cmp dword [rsp + 0x70], eax
jge 0x1402d6da7
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, dword [rsp + 0x80]
imul eax, ecx
cdq
idiv dword [rsp + 0x74]
mov ecx, eax
mov eax, dword [rsp + 0x60]
add eax, ecx
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x7c]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, dword [rsp + 0x58]
imul eax, ecx
cdq
idiv dword [rsp + 0x74]
mov ecx, eax
mov eax, dword [rsp + 0x64]
add eax, ecx
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x30], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x84]
mov r8d, dword [rsp + 0x88]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call sub.mfc90u.dll_CStatusCmdUI::SetCheck
cmp dword [rsp + 0x78], 0
je 0x1402d6d93
mov rcx, qword [rsp + 0xc0]
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x1402d6da2
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x1402d6cd6
mov eax, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x54]
sub edx, eax
mov ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x50]
sub eax, ecx
mov dword [rsp + 0x30], reloc.WS2_32.dll_gethostbyname
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov rcx, qword [rsp + 0xc0]
call sub.mfc90u.dll_CStatusCmdUI::SetCheck
add rsp, 0xa8
pop rdi
pop rsi
ret