Function at 0x44e290
Capabilities:
Hide graphical window
Log keystrokes via polling

Disassembly:
sub esp, 0x24
lea eax, [esp + 8]
push 1
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x44e988
push ebx
mov ebx, dword [sym.wluart_static.exe_lua_rotate]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetParent]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push edi
mov edi, dword [esp + 0x38]
nop dword [eax + eax]
mov eax, dword [esp + 0x1c]
cmp eax, 0x402
jb 0x44e812
mov ecx, dword [sym.wluart_static.exe_WM_LUAMAX]
xor edx, edx
cmp edx, dword [ecx + 4]
jg 0x44e812
jl 0x44e2fa
cmp eax, dword [ecx]
ja 0x44e812
push edi
xor ebp, ebp
call dword [0x46a590]
mov dword [esp + 0x18], eax
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x44e654
push 0xffffffffffffffeb
push eax
call esi
mov ebp, eax
test ebp, ebp
je 0x44e92a
mov eax, dword [ebp + 0x14]
cdq
push edx
push eax
push 0xfff0b9d8
push edi
call dword [0x46a654]
add esp, 0x10
cmp eax, 5
jne 0x44e963
mov esi, dword [sym.wluart_static.exe_lua_gettop]
push edi
call esi
mov ebx, eax
lea eax, [esp + 0x14]
push eax
push 0
push dword [esp + 0x28]
push edi
call dword [0x46a66c]
add esp, 0x14
cmp dword [esp + 0x10], 6
jne 0x44e42b
push 0xfffffffffffffffe
push edi
call dword [0x46a5ec]
lea eax, [esp + 0x20]
push eax
push edi
call dword [0x46a5b4]
push 0
push 0
push 0
push 0xffffffffffffffff
push 2
push edi
call dword [0x46a554]
add esp, 0x28
test eax, eax
je 0x44e3a5
push edi
call dword [0x46a5c0]
add esp, 4
push edi
call esi
mov esi, eax
add esp, 4
sub esi, ebx
cmp esi, 1
jne 0x44e3ec
mov ebx, dword [sym.wluart_static.exe_lua_type]
push 0xffffffffffffffff
push edi
call ebx
add esp, 8
test eax, eax
jne 0x44e3d8
mov eax, dword [sym.wluart_static.exe_lua_settop]
push 0xfffffffffffffffe
push edi
call eax
add esp, 8
jmp 0x44e6d6
mov eax, dword [sym.wluart_static.exe_lua_rotate]
push 1
push 0xfffffffffffffffe
push edi
call eax
add esp, 0xc
jmp 0x44e6d6
jle case.0x44e468.1031
mov eax, esi
not eax
push eax
push edi
call dword [0x46a5ec]
mov ebx, dword [sym.wluart_static.exe_lua_rotate]
mov eax, 0xfffffffe
push 0xffffffffffffffff
sub eax, esi
push eax
push edi
call ebx
mov eax, dword [sym.wluart_static.exe_lua_settop]
push 0xfffffffffffffffe
push edi
call eax
push 1
neg esi
push esi
push edi
call ebx
add esp, 0x28
jmp case.0x44e468.1031
push eax
push 0xffffffffffffffff
push edi
call dword [0x46a544]
add esp, 0xc
test eax, eax
je 0x44e645
mov eax, dword [sym.wluart_static.exe_lua_rotate]
push 1
push 0xfffffffffffffffe
push edi
call eax
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 0xfffffbfa
cmp eax, 0x11
ja case.0x44e468.1031
movzx eax, byte [eax + 0x44e9b4]
jmp dword [eax*4 + 0x44e998]
mov edx, dword [ebp + 8]
cmp edx, dword [0x471674]
jl case.0x44e468.1031
cmp edx, dword [0x471678]
jg case.0x44e468.1031
mov ecx, dword [esp + 0x20]
test ecx, ecx
je case.0x44e468.1031
xor eax, eax
cmp edx, dword [0x47166c]
cmove eax, ecx
push eax
lea eax, [ecx - 1]
push eax
push ebp
push edi
call fcn.00459020
add esp, 0x10
jmp case.0x44e468.1031
mov eax, dword [esp + 0x20]
push dword [eax*4 + 0x470248]
push edi
call dword [0x46a540]
movsx eax, word [esp + 0x2c]
mov ebx, dword [sym.wluart_static.exe_lua_pushinteger]
cdq
push edx
push eax
push edi
call ebx
mov eax, dword [esp + 0x38]
shr eax, 0x10
cwde
cdq
push edx
push eax
push edi
call ebx
add esp, 0x20
jmp case.0x44e468.1031
mov eax, dword [ebp + 8]
cmp eax, dword [0x471670]
jne 0x44e51a
push 0
push 0
push 0x407
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
push edi
call fcn.00451200
add esp, 8
jmp case.0x44e468.1031
cmp eax, dword [0x47166c]
jne 0x44e574
cmp dword [esp + 0x20], 0
je 0x44e542
push 0xffffffffffffffff
push dword [esp + 0x28]
push edi
call dword [0x46a580]
push dword [esp + 0x30]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x44e54f
push dword [esp + 0x24]
push 0
push ebp
push edi
call fcn.00459020
add esp, 0x10
mov eax, 0x4689fc
cmp dword [esp + 0x20], 0
mov ecx, str.edited
cmove eax, ecx
push eax
push edi
call dword [0x46a540]
add esp, 8
jmp case.0x44e468.1031
cmp eax, dword [0x471668]
jne case.0x44e468.1031
push 0x20000
push 0
push 0x445
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp case.0x44e468.1031
mov eax, dword [ebp + 8]
cmp eax, dword [0x47168c]
jne 0x44e5b6
push dword [ebp + 4]
push edi
call fcn.00451200
add esp, 8
jmp case.0x44e468.1031
cmp eax, dword [0x471674]
jl 0x44e5dd
cmp eax, dword [0x471678]
jg 0x44e5dd
push dword [esp + 0x24]
push dword [esp + 0x24]
push ebp
push edi
call fcn.00459020
add esp, 0x10
jmp case.0x44e468.1031
cmp eax, dword [0x471684]
jne 0x44e5f6
push dword [ebp + 4]
push edi
call fcn.004538b0
add esp, 8
jmp case.0x44e468.1031
cmp eax, dword [0x471668]
jne case.0x44e468.1031
mov ebx, dword [sym.wluart_static.exe_lua_pushinteger]
push 0
push dword [esp + 0x24]
push edi
call ebx
mov eax, dword [esp + 0x30]
cdq
push edx
push eax
push edi
call ebx
add esp, 0x18
jmp case.0x44e468.1031
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x44e564
push 1
lea eax, [esp + 0x28]
push eax
push edi
call dword [0x46a5ac]
add esp, 0xc
jmp case.0x44e468.1031
mov eax, dword [sym.wluart_static.exe_lua_settop]
push 0xfffffffffffffffe
push edi
call eax
add esp, 8
jmp case.0x44e468.1031
cmp dword [esp + 0x1c], 0x414
jne 0x44e92a
push 0
push dword [esp + 0x24]
push 0xfff0b9d8
push edi
call dword [0x46a654]
add esp, 0x10
cmp eax, 5
jne case.0x44e468.1031
push str.onClick
push 0xffffffffffffffff
push edi
call dword [0x46a544]
add esp, 0xc
test eax, eax
je case.0x44e468.1031
push 1
push 0xfffffffffffffffe
push edi
call ebx
mov eax, dword [esp + 0x30]
add esp, 0xc
cmp eax, 0xffffffff
jle case.0x44e468.1031
cdq
push edx
push eax
push edi
call dword [0x46a5a8]
push 2
push str.MenuItem
push edi
call dword [0x46a578]
push 0xffffffffffffffff
push 0xfffffffffffffffe
push edi
call ebx
mov eax, dword [sym.wluart_static.exe_lua_settop]
push 0xfffffffffffffffe
push edi
call eax
add esp, 0x2c
mov ebx, dword [sym.wluart_static.exe_lua_type]
push edi
call dword [0x46a590]
mov esi, eax
add esp, 4
sub esi, dword [esp + 0x14]
sub esi, 1
jne 0x44e70c
push 0xffffffffffffffff
push edi
call ebx
add esp, 8
cmp eax, 6
je 0x44e70c
mov eax, dword [ebp + 8]
cmp eax, dword [0x47167c]
jle 0x44e940
jmp 0x44e92a
push edi
call dword [0x46a670]
add esp, 4
mov dword [esp + 0x14], eax
lea ebx, [eax + 0x1c]
test eax, eax
je 0x44e727
mov dword [ebx], 1
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push edi
call dword [0x46a554]
add esp, 0x18
test eax, eax
je 0x44e748
push edi
call dword [0x46a5c0]
add esp, 4
cmp dword [esp + 0x14], 0
je 0x44e755
mov dword [ebx], 0
mov eax, dword [esp + 0x1c]
cmp eax, 0x40e
jne 0x44e789
mov eax, dword [ebp + 8]
cmp eax, dword [0x471668]
jne 0x44e940
push 0xa0001
push 0
push 0x445
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x44e940
cmp eax, 0x408
jne 0x44e940
push edi
call dword [0x46a590]
mov esi, eax
add esp, 4
test esi, esi
je 0x44e7b4
push 0xffffffffffffffff
push edi
call dword [0x46a59c]
add esp, 8
test eax, eax
je 0x44e7fd
push 0
push dword [ebp + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
cmp eax, dword [0x4716a4]
jne 0x44e7ea
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44e7ea
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov dword [ebp + 0xc], 0
cmp dword [ebp + 0x8c], 0
je 0x44e7fd
mov dword [ebp + 0x8c], 0
or eax, 0xffffffff
sub eax, esi
push eax
push edi
call dword [0x46a538]
add esp, 8
jmp 0x44e940
push 0xffffffffffffffeb
push dword [esp + 0x1c]
call esi
mov ebx, eax
test ebx, ebx
je 0x44e92a
nop dword [eax]
nop dword [eax + eax]
mov ecx, dword [ebx + 8]
mov eax, dword [0x471678]
cmp ecx, dword [0x4716a4]
je 0x44e869
cmp ecx, eax
je 0x44e869
cmp ecx, dword [0x47165c]
je 0x44e869
cmp ecx, dword [0x47169c]
je 0x44e869
push 0xffffffffffffffeb
push dword [ebx + 4]
call ebp
push eax
call esi
mov ebx, eax
test ebx, ebx
jne 0x44e830
jmp 0x44e92a
cmp dword [esp + 0x1c], 0x100
mov ebp, dword [ebx + 4]
jne 0x44e915
cmp dword [esp + 0x20], 9
jne 0x44e915
cmp ecx, eax
jne 0x44e8c0
push 0
push 0
push 0
push 0x130b
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push ebx
call fcn.00458eb0
mov esi, eax
push dword [esi + 0xc]
mov ebp, dword [esi + 0x18]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
add esp, 0x14
push 0xffffffffffffffeb
push dword [esp + 0x1c]
call esi
test eax, eax
je 0x44e915
mov eax, dword [eax + 8]
cmp eax, dword [0x471668]
je 0x44e915
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
shr eax, 0xf
and eax, 1
push eax
push dword [esp + 0x1c]
push ebp
call dword [sym.imp.USER32.dll_GetNextDlgTabItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 9
push 9
call fcn.0045bac0
add esp, 4
push eax
push 0x415
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x44e95d
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x3c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x44e935
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
call dword [0x46a590]
or ecx, 0xffffffff
sub ecx, eax
push ecx
push edi
call dword [0x46a538]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
add esp, 0xc
mov ebx, dword [sym.wluart_static.exe_lua_rotate]
push 1
push 0
push 0
push 0
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
mov ebp, dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x44e2d0
pop edi
pop esi
pop ebp
pop ebx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
add esp, 0x24
ret