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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x516bd5
mov eax, ebx
call fcn.004568a4
call fcn.00511ec4
push eax
call sub.USER32.DLL_IsIconic
test eax, eax
jne 0x516bd5
mov byte [0x57e224], 1
mov eax, ebx
mov edx, dword [0x4663cc]
call fcn.00404038
test al, al
je 0x5159ae
push 0
mov eax, ebx
call fcn.004568a4
mov ecx, 0x40000
mov edx, 0xa100
call fcn.00517648
mov esi, eax
jmp 0x5159b0
xor esi, esi
test esi, esi
je 0x5159cf
cmp dword [esi + 0x28c], 0
je 0x5159cf
call fcn.005017c0
test al, al
je 0x5159cf
mov byte [ebp - 0x8d], 1
jmp 0x5159d6
mov byte [ebp - 0x8d], 0
call fcn.005017c0
test al, al
je 0x5162a5
mov eax, ebx
mov edx, dword [0x4663cc]
call fcn.00404038
test al, al
je 0x5162a5
cmp dword [esi + 0x28c], 0
je 0x515a43
cmp dword [esi + 0x118], 0
je 0x515a20
mov eax, dword [esi + 0x118]
mov dword [ebp - 0xc4], eax
xor eax, eax
mov dword [esi + 0x118], eax
jmp 0x515a43
xor edx, edx
xor eax, eax
call fcn.0050b0fc
mov dword [ebp - 0xc4], eax
mov eax, dword [esi + 0x244]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
call fcn.0053ea38
mov eax, dword [esi + 0x244]
cmp dword [eax + 0x48], 0
jne 0x515a62
mov byte [0x57e224], 0
jmp 0x516bd5
mov eax, dword [esi + 0x244]
mov eax, dword [eax + 0x48]
call fcn.0050b1ac
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.00427438
push 0
push esi
push 1
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.00512538
cmp dword [ebp - 0x1c], 0
je 0x516bd5
cmp dword [esi + 0x28c], 0
jne 0x515ac7
push 0x1fffffff
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x1c]
call fcn.005573ec
lea edx, [ebp - 0x140]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0049a634
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.00427820
movzx eax, di
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x64], 0x11b
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x1c]
call fcn.00557454
lea ecx, [ebp - 0x80]
xor edx, edx
xor eax, eax
call fcn.005574a0
cmp dword [ebp - 0x10], 0
jle 0x515b13
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00557b64
jmp 0x515b1e
mov dl, byte [ebp - 0xc]
lea eax, [ebp - 0x54]
call fcn.00557b64
mov eax, dword [esi + 0x28c]
test eax, eax
je 0x515fdd
cmp dword [eax + 0x28], 0
jne 0x515b37
call fcn.005534ec
mov eax, dword [esi + 0x28c]
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 0x515b72
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x3c]
push eax
push 0xfffffffffffffff8
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowLongA
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [esi + 0x28c]
call fcn.005534ec
cmp byte [esi + 0xcc], 0
je 0x515bb3
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.00543714
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xd0], eax
jmp 0x515c8b
mov eax, dword [esi + 0x244]
call fcn.005303a8
mov edi, dword [eax + 0x7894]
mov eax, dword [esi + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_IsZoomed
test eax, eax
je 0x515c3c
mov eax, dword [edi + 0x28]
cmp eax, dword [edi + 0x24]
je 0x515c3c
mov eax, dword [esi + 0x25c]
call fcn.004568a4
xor ecx, ecx
mov edx, dword [esi + 0x28c]
call fcn.00537088
push eax
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.00543714
mov eax, dword [ebp - 0x13c]
push eax
mov eax, dword [esi + 0x28c]
call fcn.005371dc
pop edx
add edx, eax
push edx
mov eax, dword [esi + 0x25c]
call fcn.00537164
pop edx
sub edx, eax
pop eax
sub edx, eax
add edx, dword [edi + 0x24]
sub edx, dword [edi + 0x28]
mov dword [ebp - 0xd0], edx
jmp 0x515c8b
mov eax, dword [esi + 0x25c]
call fcn.004568a4
xor ecx, ecx
mov edx, dword [esi + 0x28c]
call fcn.00537088
push eax
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.00543714
mov edi, dword [ebp - 0x13c]
mov eax, dword [esi + 0x28c]
call fcn.005371dc
add edi, eax
mov eax, dword [esi + 0x25c]
call fcn.00537164
sub edi, eax
pop eax
sub edi, eax
mov dword [ebp - 0xd0], edi
mov eax, dword [esi + 0x25c]
call fcn.004568a4
xor ecx, ecx
mov edx, dword [esi + 0x28c]
call fcn.00537088
push eax
mov eax, dword [esi + 0x28c]
call fcn.00537228
mov edi, eax
pop eax
sub edi, eax
lea edx, [ebp - 0x140]
mov eax, esi
call fcn.00543714
add edi, dword [ebp - 0x140]
mov dword [ebp - 0xd4], edi
lea eax, [ebp - 0xf8]
push eax
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowRect
mov edx, dword [ebp - 0xf8]
sub edx, dword [ebp - 0xd4]
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.0044f7b4
mov edx, dword [ebp - 0xf4]
sub edx, dword [ebp - 0xd0]
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.0044f7d8
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x6c]
call fcn.0044f800
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp - 0x68]
call fcn.0044f824
push 3
mov eax, dword [esi + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0xd4]
push eax
push edi
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push edi
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004568a4
push eax
mov eax, dword [0x57e864]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004568a4
push eax
call sub.USER32.DLL_ShowWindow
lea eax, [ebp - 0x6c]
call fcn.0050b1a0
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x58]
call fcn.005573ec
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bf5c
call fcn.0042794c
xor ecx, ecx
pop edx
call fcn.00505bd8
cmp dword [ebp - 0x10], 0
jle 0x515ef9
push ebp
call fcn.005155ec
pop ecx
xor eax, eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x10]
jg 0x515ef3
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 0x60], eax
push ebp
call fcn.00515720
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bf5c
call fcn.0042794c
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push edi
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004568a4
push eax
mov eax, dword [0x57e864]
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.0042e200
mov edx, eax
mov eax, 0xff
call fcn.0042e13c
push eax
mov eax, dword [ebp - 0x84]
call fcn.004568a4
mov edx, dword [ebp - 0xc4]
pop ecx
call fcn.00518098
push ebp
call fcn.005158dc
pop ecx
inc dword [ebp - 0xc8]
cmp dword [ebp - 0x10], 0
jle 0x515ee4
mov edx, 0xc
mov eax, dword [ebp - 0x60]
call fcn.00557b24
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x10]
jle 0x515e3f
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
push edi
push 0
call sub.USER32.DLL_ReleaseDC
mov byte [0x57e224], 0
mov eax, dword [esi + 0x25c]
cmp byte [eax + 0x2e0], 0
je 0x515f25
mov dl, byte [ebp - 0xc]
mov eax, dword [esi + 0x25c]
call fcn.0046e104
push 0
mov ecx, 1
mov edx, 0xb
mov eax, ebx
call fcn.00451210
push 0x585
push 0
push 0
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_RedrawWindow
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [esi + 0x28c]
call fcn.005532b4
push eax
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowRgn
mov eax, dword [ebp - 0x64]
or eax, 4
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xf8]
sub eax, dword [ebp - 0xd4]
push eax
push 0
mov eax, dword [esi + 0x28c]
mov eax, dword [eax + 0x28]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
mov cl, 0xff
xor edx, edx
mov eax, dword [esi + 0x28c]
call fcn.00552170
lea eax, [ebp - 0xc4]
call fcn.0040ff68
lea eax, [ebp - 0x84]
call fcn.0040ff68
jmp 0x516290
lea eax, [ebp - 0xf8]
push eax
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowRect
push 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48dae0]
call fcn.00469678
mov dword [0x57e220], eax
mov edx, dword [ebx + 0x40]
mov eax, dword [0x57e220]
call fcn.0044f7b4
mov edx, dword [ebx + 0x44]
mov eax, dword [0x57e220]
call fcn.0044f7d8
mov edx, dword [ebx + 0x48]
mov eax, dword [0x57e220]
call fcn.0044f800
mov edx, dword [ebx + 0x4c]
mov eax, dword [0x57e220]
call fcn.0044f824
push 0xffffffffffffffec
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x51605e
mov dl, 3
mov eax, dword [0x57e220]
call fcn.0046af84
or edi, 0xffffffff
jmp 0x51608b
cmp dword [esi + 0x28c], 0
je 0x516076
mov eax, dword [esi + 0x25c]
call fcn.004568a4
mov edi, eax
jmp 0x51608b
push 3
mov eax, dword [esi + 0x25c]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindow
mov edi, eax
mov eax, dword [ebp - 0x64]
and eax, 0xfffffffd
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
push eax
mov eax, dword [ebx + 0x44]
push eax
mov eax, dword [ebx + 0x40]
push eax
push edi
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
push 0xffffffffffffffec
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push edi
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
mov eax, dword [0x57e864]
mov eax, dword [eax]
call eax
mov eax, esi
call fcn.00538120
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00538538
mov dword [ebp - 0x5c], eax
push 0
mov eax, dword [ebp - 0x5c]
push eax
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowRgn
push 4
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_ShowWindow
lea eax, [ebp - 0x6c]
call fcn.0050b1a0
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x58]
call fcn.005573ec
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bf5c
call fcn.0042794c
xor ecx, ecx
pop edx
call fcn.00505bd8
cmp dword [ebp - 0x10], 0
jle 0x516231
push ebp
call fcn.005155ec
pop ecx
xor eax, eax
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x10]
jg 0x51622b
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 0x60], eax
push ebp
call fcn.00515720
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bf5c
call fcn.0042794c
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push edi
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
mov eax, dword [0x57e864]
mov eax, dword [eax]
call eax
push ebp
call fcn.005158dc
pop ecx
inc dword [ebp - 0xc8]
cmp dword [ebp - 0x10], 0
jle 0x516220
mov edx, 0xc
mov eax, dword [ebp - 0x60]
call fcn.00557b24
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x10]
jle 0x5161b9
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
push edi
push 0
call sub.USER32.DLL_ReleaseDC
mov byte [0x57e224], 0
mov eax, dword [esi + 0x25c]
cmp byte [eax + 0x2e0], 0
je 0x51625d
mov dl, byte [ebp - 0xc]
mov eax, dword [esi + 0x25c]
call fcn.0046e104
push 0
mov ecx, 1
mov edx, 0xb
mov eax, ebx
call fcn.00451210
push 0x585
push 0
push 0
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_RedrawWindow
mov eax, 0x57e220
call fcn.0040ff68
lea eax, [ebp - 0x58]
call fcn.0040ff68
lea eax, [ebp - 0x1c]
call fcn.0040ff68
jmp 0x516bd5
cmp dword [0x57e220], 0
jne 0x5162b7
xor edx, edx
mov eax, ebx
call fcn.00514f44
cmp dword [0x57e220], 0
je 0x516bd5
mov edx, ebx
mov eax, dword [0x57e220]
call fcn.00512938
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
call fcn.0050b0fc
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.00427438
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
call sub.GDI32.DLL_SaveDC
mov dword [ebp - 0x70], eax
push 0
push 0
push 1
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x1c]
call fcn.00512538
cmp dword [ebp - 0x1c], 0
je 0x516bd5
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
call sub.GDI32.DLL_RestoreDC
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.00427820
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x48]
call fcn.0050b0fc
mov dword [ebp - 0xb4], eax
movzx eax, di
mov ecx, 0x18
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
cmp byte [ebp - 0x8d], 0
jne 0x5163a0
test esi, esi
je 0x5163a0
mov eax, esi
call fcn.00538120
cmp dword [0x57e220], 0
je 0x516bd5
push 0
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.00538538
push eax
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowRgn
cmp byte [ebp + 8], 2
jne 0x5165a7
movzx edx, di
mov eax, 0x3e7
call fcn.0042e13c
mov edx, 0x3e8
sub edx, eax
mov dword [ebp - 0x144], edx
fild dword [ebp - 0x144]
fld xword [0x516be0]
fmulp st(1)
fadd dword [0x516bec]
fstp qword [ebp - 0xb0]
wait
mov eax, dword [ebp - 0x1c]
call fcn.0050af8c
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x1c]
call fcn.0050af8c
mov dword [ebp - 0xbc], eax
xor edx, edx
xor eax, eax
call fcn.0050b0fc
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb8]
call fcn.0042bf5c
call fcn.0042794c
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0x140]
mov eax, ebx
call fcn.00557410
lea esi, [ebp - 0x140]
lea edi, [ebp - 0x120]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x14c]
xor edx, edx
xor eax, eax
call fcn.005574a0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x124], eax
mov byte [ebp - 0x100], 0
mov eax, dword [ebp - 0xb8]
call fcn.0042bf5c
call fcn.00427438
mov eax, ebx
call fcn.004568a4
mov edx, eax
lea eax, [ebp - 0x130]
mov cl, 1
call fcn.00501ffc
mov eax, dword [ebp - 0xb8]
call fcn.0042bf5c
call fcn.00427820
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
call dword [edx + 0x2c]
dec eax
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0xdc]
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 0xb8]
call fcn.0050009c
test al, al
je 0x516597
lea ecx, [ebp - 0xe0]
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x1c]
call fcn.0050009c
test al, al
je 0x516597
mov eax, dword [ebp - 0xb8]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
test eax, eax
jl 0x516597
inc eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xd8], 0
mov eax, dword [ebp - 0xdc]
imul dword [ebp - 0xd8]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xe0]
imul dword [ebp - 0xd8]
add eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0xc8]
test eax, eax
jl 0x516585
inc eax
mov dword [ebp - 0xe8], eax
xor esi, esi
mov eax, dword [ebp - 0x78]
lea edx, [eax + esi*4]
mov eax, dword [ebp - 0x8c]
lea eax, [eax + esi*4]
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x516578
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x516578
mov dl, byte [edx]
cmp dl, byte [eax]
jne 0x516578
mov byte [eax + 3], 0
jmp 0x51657c
mov byte [eax + 3], 0xff
inc esi
dec dword [ebp - 0xe8]
jne 0x51654d
inc dword [ebp - 0xd8]
dec dword [ebp - 0xe4]
jne 0x516510
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x5165d1
xor eax, eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0x3ff00000
xor eax, eax
mov dword [ebp - 0xb8], eax
xor eax, eax
mov dword [ebp - 0xbc], eax
xor eax, eax
mov dword [ebp - 0xc0], eax
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowDC
mov edi, eax
cmp dword [ebp - 0x10], 0
jle 0x516a37
fild dword [ebp - 0x10]
fld dword [0x516bf0]
call fcn.004035f8
fstp qword [ebp - 0x98]
wait
xor eax, eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0x406fe000
xor eax, eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], 0x406fe000
xor eax, eax
mov dword [ebp - 0xc8], eax
jmp 0x516a22
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 0x60], eax
cmp byte [ebp + 8], 2
jne 0x51696a
mov eax, dword [0x57e240]
call fcn.00506bfc
cmp dword [ebp - 0xc8], 0
jle 0x516845
mov eax, dword [0x580a60]
call fcn.00406010
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 8]
fld qword [ebp - 0xa0]
fcomp dword [0x516bec]
fnstsw ax
sahf
jbe 0x51689f
mov eax, dword [ebp - 0xcc]
dec eax
test eax, eax
jl 0x51689f
inc eax
mov dword [ebp - 0xe4], eax
xor esi, esi
mov eax, esi
add eax, eax
mov edx, dword [0x580a60]
push esi
push edi
lea esi, [edx + eax*8]
lea edi, [ebp - 0xf8]
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
lea eax, [ebp - 0xf8]
xor edx, edx
call fcn.00557504
mov dword [ebp - 0x144], eax
fild dword [ebp - 0x144]
fstp qword [ebp - 0x38]
wait
lea eax, [ebp - 0xf8]
xor edx, edx
call fcn.00557518
mov dword [ebp - 0x144], eax
fild dword [ebp - 0x144]
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0xc8]
shl eax, 3
mov dword [ebp - 0x144], eax
fild dword [ebp - 0x144]
fmul qword [ebp - 0x40]
fld qword [ebp - 0x38]
call fcn.00403600
call fcn.00403040
push eax
mov eax, dword [ebp - 0xc8]
shl eax, 3
push eax
lea eax, [ebp - 0xf8]
push eax
call sub.USER32.DLL_InflateRect
lea eax, [ebp - 0xf8]
mov dl, 1
call fcn.00557504
mov edx, eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea eax, [ebp - 0xf8]
mov dl, 1
call fcn.00557518
mov edx, eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push 0xcc0020
mov eax, esi
add eax, eax
mov edx, dword [0x580a60]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.00557518
push eax
mov eax, esi
add eax, eax
mov edx, dword [0x580a60]
lea eax, [edx + eax*8]
xor edx, edx
call fcn.00557504
push eax
mov eax, esi
add eax, eax
mov edx, dword [0x580a60]
mov eax, dword [edx + eax*8 + 4]
push eax
mov eax, esi
add eax, eax
mov edx, dword [0x580a60]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [0x57e240]
call fcn.0042bf5c
call fcn.0042794c
push eax
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0xc0]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc0]
call fcn.0042bf5c
call fcn.0042794c
push eax
call sub.GDI32.DLL_StretchBlt
lea ecx, [ebp - 0x14c]
xor edx, edx
xor eax, eax
call fcn.005574a0
lea eax, [ebp - 0x14c]
push eax
fld qword [ebp - 0xa0]
call fcn.00403040
push eax
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xf8]
mov eax, dword [ebp - 0xb4]
call fcn.005153a0
inc esi
dec dword [ebp - 0xe4]
jne 0x5166aa
jmp 0x51689f
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp - 0x14c]
xor edx, edx
xor eax, eax
call fcn.005574a0
lea eax, [ebp - 0x14c]
push eax
fld qword [ebp - 0xa0]
call fcn.00403040
push eax
lea edx, [ebp - 0x140]
mov eax, dword [0x57e240]
call fcn.005573ec
lea edx, [ebp - 0x140]
mov ecx, dword [0x57e240]
mov eax, dword [ebp - 0xb4]
call fcn.005153a0
lea ecx, [ebp - 0x14c]
xor edx, edx
xor eax, eax
call fcn.005574a0
lea eax, [ebp - 0x14c]
push eax
fld qword [ebp - 0xa8]
call fcn.00403040
mov dl, 0xff
sub dl, al
push edx
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0xbc]
call fcn.005573ec
lea edx, [ebp - 0x140]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb4]
call fcn.005153a0
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xb4]
call fcn.0042bf5c
call fcn.0042794c
push eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
push 0
push 0
push 0
fld qword [ebp - 0xa0]
fld qword [ebp - 0xb0]
call fcn.00403600
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042e27c
fstp qword [ebp - 0xa0]
wait
push 0
push 0
push 0
fld qword [ebp - 0xa8]
fsub qword [ebp - 0x98]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042e27c
fstp qword [ebp - 0xa8]
wait
jmp 0x5169e7
push 0
push 0
push 0
fld qword [ebp - 0xa0]
call fcn.00403040
push edx
push eax
call fcn.0042e208
push eax
lea ecx, [ebp - 0x1c]
mov edx, 0x57e240
lea eax, [ebp - 0xb4]
call fcn.0050a94c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0xb4]
call fcn.0042bf5c
call fcn.0042794c
push eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
push 0
push 0
push 0
fld qword [ebp - 0xa0]
fsub qword [ebp - 0x98]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042e27c
fstp qword [ebp - 0xa0]
wait
mov eax, dword [0x57eb40]
cmp dword [eax], 0
je 0x516a0f
push 0
push 0x30000
push 0xa100
mov eax, dword [0x57eb40]
mov eax, dword [eax]
call fcn.004568a4
push eax
call sub.USER32.DLL_SendMessageA
inc dword [ebp - 0xc8]
mov edx, 0x18
mov eax, dword [ebp - 0x60]
call fcn.00557b24
fld qword [ebp - 0xa0]
fcomp dword [0x516bf4]
fnstsw ax
sahf
ja 0x516633
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
mov eax, dword [0x57eb40]
cmp dword [eax], 0
je 0x516a88
push 0
push 0x30000
push 0xa100
mov eax, dword [0x57eb40]
mov eax, dword [eax]
call fcn.004568a4
push eax
call sub.USER32.DLL_SendMessageA
mov byte [0x57e224], 0
cmp byte [ebx + 0x57], 0
je 0x516b4e
push 0x1fffffff
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x1c]
call fcn.005573ec
lea edx, [ebp - 0x140]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0049a634
push 0
mov ecx, 1
mov edx, 0xb
mov eax, ebx
call fcn.00451210
push 0
mov eax, dword [0x57e220]
call fcn.004568a4
mov ecx, 0xfe
mov edx, dword [ebp - 0x1c]
call fcn.00518098
mov eax, dword [0x57e994]
cmp dword [eax], 6
jl 0x516b08
push 0x585
push 0
push 0
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_RedrawWindow
mov eax, ebx
mov edx, dword [0x4663cc]
call fcn.00404038
test al, al
je 0x516b2f
push 0xffffffffffffffec
mov eax, ebx
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowLongA
test eax, 0x80000
jne 0x516b4e
push 0x9c
push 0
push 0
push 0
push 0
push 0
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
push edi
mov eax, dword [0x57e220]
call fcn.004568a4
push eax
call sub.USER32.DLL_ReleaseDC
mov eax, 0x57e220
call fcn.0040ff68
lea eax, [ebp - 0xb4]
call fcn.0040ff68
mov eax, 0x57e240
call fcn.0040ff68
lea eax, [ebp - 0x1c]
call fcn.0040ff68
cmp dword [0x57e244], 0
je 0x516b99
mov eax, 0x57e244
call fcn.0040ff68
cmp dword [ebp - 0xb8], 0
je 0x516bad
lea eax, [ebp - 0xb8]
call fcn.0040ff68
cmp dword [ebp - 0xc0], 0
je 0x516bc1
lea eax, [ebp - 0xc0]
call fcn.0040ff68
cmp dword [ebp - 0xbc], 0
je 0x516bd5
lea eax, [ebp - 0xbc]
call fcn.0040ff68
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4