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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x1c], ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x536cdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ecx], 1
mov eax, dword [ebx + 0x3b0]
call fcn.004da0f0
test al, al
je 0x536cba
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x418]
cmp eax, 4
jbe 0x536cba
mov eax, ebx
call fcn.00537324
mov eax, ebx
call fcn.005373cc
mov eax, dword [ebx + 0x3b0]
mov edx, dword [eax + 0x2d0]
mov eax, dword [0x6ce484]
call fcn.0051cc1c
mov eax, dword [ebx + 0x3b0]
mov edx, dword [eax + 0x2d0]
mov eax, dword [0x5531f8]
mov eax, dword [eax]
call fcn.004dea94
mov eax, dword [ebx + 0x3b0]
mov edx, dword [eax + 0x2d0]
mov eax, dword [0x6ce484]
call fcn.0051d674
mov eax, dword [ebx + 0x3b0]
mov edx, dword [eax + 0x2d0]
mov eax, dword [0x6ce484]
call fcn.0051d788
mov eax, dword [0x553088]
cmp byte [eax], 0
je 0x5369c7
lea eax, [ebp - 0x1c]
mov edx, dword [0x5539dc]
add edx, 4
call fcn.00405640
mov eax, dword [ebp - 0x1c]
mov edx, dword [0x553228]
mov edx, dword [edx]
call fcn.00405820
je 0x536938
mov edx, dword [0x5539dc]
movzx edx, word [edx + 0x20]
mov eax, dword [0x5537f0]
mov eax, dword [eax]
call fcn.004db7c4
mov esi, eax
jmp 0x53694b
mov eax, dword [0x5537f0]
mov eax, dword [eax]
mov edx, 0x73
call fcn.004db7c4
mov esi, eax
test esi, esi
je 0x5369c7
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x24]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004a7d0c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
lea edx, [ebp - 0x34]
mov eax, esi
call fcn.004d6110
lea eax, [ebp - 0x34]
push eax
push esi
push 1
lea edx, [ebp - 0x44]
mov eax, esi
call fcn.004d6110
mov eax, dword [ebp - 0x38]
sar eax, 1
jns 0x536996
adc eax, 0
mov edx, dword [ebp - 4]
sub edx, eax
push edx
lea edx, [ebp - 0x54]
mov eax, esi
call fcn.004d6110
mov eax, dword [ebp - 0x4c]
sar eax, 1
jns 0x5369b0
adc eax, 0
mov edx, dword [ebp - 8]
sub edx, eax
mov eax, dword [ebx + 0x3b0]
mov eax, dword [eax + 0x2d0]
pop ecx
call fcn.004d5d54
mov eax, dword [0x553680]
cmp byte [eax], 0
je 0x536a23
mov eax, dword [0x553658]
cmp dword [eax], 1
jge 0x5369e6
mov eax, dword [0x553658]
mov dword [eax], 1
mov edx, dword [0x553658]
mov edx, dword [edx]
mov eax, dword [ebx + 0x3b0]
mov eax, dword [eax + 0x2d0]
call fcn.005269e4
mov eax, dword [0x553658]
cmp dword [eax], 1
jg 0x536a16
mov eax, dword [0x553680]
mov byte [eax], 0
jmp 0x536ac3
mov eax, dword [0x553658]
sub dword [eax], 2
jmp 0x536ac3
mov eax, dword [0x553954]
cmp byte [eax], 0
je 0x536a79
mov eax, dword [0x553658]
cmp dword [eax], 0x1d
jle 0x536a42
mov eax, dword [0x553658]
mov dword [eax], 0x1d
mov edx, dword [0x553658]
mov edx, dword [edx]
mov eax, dword [ebx + 0x3b0]
mov eax, dword [eax + 0x2d0]
call fcn.005269e4
mov eax, dword [0x553658]
cmp dword [eax], 0x1d
jl 0x536a6f
mov eax, dword [0x553954]
mov byte [eax], 0
jmp 0x536ac3
mov eax, dword [0x553658]
add dword [eax], 2
jmp 0x536ac3
mov eax, dword [0x5537b8]
cmp byte [eax], 0
je 0x536ac3
mov eax, dword [0x553658]
cmp dword [eax], 1
jge 0x536a98
mov eax, dword [0x553658]
mov dword [eax], 1
mov edx, dword [0x553658]
mov edx, dword [edx]
mov eax, dword [ebx + 0x3b0]
mov eax, dword [eax + 0x2d0]
call fcn.005269e4
mov eax, dword [0x553658]
cmp dword [eax], 1
jle 0x536ac3
mov eax, dword [0x553658]
sub dword [eax], 4
mov eax, dword [0x5539d0]
mov eax, dword [eax]
mov eax, dword [eax + 0x704]
cmp byte [eax + 0x2b8], 0
jne 0x536c3f
mov eax, dword [0x553934]
cmp byte [eax], 0
jne 0x536c3f
mov eax, dword [ebx + 0x3b0]
mov eax, dword [eax + 0x2d0]
call fcn.004d60f0
mov esi, eax
push 1
mov eax, esi
call fcn.004813a8
push eax
call sub.gdi32.dll_SetBkMode
mov edx, 0xff00
mov eax, dword [esi + 0x14]
call fcn.00480b60
push 0x536cf4
mov edx, 0x536d10
mov eax, esi
call fcn.004811f8
mov edx, 0x258
sub edx, eax
sub edx, 5
push edx
mov edx, 0x536cf4
mov eax, esi
call fcn.004811dc
mov edx, 0x320
sub edx, eax
sub edx, 5
mov eax, esi
pop ecx
call fcn.004810f8
mov al, 0xff
call fcn.005357d4
mov edx, eax
mov eax, dword [esi + 0xc]
call fcn.00480260
lea edx, [ebp - 0x58]
mov eax, 0x536814
call fcn.00407494
mov eax, dword [ebp - 0x58]
push eax
lea edx, [ebp - 0x5c]
mov eax, 0x536814
call fcn.00407494
mov edx, dword [ebp - 0x5c]
mov eax, esi
call fcn.004811dc
sar eax, 1
jns 0x536b94
adc eax, 0
mov edx, 0x190
sub edx, eax
mov ecx, 0x217
mov eax, esi
call fcn.004810f8
lea edx, [ebp - 0x60]
mov eax, 0x53681c
call fcn.00407494
mov eax, dword [ebp - 0x60]
push eax
lea edx, [ebp - 0x64]
mov eax, 0x53681c
call fcn.00407494
mov edx, dword [ebp - 0x64]
mov eax, esi
call fcn.004811dc
sar eax, 1
jns 0x536bd6
adc eax, 0
mov edx, 0x190
sub edx, eax
mov ecx, 0x22b
mov eax, esi
call fcn.004810f8
lea edx, [ebp - 0x68]
mov eax, 0x536824
call fcn.00407494
mov eax, dword [ebp - 0x68]
push eax
lea edx, [ebp - 0x6c]
mov eax, 0x536824
call fcn.00407494
mov edx, dword [ebp - 0x6c]
mov eax, esi
call fcn.004811dc
sar eax, 1
jns 0x536c18
adc eax, 0
mov edx, 0x190
sub edx, eax
mov ecx, 0x23f
mov eax, esi
call fcn.004810f8
mov edx, 0xc0c0c0
mov eax, dword [esi + 0xc]
call fcn.00480260
mov eax, esi
call fcn.004d54a8
lea edx, [ebp - 0x18]
mov eax, dword [0x6ce480]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x6ce480]
call fcn.004b0284
push eax
call sub.user32.dll_ClientToScreen
mov eax, dword [0x553124]
cmp byte [eax], 0
je 0x536c77
mov eax, dword [ebx + 0x3b0]
call fcn.004da0c0
jmp 0x536caf
lea edx, [ebp - 0x34]
mov esi, dword [ebx + 0x3b0]
mov eax, dword [esi + 0x2d0]
call fcn.004d6110
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebx + 0x3b0]
mov eax, dword [eax + 0x2d0]
push eax
push 0
mov eax, dword [esi + 0x2cc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
call fcn.004d5d54
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x418], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x536ce4
lea eax, [ebp - 0x6c]
mov edx, 6
call fcn.00405400
lea eax, [ebp - 0x1c]
call fcn.004053dc
ret