Function at 0x783815c0
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x24
mov eax, 0x783ac622
call fcn.783a772b
mov eax, dword [ebp + 8]
test eax, eax
jne 0x783815d8
and dword [ebp - 0x28], eax
jmp 0x783815de
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov dword [ebp - 0x2c], eax
call sym.MFC80U.DLL_Ordinal_2366
mov ebx, 0x100
cmp esi, ebx
mov dword [ebp - 0x14], eax
jb 0x7838160a
cmp esi, 0x109
jbe 0x78381619
add esi, 0xfffffe00
cmp esi, 9
ja 0x783816c5
test eax, eax
je 0x783816c5
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
cmp dword [esi + 0x50], 0
jne 0x78381650
push dword [esi + 0x20]
call edi
push eax
call sym.MFC80U.DLL_Ordinal_2366
cmp eax, dword [ebp + 8]
je 0x78381650
push dword [esi + 0x20]
call edi
push eax
call sym.MFC80U.DLL_Ordinal_2366
mov esi, eax
test esi, esi
jne 0x78381629
test esi, esi
je 0x78381677
mov eax, dword [esi + 0x50]
test eax, eax
je 0x78381677
cmp dword [eax + 0x58], 0
je 0x78381677
mov eax, dword [eax + 0x58]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
jne 0x78381677
inc eax
jmp 0x7838183a
cmp dword [ebp - 0x1c], 0x101
je 0x7838168e
cmp dword [ebp - 0x1c], ebx
je 0x7838168e
cmp dword [ebp - 0x1c], 0x102
jne 0x783816c5
test esi, esi
je 0x783816c5
mov esi, dword [esi + 0x50]
test esi, esi
je 0x783816c5
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 8]
cmp ax, 0xd
jne 0x783816af
test byte [esi + 0x84], 1
jne 0x783816be
cmp ax, 0x1b
jne 0x783816c5
test byte [esi + 0x84], 2
je 0x783816c5
xor eax, eax
jmp 0x7838183a
mov eax, dword [ebp + 0xc]
push dword [eax]
xor edi, edi
mov dword [ebp - 0x18], edi
call sym.MFC80U.DLL_Ordinal_2366
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
sub eax, ebx
push 2
mov dword [ebp - 0x24], edi
pop esi
je 0x78381774
sub eax, esi
je 0x78381719
sub eax, 4
jne 0x783817af
cmp dword [ebp - 0x14], eax
jne 0x7838170b
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x783817af
mov eax, dword [ebp + 0xc]
cmp word [eax + 8], 0x20
je 0x783817af
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
call fcn.78380df8
cmp dword [ebp - 0x1c], 0x102
jne 0x78381731
test al, 0x84
jne 0x783817af
mov ecx, dword [ebp + 0xc]
movzx ecx, word [ecx + 8]
cmp cx, 9
jne 0x78381742
test al, 2
jne 0x783817af
cmp cx, 0x20
je 0x783816be
push dword [ebp + 0xc]
push dword [ebp - 0x20]
push dword [ebp + 8]
call fcn.783811c8
test eax, eax
je 0x783817af
mov eax, dword [eax + 4]
test eax, eax
je 0x783817af
push dword [ebp + 0xc]
mov ecx, eax
call sym.MFC80U.DLL_Ordinal_5655
jmp 0x78381a3c
mov ebx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x20]
mov ecx, ebx
call fcn.78380df8
movzx ecx, word [ebx + 8]
cmp ecx, 0x1b
jg 0x783818cb
je 0x7838191e
cmp ecx, 3
je 0x7838191e
cmp ecx, 9
je 0x78381842
cmp ecx, 0xd
je 0x783818ef
mov eax, dword [ebp + 8]
test word [eax + 0x3c], 0x1000
jne 0x783817ef
push dword [ebp + 0xc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
mov dword [ebp - 0x18], eax
je 0x783817ef
mov esi, dword [sym.imp.USER32.dll_GetFocus]
call esi
push eax
call sym.MFC80U.DLL_Ordinal_2366
cmp eax, dword [ebp - 0x14]
je 0x783817ef
call esi
push eax
call sym.MFC80U.DLL_Ordinal_2366
push eax
call sym.MFC80U.DLL_Ordinal_6180
pop ecx
push dword [ebp - 0x2c]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
je 0x78381837
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sym.MFC80U.DLL_Ordinal_2366
push eax
push dword [ebp - 0x14]
call sym.MFC80U.DLL_Ordinal_6183
pop ecx
pop ecx
push dword [ebp - 0x28]
call edi
test eax, eax
je 0x78381837
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call sym.MFC80U.DLL_Ordinal_2366
mov ecx, dword [ebp + 8]
mov ebx, eax
mov eax, dword [ebp - 0x14]
call fcn.783814e7
mov eax, dword [ebp - 0x18]
call fcn.783a77d0
ret 8
test al, 2
jne 0x783817af
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
test ax, ax
setl cl
mov esi, ecx
mov ecx, dword [ebp + 8]
push esi
push 0
call sym.MFC80U.DLL_Ordinal_3023
test eax, eax
je 0x783817af
cmp dword [eax + 4], 0
je 0x78381888
mov eax, dword [eax + 4]
mov edx, dword [eax]
push ebx
mov ecx, eax
call dword [edx + 0xb4]
jmp 0x78381a3c
mov eax, dword [eax]
test eax, eax
je 0x78381896
push eax
call sym.MFC80U.DLL_Ordinal_2366
jmp 0x783818a2
mov eax, dword [ebp - 0x20]
push esi
push dword [ebp + 8]
call fcn.7832c85f
mov esi, eax
test esi, esi
je 0x78381a3c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c]
and dword [eax + 0x70], 0
call fcn.78380e1b
push esi
push dword [ebp - 0x14]
call sym.MFC80U.DLL_Ordinal_6183
pop ecx
pop ecx
jmp 0x78381a3c
cmp ecx, 0x25
jl 0x783817af
cmp ecx, 0x26
jle 0x78381985
cmp ecx, 0x28
jle 0x7838198c
cmp ecx, 0x2b
jne 0x783817af
test al, 4
jne 0x783817af
push dword [ebp - 0x14]
call sym.MFC80U.DLL_Ordinal_2620
test al, 0x10
pop ecx
je 0x78381910
mov edi, dword [ebp - 0x14]
mov ecx, edi
call sym.MFC80U.DLL_Ordinal_2648
jmp 0x78381918
mov eax, dword [ebp + 8]
call fcn.783814c1
test edi, edi
mov esi, eax
jne 0x78381931
mov edi, dword [ebp + 8]
push esi
call fcn.7838139f
mov edi, eax
test edi, edi
je 0x783817af
mov ecx, edi
call sym.MFC80U.DLL_Ordinal_3983
test eax, eax
jne 0x78381948
push eax
call dword [sym.imp.USER32.dll_MessageBeep]
jmp 0x783817af
cmp dword [edi + 0x50], 0
je 0x783817af
xor eax, eax
push eax
push eax
push eax
push 1
push 0xfffffdd9
push edi
mov dword [ebp - 4], eax
call sym.MFC80U.DLL_Ordinal_3902
add esp, 0x18
or dword [ebp - 4], 0xffffffff
jmp 0x78381a3c
mov dword [ebp - 0x24], 1
mov edx, dword [ebp - 0x14]
mov ecx, ebx
call fcn.78380df8
test al, 1
jne 0x783817af
cmp dword [ebp - 0x24], 0
push 0
je 0x783819b2
mov ebx, dword [ebp + 8]
mov ecx, ebx
call sym.MFC80U.DLL_Ordinal_3095
jmp 0x783819bd
mov ecx, dword [ebp + 8]
call sym.MFC80U.DLL_Ordinal_3022
mov ebx, dword [ebp + 8]
mov edi, eax
test edi, edi
je 0x783817af
cmp dword [edi + 8], 0
je 0x783819d5
push edi
mov ecx, ebx
call sym.MFC80U.DLL_Ordinal_5474
cmp dword [edi + 4], 0
je 0x783819eb
mov ecx, dword [edi + 4]
push dword [ebp + 0xc]
mov eax, dword [ecx]
call dword [eax + 0xb4]
jmp 0x78381a3c
mov eax, dword [edi]
test eax, eax
jne 0x78381a08
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x783819fb
mov eax, dword [eax + 0x20]
push dword [ebp - 0x24]
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetNextDlgGroupItem]
push eax
call sym.MFC80U.DLL_Ordinal_2366
mov esi, eax
test esi, esi
je 0x783817af
mov eax, dword [ebx + 0x4c]
and dword [eax + 0x70], 0
call fcn.78380e1b
cmp dword [edi + 8], 0
je 0x78381a3c
push 0
push 1
push 0xf1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x18], 1
jmp 0x783817ef