Function at 0x5769b4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov word [ebp - 0x62], dx
mov ebx, eax
mov byte [0x630e74], 1
mov esi, ebx
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x5769e4
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x70], eax
jmp 0x5769fd
push 0
mov ecx, dword [0x63f124]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x5a1fdc]
call fcn.00475014
mov dword [ebp - 0x70], eax
mov eax, esi
call fcn.0050f1ec
lea eax, [ebp - 0xa4]
push eax
mov eax, dword [esi + 0x38]
push eax
call sub.user32.dll_GetClientRect
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x5c]
call fcn.0056f9bc
mov dword [ebp - 0x2c], eax
push 0xcc0020
push 0
push 0
mov eax, dword [esi + 0x68]
mov eax, dword [eax + 0x5c]
call fcn.00438268
call fcn.00433af0
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x2c]
call fcn.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x2c]
call fcn.00438268
call fcn.0043358c
mov eax, dword [ebp - 0x2c]
call fcn.00438268
call fcn.00433af0
mov edi, eax
push edi
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x74], eax
mov eax, esi
call fcn.0050e9a0
push eax
mov eax, esi
call fcn.0050e950
lea ecx, [ebp - 0xac]
pop edx
call fcn.004080a4
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
mov eax, edi
call fcn.00455c04
lea eax, [ebp - 0xa4]
xor edx, edx
call fcn.0057b5a4
push eax
lea eax, [ebp - 0xa4]
xor edx, edx
call fcn.0057b590
push eax
push 0
push 0
push edi
call sub.gdi32.dll_IntersectClipRect
mov edx, dword [esi + 0x38]
mov eax, dword [esi + 0x184]
mov ecx, edi
call fcn.0050c770
cmp dword [esi + 0x18c], 0
je 0x576b8d
mov eax, esi
call fcn.0050e9a0
push eax
mov eax, esi
call fcn.0050e950
lea ecx, [ebp - 0xac]
pop edx
call fcn.004080a4
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xa4]
xor edx, edx
call fcn.0057b590
add eax, dword [ebp - 0x94]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xa4]
xor edx, edx
call fcn.0057b5a4
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
push 0x1fffffff
push 0
mov cl, 0xff
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0x2c]
call fcn.004baa68
jmp 0x576bb2
push 0x1fffffff
push 0
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x2c]
call fcn.0057b430
lea edx, [ebp - 0xbc]
mov cl, 0xff
mov eax, dword [ebp - 0x2c]
call fcn.004baa68
mov eax, dword [ebp - 0x74]
push eax
push edi
call sub.gdi32.dll_RestoreDC
cmp dword [ebp - 0x2c], 0
je 0x57704b
mov eax, dword [ebp - 0x2c]
call fcn.00438268
call fcn.004339c4
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x2c]
call fcn.0057b4f0
movzx eax, word [ebp - 0x62]
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x78], 0x718
cmp dword [ebp - 0x10], 0
jle 0x576c07
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.0057be0c
jmp 0x576c12
mov dl, byte [ebp - 0xc]
lea eax, [ebp - 0x5c]
call fcn.0057be0c
cmp dword [esi + 0x18c], 0
je 0x576c91
lea edx, [ebp - 0xbc]
mov eax, esi
call fcn.00511da8
mov edi, dword [ebp - 0xb8]
mov eax, dword [ebx + 0x18c]
call fcn.005a6948
add edi, eax
xor edx, edx
mov eax, esi
call fcn.0050e470
sub edi, eax
mov edx, dword [esi + 0x18c]
mov eax, dword [esi + 0x38]
xor ecx, ecx
call fcn.005a6774
sub edi, eax
mov edx, dword [esi + 0x18c]
mov eax, dword [esi + 0x38]
xor ecx, ecx
call fcn.005a6774
push eax
mov eax, dword [esi + 0x18c]
call fcn.005a6988
pop edx
sub eax, edx
push eax
lea edx, [ebp - 0xbc]
mov eax, esi
call fcn.00511da8
pop eax
add eax, dword [ebp - 0xbc]
mov dword [ebp - 0x68], eax
jmp 0x576c98
xor edi, edi
xor eax, eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x94]
push eax
mov eax, dword [esi + 0x38]
push eax
call sub.user32.dll_GetWindowRect
push 0xffffffffffffffec
mov eax, dword [esi + 0x38]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x576ccd
mov dl, 3
mov eax, dword [ebp - 0x70]
call fcn.0047729c
mov dword [ebp - 0x84], 0xffffffff
jmp 0x576cd6
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x84], eax
cmp dword [esi + 0x18c], 0
jne 0x576cf4
mov eax, ebx
call fcn.0050c998
mov eax, dword [esi + 0x180]
mov edx, dword [ebp - 0x2c]
call fcn.005740b0
mov eax, dword [0x63f290]
cmp byte [eax], 0
je 0x576d31
call fcn.005cb32c
test al, al
jne 0x576d31
call fcn.0057aba0
test al, al
je 0x576d31
cmp dword [0x645528], 0
je 0x576d31
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
xor ecx, ecx
xor edx, edx
call fcn.005a4e74
mov dword [ebp - 0x6c], eax
jmp 0x576d36
xor eax, eax
mov dword [ebp - 0x6c], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x90]
sub ecx, edi
mov edx, dword [ebp - 0x94]
sub edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
mov esi, dword [eax]
call dword [esi + 0x88]
lea eax, [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x2c]
call fcn.005639bc
push 4
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x78]
or eax, 8
push eax
mov eax, dword [ebp - 0x7c]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x70]
call fcn.00475c04
push eax
mov eax, dword [ebp - 0x70]
call fcn.00475be4
push eax
mov eax, dword [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x80]
call fcn.0056f9b0
mov dword [ebp - 0x60], eax
push 0
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x60]
call fcn.0057b430
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x60]
call fcn.00438268
call fcn.00433af0
xor ecx, ecx
pop edx
call fcn.005686e0
push 3
mov eax, dword [ebp - 0x60]
call fcn.00438268
call fcn.00433af0
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x576e9e
push ebp
call fcn.005763f0
pop ecx
xor esi, esi
cmp esi, dword [ebp - 0x10]
jg 0x576e98
call sub.KERNEL32.DLL_GetTickCount
mov edi, eax
push ebp
call fcn.005765dc
pop ecx
lea eax, [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x60]
call fcn.005639bc
push ebp
call fcn.005768a0
pop ecx
test al, al
je 0x576e98
inc esi
cmp dword [ebp - 0x10], 0
jle 0x576e93
mov edx, 0xc
mov eax, edi
call fcn.0057bdc0
cmp esi, dword [ebp - 0x10]
jle 0x576e4e
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x5a], al
push 0
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x78]
or eax, 1
or eax, 2
push eax
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
lea ecx, [ebp - 0x80]
mov edx, dword [ebp - 0x2c]
call fcn.005639bc
mov eax, dword [0x63f290]
cmp byte [eax], 0
je 0x576f14
call fcn.005cb32c
test al, al
je 0x576f14
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
xor ecx, ecx
xor edx, edx
call fcn.005a4e74
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x60]
call fcn.004126f4
xor edx, edx
mov eax, ebx
call fcn.0050cbd8
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
mov esi, ebx
mov eax, dword [esi + 0x38]
push eax
call sub.user32.dll_SetWindowPos
push 0xfffffffffffffff0
mov edi, dword [ebx + 0x38]
push edi
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push edi
call sub.user32.dll_SetWindowLongA
push 0
mov ecx, 1
mov edx, 0xb
mov eax, esi
call fcn.0053045c
mov byte [0x630e74], 0
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x576f87
mov byte [eax + 0x26], 1
mov esi, ebx
mov eax, dword [esi + 0x68]
call fcn.0059b57c
mov edx, dword [esi + 0x38]
xor eax, eax
call fcn.005740e4
mov eax, dword [esi + 0x68]
xor edx, edx
call fcn.0059b878
push 0x585
push 0
push 0
mov eax, dword [esi + 0x38]
push eax
call sub.user32.dll_RedrawWindow
cmp dword [esi + 0x18c], 0
je 0x577002
xor edx, edx
mov eax, ebx
call fcn.0050cbd8
mov eax, dword [esi + 0x18c]
mov byte [eax + 0x26], 0
mov eax, dword [ebp - 0x78]
or eax, 1
or eax, 2
push eax
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x38]
push eax
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
xor edx, edx
mov eax, ebx
call fcn.0050cbd8
jmp 0x57702e
mov eax, dword [ebp - 0x78]
or eax, 1
or eax, 2
push eax
push 0
push 0
push 0
push 0
mov eax, dword [esi + 0x38]
push eax
mov eax, dword [ebp - 0x70]
call fcn.0045f528
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x70]
call fcn.004126f4
cmp dword [ebp - 0x6c], 0
je 0x577043
push 0x14
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.004048a4
lea eax, [ebp - 0x2c]
call fcn.004126f4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4