Function at 0x4197d0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a104c
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4cc99c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [esi + 0x78]
push 0x4380
push edi
push eax
mov dword [ebp - 0xac], edi
call sub.MSVCR100.dll_memcpy
mov eax, dword [esi + 0x78]
mov ecx, dword [eax + 0x10]
add ecx, 0xfffffff7
add esp, 0xc
cmp ecx, 0x13
ja case.0x41982c.10
jmp dword [ecx*4 + 0x419cc0]
mov dword [esi + 0x3c], 0
mov ecx, dword [eax + 0x389c]
push 1
mov dword [esi + 0x38], ecx
mov dword [esi + 0x40], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esi + 0x38]
push eax
push edx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [esi + 0x78]
cmp dword [eax + 4], 0xffffffff
jne 0x419878
mov ebx, dword [esi + 0x7c]
test ebx, ebx
je 0x419878
lea edi, [eax + 0x1014]
call fcn.00417e10
mov eax, dword [esi + 0x78]
test eax, eax
je case.0x41982c.27
mov ecx, 0x4b11cc
add eax, 0x3014
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4198b6
test dx, dx
je 0x4198b2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4198b6
add eax, 4
add ecx, 4
test dx, dx
jne 0x419890
xor eax, eax
jmp 0x4198bb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne case.0x41982c.27
call fcn.0041a8e0
mov eax, dword [esi + 0x7c]
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
test eax, eax
je 0x4198e3
mov eax, dword [eax + 4]
push 0x53
push 0
push 0
push 0
push 0
push 0
push eax
call edi
mov eax, dword [esi + 0x8c]
test eax, eax
je case.0x41982c.27
mov ecx, dword [eax + 4]
push 0x53
push 0
push 0
push 0
push 0
push 0
push ecx
call edi
cmp dword [esi + 0x3c], 0
jne 0x419916
call fcn.00440130
mov dword [esi + 0x3c], 1
jmp case.0x41982c.10
push 0
call fcn.004401c0
add esp, 4
jmp case.0x41982c.10
mov esi, dword [esi + 0x7c]
test esi, esi
je case.0x41982c.10
lea edi, [eax + 0x1014]
mov ebx, esi
call fcn.00417e10
jmp case.0x41982c.10
add edi, 0x3094
push edi
lea ecx, [ebp - 0x48]
call fcn.00402480
mov dword [ebp - 4], 0
cmp dword [esi + 0xb4], 0
ja 0x419979
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x48]
push edx
lea ecx, [esi + 0xa4]
call fcn.00402530
jmp 0x419a75
push 1
push 0
push 0x4b0ec8
lea ecx, [ebp - 0x48]
call fcn.0041ad00
mov edi, eax
cmp edi, 0xffffffff
jle 0x419a75
push edi
push 0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
call fcn.00408400
push 1
inc edi
push edi
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00408400
lea edi, [esi + 0xa4]
push edi
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.0041ac40
mov ebx, eax
mov ecx, edi
cmp ebx, 0xffffffff
jle 0x419a45
push ebx
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00408400
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402d10
mov eax, dword [esi + 0xb4]
mov ecx, dword [ebp - 0x54]
push eax
lea edx, [ecx + ebx + 2]
push edx
lea eax, [ebp - 0x80]
push eax
mov ecx, edi
call fcn.00408400
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00402530
push 0xffffffffffffffff
push 0
lea edx, [ebp - 0x80]
push edx
mov ecx, edi
call fcn.00402d10
lea ecx, [ebp - 0x80]
call fcn.004024d0
lea ecx, [ebp - 0x2c]
call fcn.004024d0
jmp 0x419a5e
push 0x4b0e3c
call fcn.00402500
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.00402d10
lea ecx, [ebp - 0x9c]
call fcn.004024d0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0
call fcn.004024d0
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x4b11d0
call edi
mov ebx, eax
mov dword [ebp - 0xa4], ebx
test ebx, ebx
jne 0x419a98
push 0x8007000e
call fcn.00401050
push str._eventName_:_updateStatus_
mov byte [ebp - 4], 5
call edi
mov edi, eax
mov dword [ebp - 0xa0], edi
test edi, edi
jne 0x419ab9
push 0x8007000e
call fcn.00401050
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 7
mov esi, dword [esi + 0x7c]
test esi, esi
je 0x419ae0
lea edx, [ebp - 0xc0]
push edx
push edi
push ebx
push esi
call fcn.004169f0
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
push ebx
call esi
lea ecx, [ebp - 0x48]
call fcn.004024d0
jmp case.0x41982c.10
xor edi, edi
cmp dword [esi + 0x40], edi
je 0x419b22
push edi
mov dword [esi + 0x40], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esi + 0x38]
push eax
push ecx
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [0x4e9ce4]
cmp eax, edi
je 0x419b38
push eax
call dword [sym.imp.USER32.dll_UnhookWinEvent]
mov dword [0x4e9ce4], edi
push edi
jmp 0x419c89
cmp dword [esi + 0x3c], 0
je 0x419905
push 1
call fcn.004401c0
mov eax, dword [esi + 0x7c]
add esp, 4
test eax, eax
je 0x419b70
mov eax, dword [eax + 4]
test eax, eax
je 0x419b70
push eax
call fcn.0045b0a0
add esp, 4
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [esi + 4]
push 0
push 0x190
push 0x103
push edx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.0x41982c.10
mov edi, esi
call fcn.00419580
jmp case.0x41982c.10
mov esi, 1
cmp dword [0x4cd610], esi
jne 0x419baf
call fcn.004034c0
add dword [0x4cd610], esi
mov dword [0x4cd614], esi
jmp case.0x41982c.10
mov esi, 1
cmp dword [0x4cd610], esi
jne 0x419bd2
call fcn.004034c0
add dword [0x4cd610], esi
mov dword [0x4cd614], 2
jmp case.0x41982c.10
mov esi, 1
cmp dword [0x4cd610], esi
jne 0x419bf9
call fcn.004034c0
add dword [0x4cd610], esi
mov dword [0x4cd614], 5
jmp case.0x41982c.10
mov esi, 1
cmp dword [0x4cd610], esi
jne 0x419c20
call fcn.004034c0
add dword [0x4cd610], esi
lea eax, [ebp - 0x2c]
push str.speedvalue
push eax
call fcn.00466ff0
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp dword [ebp - 0x18], 8
jae 0x419c3d
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll__wtof]
fnstcw word [ebp - 0x9e]
movzx eax, word [ebp - 0x9e]
or eax, 0xc00
mov dword [ebp - 0xa4], eax
add esp, 4
fldcw word [ebp - 0xa4]
fistp qword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa8]
mov dword [0x4cd614], ecx
lea ecx, [ebp - 0x2c]
fldcw word [ebp - 0x9e]
call fcn.004024d0
jmp case.0x41982c.10
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00497792
mov esp, ebp
pop ebp
ret