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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push esi
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, 1
shl ecx, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + ecx + 3]
and eax, 0xff
movzx ecx, al
mov edx, 1
imul edx, edx, 0
mov eax, dword [ebp - 4]
movzx edx, byte [eax + edx + 3]
and edx, 0xff
movzx eax, dl
shl eax, 8
or ecx, eax
movzx ecx, cx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.1010d0d0
mov eax, 1
shl eax, 0
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 3]
mov eax, 1
imul eax, eax, 0
mov ecx, dword [ebp - 4]
movzx eax, byte [ecx + eax + 3]
shl eax, 8
add edx, eax
push edx
mov ecx, 0x57d9a0
call ecx
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
push edx
mov eax, 0x402bc0
call eax
mov edx, 0x96a4c0
mov ecx, eax
call edx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1010c12f
xor al, al
jmp 0x1010c348
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x24]
test ecx, ecx
je 0x1010c141
xor al, al
jmp 0x1010c348
mov edx, dword [0xe61e18]
push edx
mov eax, 0x4e65a0
call eax
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x1010c274
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x320]
cmp eax, 2
je 0x1010c173
xor al, al
jmp 0x1010c348
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x78]
cmp edx, 1
jne 0x1010c194
mov eax, dword [ebp - 8]
mov byte [eax + 0x78], 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, 0x54ea80
call edx
add esp, 4
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x276]
test ecx, ecx
jg 0x1010c1b0
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x274]
test eax, eax
jle 0x1010c1c4
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x276], 0
mov edx, dword [ebp - 8]
mov byte [edx + 0x274], 0
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.1000ad00
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.1000ac40
push eax
lea ecx, [ebp - 0x14]
call fcn.1000af00
movzx eax, al
test eax, eax
je 0x1010c227
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0x14]
call fcn.1000ae70
mov dword [eax + 4], esi
lea ecx, [ebp - 0x14]
call fcn.1000ae70
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 5]
mov byte [eax + 8], dl
lea ecx, [ebp - 0x14]
call fcn.1000ae70
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 6]
mov byte [eax + 9], dl
jmp 0x1010c26f
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 5]
mov byte [ebp - 0x28], dl
mov eax, dword [ebp - 4]
mov cl, byte [eax + 6]
mov byte [ebp - 0x27], cl
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x50]
push ecx
call fcn.10053730
add esp, 0xc
push eax
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.10053770
jmp 0x1010c346
cmp dword [0x101ed648], 0
je 0x1010c292
mov eax, dword [0x101ed648]
movzx ecx, word [eax + 0x7e]
cmp dword [ebp - 0x10], ecx
jne 0x1010c292
xor al, al
jmp 0x1010c348
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1000ad00
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.1000ac40
push eax
lea ecx, [ebp - 0x18]
call fcn.1000af00
movzx edx, al
test edx, edx
je 0x1010c2fb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebp - 0x18]
call fcn.1000ae70
mov dword [eax + 4], esi
lea ecx, [ebp - 0x18]
call fcn.1000ae70
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 5]
mov byte [eax + 8], dl
lea ecx, [ebp - 0x18]
call fcn.1000ae70
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 6]
mov byte [eax + 9], dl
jmp 0x1010c346
mov dword [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 5]
mov byte [ebp - 0x30], dl
mov eax, dword [ebp - 4]
mov cl, byte [eax + 6]
mov byte [ebp - 0x2f], cl
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.10053730
add esp, 0xc
push eax
lea edx, [ebp - 0x44]
push edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x20
call fcn.10053770
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4