Function at 0x3000961d
Capabilities:
Log keystrokes via application hook

Disassembly:
sub eax, 5
je 0x300588a1
sub eax, 0x60
je 0x30055399
sub eax, 0x20
je 0x30058862
jmp 0x30009673
mov eax, dword [ebp + 8]
mov dword [0x301e47a0], eax
jmp 0x30009673
test eax, eax
jne 0x30009673
jmp 0x300096de
push 0
push 2
push 0x121
jmp 0x3000966e
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push edi
jmp 0x30058a6a
mov eax, 0x307
cmp edi, eax
ja 0x30058a3d
je 0x30002ea0
mov eax, edi
sub eax, 0x113
je 0x30002ea0
sub eax, 0xe
je 0x30002e92
sub eax, 0xef
jne 0x30058a0d
cmp esi, 0x201
je 0x30058a1d
xor ebx, ebx
cmp dword [0x301e4aec], ebx
jne 0x30058a2c
jmp 0x30009673
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov eax, 0xa3
cmp edi, eax
ja 0x30009291
je 0x30058977
cmp edi, 0x15
ja 0x30009687
je 0x30058848
mov eax, edi
dec eax
je 0x30002e78
dec eax
dec eax
je 0x30058824
dec eax
dec eax
je 0x300587be
sub eax, 7
jne 0x30009673
push esi
push dword [ebp + 0x14]
push 0xc
call fcn.30009580
push dword [ebp + 0x14]
push esi
push edi
push dword [ebp + 8]
call fcn.300094af
pop edi
pop esi
pop ebx
leave
ret 0x10
mov eax, edi
sub eax, 0x1c
jne 0x30002dac
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp dword [0x301e4790], ebx
je 0x300096c1
cmp dword [0x301e4aec], ebx
je 0x300096c1
cmp dword [ebp + 0x10], ebx
je 0x300096c1
cmp dword [0x301e35f4], ebx
je 0x3005893b
mov eax, dword [0x301e4790]
xor ecx, ecx
cmp dword [ebp + 0x10], ebx
setne cl
cmp eax, ecx
jne 0x3002c0a9
push 1
push eax
call fcn.3002f85e
xor eax, eax
jmp 0x30009680
cmp dword [0x301e4aec], ebx
jne 0x3002c0c1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x1c
push dword [ebp + 8]
call fcn.300094af
cmp dword [ebp + 0x10], ebx
je 0x30049591
cmp dword [0x301e35f4], ebx
jne 0x3002c102
call edi
push eax
push dword [0x301dec00]
push dword [0x301ddb4c]
push 2
call esi
mov dword [0x301e35f4], eax
call edi
push eax
push dword [0x301dec00]
push dword [0x301ddb50]
push 0xffffffffffffffff
call esi
mov dword [0x301e35c8], eax
mov dword [0x301e4790], 1
call fcn.3002c084
cmp dword [0x301e4aec], ebx
jne 0x300096de
cmp dword [0x301e478c], ebx
je 0x30058970
push ebx
push dword [ebp + 0x10]
push 0x1c
call fcn.30009580
cmp dword [ebp + 0x10], ebx
jne 0x30009680
mov dword [0x301e4790], ebx
jmp 0x30009680
mov eax, dword [0x301e35f4]
cmp eax, ebx
je 0x300495b7
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
push dword [0x301e35c8]
call esi
mov dword [0x301e35f4], ebx
mov dword [0x301e35c8], ebx
cmp dword [0x301e4aec], ebx
jne 0x300096de
jmp 0x3002c10c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x81
push dword [ebp + 8]
call fcn.30055208
test eax, eax
je 0x300096de
xor ebx, ebx
push ebx
push dword [0x301dec00]
push ebx
push dword [ebp + 8]
push ebx
push ebx
push ebx
push ebx
push 0x56800000
push ebx
push 0x300553ec
push 0x200
call fcn.30009d20
xor eax, eax
cmp dword [0x301e478c], ebx
setne al
jmp 0x30009680
xor ebx, ebx
cmp esi, 1
jne 0x300587d9
push 0xf020
push 0x5557
push ebx
push dword [ebp + 8]
call dword [sym.imp.MSO.DLL_Ordinal_1799]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_IsIconic]
cmp dword [0x301e478c], ebx
mov dword [0x301e36d8], eax
je 0x300587fa
push ebx
push dword [ebp + 0x14]
push 5
jmp 0x30058a6a
cmp eax, ebx
jne 0x30009673
cmp esi, 2
je 0x3005880f
cmp esi, ebx
jne 0x30009673
push dword [ebp + 8]
push 0x30f
push dword [ebp + 8]
call fcn.300c7374
jmp 0x30009673
cmp dword [0x301de6d4], 0
jne 0x30009673
test byte [0x301e45b5], 1
je 0x30009673
call fcn.300b2e81
jmp 0x30009673
push 0x301e4540
call fcn.300a8e49
push dword [0x301dec88]
call fcn.300a8e49
jmp 0x30002ea0
xor ebx, ebx
cmp dword [0x301e4790], ebx
je 0x30009673
cmp esi, 2
jne 0x30009673
cmp dword [0x301df2d4], ebx
je 0x30009673
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x10
test ah, 1
je 0x30009673
jmp 0x300096de
xor ebx, ebx
cmp dword [0x301e4aec], ebx
jne 0x300588c0
cmp dword [0x301e4790], ebx
jne 0x300588df
push ebx
push ebx
push 0xc
call fcn.30037093
test eax, eax
je 0x300588d7
push ebx
push ebx
push 0x21
call fcn.30009580
cmp eax, 4
jne 0x300588d1
push eax
jmp 0x30058935
mov dword [0x301e4790], ebx
cmp dword [0x301e4790], ebx
je 0x3005890f
call fcn.3001a11e
test eax, eax
jne 0x3005890f
cmp dword [0x301df2d4], ebx
push 3
pop eax
je 0x30009680
movsx ecx, word [ebp + 0x14]
sub ecx, eax
je 0x30058907
dec ecx
dec ecx
jne 0x30009680
xor eax, eax
inc eax
jmp 0x30009680
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x21
push dword [ebp + 8]
call fcn.30055208
cmp ax, 1
jne 0x30009680
cmp word [ebp + 0x14], ax
jg 0x30009680
push 2
pop eax
jmp 0x30009680
call edi
push eax
push dword [0x301dec00]
push dword [0x301ddb4c]
push 2
call esi
mov dword [0x301e35f4], eax
call edi
push eax
push dword [0x301dec00]
push dword [0x301ddb50]
push 0xffffffffffffffff
call esi
mov dword [0x301e35c8], eax
jmp 0x300096c1
xor eax, eax
jmp 0x3002c134
xor ebx, ebx
cmp dword [0x301e3f6c], ebx
je 0x30009673
cmp dword [0x301e36d8], ebx
jne 0x30009673
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
call esi
add dword [ebp - 0x10], eax
mov eax, dword [0x301decb0]
mov eax, dword [eax + 0x80]
add eax, dword [ebp - 0x10]
push 0x21
mov dword [ebp - 8], eax
call esi
add eax, dword [0x301ddde8]
push 0xf
add dword [ebp - 0xc], eax
call esi
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
movzx ecx, ax
shr eax, 0x10
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x30058a74
mov eax, dword [0x301e43bc]
push ebx
push 0xf060
push 0x112
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x300096de
sub eax, 0xf5
je 0x30002ea0
jmp 0x30009673
mov dword [0x301e4d38], 1
jmp 0x300092d1
push ebx
push esi
push 0x210
call fcn.30009580
jmp 0x30002e85
cmp edi, 0x30f
je 0x30058a7c
cmp edi, 0x311
je 0x30058a7c
cmp edi, 0x3ef
jbe 0x30009673
cmp edi, 0x3f1
ja 0x30009673
jmp 0x30002ea0
call fcn.30009580
jmp 0x30009680
mov esi, dword [ebp + 0x10]
jmp 0x30009673
push dword [ebp + 0x10]
push edi
push dword [ebp + 8]
call fcn.300c7374
jmp 0x30009680