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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x244], 0
je 0x4c39a1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4c39a1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
cmp byte [eax + 0x281], 0
jne 0x4c31e2
mov byte [ebp + 8], 2
mov byte [0x56a1ac], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
test eax, eax
je 0x4c3232
cmp dword [eax + 0x28], 0
jne 0x4c3201
call fcn.004fbc1c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x6c], eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004fb5c8
jmp 0x4c3253
mov eax, dword [ebp - 0x5c]
call fcn.004e5fc0
push 0
mov ecx, dword [0x56b194]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4a1514]
call fcn.00482154
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x244]
mov esi, dword [eax + 0x50]
test esi, esi
je 0x4c39a1
mov eax, esi
call fcn.0050c144
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
call fcn.004361d4
call fcn.00431108
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x25c]
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
call fcn.004c2714
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
jne 0x4c32c6
push 0x1fffffff
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x3c]
call fcn.00555de4
lea edx, [ebp - 0x9c]
mov cl, 0xff
mov eax, dword [ebp - 0x3c]
call fcn.004a819c
cmp dword [ebp - 0x3c], 0
je 0x4c39a1
mov eax, dword [ebp - 0x3c]
call fcn.004361d4
call fcn.0043166c
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x3c]
call fcn.00555e4c
movzx eax, bx
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], 0x718
lea ecx, [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.00555e98
cmp dword [ebp - 0x10], 0
jle 0x4c3316
mov byte [ebp - 0x52], 0
jmp 0x4c331d
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov byte [ebp - 0x54], 0
mov byte [ebp - 0x53], 0
mov byte [ebp - 0x51], 1
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
je 0x4c344a
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00469c90
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4c3390
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.004e0a44
mov ebx, eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.004dea58
add eax, 4
cmp ebx, eax
jl 0x4c3394
xor ebx, ebx
jmp 0x4c3396
mov bl, 1
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0xcb], bl
test bl, bl
je 0x4c33ee
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x28c]
xor ecx, ecx
call fcn.004de97c
mov ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.004eb514
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004deb4c
add esi, eax
add ebx, esi
mov dword [ebp - 0x78], ebx
jmp 0x4c33ff
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004fb3e8
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x28c]
xor ecx, ecx
call fcn.004de97c
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.004deb20
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.004eb514
add ebx, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], ebx
jmp 0x4c347e
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x5c]
call fcn.004df640
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x21c]
mov edx, dword [ebp - 0x3c]
call fcn.004c2b1c
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
push 0xffffffffffffffec
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4c3507
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.00484120
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.00469a6c
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.00469aa0
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
or ebx, 0xffffffff
jmp 0x4c3533
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
test byte [eax + 0x374], 8
je 0x4c3523
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.00484120
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
mov ebx, eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x80000
jne 0x4c3579
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push esi
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
mov edi, dword [eax]
call dword [edi + 0x88]
push 0x65b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
call fcn.004829dc
push eax
mov eax, dword [ebp - 0x6c]
call fcn.004829bc
push eax
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x68]
call fcn.0050c138
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x58]
call fcn.00555de4
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004361d4
call fcn.00431778
xor ecx, ecx
pop edx
call fcn.00506e50
push 3
mov eax, dword [ebp - 0x58]
call fcn.004361d4
call fcn.00431778
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x4c3700
push ebp
call fcn.004c2b50
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x4c36f9
push ebp
call fcn.004c2d08
pop ecx
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push esi
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
push ebp
call fcn.004c3000
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x4c36f4
call sub.kernel32.dll_GetTickCount
lea edx, [ebx + 0xa]
cmp eax, edx
jb 0x4c36e8
cmp edi, dword [ebp - 0x10]
jle 0x4c3696
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x60]
or eax, 4
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x7c]
push eax
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push esi
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [ebp - 0x58], edx
call fcn.00403d30
push esi
push 0
call sub.user32.dll_ReleaseDC
cmp dword [ebp - 0x5c], 0
je 0x4c39a1
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0x256], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
xor ecx, ecx
mov dl, 1
call fcn.004c43f4
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
movzx eax, byte [eax + 0x283]
mov eax, dword [eax*4 + 0x56a1bc]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_ShowWindow
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
push ebp
call fcn.004c30ec
pop ecx
mov byte [0x56a1ac], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
test eax, eax
je 0x4c381e
mov byte [eax + 0x24], 1
mov eax, dword [0x56aeec]
cmp dword [eax], 6
jne 0x4c3864
mov eax, dword [0x56b21c]
cmp dword [eax], 0
jne 0x4c3864
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
je 0x4c387c
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.004df7b4
push 0x585
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
test eax, eax
je 0x4c38aa
mov byte [eax + 0x24], 0
mov eax, dword [ebp - 0x3c]
xor edx, edx
mov dword [ebp - 0x3c], edx
call fcn.00403d30
call fcn.004decac
test al, al
je 0x4c38c7
push 0x14
call sub.kernel32.dll_Sleep_1
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00472ce0
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
jne 0x4c390c
mov eax, dword [ebp - 0x6c]
xor edx, edx
mov dword [ebp - 0x6c], edx
call fcn.00403d30
jmp 0x4c3983
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
xor ecx, ecx
xor edx, edx
call fcn.004fb9d4
push eax
mov eax, dword [ebp - 0x6c]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x7894]
cmp byte [eax + 5], 0
jne 0x4c396a
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x244]
call fcn.005363e8
cmp dword [eax + 0x78b0], 0
jle 0x4c397c
mov eax, dword [0x56ae20]
cmp dword [eax], 7
jle 0x4c397c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
mov cl, 0xff
mov dl, 1
call fcn.004fa7e8
push ebp
call fcn.004c30ec
pop ecx
mov eax, dword [ebp - 0x5c]
cmp word [eax + 0xaa], 0
je 0x4c39a1
mov ebx, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4