Function at 0x4a94a4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], ecx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a99df
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004951bc
xor edx, edx
call fcn.004952ac
test eax, eax
jg 0x4a99c1
mov eax, ebx
call fcn.004b81c4
test al, al
je 0x4a99c1
cmp byte [ebx + 0x3c], 0
jne 0x4a99c1
mov eax, dword [ebx + 0x2cc]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
jne 0x4a950b
cmp byte [ebx + 0x41], 0
jne 0x4a99c1
mov eax, ebx
call fcn.004a8d7c
test al, al
jne 0x4a99c1
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x22b], 1
je 0x4a99c1
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x1a6], 0
je 0x4a99c1
cmp dword [ebx + 0x2e0], 0
je 0x4a955c
mov eax, dword [ebx + 0x2cc]
cmp dword [eax + 0x248], 0
je 0x4a99c1
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x22f], 1
jne 0x4a9589
mov eax, dword [0x586c44]
cmp dword [eax], 0
je 0x4a9589
mov eax, dword [0x586c44]
mov eax, dword [eax]
cmp dword [eax + 0xec], 0
jg 0x4a99c1
test byte [ebx + 0x2d4], 0x80
jne 0x4a99c1
cmp dword [ebx + 0x29c], 0
jne 0x4a9632
push 0
mov ecx, dword [0x586b7c]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4a90d4]
call fcn.0045da40
mov esi, eax
mov dword [ebx + 0x29c], esi
mov eax, dword [ebx + 0x2cc]
push dword [eax + 8]
push 0x4a99f8
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x34]
call fcn.00409a38
push dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404f14
mov edx, dword [ebp - 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebx + 0x29c]
mov dword [eax + 0x300], ebx
test eax, eax
je 0x4a99c1
call fcn.0044b9ac
mov eax, dword [ebx + 0x29c]
call fcn.0044bcd4
test al, al
jne 0x4a9632
lea eax, [ebx + 0x29c]
call fcn.0040f0a8
jmp 0x4a99c1
cmp dword [ebx + 0x2e0], 0
je 0x4a9700
mov eax, ebx
call fcn.004b46fc
mov esi, eax
mov eax, ebx
call fcn.004b3dac
imul esi, eax
inc esi
mov dword [ebp - 0x14], esi
mov eax, ebx
call fcn.004b3cb8
mov esi, eax
mov eax, dword [ebx + 0x2cc]
add esi, dword [eax + 0x44]
sub esi, dword [ebp - 0x14]
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.004b73c4
sub esi, dword [ebp - 0x40]
mov eax, dword [ebx + 0x2e0]
call fcn.004a8af8
sub esi, eax
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_IsZoomed
test eax, eax
je 0x4a96b7
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_GetWindowLongA
test eax, 0xc00000
je 0x4a96b7
sub esi, 4
mov edi, dword [ebx + 0x2cc]
mov eax, edi
call fcn.0044b9d0
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call fcn.004a88c0
add eax, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x2cc]
mov eax, edi
call fcn.0044b9d0
xor ecx, ecx
mov edx, dword [ebx + 0x2e0]
call fcn.004a88c0
add eax, eax
mov edx, dword [edi + 0x48]
sub edx, eax
mov dword [ebp - 0x1c], edx
jmp 0x4a98d3
mov eax, dword [ebx + 0x2cc]
mov edx, dword [eax + 0x4c]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x1c], eax
mov edi, dword [ebx + 0x2cc]
cmp dword [edi + 0x30], 0
jne 0x4a9732
cmp byte [edi + 0x22f], 1
je 0x4a9732
mov esi, dword [edi + 0x44]
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x18], eax
jmp 0x4a974c
lea eax, [ebp - 0x2c]
push eax
mov eax, edi
call fcn.0044b9d0
push eax
call sub.user32.dll_GetWindowRect
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
mov edi, dword [ebx + 0x2cc]
cmp byte [edi + 0x22b], 2
jne 0x4a9796
lea edx, [ebp - 0x2c]
mov eax, edi
call fcn.0051afb4
mov eax, dword [ebx + 0x2cc]
mov ecx, dword [eax + 0x44]
neg ecx
mov edx, dword [eax + 0x40]
neg edx
lea eax, [ebp - 0x2c]
call fcn.004073a0
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov edi, eax
jmp 0x4a97a3
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004aa0d0
mov edi, eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
lea edx, [ebp - 0x10]
call fcn.004a9408
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
lea edx, [ebp - 0x2c]
call fcn.0051cf50
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 4
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebx + 0x2cc]
cmp dword [eax + 0x30], 0
jne 0x4a9827
mov eax, dword [ebx + 0x2cc]
cmp byte [eax + 0x22f], 1
jne 0x4a98bf
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
jne 0x4a9870
lea eax, [ebx + 0x29c]
call fcn.0040f0a8
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_ReleaseDC
jmp 0x4a99c1
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
cmp edx, eax
jle 0x4a98aa
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jge 0x4a98aa
mov ecx, dword [ebp - 0x20]
push ecx
push edx
mov edx, dword [ebp - 0x28]
push edx
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 8], eax
push 1
mov eax, dword [ebp - 8]
push eax
push edi
push edi
call sub.gdi32.dll_CombineRgn
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebx + 0x2cc]
call fcn.0044b9d0
push eax
call sub.user32.dll_ReleaseDC
push 0
push edi
mov eax, dword [ebx + 0x29c]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x29c]
mov edi, dword [eax]
call dword [edi + 0x84]
mov edi, dword [ebx + 0x2cc]
cmp byte [edi + 0x22f], 1
jne 0x4a992e
push 0x658
mov eax, ebx
call fcn.004b454c
push eax
mov eax, dword [ebx + 0x2cc]
mov eax, dword [eax + 0x48]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x29c]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4a998d
push 0xffffffffffffffec
mov eax, edi
call fcn.0044b9d0
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4a9968
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebx + 0x29c]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4a998d
push 0x658
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
push esi
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebx + 0x29c]
call fcn.0044b9d0
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, dword [ebx + 0x29c]
call fcn.0044b9d0
push eax
call sub.user32.dll_ShowWindow
push 0x105
push 0
push 0
mov eax, dword [ebx + 0x29c]
call fcn.0044b9d0
push eax
call sub.user32.dll_RedrawWindow
push 0x28
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a99e6
lea eax, [ebp - 0x34]
call fcn.00404b94
lea eax, [ebp - 0x30]
call fcn.00404b94
ret