Function at 0x4040b1
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov esi, ecx
je 0x40422e
mov eax, dword [esi + 0x70]
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
imul eax, eax, 0x798
add eax, dword [0x413c44]
push 0x4101bc
push eax
call ebx
test eax, eax
jne 0x40421c
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x44], 0x24
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x44]
push eax
push 5
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test eax, eax
je 0x404216
push 0x87
push edi
push edi
push edi
push edi
push edi
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
push eax
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
push eax
push edi
push edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 1
push eax
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea eax, [ebp - 0x10]
push eax
push 0x3f1
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x70]
push 0x4101bc
imul eax, eax, 0x798
add eax, dword [0x413c44]
push eax
call ebx
test eax, eax
je 0x40417d
sub dword [ebp - 8], 0xf0
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x10]
sub edi, dword [ebp - 4]
sub ebx, dword [ebp - 8]
push 0x80
push 0xffffffffffffffec
add edi, dword [ebp - 0x30]
add ebx, dword [ebp - 0x2c]
push dword [esi + 0x4c]
mov dword [ebp - 0x1c], edi
sub edi, dword [ebp - 0xc]
mov dword [ebp - 0x20], ebx
sub ebx, dword [ebp - 0x10]
add edi, dword [ebp - 4]
add ebx, dword [ebp - 8]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
push eax
push 0xfffffffffffffff0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
sub edi, dword [ebp - 0x1c]
sub ebx, dword [ebp - 0x20]
push 0x64
push edi
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push 0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3f2
push dword [esi + 0x4c]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 5
push 0x3f1
push dword [esi + 0x4c]
call ebx
push eax
call edi
xor edi, edi
jmp 0x404226
push edi
push dword [esi + 0x4c]
jmp 0x404220
push edi
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x38], edi
jmp 0x4042c6
push 0x87
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push edi
push edi
push edi
push edi
push dword [esi + 0x4c]
call ebx
push 0xffffffffffffffec
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0x7f
push eax
push 0xffffffffffffffec
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0xc80000
push eax
push 0xfffffffffffffff0
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x60]
mov ecx, dword [esi + 0x54]
sub edx, eax
push 0x64
push edx
mov edx, dword [esi + 0x5c]
sub edx, ecx
push edx
push eax
push ecx
push edi
push dword [esi + 0x4c]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x3f2
push dword [esi + 0x4c]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x3f1
push dword [esi + 0x4c]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x38], 1
pop edi
pop esi
pop ebx
leave
ret 4