Function at 0x440880
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x73dd74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push 0
push 0x740cc0
push 0
push 0x2000
call esi
push 2
push 0
push 0
push 0x2001
call esi
call fcn.00441140
test eax, eax
je 0x440b39
call fcn.00440e90
push pe_nt_image_headers32
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x6d1
push 0
push 0x741386
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x60]
mov dword [ebp - 0x180], 0x741426
add esp, 0x18
mov esi, 0x20
sub eax, 0x480
mov ecx, 0x741426
mov dword [ebp - 0x184], eax
movsx edi, word [esi*2 + 0x7410cc]
cmp edi, 0xffffffff
je 0x440a14
cmp esi, 0x140
jb 0x4409a6
cmp esi, 0x14e
ja 0x4409a6
mov dword [ebp - 0x60], 0x60
mov dword [ebp - 0x5c], 0x61
mov dword [ebp - 0x58], 0x62
mov dword [ebp - 0x54], 0x63
mov dword [ebp - 0x50], 0x64
mov dword [ebp - 0x4c], 0x65
mov dword [ebp - 0x48], 0x66
mov dword [ebp - 0x44], 0x67
mov dword [ebp - 0x40], 0x68
mov dword [ebp - 0x3c], 0x69
mov dword [ebp - 0x38], 0x6e
mov dword [ebp - 0x34], 0x6f
mov dword [ebp - 0x30], 0x6a
mov dword [ebp - 0x2c], 0x6d
mov dword [ebp - 0x28], 0x6b
mov ebx, dword [eax]
jmp 0x4409b1
push 1
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
push 0
push 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x160]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x4409e4
push 0
push 0x10
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x160]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x440a08
push 0
push 0
push 5
push dword [ebp - 0x180]
lea eax, [ebp - 0x24]
push 1
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x184]
inc esi
add eax, 4
add ecx, 5
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], ecx
cmp esi, 0x15c
jle 0x440914
push 0x10c
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x17c], 0x11c
push 0
push eax
mov dword [ebp - 0x178], 0xa
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0x3ad7
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
add esp, 0xc
push 3
push 2
push 0
push 0
call esi
push 3
push 1
push edx
push eax
call esi
push 3
push 4
push edx
push eax
call esi
push edx
push eax
push 7
lea eax, [ebp - 0x17c]
push eax
call dword [0x741ad4]
test eax, eax
jne 0x440ab0
push 0xfffffffffffffffc
call dword [0x741aa8]
jmp 0x440ae4
push 0
push 3
push 6
call fcn.004407d0
add esp, 0xc
test eax, eax
je 0x440acc
push 2
call dword [0x741ac8]
jmp 0x440ae4
push 0
push 0
push 6
call fcn.004407d0
add esp, 0xc
test eax, eax
je 0x440ae4
call dword [0x741a9c]
call fcn.0043a100
test eax, eax
je 0x440b39
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 1
push 1
push 0
push 0
push 0x6000000
push str.GLFW_message_window
push str.GLFW30
push 0x300
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [0x740cb8], eax
test eax, eax
jne 0x440b4c
push str.Win32:_Failed_to_create_helper_window
push 0x10008
call fcn.00440670
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00442579
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movups xmm0, xmmword [0x739b74]
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
push dword [0x740cb8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x20
mov dword [ebp - 0x20], 5
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push dword [0x740cb8]
mov dword [0x740cbc], eax
lea eax, [ebp - 0x1a0]
push eax
call esi
test eax, eax
je 0x440beb
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop
lea eax, [ebp - 0x1a0]
push eax
call edi
lea eax, [ebp - 0x1a0]
push eax
call ebx
push 1
push 0
push 0
push dword [0x740cb8]
lea eax, [ebp - 0x1a0]
push eax
call esi
test eax, eax
jne 0x440bc0
call fcn.0043df40
call fcn.0043d650
call fcn.00441840
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00442579
mov esp, ebp
pop ebp
ret