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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov esi, eax
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4def50
mov eax, esi
call fcn.00458204
call fcn.004daba0
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x4def50
mov byte [0x547c8c], 1
mov eax, esi
mov edx, dword [0x467414]
call fcn.00403794
test al, al
je 0x4dde66
push 0
mov dx, 4
xor eax, eax
call fcn.004076fc
push eax
push 0xa100
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4dde68
xor ebx, ebx
test ebx, ebx
je 0x4dde87
cmp dword [ebx + 0x2a4], 0
je 0x4dde87
call fcn.0051d4ec
test al, al
je 0x4dde87
mov byte [ebp - 0x89], 1
jmp 0x4dde8e
mov byte [ebp - 0x89], 0
call fcn.0051d4ec
test al, al
je 0x4de74d
mov eax, esi
mov edx, dword [0x467414]
call fcn.00403794
test al, al
je 0x4de74d
cmp dword [ebx + 0x2a4], 0
je 0x4ddefb
cmp dword [ebx + 0x118], 0
je 0x4dded8
mov eax, dword [ebx + 0x118]
mov dword [ebp - 0xa0], eax
xor eax, eax
mov dword [ebx + 0x118], eax
jmp 0x4ddefb
xor edx, edx
xor eax, eax
call fcn.00526520
mov dword [ebp - 0xa0], eax
mov eax, dword [ebx + 0x260]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0xa0]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.005032cc
mov eax, dword [ebx + 0x260]
cmp dword [eax + 0x48], 0
jne 0x4ddf1a
mov byte [0x547c8c], 0
jmp 0x4def50
mov eax, dword [ebx + 0x260]
mov eax, dword [eax + 0x48]
call fcn.005265d0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00426bd0
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004dadcc
cmp dword [ebp - 0x1c], 0
je 0x4def50
cmp dword [ebx + 0x2a4], 0
jne 0x4ddf7d
push 0x1fffffff
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x1c]
call fcn.0051be8c
lea edx, [ebp - 0x128]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.004ae3d0
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00426f78
movzx eax, di
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x5c], 0x11b
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x1c]
call fcn.0051bef4
lea ecx, [ebp - 0x7c]
xor edx, edx
xor eax, eax
call fcn.0051bf40
cmp dword [ebp - 0x10], 0
jle 0x4ddfc3
mov byte [ebp - 0x52], 0
jmp 0x4ddfc9
mov al, 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 + 0x2a4]
test eax, eax
je 0x4de48d
cmp dword [eax + 0x28], 0
jne 0x4ddfee
call fcn.0051857c
mov eax, dword [ebx + 0x2a4]
mov edx, dword [eax + 0x28]
mov ecx, dword [eax + 0x30]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x34]
mov dword [edx + 0x3c], ecx
cmp dword [eax + 0x3c], 0
je 0x4de029
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x3c]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x80], eax
mov eax, dword [ebx + 0x2a4]
call fcn.0051857c
cmp byte [ebx + 0xcb], 0
je 0x4de067
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.0050896c
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xb4], eax
jmp 0x4de13f
mov eax, dword [ebx + 0x260]
call fcn.004f5fc0
mov edi, dword [eax + 0x7890]
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4de0f0
mov eax, dword [edi + 0x28]
cmp eax, dword [edi + 0x24]
je 0x4de0f0
mov eax, dword [ebx + 0x274]
call fcn.00458204
xor ecx, ecx
mov edx, dword [ebx + 0x2a4]
call fcn.004fbe2c
push eax
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.0050896c
mov eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebx + 0x2a4]
call fcn.004fbf80
pop edx
add edx, eax
push edx
mov eax, dword [ebx + 0x274]
call fcn.004fbf0c
pop edx
sub edx, eax
pop eax
sub edx, eax
add edx, dword [edi + 0x24]
sub edx, dword [edi + 0x28]
mov dword [ebp - 0xb4], edx
jmp 0x4de13f
mov eax, dword [ebx + 0x274]
call fcn.00458204
xor ecx, ecx
mov edx, dword [ebx + 0x2a4]
call fcn.004fbe2c
push eax
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.0050896c
mov edi, dword [ebp - 0x124]
mov eax, dword [ebx + 0x2a4]
call fcn.004fbf80
add edi, eax
mov eax, dword [ebx + 0x274]
call fcn.004fbf0c
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0xb4], edi
mov eax, dword [ebx + 0x274]
call fcn.00458204
xor ecx, ecx
mov edx, dword [ebx + 0x2a4]
call fcn.004fbe2c
push eax
mov eax, dword [ebx + 0x2a4]
call fcn.004fbfd0
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.0050896c
add edi, dword [ebp - 0x128]
mov dword [ebp - 0xb8], edi
lea eax, [ebp - 0xe0]
push eax
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xe0]
sub edx, dword [ebp - 0xb8]
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.0045113c
mov edx, dword [ebp - 0xdc]
sub edx, dword [ebp - 0xb4]
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00451160
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x64]
call fcn.00451188
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x60]
call fcn.004511ac
push 3
mov eax, dword [ebx + 0x274]
call fcn.00458204
push eax
call sub.user32.dll_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xb8]
push eax
push edi
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x6c], eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00427080
push eax
lea eax, [ebp - 0x64]
push eax
push 0
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
call dword [0x54b4f4]
push 4
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x64]
call fcn.005265c4
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x58]
call fcn.0051be8c
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bbfc
call fcn.00427080
xor ecx, ecx
pop edx
call fcn.0052129c
cmp dword [ebp - 0x10], 0
jle 0x4de3a9
push ebp
call fcn.004dda9c
pop ecx
xor eax, eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x10]
jg 0x4de3a3
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
push ebp
call fcn.004ddbd0
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bbfc
call fcn.00427080
push eax
lea eax, [ebp - 0x64]
push eax
push 0
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
call dword [0x54b4f4]
push 0
xor eax, eax
mov al, byte [ebp - 0x52]
mov edx, dword [ebp - 0xc]
sub edx, eax
lea edx, [edx + edx*2]
xor eax, eax
call fcn.0042dedc
mov edx, eax
mov eax, 0xff
call fcn.0042de18
push eax
mov eax, dword [ebp - 0x80]
call fcn.00458204
mov edx, dword [ebp - 0xa0]
pop ecx
call fcn.004e0438
push ebp
call fcn.004ddd8c
pop ecx
inc dword [ebp - 0xa4]
cmp dword [ebp - 0x10], 0
jle 0x4de394
call sub.kernel32.dll_GetTickCount_1
lea edx, [edi + 0xa]
cmp eax, edx
jb 0x4de388
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x10]
jle 0x4de2f4
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x6c]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x547c8c], 0
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x2e0], 0
je 0x4de3d8
mov dl, byte [ebp - 0xc]
mov eax, dword [ebx + 0x274]
call fcn.0046ee00
push 0
mov ecx, 1
mov edx, 0xb
mov eax, esi
call fcn.00452b98
push 0x585
push 0
push 0
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x2a4]
call fcn.00518328
push eax
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x5c]
or eax, 4
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xb8]
push eax
push 0
mov eax, dword [ebx + 0x2a4]
mov eax, dword [eax + 0x28]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x2a4]
call fcn.00517124
lea eax, [ebp - 0xa0]
call fcn.0040e634
lea eax, [ebp - 0x80]
call fcn.0040e634
jmp 0x4de738
lea eax, [ebp - 0xe0]
push eax
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x467718]
call fcn.0046a1c8
mov dword [0x547c88], eax
xor edx, edx
mov eax, dword [0x547c88]
call fcn.0046b98c
mov eax, dword [0x547c88]
mov dword [eax + 0xc], pe_nt_image_headers32
mov edx, dword [esi + 0x40]
mov eax, dword [0x547c88]
call fcn.0045113c
mov edx, dword [esi + 0x44]
mov eax, dword [0x547c88]
call fcn.00451160
mov edx, dword [esi + 0x48]
mov eax, dword [0x547c88]
call fcn.00451188
mov edx, dword [esi + 0x4c]
mov eax, dword [0x547c88]
call fcn.004511ac
push 0xffffffffffffffec
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4de528
mov dl, 3
mov eax, dword [0x547c88]
call fcn.0046bc88
or edi, 0xffffffff
jmp 0x4de535
mov eax, dword [ebx + 0x274]
call fcn.00458204
mov edi, eax
mov eax, dword [ebp - 0x5c]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [esi + 0x44]
push eax
mov eax, dword [esi + 0x40]
push eax
push edi
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x6c], eax
push 0xffffffffffffffec
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00427080
push eax
lea eax, [ebp - 0x64]
push eax
push 0
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call dword [0x54b4f4]
mov eax, ebx
call fcn.004fcafc
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004fcfb4
mov edi, eax
push 0
push edi
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowRgn
push 4
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x64]
call fcn.005265c4
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x58]
call fcn.0051be8c
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bbfc
call fcn.00427080
xor ecx, ecx
pop edx
call fcn.0052129c
cmp dword [ebp - 0x10], 0
jle 0x4de6d6
push ebp
call fcn.004dda9c
pop ecx
xor eax, eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x10]
jg 0x4de6d0
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
push ebp
call fcn.004ddbd0
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bbfc
call fcn.00427080
push eax
lea eax, [ebp - 0x64]
push eax
push 0
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call dword [0x54b4f4]
push ebp
call fcn.004ddd8c
pop ecx
inc dword [ebp - 0xa4]
cmp dword [ebp - 0x10], 0
jle 0x4de6c5
call sub.kernel32.dll_GetTickCount_1
lea edx, [edi + 0xa]
cmp eax, edx
jb 0x4de6b9
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x10]
jle 0x4de660
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x6c]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x547c8c], 0
mov eax, dword [ebx + 0x274]
cmp byte [eax + 0x2e0], 0
je 0x4de705
mov dl, byte [ebp - 0xc]
mov eax, dword [ebx + 0x274]
call fcn.0046ee00
push 0
mov ecx, 1
mov edx, 0xb
mov eax, esi
call fcn.00452b98
push 0x585
push 0
push 0
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x547c88
call fcn.0040e634
lea eax, [ebp - 0x58]
call fcn.0040e634
lea eax, [ebp - 0x1c]
call fcn.0040e634
jmp 0x4def50
cmp dword [0x547c88], 0
jne 0x4de75f
xor edx, edx
mov eax, esi
call fcn.004dd3c4
cmp dword [0x547c88], 0
je 0x4def50
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.00526520
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00426bd0
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x68], eax
push 0
push 0
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004dadcc
cmp dword [ebp - 0x1c], 0
je 0x4def50
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00426f78
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.00526520
mov dword [ebp - 0x90], eax
movzx eax, di
mov ecx, 0xa
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x89], 0
jne 0x4de83a
test ebx, ebx
je 0x4de83a
mov eax, ebx
call fcn.004fcafc
cmp dword [0x547c88], 0
je 0x4def50
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004fcfb4
push eax
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowRgn
cmp byte [ebp + 8], 2
jne 0x4dea02
mov eax, dword [ebp - 0x1c]
call fcn.005264d8
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x1c]
call fcn.005264d8
mov dword [ebp - 0x98], eax
xor edx, edx
xor eax, eax
call fcn.00526520
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
call fcn.0042bbfc
call fcn.00427080
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0x128]
mov eax, esi
call fcn.0051beb0
push esi
lea esi, [ebp - 0x128]
lea edi, [ebp - 0x108]
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 - 0x130]
xor edx, edx
xor eax, eax
call fcn.0051bf40
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0xe8], 0
mov eax, dword [ebp - 0x94]
call fcn.0042bbfc
call fcn.00426bd0
mov eax, esi
call fcn.00458204
mov edx, eax
lea eax, [ebp - 0x118]
mov cl, 1
call fcn.0051dbcc
mov eax, dword [ebp - 0x94]
call fcn.0042bbfc
call fcn.00426f78
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 0x94]
call fcn.0051cd24
test al, al
je 0x4de9f2
lea ecx, [ebp - 0xc8]
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x1c]
call fcn.0051cd24
test al, al
je 0x4de9f2
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x4de9f2
inc eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc4]
imul dword [ebp - 0xc0]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xc8]
imul dword [ebp - 0xc0]
add eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x94]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
test eax, eax
jl 0x4de9e0
inc eax
mov dword [ebp - 0xd0], eax
xor ecx, ecx
mov eax, dword [ebp - 0x74]
lea edx, [eax + ecx*4]
mov eax, dword [ebp - 0x88]
lea eax, [eax + ecx*4]
mov bl, byte [edx + 2]
cmp bl, byte [eax + 2]
jne 0x4de9d3
mov bl, byte [edx + 1]
cmp bl, byte [eax + 1]
jne 0x4de9d3
mov dl, byte [edx]
cmp dl, byte [eax]
jne 0x4de9d3
xor edx, edx
mov dword [eax], edx
jmp 0x4de9d7
mov byte [eax + 3], 0xff
inc ecx
dec dword [ebp - 0xd0]
jne 0x4de9a8
inc dword [ebp - 0xc0]
dec dword [ebp - 0xcc]
jne 0x4de965
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4dea1a
xor eax, eax
mov dword [ebp - 0x94], eax
xor eax, eax
mov dword [ebp - 0x98], eax
xor eax, eax
mov dword [ebp - 0x9c], eax
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x10], 0
jle 0x4dedbd
mov eax, 0xff
cdq
idiv dword [ebp - 0x10]
mov dword [ebp - 0xb0], eax
mov ebx, 0xff
sub ebx, dword [ebp - 0xb0]
sub ebx, 0x7f
mov dword [ebp - 0xbc], 0xff
xor eax, eax
mov dword [ebp - 0xa4], eax
jmp 0x4deda5
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
cmp byte [ebp + 8], 2
jne 0x4deced
mov eax, dword [0x547c9c]
call fcn.00522468
cmp dword [ebp - 0xa4], 0
jle 0x4dec26
mov eax, dword [0x54b384]
call fcn.0040568c
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 8]
test ebx, ebx
jle 0x4dec75
mov eax, dword [ebp - 0xac]
dec eax
test eax, eax
jl 0x4dec75
inc eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
add eax, eax
mov edx, dword [0x54b384]
push esi
push edi
lea esi, [edx + eax*8]
lea edi, [ebp - 0xe0]
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 - 0xa4]
add eax, eax
inc eax
push eax
push eax
lea eax, [ebp - 0xe0]
push eax
call sub.user32.dll_InflateRect
lea eax, [ebp - 0xe0]
xor edx, edx
call fcn.0051bfa4
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea eax, [ebp - 0xe0]
xor edx, edx
call fcn.0051bfb8
mov edx, eax
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0xcc0020
mov eax, dword [ebp - 0xa8]
add eax, eax
mov edx, dword [0x54b384]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.0051bfb8
push eax
mov eax, dword [ebp - 0xa8]
add eax, eax
mov edx, dword [0x54b384]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.0051bfa4
push eax
mov eax, dword [ebp - 0xa8]
add eax, eax
mov edx, dword [0x54b384]
mov eax, dword [edx + eax*8 + 4]
push eax
mov eax, dword [ebp - 0xa8]
add eax, eax
mov edx, dword [0x54b384]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [0x547c9c]
call fcn.0042bbfc
call fcn.00427080
push eax
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x9c]
call fcn.0042bbfc
call fcn.00427080
push eax
call sub.gdi32.dll_StretchBlt
lea ecx, [ebp - 0x130]
xor edx, edx
xor eax, eax
call fcn.0051bf40
lea eax, [ebp - 0x130]
push eax
push ebx
mov ecx, dword [ebp - 0x9c]
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x90]
call fcn.004dd83c
inc dword [ebp - 0xa8]
dec dword [ebp - 0xcc]
jne 0x4deadc
jmp 0x4dec75
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x130]
xor edx, edx
xor eax, eax
call fcn.0051bf40
lea eax, [ebp - 0x130]
push eax
push ebx
lea edx, [ebp - 0x128]
mov eax, dword [0x547c9c]
call fcn.0051be8c
lea edx, [ebp - 0x128]
mov ecx, dword [0x547c9c]
mov eax, dword [ebp - 0x90]
call fcn.004dd83c
lea ecx, [ebp - 0x130]
xor edx, edx
xor eax, eax
call fcn.0051bf40
lea eax, [ebp - 0x130]
push eax
mov al, 0xff
sub al, byte [ebp - 0xbc]
push eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x98]
call fcn.0051be8c
lea edx, [ebp - 0x128]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x90]
call fcn.004dd83c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x90]
call fcn.0042bbfc
call fcn.00427080
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4ded3f
push 0
mov edx, dword [ebp - 0xbc]
xor eax, eax
call fcn.0042dedc
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x547c9c
lea eax, [ebp - 0x90]
call fcn.00526274
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x90]
call fcn.0042bbfc
call fcn.00427080
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
push eax
call sub.gdi32.dll_BitBlt
cmp dword [0x54b22c], 0
je 0x4ded6b
push 0
mov dx, 3
xor eax, eax
call fcn.004076fc
push eax
push 0xa100
mov eax, dword [0x54b22c]
call fcn.00458204
push eax
call sub.user32.dll_SendMessageA
inc dword [ebp - 0xa4]
mov edx, ebx
sub edx, dword [ebp - 0xb0]
xor eax, eax
call fcn.0042dedc
mov ebx, eax
mov eax, dword [ebp - 0xb0]
sub dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x10]
jg 0x4dedbd
call sub.kernel32.dll_GetTickCount_1
lea edx, [edi + 0xa]
cmp eax, edx
jb 0x4ded99
mov eax, dword [ebp - 0xa4]
cmp eax, dword [ebp - 0x10]
jg 0x4dedbd
cmp dword [ebp - 0xbc], 0
jge 0x4dea6b
cmp byte [ebp + 8], 2
je 0x4dedef
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0042bbfc
call fcn.00427080
push eax
mov eax, dword [esi + 0x4c]
push eax
mov eax, dword [esi + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
push eax
call sub.gdi32.dll_BitBlt
cmp dword [0x54b22c], 0
je 0x4dee1b
push 0
mov dx, 3
xor eax, eax
call fcn.004076fc
push eax
push 0xa100
mov eax, dword [0x54b22c]
call fcn.00458204
push eax
call sub.user32.dll_SendMessageA
mov byte [0x547c8c], 0
cmp byte [esi + 0x57], 0
je 0x4deec6
push 0
mov ecx, 1
mov edx, 0xb
mov eax, esi
call fcn.00452b98
push 0
mov eax, dword [0x547c88]
call fcn.00458204
mov ecx, 0xff
mov edx, dword [ebp - 0x90]
call fcn.004e0438
mov eax, dword [0x5481d0]
cmp dword [eax], 6
jl 0x4dee7b
push 0x585
push 0
push 0
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x467414]
call fcn.00403794
test al, al
je 0x4deea7
push 0xffffffffffffffec
mov eax, esi
call fcn.00458204
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4deec6
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [0x547c88]
call fcn.00458204
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x547c88
call fcn.0040e634
lea eax, [ebp - 0x90]
call fcn.0040e634
mov eax, 0x547c9c
call fcn.0040e634
lea eax, [ebp - 0x1c]
call fcn.0040e634
cmp dword [0x547ca0], 0
je 0x4def14
mov eax, 0x547ca0
call fcn.0040e634
cmp dword [ebp - 0x94], 0
je 0x4def28
lea eax, [ebp - 0x94]
call fcn.0040e634
cmp dword [ebp - 0x9c], 0
je 0x4def3c
lea eax, [ebp - 0x9c]
call fcn.0040e634
cmp dword [ebp - 0x98], 0
je 0x4def50
lea eax, [ebp - 0x98]
call fcn.0040e634
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4