Function at 0x458c10
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x4898c0]
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 0x48b15c
push 0
push 0x2000
call esi
push 2
push 0
push 0
push 0x2001
call esi
call fcn.004594d0
test eax, eax
je 0x458ec6
call fcn.00459220
push 0x100
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x6d1
push 0
push 0x48b822
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x60]
mov dword [ebp - 0x180], 0x48b8c2
add esp, 0x18
mov esi, 0x20
sub eax, 0x480
mov ecx, 0x48b8c2
mov dword [ebp - 0x184], eax
movsx edi, word [esi*2 + 0x48b568]
cmp edi, 0xffffffff
je 0x458da4
cmp esi, 0x140
jb 0x458d36
cmp esi, 0x14e
ja 0x458d36
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 0x458d41
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 0x458d74
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 0x458d98
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 0x458ca4
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 [0x48bf74]
test eax, eax
jne 0x458e40
push 0xfffffffffffffffc
call dword [0x48bf40]
jmp 0x458e74
push 0
push 3
push 6
call fcn.00458b60
add esp, 0xc
test eax, eax
je 0x458e5c
push 2
call dword [0x48bf68]
jmp 0x458e74
push 0
push 0
push 6
call fcn.00458b60
add esp, 0xc
test eax, eax
je 0x458e74
call dword [0x48bf34]
call fcn.00452040
test eax, eax
je 0x458ec6
push 0
push dword [0x48b150]
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 [0x48b154], eax
test eax, eax
jne 0x458ed9
push str.Win32:_Failed_to_create_helper_window
push 0x10008
call fcn.00458a00
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b097
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movups xmm0, xmmword [0x477a0c]
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
push dword [0x48b154]
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 [0x48b154]
mov dword [0x48b158], eax
lea eax, [ebp - 0x1a0]
push eax
call esi
test eax, eax
je 0x458f7b
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax + eax]
lea eax, [ebp - 0x1a0]
push eax
call edi
lea eax, [ebp - 0x1a0]
push eax
call ebx
push 1
push 0
push 0
push dword [0x48b154]
lea eax, [ebp - 0x1a0]
push eax
call esi
test eax, eax
jne 0x458f50
call fcn.00456100
call fcn.004553b0
call fcn.00459ba0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045b097
mov esp, ebp
pop ebp
ret