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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x87c3e9
push eax
mov eax, dword [0x9dce80]
mov dword fs:[0], esp
sub esp, 0xa8
push esi
xor esi, esi
push edi
cmp eax, esi
mov edi, ecx
je 0x5ac2b3
push str.CTSDUsbkeyMgrSDHelper::ShowLogonDlg_0_r_n
push str.USBKEYLOG
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
lea eax, [edi + 0x300]
push 1
push eax
lea ecx, [esp + 0x10]
call fcn.004a1e80
lea ecx, [esp + 8]
mov dword [esp + 0xb8], esi
call fcn.004a1ee0
test eax, eax
je 0x5ac509
mov ecx, edi
call fcn.005ac540
test eax, eax
je 0x5ac357
cmp dword [0x9dce80], esi
je 0x5ac32b
push str.CTSDUsbkeyMgrSDHelper::ShowLogonDlg_PostMessage_1_r_n
push str.USBKEYLOG
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
mov eax, dword [0x9dce80]
add esp, 0x10
cmp eax, esi
je 0x5ac32b
push str.ShowLogonDlg_before_PostMessage
push str.usbkeylog
push 4
push 0x9dc5ec
call fcn.006600d0
add esp, 0x10
call fcn.00833567
cmp eax, esi
je 0x5ac33d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x5ac33f
xor eax, eax
mov ecx, dword [0x9d10c8]
mov edx, dword [eax + 0x1c]
push esi
push esi
push ecx
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5ac509
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 0x18
mov dword [edi + 0x304], eax
call fcn.008325b4
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, esi
mov byte [esp + 0xbc], 1
je 0x5ac38f
push esi
push esi
push esi
push esi
push esi
push esi
mov ecx, eax
call fcn.00579760
mov esi, eax
lea eax, [edi + 0x18]
mov dword [esi + 4], 0x413a50
mov dword [esi], eax
mov ecx, dword [edi + 0x304]
mov dword [esi + 8], ecx
mov eax, dword [0x9dce80]
test eax, eax
mov byte [esp + 0xbc], 0
je 0x5ac3d5
mov edx, dword [edi + 0x304]
push edx
push str.ShowLogonDlg_before_add_Task__m_dwShowLogonDlgTick_lu
push str.usbkeylog
push 4
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push esi
push 1
push 1
lea ecx, [esp + 0x30]
call fcn.005794a0
lea ecx, [esp + 0x5c]
mov byte [esp + 0xbc], 2
mov dword [esp + 0x54], 1
call fcn.005801f0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x54]
mov byte [esp + 0xbc], 3
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], 1
call ebp
lea edx, [esp + 0x5c]
mov ecx, 0x9cf4c8
push edx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x7d0
call fcn.0057f840
mov eax, dword [0x9dce80]
pop ebp
test eax, eax
je 0x5ac4e7
mov eax, dword [edi + 0x304]
push eax
push str.CTSDUsbkeyMgrSDHelper::ShowLogonDlg__0x_x__Delay_2_r_n
push str.USBKEYLOG
push 0xffffffffffffffff
push 0x9dc5ec
call fcn.006600d0
add esp, 0x14
lea ecx, [esp + 0x58]
mov byte [esp + 0xb8], 2
call fcn.00579500
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 0
call fcn.00579500
lea ecx, [esp + 8]
mov dword [esp + 0xb8], 0xffffffff
call fcn.004a1ed0
mov ecx, dword [esp + 0xb0]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0xb4
ret