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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 8]
push ecx
mov edx, dword [0x9cef70]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
jl 0x59998d
cmp dword [ebp - 4], 0
jl 0x59998d
cmp dword [ebp - 8], 0x280
jg 0x59998d
cmp dword [ebp - 4], 0x1e0
jg 0x59998d
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [0x121bc08]
jne 0x5999a6
mov ecx, dword [0x121bc0c]
cmp ecx, dword [0x607ee0]
je 0x5999f3
mov edx, dword [ebp - 0xc]
mov dword [0x121bc08], edx
mov eax, dword [0x607ee0]
mov dword [0x121bc0c], eax
cmp dword [0x121bc08], 0
je 0x5999d7
mov ecx, dword [0x121bc08]
push ecx
call dword [sym.imp.USER32.dll_ShowCursor]
test eax, eax
jge 0x5999d5
jmp 0x5999c2
jmp 0x5999f3
cmp dword [0x121bc0c], 2
jne 0x5999f3
mov edx, dword [0x121bc08]
push edx
call dword [sym.imp.USER32.dll_ShowCursor]
test eax, eax
jl 0x5999f3
jmp 0x5999e0
cmp dword [0x121bbf8], 0
jl 0x599a1c
mov eax, dword [0x121bbf8]
mov dword [0x121bbe0], eax
mov dword [0x121bbf8], 0xffffffff
mov ecx, dword [0x121bbf0]
mov dword [0x121bbdc], ecx
mov byte [0xca992e], 0
mov edx, dword [0x121bbe0]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
sub eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xf
ja case.0x599a42.7
mov ecx, dword [ebp - 0x14]
jmp dword [ecx*4 + 0x599e94]
mov dword [0x7d22c4], 0
call fcn.0047c860
mov edx, dword [0x9cf37c]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 4
ja case.default.0x599a74
mov eax, dword [ebp - 0x18]
jmp dword [eax*4 + 0x599ed4]
call fcn.0047f830
jmp case.default.0x599a74
call fcn.0047f530
jmp case.default.0x599a74
call fcn.00489ad0
jmp case.default.0x599a74
call fcn.00490800
call fcn.004012b0
call fcn.005a1ed0
call fcn.0047be60
call fcn.00460410
jmp case.0x599a42.7
mov dword [0x7d22c4], 0
call fcn.0048acd0
call fcn.004012b0
call fcn.005a1ed0
jmp case.0x599a42.7
mov dword [0x7d22c4], 0
call fcn.0048bf20
call fcn.004012b0
call fcn.005a1ed0
jmp case.0x599a42.7
mov dword [0x7d22c4], 0
call fcn.0047c860
call fcn.0048dff0
call fcn.004012b0
call fcn.005a1ed0
call fcn.0047be60
call fcn.00460410
jmp case.0x599a42.7
mov dword [0x7d22c4], 0
call fcn.0047c860
cmp dword [0x9cf37c], 3
jl 0x599b36
call fcn.0048db70
jmp 0x599b3b
call fcn.00484ff0
call fcn.004012b0
call fcn.005a1ed0
call fcn.0047be60
call fcn.00460410
jmp case.0x599a42.7
mov byte [0x121bc00], 0
mov dword [0x7d22c4], 0
call fcn.0047be20
call fcn.0045fa60
call fcn.00498710
call fcn.00494620
call fcn.005958c0
call fcn.0045a770
call fcn.00528140
call fcn.004761e0
call fcn.0049e5b0
call fcn.0049a700
mov dword [0x63e960], 0
mov dword [0x9ce410], 0
call fcn.005723a0
call fcn.0044c830
call fcn.00571480
call fcn.005945f0
call fcn.00594630
mov dword [0x121bbec], 0xffffffff
mov dword [0x121bbe4], 0
mov dword [0xf11104], 0
call fcn.00594560
call fcn.00593f50
call fcn.005711e0
call fcn.0044fe00
mov dword [0x121bc04], 0
mov byte [0xc34f64], 0
push 6
call fcn.00599ef0
add esp, 4
call fcn.005ae490
mov dword [ebp - 0x10], 0
jmp 0x599c28
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x1c
jge 0x599c3a
mov edx, dword [ebp - 0x10]
mov byte [edx + 0xf10ee8], 0
jmp 0x599c1f
jmp case.0x599a42.7
mov dword [0x7d22c4], 0
call fcn.00488a20
call fcn.004012b0
call fcn.005a1ed0
jmp case.0x599a42.7
call fcn.00488dc0
call fcn.004012b0
jmp case.0x599a42.7
call fcn.00599f70
jmp case.0x599a42.7
mov eax, dword [0x121bbdc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x599c93
cmp dword [ebp - 0x1c], 1
je 0x599d19
jmp 0x599d4d
call fcn.00595f70
call fcn.0045a770
call fcn.00401430
call fcn.005711e0
call fcn.0044fe00
mov dword [0x62f838], 1
call fcn.0059b290
mov dword [0x7d22c4], 2
call fcn.005ae490
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x599ceb
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x20], edx
jmp 0x599cf4
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
fild qword [ebp - 0x28]
fstp qword [0x7d12b8]
mov eax, dword [0x121bbdc]
add eax, 1
mov dword [0x121bbdc], eax
jmp 0x599d4d
push ecx
fld dword [0x5f79c8]
fstp dword [esp]
push 0
push 2
call fcn.0059e640
add esp, 0xc
cmp eax, 1
jne 0x599d4d
mov dword [0x7d22c4], 0
mov ecx, dword [0x121bbdc]
add ecx, 1
mov dword [0x121bbdc], ecx
call fcn.00476410
test eax, eax
je 0x599e47
call fcn.0059eff0
call fcn.00595f70
call fcn.0045a770
call fcn.005772b0
call fcn.0047fd20
mov dword [0x9cf37c], eax
cmp dword [0x9cf37c], 3
jne 0x599d8f
push 0
push 0x1b
call fcn.0046c870
add esp, 8
jmp 0x599d9b
push 0
push 0
call fcn.0046c870
add esp, 8
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x599dbc
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x2c], edx
jmp 0x599dc5
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
sub edx, dword [0x7d22c0]
cmp edx, 0x16e360
jbe 0x599e2f
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0
push 0
push 0x11
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 0
push 0
push 0x6a
call dword [sym.imp.USER32.dll_keybd_event]
push 0x64
call dword [sym.imp.kernel32.dll_Sleep]
push 0
push 2
push 0
push 0x6a
call dword [sym.imp.USER32.dll_keybd_event]
push 0
push 2
push 0
push 0x11
call dword [sym.imp.USER32.dll_keybd_event]
push 2
call fcn.00599ef0
add esp, 4
jmp 0x599e39
push 2
call fcn.00599ef0
add esp, 4
call fcn.00401430
mov byte [0xfd576e], 0
jmp case.0x599a42.7
call fcn.004012b0
call fcn.005a1ed0
jmp case.0x599a42.7
call fcn.0044cd70
jmp case.0x599a42.7
call fcn.005cb800
jmp case.0x599a42.7
mov dword [0x7d22c4], 0
call fcn.004763c0
call fcn.00497670
call fcn.0049e8e0
call fcn.0047bc00
call fcn.0047c860
call fcn.0051b230
jmp case.0x599a42.7
call fcn.00519b10
mov esp, ebp
pop ebp
ret