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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x4b1a33
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x1a]
mov edx, dword [ebp + 8]
movzx edx, byte [edx + 0x3c]
add eax, edx
mov edx, dword [0x58bc58]
movzx edx, word [edx + 0x68]
cmp eax, edx
jbe 0x4b16dc
mov eax, dword [ebp + 8]
cmp byte [eax + 0x17], 0
jne 0x4b1a24
mov eax, dword [ebp + 8]
cmp byte [eax + 0x17], 0
jne 0x4b1778
mov eax, dword [ebp + 8]
cmp word [eax + 8], 0x1a
jne 0x4b1709
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x58d93c]
cmp eax, 0x2710
jb 0x4b1a33
mov eax, dword [ebp + 8]
cmp word [eax + 8], 0x1b
jne 0x4b1729
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x58d940]
cmp eax, 0xbb8
jb 0x4b1a33
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x58d938]
cmp eax, 0x1f4
jbe 0x4b1a33
call sub.kernel32.dll_GetTickCount_1
mov dword [0x58d938], eax
xor eax, eax
mov dword [0x58d9c0], eax
push 0
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
push eax
push 0
mov eax, dword [0x58bc58]
xor ecx, ecx
mov cl, byte [eax + 0x10]
mov edx, 0xbc9
mov eax, dword [ebp - 4]
call fcn.004b61fc
jmp 0x4b1a33
mov eax, dword [0x58d99c]
mov dword [0x58d9a0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.004c0acc
cmp byte [0x5a515a], 1
jne 0x4b188c
cmp byte [0x591933], 0
jbe 0x4b188c
push ebp
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
call fcn.004b1638
pop ecx
test al, al
je 0x4b188c
mov edx, dword [0x58d9a4]
mov eax, dword [0x58bbf0]
call fcn.004c9fb0
test al, al
jne 0x4b17d8
xor eax, eax
mov dword [0x58d9a4], eax
cmp dword [0x58d9a4], 0
je 0x4b181a
mov eax, dword [0x58d9a4]
cmp byte [eax + 0x30], 0
jne 0x4b1813
mov eax, dword [0x58d9a4]
cmp byte [eax + 0x89], 0
je 0x4b1813
mov eax, dword [0x58d9a4]
mov edx, dword [eax + 0x44]
mov eax, dword [0x58bc58]
mov eax, dword [eax + 0x44]
call fcn.00404c88
test eax, eax
jle 0x4b181a
xor eax, eax
mov dword [0x58d9a4], eax
cmp dword [0x58d9a0], 0
je 0x4b1855
mov eax, dword [0x58d9a0]
cmp byte [eax + 0x30], 0
jne 0x4b1855
cmp byte [0x591933], 0
jbe 0x4b1855
cmp byte [0x5a515f], 0
je 0x4b1849
cmp dword [0x58d9a4], 0
jne 0x4b1855
mov eax, dword [0x58d9a0]
mov dword [0x58d9a4], eax
jmp 0x4b188c
mov eax, dword [0x58d9a4]
mov dword [0x58d9a0], eax
cmp dword [0x58d9a0], 0
je 0x4b188c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x58d9a0]
movzx ecx, word [eax + 0xa]
mov eax, dword [0x58d9a0]
movzx edx, word [eax + 8]
mov eax, dword [0x58bbf0]
call fcn.004c9498
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0xaf
mov eax, 0x186
call fcn.005121b8
mov dword [ebp - 0x10], eax
mov edx, dword [0x58d9a0]
mov eax, dword [0x58bbf0]
call fcn.004c9fb0
test al, al
jne 0x4b18c0
xor eax, eax
mov dword [0x58d9a0], eax
cmp dword [0x58d9a0], 0
jne 0x4b18e8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x58bbf0]
call fcn.004c951c
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x4b190b
mov eax, dword [0x58d9a0]
movzx eax, word [eax + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [0x58d9a0]
movzx eax, word [eax + 0xe]
mov dword [ebp - 0x18], eax
mov eax, dword [0x58d9a0]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
call fcn.004b7af0
test al, al
je 0x4b1a33
mov eax, dword [ebp - 4]
call fcn.004b7a94
test al, al
je 0x4b1a33
call sub.kernel32.dll_GetTickCount_1
mov dword [0x58d938], eax
mov eax, 0x24
call fcn.0040279c
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 0x24
call fcn.00403178
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x18]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
mov edx, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x38]
add eax, 0xc8
mov dword [0x58d9c0], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
cmp eax, 0x1f
ja case.0x4b1993.0
mov al, byte [eax + 0x4b199a]
jmp dword [eax*4 + 0x4b19ba]
call sub.kernel32.dll_GetTickCount_1
mov dword [0x58d948], eax
xor eax, eax
mov dword [0x58d9c4], eax
cmp dword [0x58d9a0], 0
je 0x4b19fd
mov eax, dword [0x58d9a0]
cmp byte [eax + 0x12], 0
jne 0x4b19fd
mov eax, 0x44c
call fcn.00403198
add eax, 0x12c
mov dword [0x58d9c4], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
mov dx, 0xbc9
mov eax, dword [0x58bc58]
call fcn.0050694c
jmp 0x4b1a33
mov edx, 0x4b1a44
mov eax, dword [0x58bbe0]
call fcn.004d13a8
mov esp, ebp
pop ebp
ret 4