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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x5aba6d
mov eax, dword [ebp - 4]
add esp, 0xffffffe4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5ac50b
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
inc dword [ebp - 0x1c]
mov byte [ebp - 0x15], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 2
jne 0x5abb72
mov eax, dword [ebp - 4]
cmp dword [eax + 0x20c], 0
jne 0x5abad3
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x20c], eax
xor ecx, ecx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x203], 0
je 0x5abb1f
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x20c]
mov ecx, 0x3e8
xor edx, edx
div ecx
mov ecx, eax
test ecx, ecx
jne 0x5abb03
mov ecx, 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1f0]
xor edx, edx
div ecx
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x208]
ja 0x5ac4f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov al, byte [eax + 0x203]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x203]
jne 0x5abb3b
cmp ecx, 0x1b
jbe 0x5abb72
mov edx, dword [ebp - 4]
mov byte [edx + 0x203], al
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 4]
mov dword [edx + 0x20c], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x1f0], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x208]
mov edx, dword [ebp - 4]
mov dword [edx + 0x208], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ae], 0
jne 0x5ac4eb
xor edx, edx
push ebp
push 0x5ac4e4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x1ae], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
test eax, eax
je 0x5abbb3
mov edx, dword [ebp - 4]
cmp byte [edx + 0x215], 0
je 0x5abbbd
call fcn.004037b0
jmp 0x5ac4f5
mov edx, dword [ebp - 4]
cmp byte [edx + 0xc4], 2
jne 0x5abbef
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb4]
mov eax, dword [eax + 0xb0]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0xa8]
adc edx, dword [ecx + 0xac]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x5abc1d
push 0
push 0
call fcn.00413934
mov eax, dword [ebp - 4]
mov dword [eax + 0xb0], 0
mov dword [eax + 0xb4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 2
jne 0x5abc69
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413948
cmp edx, dword [ebp - 0xc]
jne 0x5abc43
cmp eax, dword [ebp - 0x10]
ja 0x5abc95
jmp 0x5abc45
jg 0x5abc95
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5abc69
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5abc69
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14c], 0
jne 0x5abc95
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 2
je 0x5ac4cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413948
cmp edx, 0
jne 0x5abc8f
cmp eax, 0
je 0x5ac4cc
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 2
jne 0x5ac1bc
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5abd0f
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5abd0f
mov eax, dword [ebp - 4]
cmp dword [eax + 0x148], 0
jne 0x5abd0f
mov dl, 1
mov eax, dword [0x40f96c]
call fcn.00402f88
mov edx, dword [ebp - 4]
mov dword [edx + 0x148], eax
mov dl, 1
mov eax, dword [0x40f96c]
call fcn.00402f88
mov edx, dword [ebp - 4]
mov dword [edx + 0x14c], eax
mov eax, dword [ebp - 4]
movsx edx, word [eax + 0x150]
mov eax, dword [ebp - 4]
add eax, 0xf8
call fcn.0046caa8
call fcn.0046cae0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x148], 0
jne 0x5abd25
mov eax, dword [ebp - 4]
mov byte [eax + 0x132], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5abd6a
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5abd6a
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb4]
mov eax, dword [eax + 0xb0]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x138]
adc edx, dword [ecx + 0x13c]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x260], eax
mov dword [ecx + 0x264], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x25c]
mov eax, dword [eax + 0x258]
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x264]
jne 0x5abd8a
cmp eax, dword [ecx + 0x260]
je 0x5abf38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5abe08
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5abe08
mov eax, dword [ebp - 4]
cmp byte [eax + 0x132], 0
je 0x5abf38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5abf38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5abf38
mov eax, dword [ebp - 4]
cmp byte [eax + 0x130], 0
jne 0x5abf38
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00413948
cmp edx, 0
jne 0x5abf38
cmp eax, 0
jne 0x5abf38
mov eax, dword [ebp - 4]
push dword [eax + 0x264]
push dword [eax + 0x260]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413910
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x258], eax
mov dword [ecx + 0x25c], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0
je 0x5abe5a
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0
jne 0x5abe67
mov edx, 0x2000
mov eax, dword [ebp - 4]
call fcn.005a7490
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5abea3
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5abea3
lea edx, [ebp - 0x401d]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
mov ecx, 0x4000
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], eax
jmp 0x5abecc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe4], 0
jne 0x5abf38
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
mov eax, dword [eax + 4]
call fcn.00409240
inc eax
jne 0x5abf38
mov ecx, 0x5ac520
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.005ac7c4
mov eax, dword [ebp - 4]
call fcn.005a9558
mov cl, 1
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005ac530
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov byte [eax + 0x1d0], 2
call fcn.004037b0
jmp 0x5ac4f5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x130], 0
jne 0x5abf74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413948
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x264]
jne 0x5abf68
cmp eax, dword [ecx + 0x260]
setbe al
jmp 0x5abf6b
setle al
mov edx, dword [ebp - 4]
mov byte [edx + 0x131], al
mov eax, dword [ebp - 4]
cmp byte [eax + 0x132], 0
je 0x5ac0b2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5ac0b2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5ac0b2
mov eax, dword [ebp - 4]
cmp byte [eax + 0x130], 0
jne 0x5ac000
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x148]
mov eax, ebx
call fcn.00413948
push edx
push eax
mov eax, ebx
call fcn.00413934
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe4]
lea edx, [ebp - 0x401d]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x148]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x148]
call fcn.00413934
mov eax, dword [ebp - 4]
call fcn.005a6d18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00413948
cmp edx, 0
jne 0x5ac028
cmp eax, 0
jne 0x5ac028
mov eax, dword [ebp - 4]
cmp byte [eax + 0x131], 0
je 0x5abd25
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00413934
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00413948
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cdq
cmp edx, dword [esp + 4]
jne 0x5ac063
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x5ac080
jmp 0x5ac067
pop edx
pop eax
jle 0x5ac080
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00413948
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], eax
jmp 0x5ac092
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, dword [ebp - 4]
mov dword [edx + 0xe4], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00413b98
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe4]
test eax, eax
jne 0x5ac0c3
xor ebx, ebx
jmp 0x5ac0d8
mov ecx, eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp - 4]
call fcn.005ab164
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5ac173
mov eax, dword [ebp - 4]
mov byte [eax + 0x132], 0
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.005ac6c8
mov eax, dword [ebp - 4]
call fcn.005ac6c0
cmp eax, 0x2733
jne 0x5ac173
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x5bb834]
cmp eax, 0x2bc
jbe 0x5ac173
call sub.kernel32.dll_GetTickCount
mov dword [0x5bb834], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe4]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp - 4]
call fcn.005ab164
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5ac169
mov eax, dword [ebp - 4]
mov byte [eax + 0x132], 0
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.005ac6c8
call fcn.004037b0
jmp 0x5ac4f5
mov eax, dword [ebp - 4]
mov byte [eax + 0x132], 1
cmp ebx, 0xffffffff
je 0x5ac216
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5ac19d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5ac19d
push ebp
mov eax, ebx
call fcn.005ab97c
pop ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0xe4], edx
mov eax, ebx
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0x260], eax
adc dword [ecx + 0x264], edx
jmp 0x5ac216
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe8], 0
je 0x5ac1d4
mov eax, dword [ebp - 4]
cmp dword [eax + 0xe0], 0
jne 0x5ac1e1
mov edx, 0x2000
mov eax, dword [ebp - 4]
call fcn.005a7490
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xe8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
mov ebx, dword [eax]
call dword [ebx + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xe8]
mov ecx, eax
mov eax, dword [ebp - 4]
call fcn.005ab164
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x5ac22f
call sub.wsock32.dll_WSAGetLastError
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.005ac6c8
jmp 0x5ac4cc
mov eax, ebx
cdq
mov ecx, dword [ebp - 4]
add dword [ecx + 0xa8], eax
adc dword [ecx + 0xac], edx
mov eax, dword [ebp - 4]
add dword [eax + 0x1f0], ebx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5ac29c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5ac29c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x130], 0
je 0x5ac29c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x14c], 0
je 0x5ac29c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14c]
call fcn.00413948
cmp edx, 0
jne 0x5ac29c
cmp eax, 0
jne 0x5ac29c
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a4], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413948
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xb4]
mov eax, dword [eax + 0xb0]
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0xa8]
adc edx, dword [ecx + 0xac]
cmp edx, dword [esp + 4]
jne 0x5ac2d9
cmp eax, dword [esp]
pop edx
pop eax
jb 0x5ac335
jmp 0x5ac2dd
pop edx
pop eax
jl 0x5ac335
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5ac2f5
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
jne 0x5ac335
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 2
je 0x5ac326
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.004140c8
mov eax, dword [ebp - 4]
mov dword [eax + 0xa8], 0
mov dword [eax + 0xac], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x1a4], 1
jmp 0x5ac49d
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 2
je 0x5ac3da
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413948
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.00404248
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.00413934
mov eax, dword [ebp - 0x14]
call fcn.00403f18
push eax
lea eax, [ebp - 0x14]
call fcn.004040e8
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
pop ecx
mov esi, dword [eax]
call dword [esi + 8]
lea eax, [ebp - 0x14]
mov ecx, ebx
mov edx, 1
call fcn.0040415c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call fcn.004140c8
mov eax, dword [ebp - 0x14]
call fcn.00403f18
push eax
lea eax, [ebp - 0x14]
call fcn.004040e8
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
pop ecx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov byte [eax + 0x1ae], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1a4], 0
je 0x5ac406
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1a4], 0
je 0x5ac49d
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc4], 2
je 0x5ac49d
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ac], 0
je 0x5ac477
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1ad], 0
je 0x5ac477
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x64
jae 0x5ac431
mov byte [ebp - 0x15], 1
jmp 0x5ac49d
test ebx, ebx
jne 0x5ac451
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
push eax
call sub.user32.dll_PostMessageA
jmp 0x5ac49d
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.005acc80
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
push eax
call sub.user32.dll_PostMessageA
jmp 0x5ac49d
cmp dword [ebp - 0x1c], 0x14
jge 0x5ac483
mov byte [ebp - 0x15], 1
jmp 0x5ac49d
mov eax, dword [ebp - 4]
push eax
push 0
push 0x467
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x248]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xc4]
cmp al, 2
jne 0x5ac4cc
mov edx, dword [ebp - 4]
cmp word [edx + 0x182], 0
je 0x5ac4cc
push ebx
mov ecx, eax
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x184]
call dword [ebx + 0x180]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac4eb
mov eax, dword [ebp - 4]
mov byte [eax + 0x1ae], 0
ret
cmp byte [ebp - 0x15], 0
jne 0x5abaa2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ac512
lea eax, [ebp - 0x14]
call fcn.00403c9c
ret