Function at 0x465140
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x748
mov eax, dword [0x48948c]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x744], ecx
mov dword [ebp - 0x420], 0
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x48d3b8]
je 0x4651a9
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3a4]
je 0x4651a9
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x48d3a8]
je 0x4651a9
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x48d3ac]
je 0x4651a9
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3b0]
je 0x4651a9
mov edx, dword [ebp + 0xc]
cmp edx, dword [0x48d3b4]
jne 0x46531a
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0x201
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00431910
add esp, 0xc
xor edx, edx
mov word [ebp - 0x3d8], dx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str._d__d
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x48d3b8]
jne 0x4651ff
jmp 0x465311
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3a4]
jne 0x465238
lea edx, [ebp - 0x418]
push edx
push str._OnHookMouseDoubleClick
lea eax, [ebp - 0x4c0]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x4c0]
call fcn.0040db70
jmp 0x465311
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3a8]
jne 0x465271
lea edx, [ebp - 0x418]
push edx
push str._OnHookMouseLeftButtonUp
lea eax, [ebp - 0x4e8]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x4e8]
call fcn.0040db70
jmp 0x465311
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3ac]
jne 0x4652a7
lea edx, [ebp - 0x418]
push edx
push str._OnHookMouseLeftButtonDown
lea eax, [ebp - 0x510]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x510]
call fcn.0040db70
jmp 0x465311
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3b0]
jne 0x4652dd
lea edx, [ebp - 0x418]
push edx
push str._OnHookMouseRightButtonUp
lea eax, [ebp - 0x538]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x538]
call fcn.0040db70
jmp 0x465311
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3b4]
jne 0x465311
lea edx, [ebp - 0x418]
push edx
push str._OnHookMouseRightButtonDown
lea eax, [ebp - 0x560]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x560]
call fcn.0040db70
xor eax, eax
jmp 0x465ad0
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [0x48d3bc]
jne 0x465390
push 0x21
push 0
lea edx, [ebp - 0x494]
push edx
call fcn.00431910
add esp, 0xc
push 0x20
lea eax, [ebp - 0x494]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push 0x20
lea edx, [ebp - 0x470]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x494]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x470]
push ecx
push str._OnHookKeyboardDown
lea edx, [ebp - 0x588]
push edx
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x588]
call fcn.0040db70
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x748], eax
cmp dword [ebp - 0x748], 0x8b1
ja 0x46542c
cmp dword [ebp - 0x748], 0x8b1
je 0x4655d1
cmp dword [ebp - 0x748], 0x21
ja 0x4653fb
cmp dword [ebp - 0x748], 0x21
je 0x46553a
cmp dword [ebp - 0x748], 2
je 0x465a95
cmp dword [ebp - 0x748], 3
je 0x4654b1
cmp dword [ebp - 0x748], 6
je 0x46553a
jmp case.0x465451.6
cmp dword [ebp - 0x748], 0x112
je 0x465458
cmp dword [ebp - 0x748], 0x466
je 0x465497
cmp dword [ebp - 0x748], 0x7f3
je 0x4655b5
jmp case.0x465451.6
mov ecx, dword [ebp - 0x748]
sub ecx, 0x915
mov dword [ebp - 0x748], ecx
cmp dword [ebp - 0x748], 9
ja case.0x465451.6
mov edx, dword [ebp - 0x748]
jmp dword [edx*4 + 0x465ae0]
mov eax, dword [ebp - 0x744]
movzx ecx, byte [eax + 0x308]
test ecx, ecx
je 0x46548b
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x744]
call fcn.0045e560
jmp 0x465ad0
xor eax, eax
jmp 0x465ad0
push 0
push 0
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.0045e560
jmp 0x465ad0
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
movsx edx, cx
mov eax, dword [ebp - 0x744]
mov dword [eax + 0x24], edx
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov eax, dword [ebp - 0x744]
mov dword [eax + 0x28], edx
mov ecx, dword [ebp - 0x744]
mov edx, dword [ecx + 0x28]
add edx, 1
push edx
mov eax, dword [ebp - 0x744]
mov ecx, dword [eax + 0x24]
add ecx, 1
push ecx
push str._TfuTubhfQptjujpo
lea edx, [ebp - 0x5b0]
push edx
mov ecx, dword [ebp - 0x744]
call fcn.00404c30
lea ecx, [ebp - 0x5b0]
call fcn.0040db70
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.0045e560
jmp 0x465ad0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp dword [ebp + 8], eax
jne 0x46556e
push 0x47d30c
push 0x47d314
lea ecx, [ebp - 0x5d8]
push ecx
mov ecx, dword [ebp - 0x744]
call fcn.00404df0
lea ecx, [ebp - 0x5d8]
call fcn.0040db70
jmp 0x465595
push 0x47d324
push str._BdujwbufTubhf
lea edx, [ebp - 0x600]
push edx
mov ecx, dword [ebp - 0x744]
call fcn.00404df0
lea ecx, [ebp - 0x600]
call fcn.0040db70
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.0045e560
jmp 0x465ad0
mov ecx, dword [ebp - 0x744]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.00401000
mov ecx, eax
call fcn.0045cab0
jmp case.0x465451.6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x420], eax
push 0x402
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00431910
add esp, 0xc
push 0x201
lea edx, [ebp - 0x418]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x420]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ecx, [ebp - 0x418]
push ecx
push str._PoNTNUEbub
lea edx, [ebp - 0x628]
push edx
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x628]
call fcn.0040db70
jmp case.0x465451.6
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x424], eax
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp + 0x14]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x428], ecx
push 0x201
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.00431910
add esp, 0xc
xor eax, eax
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x47d348
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x418]
push eax
push str._OnAddTUIOObj
lea ecx, [ebp - 0x650]
push ecx
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x650]
call fcn.0040db70
jmp case.0x465451.6
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x424], edx
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp + 0x14]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x428], eax
push 0x201
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00431910
add esp, 0xc
xor edx, edx
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp - 4]
push eax
push 0x47d370
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea edx, [ebp - 0x418]
push edx
push str._OnSetTUIOObj
lea eax, [ebp - 0x678]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x678]
call fcn.0040db70
jmp case.0x465451.6
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x428], edx
push 0x201
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00431910
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x424]
push edx
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 4]
push edx
push str._d__d__d__d
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea ecx, [ebp - 0x418]
push ecx
push str._OnDelTUIOObj
lea edx, [ebp - 0x6a0]
push edx
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x6a0]
call fcn.0040db70
jmp case.0x465451.6
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x14]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x428], edx
push 0x201
push 0
lea eax, [ebp - 0x418]
push eax
call fcn.00431910
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x47d3c0
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x418]
push eax
push str._OnAddTUIOCur
lea ecx, [ebp - 0x6c8]
push ecx
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x6c8]
call fcn.0040db70
jmp case.0x465451.6
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp + 0x14]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x428], ecx
push 0x201
push 0
lea edx, [ebp - 0x418]
push edx
call fcn.00431910
add esp, 0xc
xor eax, eax
mov word [ebp - 0x18], ax
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp - 4]
push eax
push 0x47d3e4
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea edx, [ebp - 0x418]
push edx
push str._OnSetTUIOCur
lea eax, [ebp - 0x6f0]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x6f0]
call fcn.0040db70
jmp case.0x465451.6
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x41c], ecx
mov edx, dword [ebp + 0x14]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x428], eax
push 0x201
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00431910
add esp, 0xc
xor edx, edx
mov word [ebp - 0x18], dx
mov eax, dword [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x41c]
push ecx
mov edx, dword [ebp - 4]
push edx
push str._d__d__d
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea ecx, [ebp - 0x418]
push ecx
push str._OnDelTUIOCur
lea edx, [ebp - 0x718]
push edx
mov ecx, dword [ebp - 0x744]
call fcn.00404d10
lea ecx, [ebp - 0x718]
call fcn.0040db70
jmp case.0x465451.6
push str._OnTUIOFrame
lea eax, [ebp - 0x740]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.00460e20
lea ecx, [ebp - 0x740]
call fcn.0040db70
jmp case.0x465451.6
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [ebp + 8]
push ecx
call sub.ih.dll_int___cdecl_UnInstallMouseHook_struct_HWND____
add esp, 4
mov edx, dword [ebp + 8]
push edx
call sub.ih.dll_int___cdecl_UnInstallKeyBoardHook_struct_HWND____
add esp, 4
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x744]
call fcn.0045f900
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004313c7
mov esp, ebp
pop ebp
ret 0x10