Function at 0x5148c8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov word [ebp - 0x5a], dx
mov ebx, eax
mov byte [0x57e224], 1
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x5148f6
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x64], eax
jmp 0x51490f
push 0
mov ecx, dword [0x57ebe0]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x48dae0]
call fcn.00469678
mov dword [ebp - 0x64], eax
mov eax, ebx
call fcn.004bcbf0
lea eax, [ebp - 0xa0]
push eax
mov eax, dword [ebx + 0x38]
push eax
call sub.USER32.DLL_GetClientRect
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x48]
call fcn.0050b1ac
mov dword [ebp - 0x1c], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0x48]
call fcn.0042bf5c
call fcn.0042794c
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
call sub.GDI32.DLL_BitBlt
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.00427438
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
mov edi, eax
push edi
call sub.GDI32.DLL_SaveDC
mov esi, eax
mov eax, ebx
call fcn.004bc5ac
push eax
mov eax, ebx
call fcn.004bc55c
lea ecx, [ebp - 0xa8]
pop edx
call fcn.004071ac
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x90]
mov eax, edi
call fcn.0044e980
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.00557518
push eax
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.00557504
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_IntersectClipRect
mov ecx, edi
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x180]
call fcn.004ba2d0
cmp dword [ebx + 0x154], 0
je 0x514a9c
mov eax, ebx
call fcn.004bc5ac
push eax
mov eax, ebx
call fcn.004bc55c
lea ecx, [ebp - 0xa8]
pop edx
call fcn.004071ac
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.00557504
add eax, dword [ebp - 0x90]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xa0]
xor edx, edx
call fcn.00557518
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0x84], eax
push 0x1fffffff
lea edx, [ebp - 0x90]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0049a634
jmp 0x514abf
push 0x1fffffff
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x1c]
call fcn.005573ec
lea edx, [ebp - 0xb8]
mov cl, 0xff
mov eax, dword [ebp - 0x1c]
call fcn.0049a634
push esi
push edi
call sub.GDI32.DLL_RestoreDC
cmp dword [ebp - 0x1c], 0
je 0x514f3b
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.00427820
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 0x1c]
call fcn.00557454
movzx eax, word [ebp - 0x5a]
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x70], 0x718
lea ecx, [ebp - 0x6c]
xor edx, edx
xor eax, eax
call fcn.005574a0
cmp dword [ebp - 0x10], 0
jle 0x514b1d
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00557b64
jmp 0x514b28
mov dl, byte [ebp - 0xc]
lea eax, [ebp - 0x54]
call fcn.00557b64
mov esi, dword [ebx + 0x154]
test esi, esi
je 0x514ba4
lea edx, [ebp - 0xb8]
mov eax, ebx
call fcn.004bf4fc
mov edi, dword [ebp - 0xb4]
mov eax, esi
call fcn.005371dc
add edi, eax
xor edx, edx
mov eax, ebx
call fcn.004bc0f8
sub edi, eax
xor ecx, ecx
mov edx, dword [ebx + 0x154]
mov eax, dword [ebx + 0x38]
call fcn.00537088
sub edi, eax
xor ecx, ecx
mov edx, dword [ebx + 0x154]
mov eax, dword [ebx + 0x38]
call fcn.00537088
push eax
mov eax, dword [ebx + 0x154]
call fcn.00537228
mov esi, eax
pop eax
sub esi, eax
lea edx, [ebp - 0xb8]
mov eax, ebx
call fcn.004bf4fc
add esi, dword [ebp - 0xb8]
mov dword [ebp - 0x60], esi
jmp 0x514bab
xor edi, edi
xor eax, eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x90]
push eax
mov eax, dword [ebx + 0x38]
push eax
call sub.USER32.DLL_GetWindowRect
push 0xffffffffffffffec
mov eax, dword [ebx + 0x38]
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x514bdd
mov dl, 3
mov eax, dword [ebp - 0x64]
call fcn.0046af84
mov dword [ebp - 0x80], 0xffffffff
jmp 0x514be3
mov eax, dword [ebx + 0x38]
mov dword [ebp - 0x80], eax
cmp dword [ebx + 0x154], 0
jne 0x514c01
mov eax, ebx
call fcn.004ba5b0
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0xa8]
call fcn.0051297c
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowLongA
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x8c]
sub ecx, edi
mov edx, dword [ebp - 0x90]
sub edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
mov edi, dword [eax]
call dword [edi + 0x84]
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push esi
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
mov eax, dword [0x57e864]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 0x70]
or eax, 8
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x64]
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x80]
push eax
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
lea eax, [ebp - 0x78]
call fcn.0050b1a0
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0xb8]
mov eax, dword [ebp - 0x58]
call fcn.005573ec
lea eax, [ebp - 0xb8]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bf5c
call fcn.0042794c
xor ecx, ecx
pop edx
call fcn.00505bd8
push 3
mov eax, dword [ebp - 0x58]
call fcn.0042bf5c
call fcn.0042794c
push eax
call sub.GDI32.DLL_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x514da1
push ebp
call fcn.00514574
pop ecx
xor edi, edi
cmp edi, dword [ebp - 0x10]
jg 0x514d9b
call sub.KERNEL32.DLL_GetTickCount_1
mov dword [ebp - 0x7c], eax
push ebp
call fcn.005146b0
pop ecx
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042bf5c
call fcn.0042794c
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push esi
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
mov eax, dword [0x57e864]
mov eax, dword [eax]
call eax
push ebp
call fcn.0051486c
pop ecx
inc edi
cmp dword [ebp - 0x10], 0
jle 0x514d96
mov edx, 0xc
mov eax, dword [ebp - 0x7c]
call fcn.00557b24
cmp edi, dword [ebp - 0x10]
jle 0x514d36
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
push 0
push 0
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowRgn
mov edi, dword [ebp - 0x70]
or edi, 1
or edi, 2
push edi
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0042bf5c
call fcn.0042794c
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push esi
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
mov eax, dword [0x57e864]
mov eax, dword [eax]
call eax
lea eax, [ebp - 0x58]
call fcn.0040ff68
push esi
push 0
call sub.USER32.DLL_ReleaseDC
xor edx, edx
mov eax, ebx
call fcn.004ba76c
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
mov eax, dword [ebx + 0x38]
push eax
call sub.USER32.DLL_SetWindowPos
push 0xfffffffffffffff0
mov esi, dword [ebx + 0x38]
push esi
call sub.USER32.DLL_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
push esi
call sub.USER32.DLL_SetWindowLongA
push 0
mov ecx, 1
mov edx, 0xb
mov eax, ebx
call fcn.004e8528
mov byte [0x57e224], 0
mov eax, dword [ebx + 0x154]
test eax, eax
je 0x514eee
mov byte [eax + 0x24], 1
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
call sub.USER32.DLL_RedrawWindow
xor edx, edx
mov eax, ebx
call fcn.004ba76c
mov eax, dword [ebx + 0x154]
mov byte [eax + 0x24], 0
call fcn.00537388
test al, al
je 0x514eb9
push 0x30
call sub.KERNEL32.DLL_Sleep
mov cl, 0xff
mov dl, 1
mov eax, dword [ebx + 0x154]
call fcn.00552170
push edi
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
xor edx, edx
mov eax, ebx
call fcn.004ba76c
jmp 0x514f33
push 0x585
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
call sub.USER32.DLL_RedrawWindow
call fcn.00537388
test al, al
je 0x514f10
push 0x30
call sub.KERNEL32.DLL_Sleep
push edi
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x38]
push eax
mov eax, dword [ebp - 0x64]
call fcn.004568a4
push eax
call sub.USER32.DLL_SetWindowPos
lea eax, [ebp - 0x64]
call fcn.0040ff68
lea eax, [ebp - 0x1c]
call fcn.0040ff68
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4