Function at 0x4d2c20
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 [0x51d524], 1
mov eax, esi
mov edx, dword [0x4582b0]
call fcn.00403a7c
test al, al
je 0x4d2c6f
push 0
mov dx, 4
xor eax, eax
call fcn.00407950
push eax
push 0xa100
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_SendMessageA
mov ebx, eax
jmp 0x4d2c71
xor ebx, ebx
test ebx, ebx
je 0x4d2c90
cmp dword [ebx + 0x280], 0
je 0x4d2c90
call fcn.004c0904
test al, al
je 0x4d2c90
mov byte [ebp - 0x8d], 1
jmp 0x4d2c97
mov byte [ebp - 0x8d], 0
call fcn.004c0904
test al, al
je 0x4d35fc
mov eax, esi
mov edx, dword [0x4582b0]
call fcn.00403a7c
test al, al
je 0x4d35fc
cmp dword [ebx + 0x280], 0
je 0x4d2d04
cmp dword [ebx + 0xe4], 0
je 0x4d2ce1
mov eax, dword [ebx + 0xe4]
mov dword [ebp - 0xac], eax
xor eax, eax
mov dword [ebx + 0xe4], eax
jmp 0x4d2d04
xor edx, edx
xor eax, eax
call fcn.004ca2f4
mov dword [ebp - 0xac], eax
mov eax, dword [ebx + 0xc0]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 0xac]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, ebx
call fcn.004e48e8
mov eax, dword [ebx + 0xc0]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0xc0]
mov eax, dword [eax + 0x4c]
mov edx, dword [eax]
call dword [edx + 0x2c]
pop edx
call fcn.004ca2f4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00428a8c
call fcn.00424110
push 0
push ebx
xor ecx, ecx
mov edx, esi
mov eax, dword [ebp - 0x1c]
call fcn.004cfd0c
cmp dword [ebp - 0x1c], 0
je 0x4d3da0
cmp dword [ebx + 0x280], 0
jne 0x4d2d98
push 0x1fffffff
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b4c
lea edx, [ebp - 0x12c]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.004730c8
mov eax, dword [ebp - 0x1c]
call fcn.00428a8c
call fcn.004244b8
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 + 0x2c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xa4]
xor edx, edx
xor eax, eax
call fcn.00406b68
cmp dword [ebp - 0x10], 0
jle 0x4d2df5
mov byte [ebp - 0x52], 0
jmp 0x4d2dfb
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 + 0x280]
test eax, eax
je 0x4d32fe
cmp dword [eax + 0x18], 0
jne 0x4d2e20
call fcn.004f8e28
mov eax, dword [ebx + 0x280]
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 0x4d2e5b
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x30]
push eax
push 0xfffffffffffffff8
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x280]
call fcn.004f8e28
cmp byte [ebx + 0x220], 0
je 0x4d2e9c
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004e9f18
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x88], eax
jmp 0x4d2f74
mov eax, dword [ebx + 0xc0]
call fcn.0050ea70
mov edi, dword [eax + 0x7888]
mov eax, dword [ebx + 0x264]
call fcn.00449110
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4d2f25
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x34]
je 0x4d2f25
mov eax, dword [ebx + 0x264]
call fcn.00449110
xor ecx, ecx
mov edx, dword [ebx + 0x280]
call fcn.004dd69c
push eax
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004e9f18
mov eax, dword [ebp - 0x128]
push eax
mov eax, dword [ebx + 0x280]
call fcn.004dd77c
pop edx
add edx, eax
push edx
mov eax, dword [ebx + 0x264]
call fcn.004dd704
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 0x4d2f74
mov eax, dword [ebx + 0x264]
call fcn.00449110
xor ecx, ecx
mov edx, dword [ebx + 0x280]
call fcn.004dd69c
push eax
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004e9f18
mov edi, dword [ebp - 0x128]
mov eax, dword [ebx + 0x280]
call fcn.004dd77c
add edi, eax
mov eax, dword [ebx + 0x264]
call fcn.004dd704
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0x88], edi
mov eax, dword [ebx + 0x264]
call fcn.00449110
xor ecx, ecx
mov edx, dword [ebx + 0x280]
call fcn.004dd69c
push eax
mov eax, dword [ebx + 0x280]
call fcn.004dd79c
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0x12c]
mov eax, ebx
call fcn.004e9f18
add edi, dword [ebp - 0x12c]
mov dword [ebp - 0x8c], edi
lea eax, [ebp - 0xe4]
push eax
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_GetWindowRect
mov edx, dword [ebp - 0xe4]
sub edx, dword [ebp - 0x8c]
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00442060
mov edx, dword [ebp - 0xe0]
sub edx, dword [ebp - 0x88]
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00442084
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x9c]
call fcn.004420ac
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 0x98]
call fcn.004420d0
push 3
mov eax, dword [ebx + 0x264]
call fcn.00449110
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 + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00449110
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.00428a8c
call fcn.004245c0
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00449110
push eax
call dword [0x55ee9c]
push 4
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00449110
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
call fcn.004ca2f4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b4c
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00428a8c
call fcn.004245c0
xor ecx, ecx
pop edx
call fcn.004c4dd0
cmp dword [ebp - 0x10], 0
jle 0x4d320e
push ebp
call fcn.004d28d4
pop ecx
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4d3208
call sub.kernel32.dll_GetTickCount
mov edi, eax
push ebp
call fcn.004d2a08
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.00428a8c
call fcn.004245c0
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00449110
push eax
call dword [0x55ee9c]
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.0042aca8
mov edx, eax
mov eax, 0xff
call fcn.0042abe4
push eax
mov eax, dword [ebp - 0xa8]
call fcn.00449110
mov edx, dword [ebp - 0xac]
pop ecx
call fcn.004dc540
push ebp
call fcn.004d2bc4
pop ecx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x10], 0
jle 0x4d31fc
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x4d31f0
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jle 0x4d3156
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 [0x51d524], 0
mov eax, dword [ebx + 0x264]
cmp byte [eax + 0x2e0], 0
je 0x4d323d
mov dl, byte [ebp - 0xc]
mov eax, dword [ebx + 0x264]
call fcn.0045fcc8
push 0
push 1
push 0xb
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebx + 0x280]
call fcn.004f8cc0
push eax
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00449110
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 + 0x280]
mov eax, dword [eax + 0x18]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [ebx + 0x280]
call fcn.004f7c20
lea eax, [ebp - 0xac]
call fcn.0040eb8c
lea eax, [ebp - 0xa8]
call fcn.0040eb8c
jmp 0x4d35e7
lea eax, [ebp - 0xe4]
push eax
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_GetWindowRect
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4585b4]
call fcn.0045b078
mov edi, eax
mov dword [0x51d520], edi
mov dword [edi + 0xc], pe_nt_image_headers32
xor edx, edx
mov eax, edi
call fcn.0045c84c
mov edx, dword [esi + 0x40]
mov eax, dword [0x51d520]
call fcn.00442060
mov edx, dword [esi + 0x44]
mov eax, dword [0x51d520]
call fcn.00442084
mov edx, dword [esi + 0x48]
mov eax, dword [0x51d520]
call fcn.004420ac
mov edx, dword [esi + 0x4c]
mov eax, dword [0x51d520]
call fcn.004420d0
push 0xffffffffffffffec
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4d3394
mov dl, 3
mov eax, dword [0x51d520]
call fcn.0045cb48
or edi, 0xffffffff
jmp 0x4d33a9
push 3
mov eax, dword [ebx + 0x264]
call fcn.00449110
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 [0x51d520]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [0x51d520]
mov eax, dword [eax + 0x40]
push eax
push edi
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x70], eax
push 0xffffffffffffffec
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x51d520]
call fcn.00449110
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.00428a8c
call fcn.004245c0
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call dword [0x55ee9c]
mov eax, ebx
call fcn.004de1a0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004de640
mov dword [ebp - 0xb0], eax
push 0
mov eax, dword [ebp - 0xb0]
push eax
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowRgn
push 4
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_ShowWindow
mov edx, dword [ebp - 0x98]
mov eax, dword [ebp - 0x9c]
call fcn.004ca2f4
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b4c
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.00428a8c
call fcn.004245c0
xor ecx, ecx
pop edx
call fcn.004c4dd0
cmp dword [ebp - 0x10], 0
jle 0x4d3585
push ebp
call fcn.004d28d4
pop ecx
xor eax, eax
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4d357f
call sub.kernel32.dll_GetTickCount
mov edi, eax
push ebp
call fcn.004d2a08
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.00428a8c
call fcn.004245c0
push eax
lea eax, [ebp - 0x9c]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call dword [0x55ee9c]
push ebp
call fcn.004d2bc4
pop ecx
inc dword [ebp - 0x74]
cmp dword [ebp - 0x10], 0
jle 0x4d3577
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x4d356b
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jle 0x4d350f
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 [0x51d524], 0
mov eax, dword [ebx + 0x264]
cmp byte [eax + 0x2e0], 0
je 0x4d35b4
mov dl, byte [ebp - 0xc]
mov eax, dword [ebx + 0x264]
call fcn.0045fcc8
push 0
push 1
push 0xb
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_SendMessageA
push 0x585
push 0
push 0
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_RedrawWindow
mov eax, 0x51d520
call fcn.0040eb8c
lea eax, [ebp - 0x58]
call fcn.0040eb8c
lea eax, [ebp - 0x1c]
call fcn.0040eb8c
jmp 0x4d3da0
cmp dword [0x51d520], 0
jne 0x4d360e
xor edx, edx
mov eax, esi
call fcn.004d2224
cmp dword [0x51d520], 0
je 0x4d3da0
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004ca2f4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.00428a8c
call fcn.00424110
mov eax, dword [ebp - 0x1c]
call fcn.00428a8c
call fcn.004245c0
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.004cfd0c
cmp dword [ebp - 0x1c], 0
je 0x4d3da0
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00428a8c
call fcn.004245c0
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.00428a8c
call fcn.004244b8
mov edx, dword [esi + 0x4c]
mov eax, dword [esi + 0x48]
call fcn.004ca2f4
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 0x4d36e6
test ebx, ebx
je 0x4d36e6
mov eax, ebx
call fcn.004de1a0
cmp dword [0x51d520], 0
je 0x4d3da0
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004de640
push eax
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowRgn
cmp byte [ebp + 8], 2
jne 0x4d38a6
mov eax, dword [ebp - 0x1c]
call fcn.004ca184
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x1c]
call fcn.004ca184
mov dword [ebp - 0x64], eax
xor edx, edx
xor eax, eax
call fcn.004ca2f4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
call fcn.00428a8c
call fcn.004245c0
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.00406b4c
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.00406b68
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.00428a8c
call fcn.00424110
mov eax, esi
call fcn.00449110
mov edx, eax
lea eax, [ebp - 0x11c]
mov cl, 1
call fcn.004c10e8
mov eax, dword [ebp - 0x60]
call fcn.00428a8c
call fcn.004244b8
lea ecx, [ebp - 0xc8]
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x60]
call fcn.004c0458
test al, al
je 0x4d3899
lea ecx, [ebp - 0xcc]
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x1c]
call fcn.004c0458
test al, al
je 0x4d3899
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x4d3899
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 + 0x2c]
dec eax
test eax, eax
jl 0x4d3887
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]
mov bl, byte [edx + 2]
cmp bl, byte [eax + 2]
jne 0x4d387a
mov bl, byte [edx + 1]
cmp bl, byte [eax + 1]
jne 0x4d387a
mov dl, byte [edx]
cmp dl, byte [eax]
jne 0x4d387a
xor edx, edx
mov dword [eax], edx
jmp 0x4d387e
mov byte [eax + 3], 0xff
inc ecx
dec dword [ebp - 0xd4]
jne 0x4d384c
inc dword [ebp - 0xb4]
dec dword [ebp - 0xd0]
jne 0x4d3806
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4d38b5
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 [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x10], 0
jle 0x4d3c25
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 0x4d3903
mov eax, dword [0x51d534]
call fcn.004c5ffc
xor eax, eax
mov dword [ebp - 0x74], eax
jmp 0x4d3c10
call sub.kernel32.dll_GetTickCount
mov edi, eax
cmp byte [ebp + 8], 2
jne 0x4d3b6a
mov eax, dword [0x51d534]
call fcn.004c5ffc
cmp dword [ebp - 0x74], 0
jle 0x4d3a8c
mov eax, dword [0x55eec4]
call fcn.004059b4
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 0x4d3ae9
mov eax, dword [ebp - 0x7c]
dec eax
test eax, eax
jl 0x4d3ae9
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x55eec4]
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
push eax
lea eax, [ebp - 0xe4]
push eax
call sub.user32.dll_InflateRect
lea eax, [ebp - 0xe4]
xor edx, edx
call fcn.004fc854
mov edx, eax
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea eax, [ebp - 0xe4]
xor edx, edx
call fcn.004fc868
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 [0x55eec4]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.004fc868
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x55eec4]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.004fc854
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x55eec4]
mov eax, dword [edx + eax*8 + 4]
push eax
mov eax, dword [ebp - 0x78]
add eax, eax
mov edx, dword [0x55eec4]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [0x51d534]
call fcn.00428a8c
call fcn.004245c0
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.00428a8c
call fcn.004245c0
push eax
call sub.gdi32.dll_StretchBlt
lea ecx, [ebp - 0x134]
xor edx, edx
xor eax, eax
call fcn.00406b68
lea eax, [ebp - 0x134]
push eax
push ebx
mov ecx, dword [ebp - 0x68]
lea edx, [ebp - 0xe4]
mov eax, dword [ebp - 0x5c]
call fcn.004d2678
inc dword [ebp - 0x78]
dec dword [ebp - 0xd0]
jne 0x4d396c
jmp 0x4d3ae9
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.00406b68
lea eax, [ebp - 0x134]
push eax
push ebx
mov eax, dword [0x51d534]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [0x51d534]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b4c
lea edx, [ebp - 0x12c]
mov ecx, dword [0x51d534]
mov eax, dword [ebp - 0x5c]
call fcn.004d2678
lea ecx, [ebp - 0x134]
xor edx, edx
xor eax, eax
call fcn.00406b68
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 + 0x20]
push eax
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00406b4c
lea edx, [ebp - 0x12c]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
call fcn.004d2678
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.00428a8c
call fcn.004245c0
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 0x4d3bb6
push 0
mov edx, dword [ebp - 0x84]
xor eax, eax
call fcn.0042aca8
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x51d534
lea eax, [ebp - 0x5c]
call fcn.004c9f20
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x5c]
call fcn.00428a8c
call fcn.004245c0
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
cmp dword [0x55ec78], 0
je 0x4d3be2
push 0
mov dx, 3
xor eax, eax
call fcn.00407950
push eax
push 0xa100
mov eax, dword [0x55ec78]
call fcn.00449110
push eax
call sub.user32.dll_SendMessageA
inc dword [ebp - 0x74]
mov edx, ebx
sub edx, dword [ebp - 0x80]
xor eax, eax
call fcn.0042aca8
mov ebx, eax
mov eax, dword [ebp - 0x80]
sub dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4d3c25
call sub.kernel32.dll_GetTickCount
lea edx, [edi + 0xc]
cmp eax, edx
jb 0x4d3c04
mov eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x10]
jg 0x4d3c25
cmp dword [ebp - 0x84], 0
jge 0x4d390d
cmp byte [ebp + 8], 2
je 0x4d3c57
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00428a8c
call fcn.004245c0
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
cmp dword [0x55ec78], 0
je 0x4d3c83
push 0
mov dx, 3
xor eax, eax
call fcn.00407950
push eax
push 0xa100
mov eax, dword [0x55ec78]
call fcn.00449110
push eax
call sub.user32.dll_SendMessageA
mov byte [0x51d524], 0
cmp byte [esi + 0x57], 0
je 0x4d3d2b
push 0
push 1
push 0xb
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_SendMessageA
push 0
mov eax, dword [0x51d520]
call fcn.00449110
mov ecx, 0xff
mov edx, dword [ebp - 0x5c]
call fcn.004dc540
mov eax, dword [0x51d818]
cmp dword [eax], 6
jl 0x4d3ce0
push 0x585
push 0
push 0
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_RedrawWindow
mov eax, esi
mov edx, dword [0x4582b0]
call fcn.00403a7c
test al, al
je 0x4d3d0c
push 0xffffffffffffffec
mov eax, esi
call fcn.00449110
push eax
call sub.user32.dll_GetWindowLongA
and eax, 0x80000
cmp eax, 0x80000
je 0x4d3d2b
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [0x51d520]
call fcn.00449110
push eax
call sub.user32.dll_ReleaseDC
mov eax, 0x51d520
call fcn.0040eb8c
lea eax, [ebp - 0x5c]
call fcn.0040eb8c
mov eax, 0x51d534
call fcn.0040eb8c
lea eax, [ebp - 0x1c]
call fcn.0040eb8c
cmp dword [0x51d538], 0
je 0x4d3d76
mov eax, 0x51d538
call fcn.0040eb8c
cmp dword [ebp - 0x60], 0
je 0x4d3d84
lea eax, [ebp - 0x60]
call fcn.0040eb8c
cmp dword [ebp - 0x68], 0
je 0x4d3d92
lea eax, [ebp - 0x68]
call fcn.0040eb8c
cmp dword [ebp - 0x64], 0
je 0x4d3da0
lea eax, [ebp - 0x64]
call fcn.0040eb8c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4