Function at 0x1002bd00
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x68
mov eax, dword [0x100862c4]
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 0x1002bd5a
mov eax, edx
lea ebp, [esi + 0x70]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002bd46
sub eax, edi
push eax
push edx
mov ecx, ebp
call fcn.10006b4b
test ebx, ebx
mov ebp, dword [esp + 0x90]
mov dword [esi + 0x54], ebp
mov edi, ebx
jne 0x1002bd6f
mov edi, 0x10067dc0
test edi, edi
lea ecx, [esi + 0x74]
jne 0x1002bd7a
xor eax, eax
jmp 0x1002bd8b
mov eax, edi
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1002bd80
sub eax, ebx
push eax
push edi
call fcn.10006b4b
test ebp, 0x20000
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x58], ecx
lea edi, [esi + 0x78]
je 0x1002bdc0
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 0x1002bdf7
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.100296a0
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.100296a0
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 0x1002be28
push edi
call fcn.100299b0
add esp, 4
test eax, eax
jne 0x1002bf13
cmp dword [esi + 0x60], ebx
jne 0x1002be67
push 0x38
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x44], ebx
call fcn.1004b500
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 0x1002bf2a
test byte [esi + 0x54], 4
mov ecx, 0x80
je 0x1002be89
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.1002bc80
cmp eax, ebx
je 0x1002bf13
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.1002bc00
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 0x1002bf42
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.1004ada8
add esp, 0x68
ret 0x20
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1002bf37
mov eax, 0x10067dc0
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, esi
call fcn.10029eb0
test dword [esi + 0x54], 0x10000
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
je 0x1002bf72
cmp dword [esi + 0x50], ebx
jne 0x1002bf72
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 0x1002bf9c
cmp dword [esi + 0x4c], ebx
jne 0x1002bf9c
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 0x1002bfb9
cmp dword [esi + 0x48], ebx
jne 0x1002bfb9
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 0x1002bfce
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 0x1002bfe8
mov ecx, esi
call fcn.1002a200
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
test dword [esi + 0x54], 0x40000
jne 0x1002c014
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.10044b40
add esp, 8
test eax, eax
je 0x1002c014
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10044b90
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1004ada8
add esp, 0x68
ret 0x20