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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acb56
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x62cf50]
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 - 0x1fc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1f0], eax
mov eax, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x204], ebx
mov dword [ebp - 0x200], esi
mov dword [ebp - 0x1f4], eax
call fcn.00538dc0
add esp, 4
test al, al
je 0x538ac5
cmp dword [esi + 0x10], 0
je 0x538ac5
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x7f00
push eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x1b8], 0x30
mov dword [ebp - 0x1b4], 8
mov dword [ebp - 0x1b0], 0x5358f0
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], eax
mov dword [ebp - 0x1a0], 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1b8]
push eax
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0x5f1208
call fcn.0045cb50
movzx eax, ax
test ax, ax
je 0x538ac5
test ebx, ebx
jne 0x538a78
mov ebx, dword [0x634a80]
lea esi, [ebx + 4]
push esi
mov dword [ebp - 0x208], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x30
lea eax, [ebp - 0x1e8]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0056aed0
add esp, 0xc
mov dword [ebp - 0x1e8], 0x30
lea eax, [ebp - 0x1e8]
push eax
push dword [0x634b38]
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
je 0x538a60
mov eax, dword [ebp - 0x1e0]
test eax, eax
je 0x538a60
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 + 0x30]
jne 0x538a60
mov ebx, dword [ebp - 0x1e0]
mov dword [ebp - 4], 1
jmp 0x538a6a
mov ebx, dword [ebx + 0x40]
mov dword [ebp - 4], 2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x1f0]
push 0
push dword [ebp - 0x1a4]
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 0x5f1208
push 1
call fcn.00419f80
mov esi, eax
test esi, esi
jne 0x538ae3
push dword [ebp - 0x1ec]
push 0x5f1208
call fcn.0048a6a0
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.004016cd
mov esp, ebp
pop ebp
ret
push 0
call fcn.0046fc30
add esp, 4
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x148
lea eax, [ebp - 0x188]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x188]
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
push dword [ebp - 0x1fc]
push dword [ebp - 0x200]
push edi
push eax
push esi
call fcn.005386d0
cmp dword [edi + 0x14], 8
mov dword [ebp - 4], 3
jb 0x538b46
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x188]
call fcn.00531dd0
xor ebx, ebx
xor edi, edi
cmp byte [ebp - 0x48], bl
je 0x538b97
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorW]
mov edi, eax
test edi, edi
je 0x538b86
push edi
call dword [sym.imp.USER32.dll_SetCursor]
push 0
push dword [ebp - 0xa0]
mov ebx, eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x538bcb
xor ebx, ebx
push ebx
push dword [ebp - 0xa0]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x538bcb
mov esi, dword [ebp - 0xa0]
test esi, esi
je 0x538bcb
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 - 0xaa], 0
mov esi, eax
je 0x538c33
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 0x538c33
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, esi
cmp eax, 0x493e0
ja 0x538c33
cmp byte [ebp - 0x48], 0
je 0x538c16
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 - 0xaa], 0
jne 0x538be0
cmp byte [ebp - 0x48], 0
je 0x538c44
test ebx, ebx
je 0x538c44
push ebx
call dword [sym.imp.USER32.dll_SetCursor]
cmp dword [ebp - 0xc8], 1
mov eax, dword [ebp - 0x204]
sete bl
test eax, eax
je 0x538c5f
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push dword [ebp - 0x1ec]
push 0x5f1208
call fcn.0048a6a0
lea ecx, [ebp - 0x188]
call fcn.005310a0
mov al, bl
jmp 0x538ac7