Function at 0x3004eac2
Capabilities:
Log keystrokes via application hook

Disassembly:
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 0x3004ef09
je 0x3004ee6f
cmp edi, 0x15
ja 0x3004ebe2
je 0x3004ebc8
mov eax, edi
dec eax
je 0x3004ebbb
dec eax
dec eax
je 0x3004eb8c
dec eax
dec eax
je 0x3004eb21
sub eax, 7
jne 0x3004ef9e
push esi
push dword [ebp + 0x14]
push 0xc
call fcn.300a2cf2
jmp 0x3004ef9e
xor ebx, ebx
cmp esi, 1
jne 0x3004eb3c
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 [0x302ae64c], ebx
mov dword [0x302ae814], eax
je 0x3004eb62
push ebx
push dword [ebp + 0x14]
push 5
call fcn.300a2cf2
jmp 0x3004efb7
cmp eax, ebx
jne 0x3004ef9e
cmp esi, 2
je 0x3004eb77
cmp esi, ebx
jne 0x3004ef9e
push dword [ebp + 8]
push 0x30f
push dword [ebp + 8]
call fcn.3007d647
jmp 0x3004ef9e
xor ebx, ebx
cmp dword [0x302ae890], ebx
je 0x3004eba2
cmp dword [0x302ae794], ebx
je 0x3004ef9e
test word [0x302adec4], 0x100
je 0x3004ef9e
call fcn.300657d6
jmp 0x3004ef9e
mov eax, dword [ebp + 8]
mov dword [0x302ae694], eax
jmp 0x3004ef9e
push 0x302ade50
call fcn.30051591
push dword [0x30225aec]
call fcn.30051591
jmp 0x3004ef91
mov eax, edi
sub eax, 0x1c
je 0x3004ed27
sub eax, 5
je 0x3004ec8f
sub eax, 0x60
je 0x3004ec41
sub eax, 0x20
jne 0x3004ef9e
xor ebx, ebx
cmp dword [0x302ae884], ebx
je 0x3004ef9e
cmp esi, 2
jne 0x3004ef9e
cmp dword [0x302ae74c], ebx
je 0x3004ef9e
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x10
test ax, 0x100
je 0x3004ef9e
jmp 0x3004ec56
push dword [ebp + 0x14]
push esi
push 0x81
push dword [ebp + 8]
call fcn.30106662
test eax, eax
jne 0x3004ec5d
xor eax, eax
jmp 0x3004efb7
xor ebx, ebx
push ebx
push dword [0x302ae8dc]
push ebx
push dword [ebp + 8]
push ebx
push ebx
push ebx
push ebx
push 0x56000000
push ebx
push 0x30019ea4
push ebx
call fcn.3004e58d
xor eax, eax
cmp dword [0x302ae64c], ebx
setne al
jmp 0x3004efb7
xor ebx, ebx
cmp dword [0x302ae78c], ebx
jne 0x3004ecae
cmp dword [0x302ae884], ebx
jne 0x3004ecd1
push ebx
push ebx
push 0xc
call fcn.300da3d6
test eax, eax
je 0x3004ecc9
push ebx
push ebx
push 0x21
call fcn.300a2cf2
cmp eax, 4
jne 0x3004ecc3
push eax
pop eax
jmp 0x3004efb7
mov dword [0x302ae884], ebx
cmp dword [0x302ae884], ebx
je 0x3004ed01
call fcn.300e71ef
test eax, eax
jne 0x3004ed01
cmp dword [0x302ae74c], ebx
push 3
pop eax
je 0x3004efb7
movsx ecx, word [ebp + 0x14]
sub ecx, eax
je 0x3004ecf9
dec ecx
dec ecx
jne 0x3004efb7
xor eax, eax
inc eax
jmp 0x3004efb7
push dword [ebp + 0x14]
push esi
push 0x21
push dword [ebp + 8]
call fcn.30106662
cmp ax, 1
jne 0x3004efb7
cmp word [ebp + 0x14], ax
jg 0x3004efb7
push 2
jmp 0x3004ecbd
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor ebx, ebx
cmp dword [0x302ae884], ebx
je 0x3004ed82
cmp dword [0x302ae78c], ebx
je 0x3004ed82
cmp dword [ebp + 0x10], ebx
je 0x3004ed82
cmp dword [0x30229ef4], ebx
jne 0x3004ed82
call edi
push eax
push dword [0x302ae8dc]
push dword [0x30229d6c]
push 2
call esi
mov dword [0x30229ef4], eax
call edi
push eax
push dword [0x302ae8dc]
push dword [0x3022b0e4]
push 0xffffffffffffffff
call esi
mov dword [0x3022b448], eax
mov eax, dword [0x302ae884]
xor ecx, ecx
cmp dword [ebp + 0x10], ebx
setne cl
cmp eax, ecx
jne 0x3004eda0
push 1
push eax
call fcn.300e69a8
jmp 0x3004ec56
cmp dword [0x302ae78c], ebx
jne 0x3004edb8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x1c
push dword [ebp + 8]
call fcn.3009fa82
cmp dword [ebp + 0x10], ebx
je 0x3004ee01
cmp dword [0x30229ef4], ebx
jne 0x3004edf5
call edi
push eax
push dword [0x302ae8dc]
push dword [0x30229d6c]
push 2
call esi
mov dword [0x30229ef4], eax
call edi
push eax
push dword [0x302ae8dc]
push dword [0x3022b0e4]
push 0xffffffffffffffff
call esi
mov dword [0x3022b448], eax
mov dword [0x302ae884], 1
jmp 0x3004ee33
mov eax, dword [0x30229ef4]
cmp eax, ebx
je 0x3004ee27
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
push dword [0x3022b448]
call esi
mov dword [0x30229ef4], ebx
mov dword [0x3022b448], ebx
cmp dword [0x302ae78c], ebx
jne 0x3004ec56
call fcn.30060678
cmp dword [0x302ae78c], ebx
jne 0x3004ec56
cmp dword [0x302ae64c], ebx
jne 0x3004ee50
xor eax, eax
jmp 0x3004ee5b
push ebx
push dword [ebp + 0x10]
push 0x1c
call fcn.300a2cf2
cmp dword [ebp + 0x10], ebx
jne 0x3004efb7
mov dword [0x302ae884], ebx
jmp 0x3004efb7
xor ebx, ebx
cmp dword [0x3022b6c8], ebx
je 0x3004ef9e
cmp dword [0x302ae814], ebx
jne 0x3004ef9e
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 [0x302ae6cc]
mov eax, dword [eax + 0xf0]
add eax, dword [ebp - 0x10]
push 0x21
mov dword [ebp - 8], eax
call esi
add eax, dword [0x30229d64]
push 0xf
add dword [ebp - 0xc], eax
call esi
add eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
mov dword [ebp - 4], eax
movsx eax, word [ebp + 0x14]
movsx ecx, cx
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x3004ef9b
mov eax, dword [0x302ae848]
push ebx
push 0xf060
push 0x112
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x3004ec56
mov eax, 0x307
cmp edi, eax
ja 0x3004ef71
je 0x3004ef91
mov eax, edi
sub eax, 0x113
je 0x3004ef91
sub eax, 0xe
je 0x3004ef63
sub eax, 0xef
je 0x3004ef32
sub eax, 0xf5
je 0x3004ef91
jmp 0x3004ef9e
cmp esi, 0x201
jne 0x3004ef44
mov dword [0x302088b4], 1
xor ebx, ebx
cmp dword [0x302ae78c], ebx
je 0x3004ef9e
push ebx
push esi
push 0x210
call fcn.300a2cf2
test eax, eax
jne 0x3004ef9e
jmp 0x3004ec56
push 0
push 2
push 0x121
jmp 0x3004eb17
cmp edi, 0x30f
je 0x3004efad
cmp edi, 0x311
je 0x3004efad
cmp edi, 0x3ef
jbe 0x3004ef9e
cmp edi, 0x3f1
ja 0x3004ef9e
push dword [ebp + 0x14]
push esi
push edi
jmp 0x3004eb58
mov esi, dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push edi
push dword [ebp + 8]
call fcn.3009fa82
jmp 0x3004efb7
push esi
push edi
push dword [ebp + 8]
call fcn.3007d647
pop edi
pop esi
pop ebx
leave
ret 0x10