Function at 0x4ca0e8
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 byte [0x522bc4], 1
mov eax, esi
mov edx, dword [0x43fd44]
call fcn.004036b4
test al, al
je 0x4ca137
push 0
mov dx, 4
xor eax, eax
call fcn.0040747c
push eax
push 0xa100
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4ca139
xor ebx, ebx
test ebx, ebx
je 0x4ca158
cmp dword [ebx + 0x298], 0
je 0x4ca158
call fcn.0050788c
test al, al
je 0x4ca158
mov byte [ebp - 0x8d], 1
jmp 0x4ca15f
mov byte [ebp - 0x8d], 0
call fcn.0050788c
test al, al
je 0x4caa5d
mov eax, esi
mov edx, dword [0x43fd44]
call fcn.004036b4
test al, al
je 0x4caa5d
cmp dword [ebx + 0x298], 0
je 0x4ca1cc
cmp dword [ebx + 0xec], 0
je 0x4ca1a9
mov eax, dword [ebx + 0xec]
mov dword [ebp - 0xac], eax
xor eax, eax
mov dword [ebx + 0xec], eax
jmp 0x4ca1cc
xor edx, edx
xor eax, eax
call fcn.00510dd4
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0xc8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004ed378
mov eax, dword [ebx + 0xc8]
mov eax, dword [eax + 0x48]
call fcn.00510e84
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423280
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004c7230
cmp dword [ebp - 0x1c], 0
je 0x4cb1d1
cmp dword [ebx + 0x298], 0
jne 0x4ca236
push 0x1fffffff
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x1c]
call fcn.00506008
lea edx, [ebp - 0x128]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0048677c
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423628
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x94], 0x11b
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x1c]
call fcn.00506070
lea ecx, [ebp - 0xa4]
xor edx, edx
xor eax, eax
call fcn.005060bc
cmp dword [ebp - 0x10], 0
jle 0x4ca285
mov byte [ebp - 0x52], 0
jmp 0x4ca28b
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 + 0x298]
test eax, eax
je 0x4ca779
cmp dword [eax + 0x20], 0
jne 0x4ca2b0
call fcn.00501aa4
mov eax, dword [ebx + 0x298]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x28]
mov dword [edx + 0x38], ecx
mov ecx, dword [eax + 0x2c]
mov dword [edx + 0x3c], ecx
cmp dword [eax + 0x38], 0
je 0x4ca2eb
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x38]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x298]
call fcn.00501aa4
cmp byte [ebx + 0x228], 0
je 0x4ca32c
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.004f2910
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x88], eax
jmp 0x4ca404
mov eax, dword [ebx + 0xc8]
call fcn.004e0dd0
mov edi, dword [eax + 0x7890]
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4ca3b5
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x34]
je 0x4ca3b5
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
xor ecx, ecx
mov edx, dword [ebx + 0x298]
call fcn.004e6220
push eax
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.004f2910
mov eax, dword [ebp - 0x124]
push eax
mov eax, dword [ebx + 0x298]
call fcn.004e6300
pop edx
add edx, eax
push edx
mov eax, dword [ebx + 0x27c]
call fcn.004e6288
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 0x4ca404
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
xor ecx, ecx
mov edx, dword [ebx + 0x298]
call fcn.004e6220
push eax
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.004f2910
mov edi, dword [ebp - 0x124]
mov eax, dword [ebx + 0x298]
call fcn.004e6300
add edi, eax
mov eax, dword [ebx + 0x27c]
call fcn.004e6288
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0x88], edi
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
xor ecx, ecx
mov edx, dword [ebx + 0x298]
call fcn.004e6220
push eax
mov eax, dword [ebx + 0x298]
call fcn.004e6350
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.004f2910
add edi, dword [ebp - 0x128]
mov dword [ebp - 0x8c], edi
lea eax, [ebp - 0xe0]
push eax
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xe0]
sub edx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.00458bc4
mov edx, dword [ebp - 0xdc]
sub edx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.00458be8
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x9c]
call fcn.00458c10
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x98]
call fcn.00458c34
push 3
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
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 - 0xdc]
sub eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x8c]
push eax
push edi
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
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.004280e0
call fcn.00423730
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
push eax
mov eax, dword [0x522f78]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x9c]
call fcn.00510e78
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x58]
call fcn.00506008
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004280e0
call fcn.00423730
xor ecx, ecx
pop edx
call fcn.0050b9dc
cmp dword [ebp - 0x10], 0
jle 0x4ca689
push ebp
call fcn.004c9d9c
pop ecx
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4ca683
call sub.kernel32.dll_GetTickCount
mov edi, eax
push ebp
call fcn.004c9ed0
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.004280e0
call fcn.00423730
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
push eax
mov eax, dword [0x522f78]
mov eax, dword [eax]
call eax
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.0042ab48
mov edx, eax
mov eax, 0xff
call fcn.0042aa84
push eax
mov eax, dword [ebp - 0xa8]
call fcn.0045fda0
mov edx, dword [ebp - 0xac]
pop ecx
call fcn.004cc698
push ebp
call fcn.004ca08c
pop ecx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x10], 0
jle 0x4ca677
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x4ca66b
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jle 0x4ca5ce
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x70]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x522bc4], 0
mov eax, dword [ebx + 0x27c]
cmp byte [eax + 0x2e0], 0
je 0x4ca6b8
mov dl, byte [ebp - 0xc]
mov eax, dword [ebx + 0x27c]
call fcn.0044771c
push 0
push 1
push 0xb
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x298]
call fcn.00501884
push eax
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
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 - 0xdc]
sub eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0x8c]
push eax
push 0
mov eax, dword [ebx + 0x298]
mov eax, dword [eax + 0x20]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x298]
call fcn.005007fc
lea eax, [ebp - 0xac]
call fcn.0040e16c
lea eax, [ebp - 0xa8]
call fcn.0040e16c
jmp 0x4caa48
lea eax, [ebp - 0xe0]
push eax
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x440048]
call fcn.00442ae4
mov dword [0x522bc0], eax
xor edx, edx
mov eax, dword [0x522bc0]
call fcn.004442a8
mov eax, dword [0x522bc0]
mov dword [eax + 0xc], pe_nt_image_headers32
mov edx, dword [esi + 0x40]
mov eax, dword [0x522bc0]
call fcn.00458bc4
mov edx, dword [esi + 0x44]
mov eax, dword [0x522bc0]
call fcn.00458be8
mov edx, dword [esi + 0x48]
mov eax, dword [0x522bc0]
call fcn.00458c10
mov edx, dword [esi + 0x4c]
mov eax, dword [0x522bc0]
call fcn.00458c34
push 0xffffffffffffffec
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4ca814
mov dl, 3
mov eax, dword [0x522bc0]
call fcn.004445a4
or edi, 0xffffffff
jmp 0x4ca829
push 3
mov eax, dword [ebx + 0x27c]
call fcn.0045fda0
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 [0x522bc0]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x522bc0]
mov eax, dword [eax + 0x40]
push eax
push edi
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x70], eax
push 0xffffffffffffffec
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423730
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
mov eax, dword [0x522f78]
mov eax, dword [eax]
call eax
mov eax, ebx
call fcn.004e6d58
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e71bc
mov edi, eax
push 0
push edi
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowRgn
push 4
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_ShowWindow
lea eax, [ebp - 0x9c]
call fcn.00510e78
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x58]
call fcn.00506008
lea eax, [ebp - 0x128]
push eax
mov eax, dword [ebp - 0x58]
call fcn.004280e0
call fcn.00423730
xor ecx, ecx
pop edx
call fcn.0050b9dc
cmp dword [ebp - 0x10], 0
jle 0x4ca9e6
push ebp
call fcn.004c9d9c
pop ecx
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4ca9e0
call sub.kernel32.dll_GetTickCount
mov edi, eax
push ebp
call fcn.004c9ed0
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.004280e0
call fcn.00423730
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
mov eax, dword [0x522f78]
mov eax, dword [eax]
call eax
push ebp
call fcn.004ca08c
pop ecx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x10], 0
jle 0x4ca9d8
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x4ca9cc
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jle 0x4ca96d
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x70]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov byte [0x522bc4], 0
mov eax, dword [ebx + 0x27c]
cmp byte [eax + 0x2e0], 0
je 0x4caa15
mov dl, byte [ebp - 0xc]
mov eax, dword [ebx + 0x27c]
call fcn.0044771c
push 0
push 1
push 0xb
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x522bc0
call fcn.0040e16c
lea eax, [ebp - 0x58]
call fcn.0040e16c
lea eax, [ebp - 0x1c]
call fcn.0040e16c
jmp 0x4cb1d1
cmp dword [0x522bc0], 0
jne 0x4caa6f
xor edx, edx
mov eax, esi
call fcn.004c96f8
cmp dword [0x522bc0], 0
je 0x4cb1d1
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.00510dd4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423280
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423730
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.004c7230
cmp dword [ebp - 0x1c], 0
je 0x4cb1d1
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423730
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423628
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.00510dd4
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 0x4cab47
test ebx, ebx
je 0x4cab47
mov eax, ebx
call fcn.004e6d58
cmp dword [0x522bc0], 0
je 0x4cb1d1
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004e71bc
push eax
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowRgn
cmp byte [ebp + 8], 2
jne 0x4cacfd
mov eax, dword [ebp - 0x1c]
call fcn.00510c64
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
call fcn.00510c64
mov dword [ebp - 0x64], eax
xor edx, edx
xor eax, eax
call fcn.00510dd4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
call fcn.004280e0
call fcn.00423730
mov dword [ebp - 0xe4], eax
lea edx, [ebp - 0x128]
mov eax, esi
call fcn.0050602c
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.005060bc
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 - 0x60]
call fcn.004280e0
call fcn.00423280
mov eax, esi
call fcn.0045fda0
mov edx, eax
lea eax, [ebp - 0x118]
mov cl, 1
call fcn.00508070
mov eax, dword [ebp - 0x60]
call fcn.004280e0
call fcn.00423628
lea ecx, [ebp - 0xc4]
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x60]
call fcn.00506e90
test al, al
je 0x4cacf0
lea ecx, [ebp - 0xc8]
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x1c]
call fcn.00506e90
test al, al
je 0x4cacf0
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x4cacf0
inc eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xc4]
imul dword [ebp - 0xb0]
add eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc8]
imul dword [ebp - 0xb0]
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
test eax, eax
jl 0x4cacde
inc eax
mov dword [ebp - 0xd0], eax
xor ecx, ecx
mov eax, dword [ebp - 0xb8]
lea edx, [eax + ecx*4]
mov eax, dword [ebp - 0xc0]
lea eax, [eax + ecx*4]
mov bl, byte [edx + 2]
cmp bl, byte [eax + 2]
jne 0x4cacd1
mov bl, byte [edx + 1]
cmp bl, byte [eax + 1]
jne 0x4cacd1
mov dl, byte [edx]
cmp dl, byte [eax]
jne 0x4cacd1
xor edx, edx
mov dword [eax], edx
jmp 0x4cacd5
mov byte [eax + 3], 0xff
inc ecx
dec dword [ebp - 0xd0]
jne 0x4caca3
inc dword [ebp - 0xb0]
dec dword [ebp - 0xcc]
jne 0x4cac5d
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4cad0c
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 [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x10], 0
jle 0x4cb053
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 0x4cad5a
mov eax, dword [0x522bd4]
call fcn.0050cbfc
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x4cb03e
call sub.kernel32.dll_GetTickCount
mov edi, eax
cmp byte [ebp + 8], 2
jne 0x4caf95
mov eax, dword [0x522bd4]
call fcn.0050cbfc
cmp dword [ebp - 0x74], 0
jle 0x4caee3
mov eax, dword [0x524e6c]
call fcn.004055c8
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 0x4caf29
mov eax, dword [ebp - 0x7c]
dec eax
test eax, eax
jl 0x4caf29
inc eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x524e6c]
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 - 0x74]
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.005060d8
mov edx, eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea eax, [ebp - 0xe0]
xor edx, edx
call fcn.005060ec
mov edx, eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0xcc0020
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x524e6c]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.005060ec
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x524e6c]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.005060d8
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x524e6c]
mov eax, dword [edx + eax*8 + 4]
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x524e6c]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [0x522bd4]
call fcn.004280e0
call fcn.00423730
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x68]
call fcn.004280e0
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
lea ecx, [ebp - 0x130]
xor edx, edx
xor eax, eax
call fcn.005060bc
lea eax, [ebp - 0x130]
push eax
push ebx
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0xe0]
mov eax, dword [ebp - 0x5c]
call fcn.004c9b40
inc dword [ebp - 0x78]
dec dword [ebp - 0xcc]
jne 0x4cadc3
jmp 0x4caf29
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x130]
xor edx, edx
xor eax, eax
call fcn.005060bc
lea eax, [ebp - 0x130]
push eax
push ebx
lea edx, [ebp - 0x128]
mov eax, dword [0x522bd4]
call fcn.00506008
lea edx, [ebp - 0x128]
mov ecx, dword [0x522bd4]
mov eax, dword [ebp - 0x5c]
call fcn.004c9b40
lea ecx, [ebp - 0x130]
xor edx, edx
xor eax, eax
call fcn.005060bc
lea eax, [ebp - 0x130]
push eax
mov al, 0xff
sub al, byte [ebp - 0x84]
push eax
lea edx, [ebp - 0x128]
mov eax, dword [ebp - 0x64]
call fcn.00506008
lea edx, [ebp - 0x128]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
call fcn.004c9b40
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.004280e0
call fcn.00423730
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 0x4cafe1
push 0
mov edx, dword [ebp - 0x84]
xor eax, eax
call fcn.0042ab48
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x522bd4
lea eax, [ebp - 0x5c]
call fcn.00510a00
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.004280e0
call fcn.00423730
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 [0x5231f0]
cmp dword [eax], 0
je 0x4cb010
push 0
mov dx, 3
xor eax, eax
call fcn.0040747c
push eax
push 0xa100
mov eax, dword [0x5231f0]
mov eax, dword [eax]
call fcn.0045fda0
push eax
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x74]
mov edx, ebx
sub edx, dword [ebp - 0x80]
xor eax, eax
call fcn.0042ab48
mov ebx, eax
mov eax, dword [ebp - 0x80]
sub dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4cb053
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x4cb032
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4cb053
cmp dword [ebp - 0x84], 0
jge 0x4cad64
cmp byte [ebp + 8], 2
je 0x4cb085
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004280e0
call fcn.00423730
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 [0x5231f0]
cmp dword [eax], 0
je 0x4cb0b4
push 0
mov dx, 3
xor eax, eax
call fcn.0040747c
push eax
push 0xa100
mov eax, dword [0x5231f0]
mov eax, dword [eax]
call fcn.0045fda0
push eax
call sub.user32.dll_SendMessageA
mov byte [0x522bc4], 0
cmp byte [esi + 0x57], 0
je 0x4cb15c
push 0
push 1
push 0xb
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [0x522bc0]
call fcn.0045fda0
mov ecx, 0xff
mov edx, dword [ebp - 0x5c]
call fcn.004cc698
mov eax, dword [0x523068]
cmp dword [eax], 6
jl 0x4cb111
push 0x585
push 0
push 0
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x43fd44]
call fcn.004036b4
test al, al
je 0x4cb13d
push 0xffffffffffffffec
mov eax, esi
call fcn.0045fda0
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4cb15c
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x522bc0]
call fcn.0045fda0
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x522bc0
call fcn.0040e16c
lea eax, [ebp - 0x5c]
call fcn.0040e16c
mov eax, 0x522bd4
call fcn.0040e16c
lea eax, [ebp - 0x1c]
call fcn.0040e16c
cmp dword [0x522bd8], 0
je 0x4cb1a7
mov eax, 0x522bd8
call fcn.0040e16c
cmp dword [ebp - 0x60], 0
je 0x4cb1b5
lea eax, [ebp - 0x60]
call fcn.0040e16c
cmp dword [ebp - 0x68], 0
je 0x4cb1c3
lea eax, [ebp - 0x68]
call fcn.0040e16c
cmp dword [ebp - 0x64], 0
je 0x4cb1d1
lea eax, [ebp - 0x64]
call fcn.0040e16c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4