Function at 0x1002de00
Capabilities:
Log keystrokes via application hook

Disassembly:
sub esp, 0x68
mov eax, dword [0x1008d414]
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 0x1002de5a
mov eax, edx
lea ebp, [esi + 0x70]
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1002de46
sub eax, edi
push eax
push edx
mov ecx, ebp
call fcn.10006a0f
test ebx, ebx
mov ebp, dword [esp + 0x90]
mov dword [esi + 0x54], ebp
mov edi, ebx
jne 0x1002de6f
mov edi, 0x1006dd58
test edi, edi
lea ecx, [esi + 0x74]
jne 0x1002de7a
xor eax, eax
jmp 0x1002de8b
mov eax, edi
lea ebx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1002de80
sub eax, ebx
push eax
push edi
call fcn.10006a0f
test ebp, 0x20000
mov ecx, dword [esp + 0x98]
mov dword [esi + 0x58], ecx
lea edi, [esi + 0x78]
je 0x1002dec0
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 0x1002def7
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.1002b790
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.1002b790
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 0x1002df28
push edi
call fcn.1002baa0
add esp, 4
test eax, eax
jne 0x1002e013
cmp dword [esi + 0x60], ebx
jne 0x1002df67
push 0x38
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [esp + 0x44], ebx
call fcn.10050640
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 0x1002e02a
test byte [esi + 0x54], 4
mov ecx, 0x80
je 0x1002df89
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.1002dd80
cmp eax, ebx
je 0x1002e013
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.1002dd00
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 0x1002e042
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.1004f347
add esp, 0x68
ret 0x20
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x1002e037
mov eax, 0x1006dd58
mov ecx, dword [esi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, esi
call fcn.1002bfa0
test dword [esi + 0x54], 0x10000
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
je 0x1002e072
cmp dword [esi + 0x50], ebx
jne 0x1002e072
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 0x1002e09c
cmp dword [esi + 0x4c], ebx
jne 0x1002e09c
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 0x1002e0b9
cmp dword [esi + 0x48], ebx
jne 0x1002e0b9
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 0x1002e0ce
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 0x1002e0e8
mov ecx, esi
call fcn.1002c2f0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
test dword [esi + 0x54], 0x40000
jne 0x1002e114
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.10048ea0
add esp, 8
test eax, eax
je 0x1002e114
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10048ef0
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1004f347
add esp, 0x68
ret 0x20