Function at 0x10139840
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
sub esp, 0x19c
mov eax, dword [0x102cf440]
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 0x102e910c
push 0
push 0x2000
call esi
push 2
push 0
push 0
push 0x2001
call esi
call fcn.1013a120
test eax, eax
je 0x10139b1e
push ebp
call fcn.10139e70
push 0x100
lea eax, [esp + 0x34]
push 0
push eax
call fcn.101ed310
push 0x6d1
push 0
push 0x102e97d2
call fcn.101ed310
mov eax, 0x102e9872
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 + 0x102e9518]
cmp edi, 0xffffffff
je 0x10139a0f
cmp esi, 0x140
jb 0x101399a3
cmp esi, 0x14e
ja 0x101399a3
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 0x101399ae
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 0x101399e5
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 0x10139a0b
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 0x101398d0
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.101ed310
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 [0x102e9f24]
test eax, eax
jne 0x10139a98
push 0xfffffffffffffffc
call dword [0x102e9ef0]
jmp 0x10139acc
push 0
push 3
push 6
call fcn.10139770
add esp, 0xc
test eax, eax
je 0x10139ab4
push 2
call dword [0x102e9f18]
jmp 0x10139acc
push 0
push 0
push 6
call fcn.10139770
add esp, 0xc
test eax, eax
je 0x10139acc
call dword [0x102e9ee4]
call fcn.10135cd0
test eax, eax
je 0x10139b1e
push 0
push dword [0x102e9100]
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 [0x102e9104], eax
test eax, eax
jne 0x10139b38
push str.Win32:_Failed_to_create_helper_window
push 0x10008
call fcn.101395f0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.101eafcd
add esp, 0x19c
ret
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
movups xmm0, xmmword [0x10274c2c]
push 0
lea eax, [esp + 0x188]
mov dword [esp + 0x190], 0
push eax
push dword [0x102e9104]
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 [0x102e9104]
mov dword [0x102e9108], eax
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
je 0x10139be5
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 [0x102e9104]
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x10139bc0
call fcn.10138870
call fcn.10137f70
call fcn.10138d00
mov ecx, dword [esp + 0x1a4]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101eafcd
add esp, 0x19c
ret