Function at 0x1082523
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xa8
mov ecx, dword [0x10d1178]
mov eax, dword [ecx]
push ebx
push esi
push edi
push 0x10c6774
push 0x10c6770
call dword [eax + 0xc]
mov ecx, dword [0x10d03b8]
push 0x102cd2c
mov dword [ebp - 8], 0xe
call fcn.0107c2f2
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x1082654
movzx eax, byte [0x10c6788]
push eax
push 0x102f174
mov ecx, esi
call fcn.01095057
test eax, eax
push 0xffffffffffffffff
setg al
push 0x102f150
mov ecx, esi
mov byte [0x10c6788], al
call fcn.01095057
test eax, eax
push 0xe
setg al
push 0x102f130
mov ecx, esi
mov byte [0x10d03d7], al
call fcn.010950ac
push 0x102f110
mov ecx, esi
mov dword [ebp - 8], eax
call fcn.010952a9
push 0xa
push 0x102f0f4
mov ecx, esi
mov dword [ebp - 0xc], eax
call fcn.010950ac
push 0x55
push 0x102f0d0
mov ecx, esi
mov dword [0x10c6790], eax
call fcn.010950ac
push 1
push 0x102f0ac
mov ecx, esi
mov dword [str.d_n], eax
call fcn.01095057
test eax, eax
jne 0x1082603
mov byte [0x10d03d3], bl
push dword [0x10c6794]
mov ecx, esi
push 0x102e0d4
call fcn.010950ac
push dword [0x10c6798]
mov ecx, esi
push 0x102e0e8
mov dword [0x10c6794], eax
call fcn.010950ac
mov dword [0x10c6798], eax
movzx eax, byte [0x10d03f8]
push eax
push 0x102f088
mov ecx, esi
call fcn.01095057
test eax, eax
setne al
mov byte [0x10d03f8], al
cmp dword [ebp - 0xc], ebx
jne 0x108267b
push 0x200
call fcn.01075570
pop ecx
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x108267b
push 0x100
push eax
push 0x3e9
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x48
push 0x5a
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MulDiv]
push dword [ebp - 0x10]
mov esi, eax
push ebx
neg esi
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0xc]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateFontW]
push dword [ebp - 0xc]
mov dword [0x10d03f4], eax
call fcn.0109c587
pop ecx
push ebx
mov byte [ebp - 1], bl
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], 0x1080abd
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
call edi
mov ecx, dword [0x10d1178]
mov dword [ebp - 0x5c], eax
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov esi, 0x7f00
test eax, eax
je 0x1082713
mov ecx, dword [0x10d1178]
mov eax, dword [ecx]
call dword [eax + 0x1c]
push eax
push ebx
call edi
push eax
jmp 0x1082715
push esi
push ebx
call dword [sym.imp.USER32.dll_LoadIconW]
push esi
push ebx
mov dword [ebp - 0x58], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x54], eax
cmp byte [0x10d03d3], bl
je 0x108273b
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x1082743
push 0xc
call dword [sym.imp.USER32.dll_GetSysColorBrush]
mov dword [ebp - 0x50], eax
cmp byte [0x10d03d3], bl
jne 0x108275e
mov ecx, dword [0x10d1178]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [ebp - 0x4c], eax
jmp 0x1082761
mov dword [ebp - 0x4c], ebx
mov eax, dword [0x10d1160]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
cmp byte [0x10d03d3], bl
je 0x1082794
push 0x10d03e0
mov byte [0x10d03d4], 1
call dword [sym.imp.USER32.dll_GetCursorPos]
push ebx
call dword [sym.imp.USER32.dll_ShowCursor]
mov eax, 0x80000000
xor esi, esi
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp byte [0x10d03f9], bl
je 0x10827c8
cmp byte [0x10d03d3], bl
jne 0x10827ed
mov ecx, dword [0x10d0404]
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x10d0408]
mov esi, 0x1000000
mov dword [ebp - 8], ecx
cmp byte [0x10d03d3], bl
jne 0x10827ed
xor eax, eax
cmp byte [0x10c6788], bl
setne al
dec eax
and eax, 0x10000
xor eax, 0xcf0000
or eax, esi
or eax, 0x2000000
push ebx
push ebx
mov esi, eax
call edi
push eax
mov eax, dword [0x10d1160]
push ebx
push ebx
push dword [0x10c6774]
push dword [0x10c6770]
push dword [ebp - 8]
push dword [ebp - 0xc]
push esi
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push eax
push ebx
call esi
mov dword [0x10d1168], eax
cmp eax, ebx
jne 0x1082849
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x102f030
push 0x102e838
push 0x1ed
push 0x10
call fcn.0109642f
add esp, 0x14
xor al, al
jmp 0x1082bde
cmp byte [0x10d03d3], bl
je 0x108286b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push ebx
push 0x107fdcb
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x10d03cc], eax
or dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 8
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebx
push ebx
call edi
push eax
push ebx
push dword [0x10d1168]
push dword [0x10c6774]
push dword [0x10c6770]
push ebx
push ebx
push 0x4000000b
push ebx
push 0x102f01c
push ebx
call esi
push 0x102efd8
mov dword [0x10d116c], eax
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
movzx eax, ax
mov dword [ebp - 8], eax
cmp ax, bx
je 0x10828f5
mov esi, dword [sym.imp.USER32.dll_SetPropW]
movzx eax, ax
push 0x10000
push eax
push dword [0x10d1168]
call esi
movzx eax, word [ebp - 8]
push 0x10000
push eax
push dword [0x10d116c]
call esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov ecx, dword [0x10d1178]
mov eax, dword [ecx]
call dword [eax + 0x44]
cmp eax, ebx
jbe 0x108294e
cmp byte [0x10d03d3], bl
jne 0x1082956
push ebx
push ecx
mov eax, esp
push 0x2000000
push 0x50000000
push ebx
push ecx
mov dword [eax], 0x3f2
mov eax, esp
mov dword [eax], ebx
push dword [0x10d1168]
mov ecx, 0x10d0410
call fcn.010824c1
push 0x103
push ebx
push ebx
push dword [0x10d1168]
mov dword [0x10d03c8], eax
call dword [sym.imp.USER32.dll_RedrawWindow]
cmp byte [0x10d03d3], bl
je 0x1082967
push dword [0x10c677c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x10d03ec], eax
mov ecx, dword [0x10d1178]
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp eax, ebx
je 0x108299c
push ebx
push eax
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov dword [0x10d03d8], eax
cmp byte [0x10d03d3], bl
je 0x108299c
push eax
call fcn.0107f138
cmp byte [0x10c6789], bl
jne 0x10829b6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x10829f2
lea eax, [ebp - 1]
push eax
push 0x10d0400
push 0x10d03fc
call fcn.010806d1
mov eax, dword [0x10c6770]
cmp byte [ebp - 1], bl
je 0x10829e3
add eax, eax
mov dword [0x10c67a8], eax
mov eax, dword [0x10c6774]
add eax, eax
jmp 0x10829ed
mov dword [0x10c67a8], eax
mov eax, dword [0x10c6774]
mov dword [0x10c67ac], eax
cmp byte [0x10d03d3], bl
jne 0x1082b1c
push dword [0x10d03c8]
lea eax, [ebp - 8]
push dword [0x10d1168]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [0x10c67ac]
push dword [0x10c67a8]
call fcn.010972e7
push 0xa
pop ecx
xor eax, eax
mov dword [ebp - 0x44], ebx
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push dword [0x10d1168]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [0x10d03fc]
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x28], eax
mov eax, dword [0x10d0400]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x44]
push eax
push dword [0x10d1168]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
cmp byte [0x10d03d0], bl
je 0x1082bb0
cmp dword [0x10d03c8], ebx
je 0x1082bb0
lea eax, [ebp - 0xa8]
push eax
push dword [0x10d1168]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [0x10d1178]
mov eax, dword [ecx]
call dword [eax + 0x44]
xor ecx, ecx
push 4
pop edx
mov edi, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.01075570
mov edx, dword [ebp - 0xa0]
sub edx, dword [ebp - 0xa8]
pop ecx
mov ecx, dword [0x10d1178]
mov esi, eax
mov eax, dword [ecx]
push esi
push edi
push edx
call dword [eax + 0x14]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x404
push dword [0x10d03c8]
call edi
push ebx
push ebx
push 5
push dword [0x10d03c8]
call edi
push 0x103
push ebx
push ebx
push dword [0x10d03c8]
call dword [sym.imp.USER32.dll_RedrawWindow]
push esi
call fcn.0109c587
pop ecx
jmp 0x1082bb0
mov esi, dword [0x10d1168]
push 9
pop ecx
xor eax, eax
push ebx
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
push 0x102e9f8
mov dword [ebp - 0x40], 0x28
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, ebx
je 0x1082b45
mov esi, eax
lea eax, [ebp - 0x40]
push eax
push 2
push esi
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
push 0xa
pop ecx
xor eax, eax
mov dword [ebp - 0x98], ebx
lea edi, [ebp - 0x94]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x98]
push eax
push dword [0x10d1168]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x98]
push eax
push dword [0x10d1168]
mov dword [ebp - 0x90], ebx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
call fcn.010809d2
push ebx
push dword [0x10d116c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0107fcba
push 1
push dword [0x10c6774]
push dword [0x10c6770]
call fcn.0107fe71
mov al, 1
pop edi
pop esi
pop ebx
leave
ret