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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101192e3
mov eax, dword fs:[0]
push eax
sub esp, 0x550
mov eax, dword [0x1015bdd0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x4bc], ecx
mov ecx, dword [ebp + 0x18]
xor edi, edi
or ebx, 0xffffffff
mov dword [ebp - 0x4b4], esi
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4dc], edx
mov dword [ebp - 0x4d8], ecx
cmp dword [0x1016af88], edi
je 0x1005c124
mov edx, dword [eax]
push edx
push esi
push str.CommunicateIMFTCtrlW_1___s____d_
push 0x10129234
push ebx
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
cmp esi, edi
je 0x1005c82a
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1005c131
sub eax, edx
sar eax, 1
je 0x1005c82a
mov eax, esi
lea edx, [eax + 2]
jmp 0x1005c150
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x1005c150
sub eax, edx
sar eax, 1
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x4c4]
push eax
lea ecx, [ebp - 0x4c0]
push ecx
lea edx, [ebp - 0x4d0]
push edx
push edi
push edi
lea eax, [ebp - 0x4b0]
push eax
push esi
mov dword [ebp - 0x4b0], ebx
mov dword [ebp - 0x4d0], edi
mov dword [ebp - 0x4cc], edi
mov dword [ebp - 0x4c4], edi
mov dword [ebp - 0x4c0], edi
call fcn.10052e50
add esp, 0x1c
test byte [0x101800c8], 1
mov dword [ebp - 0x4d4], eax
jne 0x1005c1dd
or dword [0x101800c8], 1
mov dword [ebp - 4], edi
mov ecx, 0x101800a8
call fcn.10077320
push 0x1011d480
call fcn.1007df24
add esp, 4
mov dword [ebp - 4], ebx
test byte [0x101800c8], 2
jne 0x1005c20e
or dword [0x101800c8], 2
mov dword [ebp - 4], 1
mov ecx, 0x10180098
call fcn.1005be00
push 0x1011d490
call fcn.1007df24
add esp, 4
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
push 0x101800a8
lea ecx, [ebp - 0x4e8]
mov edi, eax
call fcn.10077850
mov dword [ebp - 4], 2
mov ecx, 0x10180098
call fcn.1005be10
mov esi, eax
sub esi, 1
js 0x1005c26d
push esi
mov ecx, 0x10180098
call fcn.1005bea0
mov ecx, edi
sub ecx, dword [eax + 0x220]
cmp ecx, 0x2710
jbe 0x1005c268
push 1
push esi
mov ecx, 0x10180098
call fcn.1005beb0
sub esi, 1
jns 0x1005c240
mov ecx, 0x10180098
call fcn.1005be10
mov esi, eax
sub esi, 1
js 0x1005c2c3
push esi
mov ecx, 0x10180098
call fcn.1005bea0
mov ecx, eax
lea edi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x1005c290
mov edx, dword [ebp - 0x4ac]
sub ecx, edi
sar ecx, 1
cmp edx, ecx
jne 0x1005c2be
mov edi, dword [ebp - 0x4b4]
push edx
push eax
push edi
call fcn.1007f260
add esp, 0xc
test eax, eax
je 0x1005c2f7
sub esi, 1
jns 0x1005c27e
mov edi, dword [ebp - 0x4b4]
cmp dword [0x1016af88], 0
mov esi, dword [ebp - 0x4b8]
je 0x1005c335
mov eax, dword [esi]
push eax
push ebx
push str.CommunicateIMFTCtrlW_2_2___d____d_
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
jmp 0x1005c335
cmp dword [0x1016af88], 0
mov ebx, esi
je 0x1005c32f
push esi
mov ecx, 0x10180098
call fcn.1005bea0
mov edx, dword [eax + 0x21c]
push edx
push str.CommunicateIMFTCtrlW_2_1___d_
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
jmp 0x1005c2c9
mov esi, dword [ebp - 0x4b8]
test ebx, ebx
jl 0x1005c46e
mov ecx, 0x10180098
call fcn.1005be10
cmp ebx, eax
jge 0x1005c46e
push ebx
lea ecx, [ebp - 0x238]
push ecx
mov ecx, 0x10180098
call fcn.1005be20
cmp dword [0x1016af88], 0
je 0x1005c3a1
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x4b0]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x4d4]
push edx
push eax
push ecx
push str.CommunicateIMFTCtrlW_2_3___d____d____08x____08x____I64u____I64u_
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x28
cmp dword [ebp - 0x4d4], 0
je 0x1005c430
mov edx, dword [ebp - 0x28]
xor edx, dword [ebp - 0x4b0]
test dl, 0x10
jne 0x1005c46e
mov eax, dword [ebp - 0x4c4]
cmp eax, dword [ebp - 0x30]
jne 0x1005c46e
mov ecx, dword [ebp - 0x4c0]
cmp ecx, dword [ebp - 0x2c]
jne 0x1005c46e
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x4d0]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jne 0x1005c46e
cmp dword [0x1016af88], eax
je 0x1005c414
push str.CommunicateIMFTCtrlW_2_4
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x10
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e8]
call fcn.100778b0
mov eax, esi
jmp 0x1005c82c
cmp dword [0x1016af88], 0
je 0x1005c452
push str.CommunicateIMFTCtrlW_2_5
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x10
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e8]
call fcn.100778b0
mov eax, esi
jmp 0x1005c82c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4e8]
call fcn.100778b0
cmp dword [esi], 2
jne 0x1005c48b
mov dword [esi], 0
push 0x26c
lea ecx, [ebp - 0x4a4]
push 0
push ecx
call fcn.1007d080
mov edx, dword [0x1016e260]
push edx
call fcn.100598e0
add esp, 0x10
mov dword [ebp - 0x4a4], eax
mov eax, dword [0x1016dd90]
push edi
lea ecx, [ebp - 0x4c8]
mov dword [ebp - 0x4a8], eax
call fcn.1006a1e0
mov dword [ebp - 4], 3
push 0
push edi
call fcn.100c0990
add esp, 8
test eax, eax
jne 0x1005c50f
lea ecx, [ebp - 0x4ac]
push edi
push ecx
call fcn.10059b80
add esp, 8
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x4c8]
call fcn.1006ab10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4ac]
call fcn.1006a980
mov edx, dword [ebp - 0x4c8]
push 0x103
push edx
lea eax, [ebp - 0x4a0]
push eax
call fcn.1007ce61
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x248], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x244], edx
mov edx, dword [eax + 0xc]
add esp, 0xc
cmp dword [0x1016af88], 0
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x23c], edx
je 0x1005c57f
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x4a0]
push ecx
push str.CommunicateIMFTCtrlW_3___s____d_
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x18
call fcn.10051e90
lea ecx, [ebp - 0x53c]
mov edi, eax
xor esi, esi
call fcn.100af210
mov bl, 5
mov byte [ebp - 4], bl
push 1
push 6
lea ecx, [ebp - 0x53c]
call fcn.100af420
test eax, eax
je 0x1005c721
call fcn.10052c50
add eax, 0x753b
push eax
push esi
lea ecx, [ebp - 0x53c]
call fcn.100af590
test eax, eax
je 0x1005c716
push 0x4e20
lea ecx, [ebp - 0x53c]
call fcn.100af6c0
test eax, eax
je 0x1005c716
inc dword [0x1015b7b8]
lea ecx, [ebp - 0x55c]
call fcn.100aef80
mov edx, dword [ebp - 0x4b8]
mov eax, dword [edx]
mov ecx, dword [0x1015b7b8]
push 0xffff
push 0x270
push esi
push edi
push 1
push eax
push ecx
push 1
push 0xf011
lea ecx, [ebp - 0x55c]
call fcn.100af040
lea edx, [ebp - 0x4a8]
push edx
lea eax, [ebp - 0x55c]
push eax
lea ecx, [ebp - 0x53c]
call fcn.100af840
test eax, eax
je 0x1005c716
push 0x493e0
lea ecx, [ebp - 0x53c]
call fcn.100af6e0
test eax, eax
je 0x1005c716
xor eax, eax
xor ecx, ecx
lea edx, [ebp - 0x4bc]
mov dword [ebp - 0x506], eax
mov dword [ebp - 0x502], eax
mov dword [ebp - 0x4fe], eax
mov dword [ebp - 0x4fa], eax
mov dword [ebp - 0x4f6], eax
mov dword [ebp - 0x4f2], eax
mov dword [ebp - 0x4ee], eax
mov word [ebp - 0x4ea], ax
push edx
lea eax, [ebp - 0x508]
mov word [ebp - 0x508], cx
mov dword [ebp - 0x4bc], ecx
push eax
lea ecx, [ebp - 0x53c]
call fcn.100afa90
test eax, eax
je 0x1005c716
mov ecx, dword [ebp - 0x4fc]
cmp ecx, dword [ebp - 0x550]
jne 0x1005c716
mov edx, dword [ebp - 0x4f4]
mov ecx, dword [ebp - 0x4dc]
mov eax, dword [ebp - 0x4f0]
mov esi, dword [ebp - 0x4f8]
mov dword [ecx], edx
mov edx, dword [ebp - 0x4d8]
mov dword [edx], eax
cmp dword [0x1016af88], 0
je 0x1005c716
push eax
mov eax, dword [ecx]
push eax
push esi
push str.CommunicateIMFTCtrlW_4__d__d
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x1c
lea ecx, [ebp - 0x53c]
call fcn.100af5b0
push 1
push 0x101800a8
lea ecx, [ebp - 0x4e8]
call fcn.10077850
mov byte [ebp - 4], 6
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x236]
push edx
mov word [ebp - 0x238], cx
call fcn.1007d080
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x4b0]
add esp, 0xc
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x4c0]
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4d0]
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x4b4]
push 0x103
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x4cc]
push edx
lea eax, [ebp - 0x238]
push eax
mov dword [ebp - 0x20], ecx
call fcn.1007ce61
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
mov ecx, 0x10180098
call fcn.1005c080
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4e8]
call fcn.100778b0
cmp dword [0x1016af88], 0
je 0x1005c805
push esi
push str.CommunicateIMFTCtrlW___lu
push 0x10129234
push 0xffffffffffffffff
push 0x1016af1c
call fcn.1000b060
add esp, 0x14
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x53c]
call fcn.100af2d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c8]
call fcn.1006a980
mov eax, esi
jmp 0x1005c82c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ceab
mov esp, ebp
pop ebp
ret