Function at 0x5239b0
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dcd6
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1e8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x1f4], ebx
mov dword [ebp - 0x1f0], esi
mov dword [ebp - 0x1e4], eax
call fcn.00523ec0
add esp, 4
test al, al
je 0x523bc5
cmp dword [esi + 0x10], 0
je 0x523bc5
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7f00
push eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x1a8], 0x30
mov dword [ebp - 0x1a4], 8
mov dword [ebp - 0x1a0], 0x5209e0
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], eax
mov dword [ebp - 0x190], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x18c], eax
lea eax, [ebp - 0x1a8]
push eax
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0x5b9c7c
call fcn.004548f0
movzx eax, ax
test ax, ax
je 0x523bc5
test ebx, ebx
jne 0x523b78
mov ebx, dword [0x5f3910]
lea esi, [ebx + 4]
push esi
mov dword [ebp - 0x1f8], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x30
lea eax, [ebp - 0x1d8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0053f340
add esp, 0xc
mov dword [ebp - 0x1d8], 0x30
lea eax, [ebp - 0x1d8]
push eax
push dword [0x5f39c8]
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x523b60
mov eax, dword [ebp - 0x1d0]
test eax, eax
je 0x523b60
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x2c]
jne 0x523b60
mov ebx, dword [ebp - 0x1d0]
mov dword [ebp - 4], 1
jmp 0x523b6a
mov ebx, dword [ebx + 0x3c]
mov dword [ebp - 4], 2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1e0]
push 0
push dword [ebp - 0x194]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
sub eax, ecx
push 0
push ebx
push eax
mov eax, dword [esi + 8]
sub eax, edx
push eax
push ecx
push edx
push 0x86c80000
push 0
push 0x5b9c7c
push 1
call fcn.004171a0
mov esi, eax
test esi, esi
jne 0x523be3
push dword [ebp - 0x1dc]
push 0x5b9c7c
call fcn.00477aa0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
push 0
call fcn.00466db0
add esp, 4
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x138
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.0053f340
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x178]
push dword [ebp - 0x1e4]
push dword [ebp - 0x1e8]
push dword [ebp - 0x1ec]
push dword [ebp - 0x1f0]
push edi
push eax
push esi
call fcn.005237d0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 3
jb 0x523c46
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x178]
call fcn.0051ce20
xor ebx, ebx
xor edi, edi
cmp byte [ebp - 0x44], bl
je 0x523c97
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, eax
test edi, edi
je 0x523c86
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push dword [ebp - 0x94]
mov ebx, eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x523ccb
xor ebx, ebx
push ebx
push dword [ebp - 0x94]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x523ccb
mov esi, dword [ebp - 0x94]
test esi, esi
je 0x523ccb
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 5
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 7
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebp - 0x9e], 0
mov esi, eax
je 0x523d33
nop dword [eax]
push 0
push 0
push 0
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x523d33
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x493e0
ja 0x523d33
cmp byte [ebp - 0x44], 0
je 0x523d16
push edi
call dword [sym.imp.USER32.dll_SetCursor]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [ebp - 0x9e], 0
jne 0x523ce0
cmp byte [ebp - 0x44], 0
je 0x523d44
test ebx, ebx
je 0x523d44
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0xbc], 1
mov eax, dword [ebp - 0x1f4]
sete bl
test eax, eax
je 0x523d5f
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp - 0x1dc]
push 0x5b9c7c
call fcn.00477aa0
lea ecx, [ebp - 0x178]
call fcn.0051c0a0
mov al, bl
jmp 0x523bc7