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

Disassembly:
push 0xffffffffffffffff
push 0x796339
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov dword [esp + 0x1c], 0
mov edi, ecx
mov ecx, dword [esp + 0x74]
mov byte [ebx], 0
mov dword [esp + 0x20], eax
mov byte [eax], 1
push ecx
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], ecx
call fcn.005abbb0
add esp, 8
mov ecx, dword [edi + 8]
push 1
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x70], 1
call fcn.00549490
cmp dword [esp + 0x54], 0
mov byte [esp + 0x68], 2
je 0x5aefda
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x18]
lea ebp, [edi + 0x4c]
push eax
mov ecx, ebp
call fcn.005a9b40
mov ecx, dword [ebp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ecx
mov ecx, dword [ebp]
test eax, eax
je 0x5aef7d
cmp eax, ecx
je 0x5aef86
call fcn.00565471
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
cmp edx, dword [esp + 0x28]
je 0x5aefda
test eax, eax
jne 0x5af0ba
call fcn.00565471
xor eax, eax
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x18]
jne 0x5aefad
call fcn.00565471
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov eax, dword [esp + 0x18]
sub edx, dword [eax + 0x48]
cmp edx, 0x36ee80
jbe 0x5af0c1
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebp
call fcn.005add80
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
add edi, 0x2c
push eax
mov ecx, edi
call fcn.005a9b40
mov ebp, dword [esp + 0x14]
mov ecx, dword [edi + 0x18]
mov eax, dword [edi]
mov dword [esp + 0x28], ecx
test ebp, ebp
je 0x5af003
cmp ebp, eax
je 0x5af008
call fcn.00565471
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esp + 0x28]
je 0x5af04d
test ebp, ebp
jne 0x5af138
call fcn.00565471
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x5af02b
call fcn.00565471
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x48]
cmp eax, 0x36ee80
jbe 0x5af140
push ebx
push ebp
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call fcn.005add80
push 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push 0x7b32cb
mov ecx, esi
mov byte [esi + 4], 0
call fcn.00405920
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x68], 1
call fcn.00549420
cmp dword [esp + 0x58], 0x10
jb 0x5af097
mov eax, dword [esp + 0x44]
push eax
call fcn.00564155
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00564b24
add esp, 0x58
ret 0x10
mov eax, dword [eax]
jmp 0x5aef9f
lea ecx, [esp + 0x14]
mov byte [ebx], 1
call fcn.005a87f0
mov dl, byte [eax + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x14]
mov byte [eax], dl
call fcn.005a87f0
lea ecx, [esp + 0x14]
mov byte [eax + 0x1c], 1
call fcn.005a87f0
push 0xffffffffffffffff
add eax, 0x20
push 0
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push eax
mov ecx, esi
mov byte [esi + 4], 0
call fcn.00403fb2
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x68], 1
call fcn.00549420
cmp dword [esp + 0x58], 0x10
jb 0x5af097
mov ecx, dword [esp + 0x44]
push ecx
jmp 0x5af08f
mov eax, dword [ebp]
jmp 0x5af021
test ebp, ebp
jne 0x5af1da
call fcn.00565471
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x5af159
call fcn.00565471
mov al, byte [ebx + 0x28]
mov ecx, dword [esp + 0x20]
mov byte [ecx], al
test ebp, ebp
jne 0x5af1e2
call fcn.00565471
xor eax, eax
cmp ebx, dword [eax + 0x18]
jne 0x5af177
call fcn.00565471
mov byte [ebx + 0x28], 1
test ebp, ebp
jne 0x5af1e7
call fcn.00565471
cmp ebx, dword [ebp + 0x18]
jne 0x5af18e
call fcn.00565471
push 0xffffffffffffffff
push 0
add ebx, 0x2c
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
push ebx
mov ecx, esi
mov byte [esi + 4], 0
call fcn.00403fb2
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x68], 1
call fcn.00549420
cmp dword [esp + 0x58], 0x10
jb 0x5af097
mov edx, dword [esp + 0x44]
push edx
jmp 0x5af08f
mov eax, dword [ebp]
jmp 0x5af14f
mov eax, dword [ebp]
jmp 0x5af16d
mov ebp, dword [ebp]
jmp 0x5af184