Function at 0x10037e90
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
sub esp, 0x19c
mov eax, dword [0x100de5dc]
xor eax, esp
mov dword [esp + 0x198], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push edi
push 0
push 0x100e37bc
push 0
push 0x2000
call esi
push 2
push 0
push 0
push 0x2001
call esi
call fcn.10038770
test eax, eax
je 0x1003816e
push ebp
call fcn.100384c0
push 0x100
lea eax, [esp + 0x34]
push 0
push eax
call fcn.10041210
push 0x6d1
push 0
push 0x100e3e82
call fcn.10041210
mov eax, 0x100e3f22
lea ebp, [esp + 0x164]
add esp, 0x18
mov dword [esp + 0x10], eax
mov esi, 0x20
sub ebp, 0x480
nop dword [eax]
movsx edi, word [esi*2 + 0x100e3bc8]
cmp edi, 0xffffffff
je 0x1003805f
cmp esi, 0x140
jb 0x10037ff3
cmp esi, 0x14e
ja 0x10037ff3
mov dword [esp + 0x14c], 0x60
mov dword [esp + 0x150], 0x61
mov dword [esp + 0x154], 0x62
mov dword [esp + 0x158], 0x63
mov dword [esp + 0x15c], 0x64
mov dword [esp + 0x160], 0x65
mov dword [esp + 0x164], 0x66
mov dword [esp + 0x168], 0x67
mov dword [esp + 0x16c], 0x68
mov dword [esp + 0x170], 0x69
mov dword [esp + 0x174], 0x6e
mov dword [esp + 0x178], 0x6f
mov dword [esp + 0x17c], 0x6a
mov dword [esp + 0x180], 0x6d
mov dword [esp + 0x184], 0x6b
mov ebx, dword [ebp]
jmp 0x10037ffe
push 1
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebx, eax
push 0
push 0x10
lea eax, [esp + 0x190]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x10038035
push 0
push 0x10
lea eax, [esp + 0x190]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1003805b
push 0
push 0
push 5
push dword [esp + 0x1c]
lea eax, [esp + 0x198]
push 1
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [esp + 0x10]
inc esi
add eax, 5
add ebp, 4
mov dword [esp + 0x10], eax
cmp esi, 0x15c
jle 0x10037f20
pop ebp
push 0x10c
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 0x11c
push 0
push eax
mov dword [esp + 0x3c], 0xa
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0x3ad7
call fcn.10041210
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, [esp + 0x38]
push eax
call dword [0x100e45d4]
test eax, eax
jne 0x100380e8
push 0xfffffffffffffffc
call dword [0x100e45a0]
jmp 0x1003811c
push 0
push 3
push 6
call fcn.10037dc0
add esp, 0xc
test eax, eax
je 0x10038104
push 2
call dword [0x100e45c8]
jmp 0x1003811c
push 0
push 0
push 6
call fcn.10037dc0
add esp, 0xc
test eax, eax
je 0x1003811c
call dword [0x100e4594]
call fcn.1003a680
test eax, eax
je 0x1003816e
push 0
push dword [0x100e37b0]
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 [0x100e37b4], eax
test eax, eax
jne 0x10038188
push str.Win32:_Failed_to_create_helper_window
push 0x10008
call fcn.10037c40
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.1003f6d6
add esp, 0x19c
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movups xmm0, xmmword [0x1008f4b0]
push 0
lea eax, [esp + 0x188]
mov dword [esp + 0x190], 0
push eax
push dword [0x100e37b4]
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x190], 0x20
mov dword [esp + 0x194], 5
movups xmmword [esp + 0x19c], xmm0
call dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
push 1
push 0
push 0
push dword [0x100e37b4]
mov dword [0x100e37b8], eax
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
je 0x10038235
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x10]
push eax
call edi
lea eax, [esp + 0x10]
push eax
call ebx
push 1
push 0
push 0
push dword [0x100e37b4]
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x10038210
call fcn.10039600
call fcn.1003c870
call fcn.10038e20
mov ecx, dword [esp + 0x1a4]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003f6d6
add esp, 0x19c
ret