Function at 0x477e10
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
mov eax, dword [0x4f91bc]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
mov byte [esp + 0xf], cl
call fcn.0046dec0
mov dl, byte [0x4f9b62]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test dl, dl
je 0x477e54
push 0x4fe3f0
call esi
mov dl, byte [0x4f9b62]
mov al, byte [esp + 0xf]
mov byte [edi + 0x2ca], al
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test dl, dl
je 0x477e73
push 0x4fe3f0
call edi
mov al, byte [esp + 0xf]
test al, al
je 0x47805b
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov edx, eax
mov dword [esp + 8], edx
test cl, cl
je 0x477ea1
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x2cc]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x2d0]
mov dword [esp + 0x1c], eax
test cl, cl
je 0x477ec0
push 0x4fe3f0
call edi
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov edx, eax
mov dword [esp + 8], edx
test cl, cl
je 0x477ee6
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x2d4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x2d8]
mov dword [esp + 0x14], eax
test cl, cl
je 0x477f05
push 0x4fe3f0
call edi
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov dword [esp + 8], eax
test cl, cl
je 0x477f29
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov eax, dword [esp + 8]
movups xmm0, xmmword [eax + 0x2dc]
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [eax + 0x2ec]
movq qword [esp + 0x30], xmm0
test cl, cl
je 0x477f4e
push 0x4fe3f0
call edi
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [esp + 0x18]
push 0
push eax
push 8
push 0x3b
call esi
push 0
lea eax, [esp + 0x14]
push eax
push 8
push 0x35
call esi
push 0
lea eax, [esp + 0x24]
push eax
push 0x18
push 0x33
call esi
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov esi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 8], eax
test cl, cl
je 0x477fa5
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 8], eax
test cl, cl
je 0x477fbe
push 0x4fe3f0
call edi
mov eax, dword [esp + 8]
test eax, eax
je 0x478212
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov dword [esp + 8], eax
test cl, cl
je 0x477fea
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 8], eax
test cl, cl
je 0x478003
push 0x4fe3f0
call edi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov dword [esp + 8], eax
test cl, cl
je 0x47802e
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov eax, dword [esp + 8]
mov dword [eax + 0x2c4], 0
test cl, cl
je 0x478212
push 0x4fe3f0
call edi
pop edi
pop esi
mov ecx, dword [esp + 0x154]
xor ecx, esp
call fcn.00482854
mov esp, ebp
pop ebp
ret
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov dword [esp + 8], eax
test cl, cl
je 0x47807f
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x2c4]
mov dword [esp + 8], eax
test cl, cl
je 0x478098
push 0x4fe3f0
call edi
mov eax, dword [esp + 8]
test eax, eax
jne 0x4780e2
lea eax, [esp + 0x40]
mov dword [esp + 0x40], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x50], 2
jne 0x4780e2
cmp dword [esp + 0x44], 4
jbe 0x4780e2
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x477d60
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
push eax
call fcn.0046dec0
mov ecx, eax
call fcn.0046d0f0
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov edx, eax
mov dword [esp + 8], edx
test cl, cl
je 0x478108
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x2cc]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0x2d0]
mov dword [esp + 0x14], eax
test cl, cl
je 0x47812b
push 0x4fe3f0
call edi
mov eax, dword [esp + 0x14]
test al, 1
jne 0x478147
and eax, 0xfffffff3
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
push 8
push 0x3b
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov edx, eax
mov dword [esp + 8], edx
test cl, cl
je 0x47816d
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov edx, dword [esp + 8]
mov eax, dword [edx + 0x2d4]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x2d8]
mov dword [esp + 0x1c], eax
test cl, cl
je 0x478190
push 0x4fe3f0
call edi
mov eax, dword [esp + 0x1c]
test al, 1
jne 0x4781ac
and eax, 0xfffffff3
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 8
push 0x35
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
call fcn.0046dec0
mov cl, byte [0x4f9b62]
mov dword [esp + 8], eax
test cl, cl
je 0x4781d0
push 0x4fe3f0
call esi
mov cl, byte [0x4f9b62]
mov eax, dword [esp + 8]
movups xmm0, xmmword [eax + 0x2dc]
movups xmmword [esp + 0x20], xmm0
movq xmm0, qword [eax + 0x2ec]
movq qword [esp + 0x30], xmm0
test cl, cl
je 0x4781f5
push 0x4fe3f0
call edi
test byte [esp + 0x24], 1
jne 0x478212
and dword [esp + 0x24], 0xfffffff3
lea eax, [esp + 0x20]
push 0
push eax
push 0x18
push 0x33
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.00482854
mov esp, ebp
pop ebp
ret