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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c6f2e
mov eax, esi
call fcn.00472ce0
call fcn.004c2370
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4c6f2e
mov byte [0x56a1ac], 1
mov eax, esi
mov edx, dword [0x47ebb4]
call fcn.00403ed0
test al, al
je 0x4c5bf6
push 0
mov eax, esi
call fcn.00472ce0
mov ecx, 0x40000
mov edx, 0xa100
call fcn.004c79b8
mov ebx, eax
jmp 0x4c5bf8
xor ebx, ebx
test ebx, ebx
je 0x4c5c17
cmp dword [ebx + 0x28c], 0
je 0x4c5c17
call fcn.00502cd4
test al, al
je 0x4c5c17
mov byte [ebp - 0x8d], 1
jmp 0x4c5c1e
mov byte [ebp - 0x8d], 0
call fcn.00502cd4
test al, al
je 0x4c65c3
mov eax, esi
mov edx, dword [0x47ebb4]
call fcn.00403ed0
test al, al
je 0x4c65c3
cmp dword [ebx + 0x28c], 0
je 0x4c5c8b
cmp dword [ebx + 0x118], 0
je 0x4c5c68
mov eax, dword [ebx + 0x118]
mov dword [ebp - 0xbc], eax
xor eax, eax
mov dword [ebx + 0x118], eax
jmp 0x4c5c8b
xor edx, edx
xor eax, eax
call fcn.0050c094
mov dword [ebp - 0xbc], eax
mov eax, dword [ebx + 0x244]
mov edx, dword [eax + 0x50]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004e5fc0
mov eax, dword [ebx + 0x244]
cmp dword [eax + 0x50], 0
jne 0x4c5caa
mov byte [0x56a1ac], 0
jmp 0x4c6f2e
mov eax, dword [ebx + 0x244]
mov eax, dword [eax + 0x50]
call fcn.0050c144
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.00431108
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004c2714
cmp dword [ebp - 0x1c], 0
je 0x4c6f2e
cmp dword [ebx + 0x28c], 0
jne 0x4c5d0d
push 0x1fffffff
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 0x1c]
call fcn.00555de4
lea edx, [ebp - 0x198]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.004a819c
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.0043166c
movzx eax, di
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], 0x11b
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x1c]
call fcn.00555e4c
lea ecx, [ebp - 0x80]
xor edx, edx
xor eax, eax
call fcn.00555e98
cmp dword [ebp - 0x10], 0
jle 0x4c5d53
mov byte [ebp - 0x52], 0
jmp 0x4c5d5a
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
cmp dword [ebx + 0x28c], 0
je 0x4c62c8
mov eax, dword [ebx + 0x28c]
cmp dword [eax + 0x28], 0
jne 0x4c5d8a
mov eax, dword [ebx + 0x28c]
call fcn.004fbc1c
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebx + 0x28c]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebx + 0x28c]
cmp dword [eax + 0x3c], 0
je 0x4c5dd1
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x3c]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebx + 0x28c]
call fcn.004fbc1c
cmp byte [ebx + 0xcb], 0
je 0x4c5e12
lea edx, [ebp - 0x198]
mov eax, ebx
call fcn.004eb514
mov eax, dword [ebp - 0x194]
mov dword [ebp - 0xc8], eax
jmp 0x4c5f04
mov eax, dword [ebx + 0x244]
call fcn.005363e8
mov eax, dword [eax + 0x7894]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4c5eb5
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0xdc]
cmp eax, dword [edx + 0x24]
je 0x4c5eb5
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
xor ecx, ecx
mov edx, dword [ebx + 0x28c]
call fcn.004de97c
push eax
lea edx, [ebp - 0x198]
mov eax, ebx
call fcn.004eb514
mov edi, dword [ebp - 0x194]
mov eax, dword [ebx + 0x28c]
call fcn.004dead4
add edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004dea58
sub edi, eax
pop eax
sub edi, eax
mov eax, dword [ebp - 0xdc]
add edi, dword [eax + 0x24]
mov eax, dword [ebp - 0xdc]
sub edi, dword [eax + 0x28]
mov dword [ebp - 0xc8], edi
jmp 0x4c5f04
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
xor ecx, ecx
mov edx, dword [ebx + 0x28c]
call fcn.004de97c
push eax
lea edx, [ebp - 0x198]
mov eax, ebx
call fcn.004eb514
mov edi, dword [ebp - 0x194]
mov eax, dword [ebx + 0x28c]
call fcn.004dead4
add edi, eax
mov eax, dword [ebx + 0x25c]
call fcn.004dea58
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0xc8], edi
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
xor ecx, ecx
mov edx, dword [ebx + 0x28c]
call fcn.004de97c
push eax
mov eax, dword [ebx + 0x28c]
call fcn.004deb20
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0x198]
mov eax, ebx
call fcn.004eb514
add edi, dword [ebp - 0x198]
mov dword [ebp - 0xcc], edi
lea eax, [ebp - 0x150]
push eax
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0x150]
sub edx, dword [ebp - 0xcc]
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00488268
mov edx, dword [ebp - 0x14c]
sub edx, dword [ebp - 0xc8]
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004882a4
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x68]
call fcn.00469a6c
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x64]
call fcn.00469aa0
push 3
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindow
mov edi, eax
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 - 0x14c]
sub eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0xcc]
push eax
push edi
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x70], eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 0x68]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00472ce0
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x68]
call fcn.0050c138
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 0x58]
call fcn.00555de4
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004361d4
call fcn.00431778
xor ecx, ecx
pop edx
call fcn.00506e50
cmp dword [ebp - 0x10], 0
jle 0x4c61b8
push ebp
call fcn.004c5810
pop ecx
xor eax, eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x10]
jg 0x4c61b1
call sub.kernel32.dll_GetTickCount
mov edi, eax
push ebp
call fcn.004c5930
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 0x68]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 0x84]
call fcn.00472ce0
mov dword [ebp - 0xf0], eax
movzx eax, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea eax, [edx + edx*2]
test eax, eax
jge 0x4c6134
xor eax, eax
mov dword [ebp - 0xe8], eax
jmp 0x4c6146
movzx eax, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea eax, [edx + edx*2]
mov dword [ebp - 0xe8], eax
cmp dword [ebp - 0xe8], 0xff
jle 0x4c615e
mov dword [ebp - 0xec], 0xff
jmp 0x4c616a
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
push 0
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xf0]
call fcn.004c8484
push ebp
call fcn.004c5b24
pop ecx
inc dword [ebp - 0xc0]
cmp dword [ebp - 0x10], 0
jle 0x4c61a2
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xa]
cmp eax, edx
jb 0x4c6196
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x10]
jle 0x4c60bc
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x70]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x56a1ac], 0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x330], 0
je 0x4c61e8
movzx edx, byte [ebp - 0xc]
mov eax, dword [ebx + 0x25c]
call fcn.004881d8
push 0
mov ecx, 1
mov edx, 0xb
mov eax, esi
call fcn.0046b73c
push 0x585
push 0
push 0
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x28c]
call fcn.004fb9d4
push eax
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowRgn
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 - 0x14c]
sub eax, dword [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0xcc]
push eax
push 0
mov eax, dword [ebx + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x28c]
call fcn.004fa7e8
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xf4], eax
xor eax, eax
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xf4]
call fcn.00403d30
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xf8], eax
xor eax, eax
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0xf8]
call fcn.00403d30
jmp 0x4c6598
lea eax, [ebp - 0x150]
push eax
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowRect
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4a1514]
call fcn.00482154
mov dword [0x56a1a8], eax
mov edx, dword [esi + 0x40]
mov eax, dword [0x56a1a8]
call fcn.00469a04
mov edx, dword [esi + 0x44]
mov eax, dword [0x56a1a8]
call fcn.00469a38
mov edx, dword [esi + 0x48]
mov eax, dword [0x56a1a8]
call fcn.00469a6c
mov edx, dword [esi + 0x4c]
mov eax, dword [0x56a1a8]
call fcn.00469aa0
push 0xffffffffffffffec
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x4c6349
mov dl, 3
mov eax, dword [0x56a1a8]
call fcn.00484120
or edi, 0xffffffff
jmp 0x4c6376
cmp dword [ebx + 0x28c], 0
je 0x4c6361
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
mov edi, eax
jmp 0x4c6376
push 3
mov eax, dword [ebx + 0x25c]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x60]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x40]
push eax
push edi
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x70], eax
push 0xffffffffffffffec
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowLongW
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 0x68]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
mov eax, ebx
call fcn.004df640
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004dfa5c
mov dword [ebp - 0x5c], eax
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowRgn
push 4
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x68]
call fcn.0050c138
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 0x58]
call fcn.00555de4
lea eax, [ebp - 0x198]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004361d4
call fcn.00431778
xor ecx, ecx
pop edx
call fcn.00506e50
cmp dword [ebp - 0x10], 0
jle 0x4c6522
push ebp
call fcn.004c5810
pop ecx
xor eax, eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x10]
jg 0x4c651b
call sub.kernel32.dll_GetTickCount
mov edi, eax
push ebp
call fcn.004c5930
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004361d4
call fcn.00431778
push eax
lea eax, [ebp - 0x68]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
mov eax, dword [0x56addc]
mov eax, dword [eax]
call eax
push ebp
call fcn.004c5b24
pop ecx
inc dword [ebp - 0xc0]
cmp dword [ebp - 0x10], 0
jle 0x4c6510
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xa]
cmp eax, edx
jb 0x4c6504
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x10]
jle 0x4c64a8
movzx eax, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x70]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x56a1ac], 0
mov eax, dword [ebx + 0x25c]
cmp byte [eax + 0x330], 0
je 0x4c6552
movzx edx, byte [ebp - 0xc]
mov eax, dword [ebx + 0x25c]
call fcn.004881d8
push 0
mov ecx, 1
mov edx, 0xb
mov eax, esi
call fcn.0046b73c
push 0x585
push 0
push 0
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [0x56a1a8]
mov dword [ebp - 0xfc], eax
xor eax, eax
mov dword [0x56a1a8], eax
mov eax, dword [ebp - 0xfc]
call fcn.00403d30
mov eax, dword [ebp - 0x58]
xor edx, edx
mov dword [ebp - 0x58], edx
call fcn.00403d30
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x100], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x100]
call fcn.00403d30
jmp 0x4c6f2e
cmp dword [0x56a1a8], 0
jne 0x4c65d5
xor edx, edx
mov eax, esi
call fcn.004c5174
cmp dword [0x56a1a8], 0
je 0x4c6f2e
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0050c094
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.00431108
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.00431778
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x6c], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004c2714
cmp dword [ebp - 0x1c], 0
je 0x4c6f2e
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.00431778
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.0043166c
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0050c094
mov dword [ebp - 0xac], eax
movzx eax, di
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x8d], 0
jne 0x4c66b0
test ebx, ebx
je 0x4c66b0
mov eax, ebx
call fcn.004df640
cmp dword [0x56a1a8], 0
je 0x4c6f2e
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004dfa5c
push eax
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowRgn
cmp byte [ebp + 8], 2
jne 0x4c6887
mov eax, dword [ebp - 0x1c]
call fcn.0050bf24
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x1c]
call fcn.0050bf24
mov dword [ebp - 0xb4], eax
xor edx, edx
xor eax, eax
call fcn.0050c094
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
call fcn.004361d4
call fcn.00431778
mov dword [ebp - 0x154], eax
lea edx, [ebp - 0x198]
mov eax, esi
call fcn.00555e08
push esi
lea esi, [ebp - 0x198]
lea edi, [ebp - 0x178]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea ecx, [ebp - 0x1a0]
xor edx, edx
xor eax, eax
call fcn.00555e98
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 0x158], 0
mov eax, dword [ebp - 0xb0]
call fcn.004361d4
call fcn.00431108
mov eax, esi
call fcn.00472ce0
mov edx, eax
lea eax, [ebp - 0x188]
mov cl, 1
call fcn.005036c0
mov eax, dword [ebp - 0xb0]
call fcn.004361d4
call fcn.0043166c
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0xd4]
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0xb0]
call fcn.005021f8
test al, al
je 0x4c6877
lea ecx, [ebp - 0xd8]
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x1c]
call fcn.005021f8
test al, al
je 0x4c6877
mov eax, dword [ebp - 0xb0]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x4c6877
inc eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd4]
imul dword [ebp - 0xd0]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xd8]
imul dword [ebp - 0xd0]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc0]
test eax, eax
jl 0x4c6865
inc eax
mov dword [ebp - 0xe4], eax
xor ecx, ecx
mov eax, dword [ebp - 0x78]
lea edx, [eax + ecx*4]
mov eax, dword [ebp - 0x8c]
lea eax, [eax + ecx*4]
movzx ebx, byte [edx + 2]
cmp bl, byte [eax + 2]
jne 0x4c6858
movzx ebx, byte [edx + 1]
cmp bl, byte [eax + 1]
jne 0x4c6858
movzx edx, byte [edx]
cmp dl, byte [eax]
jne 0x4c6858
xor edx, edx
mov dword [eax], edx
jmp 0x4c685c
mov byte [eax + 3], 0xff
inc ecx
dec dword [ebp - 0xe4]
jne 0x4c682a
inc dword [ebp - 0xd0]
dec dword [ebp - 0xe0]
jne 0x4c67ed
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4c689f
xor eax, eax
mov dword [ebp - 0xb0], eax
xor eax, eax
mov dword [ebp - 0xb4], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x10], 0
jle 0x4c6d0a
fild dword [ebp - 0x10]
fdivr dword [0x4c6f38]
fstp qword [ebp - 0x98]
wait
fld dword [0x4c6f38]
fsub qword [ebp - 0x98]
fsub dword [0x4c6f3c]
fstp qword [ebp - 0xa0]
wait
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0x406fe000
xor eax, eax
mov dword [ebp - 0xc0], eax
jmp 0x4c6ce9
call sub.kernel32.dll_GetTickCount
mov edi, eax
cmp byte [ebp + 8], 2
jne 0x4c6b9c
mov eax, dword [0x56a1c8]
call fcn.00508158
cmp dword [ebp - 0xc0], 0
jle 0x4c6ac0
mov eax, dword [0x5712d0]
call fcn.00406d7c
mov dword [ebp - 0xc4], eax
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 8]
fld qword [ebp - 0xa0]
fcomp dword [0x4c6f40]
wait
fnstsw ax
sahf
jbe 0x4c6b1a
mov eax, dword [ebp - 0xc4]
dec eax
test eax, eax
jl 0x4c6b1a
inc eax
mov dword [ebp - 0xe0], eax
xor ebx, ebx
mov eax, ebx
add eax, eax
mov edx, dword [0x5712d0]
push esi
push edi
lea esi, [edx + eax*8]
lea edi, [ebp - 0x150]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 0xc0]
add eax, eax
inc eax
push eax
mov eax, dword [ebp - 0xc0]
add eax, eax
inc eax
push eax
lea eax, [ebp - 0x150]
push eax
call sub.user32.dll_InflateRect
lea eax, [ebp - 0x150]
mov dl, 1
call fcn.00555efc
mov edx, eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0x150]
mov dl, 1
call fcn.00555f10
mov edx, eax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xcc0020
mov eax, ebx
add eax, eax
mov edx, dword [0x5712d0]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.00555f10
push eax
mov eax, ebx
add eax, eax
mov edx, dword [0x5712d0]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.00555efc
push eax
mov eax, ebx
add eax, eax
mov edx, dword [0x5712d0]
mov eax, dword [edx + eax*8 + 4]
push eax
mov eax, ebx
add eax, eax
mov edx, dword [0x5712d0]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [0x56a1c8]
call fcn.004361d4
call fcn.00431778
push eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0xb8]
call fcn.004361d4
call fcn.00431778
push eax
call sub.gdi32.dll_StretchBlt
lea ecx, [ebp - 0x1a0]
xor edx, edx
xor eax, eax
call fcn.00555e98
lea eax, [ebp - 0x1a0]
push eax
fld qword [ebp - 0xa0]
call fcn.004034a8
push eax
mov ecx, dword [ebp - 0xb8]
lea edx, [ebp - 0x150]
mov eax, dword [ebp - 0xac]
call fcn.004c55d4
inc ebx
dec dword [ebp - 0xe0]
jne 0x4c697b
jmp 0x4c6b1a
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x1a0]
xor edx, edx
xor eax, eax
call fcn.00555e98
lea eax, [ebp - 0x1a0]
push eax
fld qword [ebp - 0xa0]
call fcn.004034a8
push eax
lea edx, [ebp - 0x198]
mov eax, dword [0x56a1c8]
call fcn.00555de4
lea edx, [ebp - 0x198]
mov ecx, dword [0x56a1c8]
mov eax, dword [ebp - 0xac]
call fcn.004c55d4
lea ecx, [ebp - 0x1a0]
xor edx, edx
xor eax, eax
call fcn.00555e98
lea eax, [ebp - 0x1a0]
push eax
fld qword [ebp - 0xa8]
call fcn.004034a8
mov dl, 0xff
sub dl, al
push edx
lea edx, [ebp - 0x198]
mov eax, dword [ebp - 0xb4]
call fcn.00555de4
lea edx, [ebp - 0x198]
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xac]
call fcn.004c55d4
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xac]
call fcn.004361d4
call fcn.00431778
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x70]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4c6c42
fld qword [ebp - 0xa8]
call fcn.004034a8
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0
jne 0x4c6bc7
cmp dword [ebp - 0x108], 0
jae 0x4c6bdf
jmp 0x4c6bc9
jge 0x4c6bdf
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
jmp 0x4c6bf7
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x10c], eax
push 0
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x56a1c8
lea eax, [ebp - 0xac]
call fcn.0050bcb0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xac]
call fcn.004361d4
call fcn.00431778
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x70]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x56b0e0]
cmp dword [eax], 0
je 0x4c6c6a
push 0
push 0x30000
push 0xa100
mov eax, dword [0x56b0e0]
mov eax, dword [eax]
call fcn.00472ce0
push eax
call sub.user32.dll_SendMessageW
inc dword [ebp - 0xc0]
fld qword [ebp - 0xa0]
fsub qword [ebp - 0x98]
fcomp dword [0x4c6f40]
wait
fnstsw ax
sahf
jae 0x4c6c9f
xor eax, eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], eax
mov word [ebp - 0x118], ax
jmp 0x4c6cb2
fld qword [ebp - 0xa0]
fsub qword [ebp - 0x98]
fstp xword [ebp - 0x120]
wait
fld xword [ebp - 0x120]
fstp qword [ebp - 0xa0]
wait
fld qword [ebp - 0xa8]
fsub qword [ebp - 0x98]
fstp qword [ebp - 0xa8]
wait
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x10]
jg 0x4c6d0a
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xa]
cmp eax, edx
jb 0x4c6cdd
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x10]
jg 0x4c6d0a
fld qword [ebp - 0xa8]
fcomp dword [0x4c6f40]
wait
fnstsw ax
sahf
jae 0x4c6904
cmp byte [ebp + 8], 2
je 0x4c6d3c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004361d4
call fcn.00431778
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x70]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x56b0e0]
cmp dword [eax], 0
je 0x4c6d64
push 0
push 0x30000
push 0xa100
mov eax, dword [0x56b0e0]
mov eax, dword [eax]
call fcn.00472ce0
push eax
call sub.user32.dll_SendMessageW
mov byte [0x56a1ac], 0
cmp byte [esi + 0x57], 0
je 0x4c6e0a
push 0
mov ecx, 1
mov edx, 0xb
mov eax, esi
call fcn.0046b73c
push 0
mov eax, dword [0x56a1a8]
call fcn.00472ce0
mov ecx, 0xff
mov edx, dword [ebp - 0xac]
call fcn.004c8484
mov eax, dword [0x56aeec]
cmp dword [eax], 6
jl 0x4c6dc4
push 0x585
push 0
push 0
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x47ebb4]
call fcn.00403ed0
test al, al
je 0x4c6deb
push 0xffffffffffffffec
mov eax, esi
call fcn.00472ce0
push eax
call sub.user32.dll_GetWindowLongW
test eax, 0x80000
jne 0x4c6e0a
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x56a1a8]
call fcn.00472ce0
push eax
call sub.user32.dll_ReleaseDC
mov eax, dword [0x56a1a8]
mov dword [ebp - 0x124], eax
xor eax, eax
mov dword [0x56a1a8], eax
mov eax, dword [ebp - 0x124]
call fcn.00403d30
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x128], eax
xor eax, eax
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x128]
call fcn.00403d30
mov eax, dword [0x56a1c8]
mov dword [ebp - 0x12c], eax
xor eax, eax
mov dword [0x56a1c8], eax
mov eax, dword [ebp - 0x12c]
call fcn.00403d30
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x130], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x130]
call fcn.00403d30
cmp dword [0x56a1cc], 0
je 0x4c6eb6
mov eax, dword [0x56a1cc]
mov dword [ebp - 0x134], eax
xor eax, eax
mov dword [0x56a1cc], eax
mov eax, dword [ebp - 0x134]
call fcn.00403d30
cmp dword [ebp - 0xb0], 0
je 0x4c6ede
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x138], eax
xor eax, eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x138]
call fcn.00403d30
cmp dword [ebp - 0xb8], 0
je 0x4c6f06
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x13c], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x13c]
call fcn.00403d30
cmp dword [ebp - 0xb4], 0
je 0x4c6f2e
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x140]
call fcn.00403d30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4