Function at 0x4212e0
Capabilities:
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x49ab6c]
mov ecx, dword [eax + 0x10]
sub esp, 0xb8
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
push esi
push edi
push 1
push 0x202
push 0x202
push ecx
lea edx, [esp + 0xbc]
push edx
call ebp
xor ebx, ebx
test eax, eax
je 0x421321
mov dword [0x544430], ebx
mov dword [0x543998], ebx
mov eax, dword [0x49ab6c]
mov ecx, dword [eax + 0x10]
push 1
push 0x205
push 0x205
push ecx
lea edx, [esp + 0xbc]
push edx
call ebp
test eax, eax
je 0x421350
mov dword [0x544430], ebx
mov dword [0x543998], ebx
mov eax, dword [0x49ab6c]
mov ecx, dword [eax + 0x10]
push 1
push 0x208
push 0x208
push ecx
lea edx, [esp + 0xbc]
push edx
call ebp
test eax, eax
je 0x42137f
mov dword [0x544430], ebx
mov dword [0x543998], ebx
cmp dword [0x690424], 0xffffffff
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
jne 0x421395
call edi
mov dword [0x690424], eax
mov eax, dword [0x49ab6c]
push eax
mov dword [esp + 0x1c], 0xfffffffe
call fcn.00402780
mov eax, 0x53b798
call fcn.004566d0
mov ecx, dword [0x49ab6c]
push 0x53b798
push ebx
push 1
xor edx, edx
call fcn.0045f070
mov byte [esp + 0x17], 1
mov dword [0x58faec], ebx
mov dword [0x58faf0], ebx
mov dword [0x52e85c], ebx
mov dword [0x58faf4], ebx
call edi
mov dword [esp + 0x40], eax
lea ebx, [ebx]
mov esi, dword [0x49ab6c]
push 1
push 0
push 0
push 0
lea ecx, [esp + 0xa0]
push ecx
call ebp
test eax, eax
je 0x421444
mov eax, dword [0x49ac78]
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x90]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x421436
lea edx, [esp + 0x90]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [0x58fe5c], 0
jne 0x421f46
cmp dword [0x58fe6c], 0
jne 0x421f46
cmp byte [esp + 0x17], 0
je 0x421485
call edi
mov ecx, dword [esp + 0x40]
mov edx, eax
sub edx, ecx
cmp edx, 0x3e8
jbe 0x421485
cmp eax, ecx
jb 0x421485
call fcn.00426410
mov byte [esp + 0x17], 0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
call sym.nscr.exe_NScrGetMouse
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
add esp, 8
push edx
push eax
push 0x690420
call fcn.004206e0
mov ebp, eax
cmp dword [esp + 0x18], ebp
je 0x421546
xor edi, edi
cmp dword [0x690428], edi
jle 0x4214fb
mov esi, 0x690454
cmp ebp, edi
jne 0x4214d8
cmp dword [esi + 0x14], 0x10
jb 0x4214d4
mov eax, dword [esi]
jmp 0x4214e6
mov eax, esi
jmp 0x4214e6
cmp dword [esi - 8], 0x10
jb 0x4214e3
mov eax, dword [esi - 0x1c]
jmp 0x4214e6
lea eax, [esi - 0x1c]
push eax
call fcn.00451220
inc edi
add esp, 4
add esi, 0x58
cmp edi, dword [0x690428]
jl 0x4214c6
cmp ebp, 0xffffffff
jne 0x42151c
cmp dword [0x695c48], 0x10
mov eax, dword [0x695c34]
jae 0x421513
mov eax, 0x695c34
push eax
call fcn.00451220
add esp, 4
mov eax, 0x53b798
mov dword [esp + 0x18], ebp
call fcn.004566d0
mov ecx, dword [0x49ab6c]
push 0x53b798
push 0
push 1
xor edx, edx
call fcn.0045f070
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
cmp byte [0x69042e], 0
je 0x421580
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [0x49ab6c]
cmp eax, dword [ecx + 0x10]
je 0x421566
xor esi, esi
xor eax, eax
jmp 0x421573
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movzx eax, ax
xor esi, esi
test eax, 0x8000
jne 0x421b9c
jmp 0x421582
xor esi, esi
cmp dword [0x58faec], esi
jne 0x421b96
cmp dword [0x58faf0], esi
jne 0x421c33
cmp dword [0x58faf4], esi
jne 0x421c69
mov eax, dword [0x52e85c]
cmp eax, esi
jl 0x421c9f
jg 0x421cd5
cmp dword [0x690420], 0xffffffff
je 0x4215f9
call edi
mov ecx, dword [0x690424]
mov edx, dword [0x690420]
add edx, ecx
cmp eax, edx
ja 0x4215da
cmp ecx, eax
jbe 0x4215f9
cmp byte [0x69042c], 0
je 0x421d00
push esi
call dword [0x5553ec]
add esp, 4
test al, al
je 0x421d00
cmp dword [0x543998], esi
jne 0x421d25
cmp dword [0x544430], esi
jne 0x421d50
mov dword [esp + 0x48], 0x47f1c0
mov dword [esp + 0x4c], 0x47f1c8
mov dword [esp + 0x50], 0x47f1cc
mov dword [esp + 0x54], 0x47f1d0
mov dword [esp + 0x58], 0x47f1d4
mov dword [esp + 0x5c], 0x47f1d8
mov dword [esp + 0x60], 0x47f1dc
mov dword [esp + 0x64], 0x47f1e0
mov dword [esp + 0x68], 0x47f1e4
mov dword [esp + 0x6c], 0x47f1e8
mov dword [esp + 0x70], 0x47f1ec
mov dword [esp + 0x74], 0x47f1f0
mov dword [esp + 0x78], 0x47f1f4
mov dword [esp + 0x7c], 0x47f1f8
mov dword [esp + 0x80], 0x47f200
mov dword [esp + 0x84], 0x47f20c
mov dword [esp + 0x88], 0x47f214
mov dword [esp + 0x8c], 0x47d1ae
mov byte [esp + 0x11], 0
mov byte [esp + 0x10], 0x41
jmp 0x4216c0
lea eax, [esp + 0x10]
push eax
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
jne 0x421d7b
mov al, byte [esp + 0x10]
inc al
cmp al, 0x5a
mov byte [esp + 0x10], al
jle 0x4216c0
mov byte [esp + 0x10], 0x30
jmp 0x4216f0
lea ecx, [esp + 0x10]
push ecx
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
jne 0x421da7
mov al, byte [esp + 0x10]
inc al
cmp al, 0x39
mov byte [esp + 0x10], al
jle 0x4216f0
xor esi, esi
mov eax, 0x47f1c0
lea ebx, [ebx]
push eax
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
jne 0x421dcd
mov eax, dword [esp + esi*4 + 0x4c]
inc esi
cmp byte [eax], 0
jne 0x421720
push 0x47f218
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x4217d5
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x42175d
cmp eax, ebx
jae 0x4217d5
call edi
cmp byte [0x69042f], 0
mov ebx, eax
jne 0x421e27
cmp ebp, 0xffffffff
je 0x421df7
mov edx, dword [esp + 0xcc]
mov eax, ebp
imul eax, eax, 0x58
mov ecx, dword [eax + 0x690430]
lea esi, [eax + 0x690420]
push ecx
push 0x47f220
push edx
call fcn.004081b3
add esp, 0xc
cmp dword [esi + 0x64], 0x10
jb 0x4217a9
mov esi, dword [esi + 0x50]
jmp 0x4217ac
add esi, 0x50
push esi
call fcn.00451220
add esp, 4
mov eax, 0x53b798
call fcn.004566d0
mov ecx, dword [0x49ab6c]
push 0x53b798
push 0
push 1
xor edx, edx
call fcn.0045f070
push 0x47f234
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x42186f
call edi
lea ecx, [ebx + 0x7d]
cmp eax, ecx
ja 0x4217f7
cmp eax, ebx
jae 0x42186f
call edi
cmp byte [0x69042f], 0
mov ebx, eax
jne 0x421e7e
cmp ebp, 0xffffffff
je 0x421e4e
mov ecx, dword [esp + 0xcc]
mov edx, ebp
imul edx, edx, 0x58
mov eax, dword [edx + 0x690430]
lea esi, [edx + 0x690420]
push eax
push 0x47f23c
push ecx
call fcn.004081b3
add esp, 0xc
cmp dword [esi + 0x64], 0x10
jb 0x421843
mov esi, dword [esi + 0x50]
jmp 0x421846
add esi, 0x50
push esi
call fcn.00451220
add esp, 4
mov eax, 0x53b798
call fcn.004566d0
mov ecx, dword [0x49ab6c]
push 0x53b798
push 0
push 1
xor edx, edx
call fcn.0045f070
push 0x47f250
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x421935
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x421895
cmp eax, ebx
jae 0x421935
call edi
cmp byte [0x69042f], 0
mov ebx, eax
jne 0x421eae
mov ecx, dword [0x690428]
test ecx, ecx
jle 0x421935
lea eax, [ebp - 1]
test eax, eax
jge 0x4218be
lea eax, [ecx - 1]
imul eax, eax, 0x58
mov esi, dword [eax + 0x690430]
mov ecx, esi
imul ecx, ecx, 0x294
mov eax, dword [ecx + 0x59cdec]
cdq
idiv dword [ecx + 0x59ce0c]
cmp dword [ecx + 0x59ce00], 1
jne 0x4218ea
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi*4 + 0x5429f0]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 0x59cdf0]
mov ecx, dword [0x49ab6c]
cdq
sub eax, edx
mov edx, dword [ecx + 0x10]
sar eax, 1
add eax, dword [esi*4 + 0x4ab6d0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x47f258
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x4219fa
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x42195b
cmp eax, ebx
jae 0x4219fa
call edi
cmp byte [0x69042f], 0
mov ebx, eax
jne 0x421ed5
mov ecx, dword [0x690428]
test ecx, ecx
jle 0x4219fa
lea eax, [ebp + 1]
cmp eax, ecx
jl 0x421983
xor eax, eax
imul eax, eax, 0x58
mov esi, dword [eax + 0x690430]
mov ecx, esi
imul ecx, ecx, 0x294
mov eax, dword [ecx + 0x59cdec]
cdq
idiv dword [ecx + 0x59ce0c]
cmp dword [ecx + 0x59ce00], 1
jne 0x4219af
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi*4 + 0x5429f0]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0x59cdf0]
mov ecx, dword [0x49ab6c]
cdq
sub eax, edx
mov edx, dword [ecx + 0x10]
sar eax, 1
add eax, dword [esi*4 + 0x4ab6d0]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x47f268
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x421ac0
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x421a20
cmp eax, ebx
jae 0x421ac0
call edi
cmp byte [0x69042f], 0
mov ebx, eax
jne 0x421efa
mov ecx, dword [0x690428]
test ecx, ecx
jle 0x421ac0
lea eax, [ebp - 1]
test eax, eax
jge 0x421a49
lea eax, [ecx - 1]
imul eax, eax, 0x58
mov esi, dword [eax + 0x690430]
mov ecx, esi
imul ecx, ecx, 0x294
mov eax, dword [ecx + 0x59cdec]
cdq
idiv dword [ecx + 0x59ce0c]
cmp dword [ecx + 0x59ce00], 1
jne 0x421a75
cdq
sub eax, edx
sar eax, 1
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi*4 + 0x5429f0]
mov dword [esp + 0x24], eax
mov eax, dword [ecx + 0x59cdf0]
mov ecx, dword [0x49ab6c]
cdq
sub eax, edx
mov edx, dword [ecx + 0x10]
sar eax, 1
add eax, dword [esi*4 + 0x4ab6d0]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
push 0x47f278
call sym.nscr.exe_NScrGetKey
add esp, 4
test eax, eax
je 0x421b77
call edi
lea edx, [ebx + 0x7d]
cmp eax, edx
ja 0x421ae6
cmp eax, ebx
jae 0x421b77
call edi
cmp byte [0x69042f], 0
mov ebx, eax
jne 0x421f1f
mov ecx, dword [0x690428]
test ecx, ecx
jle 0x421b77
lea eax, [ebp + 1]
cmp eax, ecx
jl 0x421b0a
xor eax, eax
imul eax, eax, 0x58
mov edi, dword [eax + 0x690430]
mov esi, edi
imul esi, esi, 0x294
lea ecx, [esi + 0x59cb88]
call fcn.00401ff0
cdq
mov ecx, dword [0x49ab6c]
sub eax, edx
sar eax, 1
add eax, dword [edi*4 + 0x5429f0]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x59cdf0]
cdq
sub eax, edx
sar eax, 1
add eax, dword [edi*4 + 0x4ab6d0]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 0x10]
lea eax, [esp + 0x2c]
push eax
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetCursorPos]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [0x49ab6c]
push edx
call fcn.00461ed0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, dword [sym.imp.USER32.dll_PeekMessageA]
jmp 0x4213f0
mov dword [0x58faec], esi
mov eax, dword [esp + 0xcc]
cmp ebp, 0xffffffff
jne 0x421bd1
mov ecx, dword [0x47f178]
mov dword [eax], ecx
mov dx, word [0x47f17c]
mov word [eax + 4], dx
mov cl, byte [0x47f17e]
mov byte [eax + 6], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
imul ebp, ebp, 0x58
mov edx, dword [ebp + 0x690430]
lea esi, [ebp + 0x690420]
push edx
push 0x47f180
push eax
call fcn.004081b3
add esp, 0xc
cmp dword [esi + 0x64], 0x10
jb 0x421bfa
mov esi, dword [esi + 0x50]
jmp 0x421bfd
add esi, 0x50
push esi
call fcn.00451220
add esp, 4
mov eax, 0x53b798
call fcn.004566d0
mov ecx, dword [0x49ab6c]
push 0x53b798
push 0
push 1
xor edx, edx
call fcn.0045f070
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [str.RCLICK]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47f188]
mov word [eax + 4], dx
mov cl, byte [0x47f18a]
mov dword [0x58faf0], esi
mov byte [eax + 6], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [str.MCLICK]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cx, word [0x47f190]
mov word [eax + 4], cx
mov dl, byte [0x47f192]
mov dword [0x58faf4], esi
mov byte [eax + 6], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [str.WHEELDOWN]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov edx, dword [0x47f198]
mov dword [eax + 4], edx
mov cx, word [0x47f19c]
mov dword [0x52e85c], esi
mov word [eax + 8], cx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [str.WHEELUP]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov ecx, dword [0x47f1a4]
mov dword [0x52e85c], esi
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [str.TIMEOUT]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov ecx, dword [0x47f1ac]
mov dword [eax + 4], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47f1b0]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cl, byte [0x47f1b4]
mov byte [eax + 4], cl
mov dword [0x543998], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47f1b8]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cl, byte [0x47f1bc]
mov byte [eax + 4], cl
mov dword [0x544430], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [esp + 0xcc]
lea eax, [esp + 0x10]
mov ecx, eax
sub edx, ecx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x421d90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [esp + 0xcc]
lea eax, [esp + 0x10]
mov ecx, eax
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x421db6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov esi, dword [esp + esi*4 + 0x48]
mov ecx, dword [esp + 0xcc]
sub ecx, esi
lea ebx, [ebx]
mov al, byte [esi]
mov byte [ecx + esi], al
inc esi
test al, al
jne 0x421de0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47f224]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cx, word [0x47f228]
mov word [eax + 4], cx
mov dl, byte [0x47f22a]
mov byte [eax + 6], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47f22c]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47f230]
mov word [eax + 4], dx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [str.LCLICK]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47f244]
mov word [eax + 4], dx
mov cl, byte [0x47f246]
mov byte [eax + 6], cl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov edx, dword [0x47f248]
mov eax, dword [esp + 0xcc]
mov dword [eax], edx
mov cx, word [0x47f24c]
mov word [eax + 4], cx
mov dl, byte [0x47f24e]
mov byte [eax + 6], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov cx, word [0x47f254]
mov eax, dword [esp + 0xcc]
mov word [eax], cx
mov dl, byte [0x47f256]
mov byte [eax + 2], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47f260]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dl, byte [0x47f264]
mov byte [eax + 4], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47f270]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dl, byte [0x47f274]
mov byte [eax + 4], dl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov ecx, dword [0x47f280]
mov eax, dword [esp + 0xcc]
mov dword [eax], ecx
mov dx, word [0x47f284]
mov word [eax + 4], dx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb8
ret 4
mov eax, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov byte [eax], 0
pop ebx
add esp, 0xb8
ret 4