Function at 0x40d180
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x419130
push eax
mov dword fs:[0], esp
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 0
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
test edi, edi
jne 0x40d1c1
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov eax, dword [edi + 8]
test eax, eax
je 0x40d1dd
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov esi, dword [esp + 0x24]
push esi
mov dword [edi + 8], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40d209
push esi
call fcn.0040da00
add esp, 4
test al, al
jne 0x40d209
push esi
call fcn.0040d6c0
add esp, 4
test al, al
je 0x40d20d
mov byte [edi + 4], 1
mov al, byte [edi + 4]
test al, al
je 0x40d219
mov eax, dword [edi + 0xc]
jmp 0x40d21c
mov eax, dword [edi + 8]
mov ebx, dword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x40d2b4
push 0
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov al, byte [edi + 4]
test al, al
je 0x40d23e
mov eax, dword [edi + 0xc]
jmp 0x40d241
mov eax, dword [edi + 8]
push eax
push 0xfffffffffffffff8
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongA]
test eax, eax
jne 0x40d2b4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x40d2b4
push 0x100
call fcn.004121f6
mov esi, eax
mov eax, dword [0x41fe74]
add esp, 4
mov dword [esp + 0x20], esi
test eax, eax
je 0x40d284
push 0x100
push esi
push 0xe
push eax
call ebx
test eax, eax
jne 0x40d294
mov eax, dword [0x41fe70]
push 0x100
push esi
push 0xe
push eax
call ebx
push esi
push ebp
mov dword [esp + 0x20], 0
call fcn.0040dc80
push esi
mov dword [esp + 0x24], 0xffffffff
call fcn.00411e17
add esp, 0xc
mov ecx, dword [edi + 8]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
jne 0x40d32a
push 0x100
call fcn.004121f6
mov esi, eax
mov eax, dword [0x41fe74]
add esp, 4
mov dword [esp + 0x20], esi
test eax, eax
je 0x40d2f9
push 0x100
push esi
push 0xf
push eax
call ebx
test eax, eax
jne 0x40d30a
mov edx, dword [0x41fe70]
push 0x100
push esi
push 0xf
push edx
call ebx
push esi
push ebp
mov dword [esp + 0x20], 1
call fcn.0040dc80
push esi
mov dword [esp + 0x24], 0xffffffff
call fcn.00411e17
add esp, 0xc
mov eax, dword [0x41fe7c]
test eax, eax
je 0x40d36d
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
mov eax, dword [0x41fe7c]
push 5
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
test eax, eax
je 0x40d36d
push 0
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowRgn]
test eax, eax
jne 0x40d36d
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x41fe84]
mov ecx, dword [0x41fe80]
push 0x16
push eax
push ecx
push 0
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
push edi
push ebp
call fcn.0040d4d0
add esp, 8
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esp + 0x28]
push 0
push eax
push 1
push ebp
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret