Function at 0x4602c0
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x49594c]
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 0x496a58
push 0
push 0x2000
call esi
push 2
push 0
push 0
push 0x2001
call esi
call fcn.00460b80
test eax, eax
je 0x460579
call fcn.004608d0
push 0x100
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0x6d1
push 0
push 0x49711e
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x60]
mov dword [ebp - 0x180], 0x4971be
add esp, 0x18
mov esi, 0x20
sub eax, 0x480
mov ecx, 0x4971be
mov dword [ebp - 0x184], eax
movsx edi, word [esi*2 + 0x496e64]
cmp edi, 0xffffffff
je 0x460454
cmp esi, 0x140
jl 0x4603e6
cmp esi, 0x14e
jg 0x4603e6
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 0x4603f1
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 0x460424
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 0x460448
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 0x460354
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 [0x49786c]
test eax, eax
jne 0x4604f0
push 0xfffffffffffffffc
call dword [0x497840]
jmp 0x460524
push 0
push 3
push 6
call fcn.00460210
add esp, 0xc
test eax, eax
je 0x46050c
push 2
call dword [0x497860]
jmp 0x460524
push 0
push 0
push 6
call fcn.00460210
add esp, 0xc
test eax, eax
je 0x460524
call dword [0x497834]
call fcn.00459ab0
test eax, eax
je 0x460579
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 [0x496a50], eax
test eax, eax
jne 0x46058c
push str.Win32:_Failed_to_create_helper_window
push 0x10008
call fcn.004600b0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00461fbb
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movups xmm0, xmmword [0x482c14]
push 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
push dword [0x496a50]
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 [0x496a50]
mov dword [0x496a54], eax
lea eax, [ebp - 0x1a0]
push eax
call esi
test eax, eax
je 0x46062b
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 [0x496a50]
lea eax, [ebp - 0x1a0]
push eax
call esi
test eax, eax
jne 0x460600
call fcn.0045d980
call fcn.0045ccc0
call fcn.00461280
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00461fbb
mov esp, ebp
pop ebp
ret