Function at 0x1002e8d0
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x68
mov eax, dword [0x1008f414]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x74]
test edx, edx
push ebx
mov ebx, dword [esp + 0x88]
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x84]
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
je 0x1002e92a
mov eax, edx
lea ebp, [esi + 0x70]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002e916
sub eax, edi
push eax
push edx
mov ecx, ebp
call fcn.10006894
test ebx, ebx
mov ebp, dword [esp + 0x90]
mov dword [esi + 0x54], ebp
mov edi, ebx
jne 0x1002e93f
mov edi, 0x1006fd78
test edi, edi
lea ecx, [esi + 0x74]
jne 0x1002e94a
xor eax, eax
jmp 0x1002e95b
mov eax, edi
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1002e950
sub eax, ebx
push eax
push edi
call fcn.10006894
test ebp, 0x20000
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x58], ecx
lea edi, [esi + 0x78]
je 0x1002e990
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x28]
push edx
push ebx
mov byte [edi + 0xc], 1
call dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [edi + 8], ebx
jmp 0x1002e9c7
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
mov byte [edi + 0xc], 0
mov dword [edi + 8], eax
call fcn.1002c270
mov edx, dword [eax]
mov dword [edi + 0x10], edx
mov eax, dword [eax + 4]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov byte [edi + 0xc], 0
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.1002c270
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x14], edx
lea edi, [esi + 0x64]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x1002e9f8
push edi
call fcn.1002c580
add esp, 4
test eax, eax
jne 0x1002eae3
cmp dword [esi + 0x60], ebx
jne 0x1002ea37
push 0x38
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x44], ebx
call fcn.10051ae0
mov edx, dword [edi]
add esp, 0xc
lea ecx, [esp + 0x38]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x4c], 0x2bc
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [esi + 0x60], eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002eafa
test byte [esi + 0x54], 4
mov ecx, 0x80
je 0x1002ea59
mov ecx, 0x88
mov edx, dword [esp + 0x14]
push ebx
push ecx
mov eax, esp
push ecx
push 0x86000000
push edx
mov edx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [eax], ebx
mov eax, esp
lea ecx, [esp + 0x30]
mov dword [eax], ecx
push edx
mov ecx, esi
call fcn.1002e850
cmp eax, ebx
je 0x1002eae3
push ebx
push ecx
mov eax, esp
push ebx
push 0x40000000
push ebx
push ecx
mov dword [eax], ebx
mov eax, esp
mov dword [eax], ebx
mov eax, dword [esi + 4]
push eax
lea ecx, [esi + 0xe4]
call fcn.1002e7d0
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0xe8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
test eax, eax
jne 0x1002eb12
mov eax, dword [esi + 4]
and dword [esi + 0x54], 0xffffefff
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.10050837
add esp, 0x68
ret 0x20
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1002eb07
mov eax, 0x1006fd78
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, esi
call fcn.1002ca80
test dword [esi + 0x54], 0x10000
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
je 0x1002eb42
cmp dword [esi + 0x50], ebx
jne 0x1002eb42
call ebp
push eax
push ebx
lea edx, [esi + 0x38]
push edx
push 0xc
call edi
mov dword [esi + 0x50], eax
lea eax, [esi + 0xb0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test dword [esi + 0x54], 0x3f8
je 0x1002eb6c
cmp dword [esi + 0x4c], ebx
jne 0x1002eb6c
call ebp
push eax
push ebx
lea ecx, [esi + 0x2e]
push ecx
push 7
call edi
mov dword [esi + 0x4c], eax
test dword [esi + 0x54], 0x400
je 0x1002eb89
cmp dword [esi + 0x48], ebx
jne 0x1002eb89
call ebp
push eax
push ebx
lea edx, [esi + 0x24]
push edx
push 2
call edi
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x58]
cmp eax, ebx
jbe 0x1002eb9e
push ebx
push eax
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test dword [esi + 0x54], 0x8000
jne 0x1002ebb8
mov ecx, esi
call fcn.1002cdd0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
test dword [esi + 0x54], 0x40000
jne 0x1002ebe4
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.1004a350
add esp, 8
test eax, eax
je 0x1002ebe4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1004a3a0
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10050837
add esp, 0x68
ret 0x20