Function at 0x4095c7
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x408c8c
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edi, dword [ebp + 8]
mov dword [0x4365a8], eax
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
lea ebx, [edi + 0xf0]
call fcn.00406d0b
cmp dword [eax + 0x30], esi
jne 0x409612
call fcn.00406d0b
mov dword [eax + 0x30], str.ToolbarWindow32
call fcn.00406d0b
lea ecx, [ebx + 0x40]
push ecx
push eax
push 0x4363f4
call fcn.004120a7
add esp, 0xc
movzx eax, ax
push eax
xor eax, eax
push eax
push esi
push 0x5600184c
push esi
mov esi, 0x434218
push esi
push dword [ebp - 8]
call fcn.0041247b
push dword [edi + 4]
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, eax
call fcn.0040bcbb
xor ebx, ebx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetMenu]
mov ecx, dword [edi + 4]
call fcn.0040b59a
push edi
mov dword [edi + 0x5c], eax
call fcn.0040b8bc
mov ecx, dword [ebp - 8]
push ebx
push dword [edi + 0x24]
call fcn.0040ce97
mov ecx, dword [edi + 0x5c]
push 1
push dword [edi + 0x24]
call fcn.0040ce97
mov eax, dword [edi + 4]
add esp, 0xc
mov ecx, esp
push 0xc6000001
push ecx
mov dword [ecx], ebx
mov ecx, esp
push eax
push str.BUTTON
lea ebx, [edi + 0x1b0]
push ebx
mov dword [ecx], esi
call fcn.00406362
push 0x42e480
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_EnableWindow]
push ecx
mov eax, esp
and dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], esi
push dword [edi + 4]
lea eax, [edi + 0x1dc]
push eax
call fcn.0040c95f
push ecx
mov eax, esp
and dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], esi
push dword [edi + 4]
lea eax, [edi + 0x1b4]
push eax
call fcn.0040cb2c
mov dword [edi + 0x2c], eax
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x40971e
push 8
mov dword [ebp - 0xc], eax
pop eax
lea esi, [edi + 0x3c]
lea ebx, [ebp - 0xc]
mov word [ebp - 8], ax
call fcn.0040ba9e
push 1
push 0xe800
add edi, 0x3c
call fcn.004069fa
mov ebx, dword [ebp + 8]
push 0
push 2
push 0x423
push dword [ebx + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.004062bd
mov esi, eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne 0x4097a5
mov edx, dword [esi + 4]
lea edi, [ebp + 8]
cmp edi, edx
jb 0x409775
lea edx, [edx + eax*4]
cmp edi, edx
jae 0x409775
push 0x80004005
call fcn.00401759
test eax, eax
jne 0x40977e
xor edi, edi
inc edi
jmp 0x40978d
lea edi, [ecx + ecx]
test edi, edi
js 0x4097ba
cmp edi, 0x1fffffff
ja 0x4097ba
push 4
push edi
push dword [esi + 4]
call fcn.004176aa
add esp, 0xc
test eax, eax
je 0x4097ba
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea eax, [ecx + eax*4]
test eax, eax
je 0x4097b7
lea ecx, [ebx + 0x34]
mov dword [eax], ecx
inc dword [esi + 8]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
cmp ecx, eax
jne 0x409805
mov edx, dword [esi + 0x10]
lea edi, [ebp + 8]
cmp edi, edx
jb 0x4097d5
lea edx, [edx + eax*4]
cmp edi, edx
jb 0x40976b
test eax, eax
jne 0x4097de
xor edi, edi
inc edi
jmp 0x4097ed
lea edi, [ecx + ecx]
test edi, edi
js 0x40981a
cmp edi, 0x1fffffff
ja 0x40981a
push 4
push edi
push dword [esi + 0x10]
call fcn.004176aa
add esp, 0xc
test eax, eax
je 0x40981a
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
lea eax, [ecx + eax*4]
test eax, eax
je 0x409817
lea ecx, [ebx + 0x38]
mov dword [eax], ecx
inc dword [esi + 0x14]
push ebx
call fcn.0040987f
mov eax, dword [ebx + 4]
mov dword [ebp + 8], eax
mov dword [0x4365a4], eax
lea edi, [ebx + 0x74]
push 0
xor eax, eax
call fcn.00406666
test eax, eax
jne 0x409845
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x409867
lea eax, [ebx + 0x6c]
mov esi, edi
call fcn.00404318
push 0
push 0x411f05
push dword [ebp + 8]
push 0x74
push dword [0x4363fc]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
push 0
push 0x64
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4