Function at 0x4040de
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 0x40425b
mov eax, dword [esi + 0x6c]
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
imul eax, eax, 0x798
add eax, dword [0x416394]
push 0x4111bc
push eax
call ebx
test eax, eax
jne 0x404249
mov eax, dword [esi + 0x48]
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 0x404243
push 0x87
push edi
push edi
push edi
push edi
push edi
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
push eax
mov eax, dword [esi + 0x58]
sub eax, dword [esi + 0x50]
push eax
push edi
push edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 1
push eax
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowRgn]
lea eax, [ebp - 0x10]
push eax
push 0x3f1
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x6c]
push 0x4111bc
imul eax, eax, 0x798
add eax, dword [0x416394]
push eax
call ebx
test eax, eax
je 0x4041aa
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 + 0x48]
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 + 0x48]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xff3fffff
push eax
push 0xfffffffffffffff0
push dword [esi + 0x48]
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 + 0x48]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x3f2
push dword [esi + 0x48]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 5
push 0x3f1
push dword [esi + 0x48]
call ebx
push eax
call edi
xor edi, edi
jmp 0x404253
push edi
push dword [esi + 0x48]
jmp 0x40424d
push edi
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x34], edi
jmp 0x4042f3
push 0x87
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push edi
push edi
push edi
push edi
push dword [esi + 0x48]
call ebx
push 0xffffffffffffffec
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetWindowLongA]
and al, 0x7f
push eax
push 0xffffffffffffffec
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_GetWindowLongA]
or eax, 0xc80000
push eax
push 0xfffffffffffffff0
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0x54]
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x50]
sub edx, eax
push 0x64
push edx
mov edx, dword [esi + 0x58]
sub edx, ecx
push edx
push eax
push ecx
push edi
push dword [esi + 0x48]
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push 0x3f2
push dword [esi + 0x48]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0x3f1
push dword [esi + 0x48]
call ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x34], 1
pop edi
pop esi
pop ebx
leave
ret 4