Function at 0x523f5c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov ebx, edx
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x244], 0
je 0x52473d
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_IsIconic
test eax, eax
jne 0x52473d
mov byte [0x58d2e0], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
test eax, eax
je 0x523fec
cmp dword [eax + 0x28], 0
jne 0x523fbb
call fcn.0057bf40
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x6c], eax
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.0057b8fc
jmp 0x52400d
mov eax, dword [ebp - 0x5c]
call fcn.005675e8
push 0
mov ecx, dword [0x58dac8]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x498e9c]
call fcn.0045ed8c
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x244]
mov esi, dword [eax + 0x4c]
test esi, esi
je 0x52473d
mov eax, esi
call fcn.0053a158
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
call fcn.0042c75c
call fcn.00427c40
push 0
mov eax, dword [ebp - 0x5c]
push eax
push 0
mov eax, dword [ebp - 0x5c]
mov edx, dword [eax + 0x25c]
xor ecx, ecx
mov eax, dword [ebp - 0x3c]
call fcn.005234b8
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
jne 0x524082
push 0x1fffffff
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x3c]
call fcn.005462a4
lea edx, [ebp - 0x9c]
mov cl, 0xff
mov eax, dword [ebp - 0x3c]
call fcn.004a5908
cmp dword [ebp - 0x3c], 0
je 0x52473d
mov eax, dword [ebp - 0x3c]
call fcn.0042c75c
call fcn.00428020
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x3c]
call fcn.0054630c
movzx eax, bx
mov ecx, 0xc
xor edx, edx
div ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x60], 0x718
lea ecx, [ebp - 0x74]
xor edx, edx
xor eax, eax
call fcn.00546358
cmp dword [ebp - 0x10], 0
jle 0x5240d8
lea eax, [ebp - 0x54]
xor edx, edx
call fcn.00546a1c
jmp 0x5240e3
mov dl, byte [ebp - 0xc]
lea eax, [ebp - 0x54]
call fcn.00546a1c
xor eax, eax
mov dword [ebp - 0x78], eax
xor eax, eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
je 0x524204
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.00445c30
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x52414a
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.005620f0
mov ebx, eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0055fea0
add eax, 4
cmp ebx, eax
jl 0x52414e
xor ebx, ebx
jmp 0x524150
mov bl, 1
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0xcc], bl
test bl, bl
je 0x5241a8
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x28c]
xor ecx, ecx
call fcn.0055fdd0
mov ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.0056c27c
mov esi, dword [ebp - 0x98]
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.0055ff8c
add esi, eax
add ebx, esi
mov dword [ebp - 0x78], ebx
jmp 0x5241b9
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.0057b73c
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx + 0x28c]
xor ecx, ecx
call fcn.0055fdd0
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
call fcn.0055ff60
mov ebx, eax
pop eax
sub ebx, eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
call fcn.0056c27c
add ebx, dword [ebp - 0x9c]
mov dword [ebp - 0x7c], ebx
jmp 0x524238
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x5c]
call fcn.00560d3c
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x21c]
mov edx, dword [ebp - 0x3c]
call fcn.005238fc
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x8000000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowLongA
push 0xffffffffffffffec
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x5242c1
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.004606b0
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.00445a4c
xor edx, edx
mov eax, dword [ebp - 0x6c]
call fcn.00445a70
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowLongA
or esi, 0xffffffff
jmp 0x5242ed
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
test byte [eax + 0x2f4], 8
je 0x5242dd
mov dl, 3
mov eax, dword [ebp - 0x6c]
call fcn.004606b0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
mov esi, eax
push 0
call sub.user32.dll_GetDC
mov ebx, eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0x80000
jne 0x524333
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.0042c75c
call fcn.0042814c
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call dword [0x58ef20]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov ecx, dword [ebp - 0x88]
sub ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x8c]
sub edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x6c]
mov edi, dword [eax]
call dword [edi + 0x84]
push 0x65b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebp - 0x60]
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x44]
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x40]
push eax
push esi
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
lea eax, [ebp - 0x68]
call fcn.0053a14c
mov dword [ebp - 0x58], eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 0x58]
call fcn.005462a4
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042c75c
call fcn.0042814c
xor ecx, ecx
pop edx
call fcn.00534cec
push 3
mov eax, dword [ebp - 0x58]
call fcn.0042c75c
call fcn.0042814c
push eax
call sub.gdi32.dll_SetStretchBltMode
cmp dword [ebp - 0x10], 0
jle 0x5244af
push ebp
call fcn.00523930
pop ecx
xor esi, esi
cmp esi, dword [ebp - 0x10]
jg 0x5244a9
push ebp
call fcn.00523b0c
pop ecx
call sub.kernel32.dll_GetTickCount
mov edi, eax
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x58]
call fcn.0042c75c
call fcn.0042814c
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call dword [0x58ef20]
push ebp
call fcn.00523dc8
pop ecx
inc esi
cmp dword [ebp - 0x10], 0
jle 0x5244a4
mov edx, 0xc
mov eax, edi
call fcn.005469dc
cmp esi, dword [ebp - 0x10]
jle 0x524449
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x52], al
mov eax, dword [ebp - 0x60]
or eax, 4
push eax
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x88]
sub eax, dword [ebp - 0x78]
push eax
mov eax, dword [ebp - 0x8c]
sub eax, dword [ebp - 0x7c]
push eax
push 0
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
push 2
lea eax, [ebp - 0x54]
push eax
push 0x1fffffff
lea eax, [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.0042c75c
call fcn.0042814c
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push ebx
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call dword [0x58ef20]
lea eax, [ebp - 0x58]
call fcn.0040ef88
push ebx
push 0
call sub.user32.dll_ReleaseDC
cmp dword [ebp - 0x5c], 0
je 0x52473d
mov eax, dword [ebp - 0x5c]
mov byte [eax + 0x256], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
xor ecx, ecx
mov dl, 1
call fcn.00525120
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
movzx eax, byte [eax + 0x22b]
mov eax, dword [eax*4 + 0x58d2f0]
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_ShowWindow
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
push ebp
call fcn.00523ebc
pop ecx
mov byte [0x58d2e0], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
test eax, eax
je 0x5245c5
mov byte [eax + 0x24], 1
mov eax, dword [0x58d8fc]
cmp dword [eax], 6
jne 0x52460b
mov eax, dword [0x58db38]
cmp dword [eax], 0
jne 0x52460b
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x10000000
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
je 0x524623
mov cl, 1
mov dl, 1
mov eax, dword [ebp - 0x5c]
call fcn.00560ea0
push 0x585
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
call sub.user32.dll_RedrawWindow
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
test eax, eax
je 0x524651
mov byte [eax + 0x24], 0
lea eax, [ebp - 0x3c]
call fcn.0040ef88
call fcn.005600c0
test al, al
je 0x524669
push 0x18
call sub.kernel32.dll_Sleep
push 0x61b
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x25c]
call fcn.0044cb38
push eax
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x28c], 0
jne 0x5246a9
lea eax, [ebp - 0x6c]
call fcn.0040ef88
jmp 0x52471f
push 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
xor ecx, ecx
xor edx, edx
call fcn.0057bd08
push eax
mov eax, dword [ebp - 0x6c]
call fcn.0044cb38
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x244]
call fcn.005592f0
mov eax, dword [eax + 0x7894]
cmp byte [eax + 5], 0
jne 0x524706
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x244]
call fcn.005592f0
cmp dword [eax + 0x78b0], 0
jle 0x524718
cmp dword [0x58ec1c], 7
jle 0x524718
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28c]
mov cl, 0xff
mov dl, 1
call fcn.0057abcc
push ebp
call fcn.00523ebc
pop ecx
mov eax, dword [ebp - 0x5c]
cmp word [eax + 0xaa], 0
je 0x52473d
mov ebx, dword [ebp - 0x5c]
xor edx, edx
mov eax, dword [ebx + 0xac]
call dword [ebx + 0xa8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4