Function at 0x1002eb20
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x68
mov eax, dword [0x1009140c]
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 0x1002eb7a
mov eax, edx
lea ebp, [esi + 0x5c]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002eb66
sub eax, edi
push eax
push edx
mov ecx, ebp
call fcn.10006b67
test ebx, ebx
mov ebp, dword [esp + 0x90]
mov dword [esi + 0x40], ebp
mov edi, ebx
jne 0x1002eb8f
mov edi, 0x10070d78
test edi, edi
lea ecx, [esi + 0x60]
jne 0x1002eb9a
xor eax, eax
jmp 0x1002ebab
mov eax, edi
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1002eba0
sub eax, ebx
push eax
push edi
call fcn.10006b67
test ebp, 0x20000
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x44], ecx
lea edi, [esi + 0x64]
je 0x1002ebe0
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 0x1002ec17
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.1002c460
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.1002c460
mov ecx, dword [eax]
mov dword [edi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x14], edx
lea edi, [esi + 0x50]
xor ebx, ebx
cmp dword [edi], ebx
jne 0x1002ec48
push edi
call fcn.1002c770
add esp, 4
test eax, eax
jne 0x1002ed33
cmp dword [esi + 0x4c], ebx
jne 0x1002ec87
push 0x38
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x44], ebx
call fcn.100524f0
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 + 0x4c], eax
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002ed4a
test byte [esi + 0x40], 4
mov ecx, 0x80
je 0x1002eca9
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.1002eaa0
cmp eax, ebx
je 0x1002ed33
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 + 0xd0]
call fcn.1002ea20
mov ecx, dword [esi + 0x5c]
mov edx, dword [esi + 0xd4]
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 0x1002ed62
mov eax, dword [esi + 4]
and dword [esi + 0x40], 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.100511f7
add esp, 0x68
ret 0x20
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1002ed57
mov eax, 0x10070d78
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, esi
call fcn.1002cc70
test dword [esi + 0x40], 0x10000
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
je 0x1002ed95
cmp dword [esi + 0x3c], ebx
jne 0x1002ed95
mov ebx, dword [esi + 0x2c]
call ebp
push eax
push 0
push ebx
push 0xc
call edi
mov dword [esi + 0x3c], eax
xor ebx, ebx
lea edx, [esi + 0x9c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
test dword [esi + 0x40], 0x3f8
je 0x1002edc2
cmp dword [esi + 0x38], ebx
jne 0x1002edc2
mov ebx, dword [esi + 0x28]
call ebp
push eax
push 0
push ebx
push 7
call edi
mov dword [esi + 0x38], eax
xor ebx, ebx
test dword [esi + 0x40], 0x400
je 0x1002ede2
cmp dword [esi + 0x34], ebx
jne 0x1002ede2
mov ebx, dword [esi + 0x24]
call ebp
push eax
push 0
push ebx
push 2
call edi
mov dword [esi + 0x34], eax
xor ebx, ebx
mov eax, dword [esi + 0x44]
cmp eax, ebx
jbe 0x1002edf7
push ebx
push eax
mov eax, dword [esi + 4]
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
test dword [esi + 0x40], 0x8000
jne 0x1002ee11
mov ecx, esi
call fcn.1002cfc0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
test dword [esi + 0x40], 0x40000
jne 0x1002ee3d
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.1004a560
add esp, 8
test eax, eax
je 0x1002ee3d
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1004a5b0
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100511f7
add esp, 0x68
ret 0x20