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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
mov byte [0x6012f4], 1
mov eax, esi
mov edx, dword [0x4cd3c4]
call fcn.00405288
test al, al
je 0x5835af
push 0
mov dx, 4
xor eax, eax
call fcn.0040cf84
push eax
push 0xa100
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_SendMessageW
mov ebx, eax
jmp 0x5835b1
xor ebx, ebx
test ebx, ebx
je 0x5835d0
cmp dword [ebx + 0x288], 0
je 0x5835d0
call fcn.0057482c
test al, al
je 0x5835d0
mov byte [ebp - 0x8d], 1
jmp 0x5835d7
mov byte [ebp - 0x8d], 0
call fcn.0057482c
test al, al
je 0x583f4c
mov eax, esi
mov edx, dword [0x4cd3c4]
call fcn.00405288
test al, al
je 0x583f4c
cmp dword [ebx + 0x288], 0
je 0x583644
cmp dword [ebx + 0xec], 0
je 0x583621
mov eax, dword [ebx + 0xec]
mov dword [ebp - 0xac], eax
xor eax, eax
mov dword [ebx + 0xec], eax
jmp 0x583644
xor edx, edx
xor eax, eax
call fcn.0057dfdc
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0xc8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.005abe90
mov eax, dword [ebx + 0xc8]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebx + 0xc8]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x30]
pop edx
call fcn.0057dfdc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00456324
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.005805c8
cmp dword [ebp - 0x1c], 0
je 0x5846ff
cmp dword [ebx + 0x288], 0
jne 0x5836d8
push 0x1fffffff
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x12c]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.00593238
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00456428
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x94], 0x11b
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xa4]
xor edx, edx
xor eax, eax
call fcn.0040b03c
cmp dword [ebp - 0x10], 0
jle 0x583735
mov byte [ebp - 0x52], 0
jmp 0x58373c
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
mov eax, dword [ebx + 0x288]
test eax, eax
je 0x583c46
cmp dword [eax + 0x18], 0
jne 0x583761
call fcn.005c0d64
mov eax, dword [ebx + 0x288]
mov edx, dword [eax + 0x18]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x3c], ecx
cmp dword [eax + 0x30], 0
je 0x58379c
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x30]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowLongW
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x288]
call fcn.005c0d64
cmp byte [ebx + 0x228], 0
je 0x5837dd
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.005b1684
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x88], eax
jmp 0x5838b5
mov eax, dword [ebx + 0xc8]
call fcn.0058f8fc
mov edi, dword [eax + 0x7890]
mov eax, dword [ebx + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x583866
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x34]
je 0x583866
mov eax, dword [ebx + 0x26c]
call fcn.004b7904
xor ecx, ecx
mov edx, dword [ebx + 0x288]
call fcn.005a4974
push eax
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.005b1684
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebx + 0x288]
call fcn.005a4a58
pop edx
add edx, eax
push edx
mov eax, dword [ebx + 0x26c]
call fcn.005a49dc
pop edx
sub edx, eax
pop eax
sub edx, eax
add edx, dword [edi + 0x34]
sub edx, dword [edi + 0x38]
mov dword [ebp - 0x88], edx
jmp 0x5838b5
mov eax, dword [ebx + 0x26c]
call fcn.004b7904
xor ecx, ecx
mov edx, dword [ebx + 0x288]
call fcn.005a4974
push eax
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.005b1684
mov edi, dword [ebp - 0x128]
mov eax, dword [ebx + 0x288]
call fcn.005a4a58
add edi, eax
mov eax, dword [ebx + 0x26c]
call fcn.005a49dc
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0x88], edi
mov eax, dword [ebx + 0x26c]
call fcn.004b7904
xor ecx, ecx
mov edx, dword [ebx + 0x288]
call fcn.005a4974
push eax
mov eax, dword [ebx + 0x288]
call fcn.005a4a78
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.005b1684
add edi, dword [ebp - 0x12c]
mov dword [ebp - 0x8c], edi
lea eax, [ebp - 0xe4]
push eax
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xe4]
sub edx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004db76c
mov edx, dword [ebp - 0xe0]
sub edx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004db7a8
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x9c]
call fcn.004adf74
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x98]
call fcn.004adfa8
push 3
mov eax, dword [ebx + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0x8c]
push eax
push edi
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
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 - 0xa4]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00457314
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
push eax
mov eax, dword [0x601f1c]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
call fcn.0057dfdc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0045cbac
call fcn.00457314
xor ecx, ecx
pop edx
call fcn.00578db4
cmp dword [ebp - 0x10], 0
jle 0x583b55
push ebp
call fcn.00583210
pop ecx
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x583b4e
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
push ebp
call fcn.00583344
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0045cbac
call fcn.00457314
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
push eax
mov eax, dword [0x601f1c]
mov eax, dword [eax]
call eax
push 0
movzx eax, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea edx, [edx + edx*2]
xor eax, eax
call fcn.0040e7a8
mov edx, eax
mov eax, 0xff
call fcn.0040e6e0
push eax
mov eax, dword [ebp - 0xa8]
call fcn.004b7904
mov edx, dword [ebp - 0xac]
pop ecx
call fcn.005a3740
push ebp
call fcn.00583504
pop ecx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x10], 0
jle 0x583b42
call sub.kernel32.dll_GetTickCount_1
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x583b36
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jle 0x583a9a
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 [0x6012f4], 0
mov eax, dword [ebx + 0x26c]
cmp byte [eax + 0x340], 0
je 0x583b85
movzx edx, byte [ebp - 0xc]
mov eax, dword [ebx + 0x26c]
call fcn.004db5f0
push 0
push 1
push 0xb
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_SendMessageW
push 0x585
push 0
push 0
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x288]
call fcn.005c0bfc
push eax
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x94]
or eax, 4
push eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0x8c]
push eax
push 0
mov eax, dword [ebx + 0x288]
mov eax, dword [eax + 0x18]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x288]
call fcn.005bfa5c
lea eax, [ebp - 0xac]
call fcn.0041b3c8
lea eax, [ebp - 0xa8]
call fcn.0041b3c8
jmp 0x583f37
lea eax, [ebp - 0xe4]
push eax
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4ce824]
call fcn.004d4d58
mov edi, eax
mov dword [0x6012f0], edi
mov dword [edi + 0xc], pe_nt_image_headers32
xor edx, edx
mov eax, edi
call fcn.004d6cc0
mov edx, dword [esi + 0x40]
mov eax, dword [0x6012f0]
call fcn.004adf0c
mov edx, dword [esi + 0x44]
mov eax, dword [0x6012f0]
call fcn.004adf40
mov edx, dword [esi + 0x48]
mov eax, dword [0x6012f0]
call fcn.004adf74
mov edx, dword [esi + 0x4c]
mov eax, dword [0x6012f0]
call fcn.004adfa8
push 0xffffffffffffffec
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
and eax, 8
cmp eax, 8
jne 0x583cdc
mov dl, 3
mov eax, dword [0x6012f0]
call fcn.004d70e0
or edi, 0xffffffff
jmp 0x583cf1
push 3
mov eax, dword [ebx + 0x26c]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x94]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x98]
push eax
mov eax, dword [ebp - 0x9c]
push eax
mov eax, dword [0x6012f0]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x6012f0]
mov eax, dword [eax + 0x40]
push eax
push edi
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x70], eax
push 0xffffffffffffffec
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowLongW
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00457314
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
mov eax, dword [0x601f1c]
mov eax, dword [eax]
call eax
mov eax, ebx
call fcn.005a550c
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.005a59c8
mov dword [ebp - 0xb0], eax
push 0
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowRgn
push 4
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
call fcn.0057dfdc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0045cbac
call fcn.00457314
xor ecx, ecx
pop edx
call fcn.00578db4
cmp dword [ebp - 0x10], 0
jle 0x583ed4
push ebp
call fcn.00583210
pop ecx
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x583ecd
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
push ebp
call fcn.00583344
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0045cbac
call fcn.00457314
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
mov eax, dword [0x601f1c]
mov eax, dword [eax]
call eax
push ebp
call fcn.00583504
pop ecx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x10], 0
jle 0x583ec5
call sub.kernel32.dll_GetTickCount_1
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x583eb9
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jle 0x583e5a
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 [0x6012f4], 0
mov eax, dword [ebx + 0x26c]
cmp byte [eax + 0x340], 0
je 0x583f04
movzx edx, byte [ebp - 0xc]
mov eax, dword [ebx + 0x26c]
call fcn.004db5f0
push 0
push 1
push 0xb
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_SendMessageW
push 0x585
push 0
push 0
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x6012f0
call fcn.0041b3c8
lea eax, [ebp - 0x58]
call fcn.0041b3c8
lea eax, [ebp - 0x1c]
call fcn.0041b3c8
jmp 0x5846ff
cmp dword [0x6012f0], 0
jne 0x583f5e
xor edx, edx
mov eax, esi
call fcn.00582b60
cmp dword [0x6012f0], 0
je 0x5846ff
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0057dfdc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00456324
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00457314
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.005805c8
cmp dword [ebp - 0x1c], 0
je 0x5846ff
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00456428
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.0057dfdc
mov dword [ebp - 0x5c], eax
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x8d], 0
jne 0x584036
test ebx, ebx
je 0x584036
mov eax, ebx
call fcn.005a550c
cmp dword [0x6012f0], 0
je 0x5846ff
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.005a59c8
push eax
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowRgn
cmp byte [ebp + 8], 2
jne 0x5841f9
mov eax, dword [ebp - 0x1c]
call fcn.0057de6c
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
call fcn.0057de6c
mov dword [ebp - 0x64], eax
xor edx, edx
xor eax, eax
call fcn.0057dfdc
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
call fcn.0045cbac
call fcn.00457314
mov dword [ebp - 0xe8], eax
mov eax, dword [esi + 0x4c]
push eax
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [esi + 0x48]
xor edx, edx
xor eax, eax
call fcn.0040b00c
push esi
lea esi, [ebp - 0x12c]
lea edi, [ebp - 0x10c]
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 - 0x134]
xor edx, edx
xor eax, eax
call fcn.0040b03c
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x110], eax
mov byte [ebp - 0xec], 0
mov eax, dword [ebp - 0x60]
call fcn.0045cbac
call fcn.00456324
mov eax, esi
call fcn.004b7904
mov edx, eax
lea eax, [ebp - 0x11c]
mov cl, 1
call fcn.0057500c
mov eax, dword [ebp - 0x60]
call fcn.0045cbac
call fcn.00456428
lea ecx, [ebp - 0xc8]
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x60]
call fcn.0057436c
test al, al
je 0x5841ec
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x1c]
call fcn.0057436c
test al, al
je 0x5841ec
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x5841ec
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xc8]
imul dword [ebp - 0xb4]
add eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xcc]
imul dword [ebp - 0xb4]
add eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
test eax, eax
jl 0x5841da
inc eax
mov dword [ebp - 0xd4], eax
xor ecx, ecx
mov eax, dword [ebp - 0xbc]
lea edx, [eax + ecx*4]
mov eax, dword [ebp - 0xc4]
lea eax, [eax + ecx*4]
movzx ebx, byte [edx + 2]
cmp bl, byte [eax + 2]
jne 0x5841cd
movzx ebx, byte [edx + 1]
cmp bl, byte [eax + 1]
jne 0x5841cd
movzx edx, byte [edx]
cmp dl, byte [eax]
jne 0x5841cd
xor edx, edx
mov dword [eax], edx
jmp 0x5841d1
mov byte [eax + 3], 0xff
inc ecx
dec dword [ebp - 0xd4]
jne 0x58419c
inc dword [ebp - 0xb4]
dec dword [ebp - 0xd0]
jne 0x584156
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x584208
xor eax, eax
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x68], eax
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x10], 0
jle 0x584581
mov eax, 0xff
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0x80], eax
mov ebx, 0xff
sub ebx, dword [ebp - 0x80]
sub ebx, 0x7f
mov dword [ebp - 0x84], 0xff
cmp byte [ebp + 8], 2
jne 0x584256
mov eax, dword [0x601304]
call fcn.00579fdc
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x58456c
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
cmp byte [ebp + 8], 2
jne 0x5844c3
mov eax, dword [0x601304]
call fcn.00579fdc
cmp dword [ebp - 0x74], 0
jle 0x5843e5
mov eax, dword [0x608b38]
call fcn.004089e8
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
jle 0x584442
mov eax, dword [ebp - 0x7c]
dec eax
test eax, eax
jl 0x584442
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x608b38]
push esi
push edi
lea esi, [edx + eax*8]
lea edi, [ebp - 0xe4]
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 - 0x74]
add eax, eax
inc eax
push eax
mov eax, dword [ebp - 0x74]
add eax, eax
inc eax
push eax
lea eax, [ebp - 0xe4]
push eax
call sub.user32.dll_InflateRect
lea eax, [ebp - 0xe4]
xor edx, edx
call fcn.005c5df4
mov edx, eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x44]
lea eax, [ebp - 0xe4]
xor edx, edx
call fcn.005c5e08
mov edx, eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xcc0020
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x608b38]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.005c5e08
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x608b38]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.005c5df4
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x608b38]
mov eax, dword [edx + eax*8 + 4]
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x608b38]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [0x601304]
call fcn.0045cbac
call fcn.00457314
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
push 0
push 0
mov eax, dword [ebp - 0x68]
call fcn.0045cbac
call fcn.00457314
push eax
call sub.gdi32.dll_StretchBlt
lea ecx, [ebp - 0x134]
xor edx, edx
xor eax, eax
call fcn.0040b03c
lea eax, [ebp - 0x134]
push eax
push ebx
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x5c]
call fcn.00582fcc
inc dword [ebp - 0x78]
dec dword [ebp - 0xd0]
jne 0x5842bf
jmp 0x584442
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x134]
xor edx, edx
xor eax, eax
call fcn.0040b03c
lea eax, [ebp - 0x134]
push eax
push ebx
mov eax, dword [0x601304]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [0x601304]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x12c]
mov ecx, dword [0x601304]
mov eax, dword [ebp - 0x5c]
call fcn.00582fcc
lea ecx, [ebp - 0x134]
xor edx, edx
xor eax, eax
call fcn.0040b03c
lea eax, [ebp - 0x134]
push eax
mov al, 0xff
sub al, byte [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0040b00c
lea edx, [ebp - 0x12c]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
call fcn.00582fcc
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.0045cbac
call fcn.00457314
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 0x58450f
push 0
mov edx, dword [ebp - 0x84]
xor eax, eax
call fcn.0040e7a8
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x601304
lea eax, [ebp - 0x5c]
call fcn.0057dc0c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.0045cbac
call fcn.00457314
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 [0x60227c]
cmp dword [eax], 0
je 0x58453e
push 0
mov dx, 3
xor eax, eax
call fcn.0040cf84
push eax
push 0xa100
mov eax, dword [0x60227c]
mov eax, dword [eax]
call fcn.004b7904
push eax
call sub.user32.dll_SendMessageW
inc dword [ebp - 0x74]
mov edx, ebx
sub edx, dword [ebp - 0x80]
xor eax, eax
call fcn.0040e7a8
mov ebx, eax
mov eax, dword [ebp - 0x80]
sub dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x584581
call sub.kernel32.dll_GetTickCount_1
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x584560
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x584581
cmp dword [ebp - 0x84], 0
jge 0x584260
cmp byte [ebp + 8], 2
je 0x5845b3
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0045cbac
call fcn.00457314
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 [0x60227c]
cmp dword [eax], 0
je 0x5845e2
push 0
mov dx, 3
xor eax, eax
call fcn.0040cf84
push eax
push 0xa100
mov eax, dword [0x60227c]
mov eax, dword [eax]
call fcn.004b7904
push eax
call sub.user32.dll_SendMessageW
mov byte [0x6012f4], 0
cmp byte [esi + 0x59], 0
je 0x58468a
push 0
push 1
push 0xb
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_SendMessageW
push 0
mov eax, dword [0x6012f0]
call fcn.004b7904
mov ecx, 0xff
mov edx, dword [ebp - 0x5c]
call fcn.005a3740
mov eax, dword [0x602060]
cmp dword [eax], 6
jl 0x58463f
push 0x585
push 0
push 0
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x4cd3c4]
call fcn.00405288
test al, al
je 0x58466b
push 0xffffffffffffffec
mov eax, esi
call fcn.004b7904
push eax
call sub.user32.dll_GetWindowLongW
and eax, 0x80000
cmp eax, 0x80000
je 0x58468a
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x6012f0]
call fcn.004b7904
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x6012f0
call fcn.0041b3c8
lea eax, [ebp - 0x5c]
call fcn.0041b3c8
mov eax, 0x601304
call fcn.0041b3c8
lea eax, [ebp - 0x1c]
call fcn.0041b3c8
cmp dword [0x601308], 0
je 0x5846d5
mov eax, 0x601308
call fcn.0041b3c8
cmp dword [ebp - 0x60], 0
je 0x5846e3
lea eax, [ebp - 0x60]
call fcn.0041b3c8
cmp dword [ebp - 0x68], 0
je 0x5846f1
lea eax, [ebp - 0x68]
call fcn.0041b3c8
cmp dword [ebp - 0x64], 0
je 0x5846ff
lea eax, [ebp - 0x64]
call fcn.0041b3c8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4