Function at 0x4fb430
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x60c6a1
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x6af320]
xor eax, esp
mov dword [esp + 0x174], eax
push esi
push edi
mov eax, dword [0x6af320]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
mov eax, dword [ebp + 0x14]
xor edi, edi
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
mov eax, edx
and eax, 0x40000000
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], eax
mov eax, edx
sar eax, 0x10
and eax, 0xfff
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
cmp eax, 0x100
je 0x4fb681
cmp eax, 0x104
je 0x4fb681
cmp eax, 0x101
je 0x4fb648
cmp eax, 0x105
je 0x4fb648
cmp eax, 0x204
jne 0x4fb4e1
mov edi, 2
jmp 0x4fb5a3
cmp eax, 0x205
jne 0x4fb4f5
mov dword [esp + 0x18], 2
jmp 0x4fb5a3
cmp eax, 0x207
jne 0x4fb506
mov edi, 4
jmp 0x4fb5a3
cmp eax, 0x208
jne 0x4fb51a
mov dword [esp + 0x18], 4
jmp 0x4fb5a3
cmp eax, 0x20b
jne 0x4fb54e
xor edi, edi
test cl, 0x20
je 0x4fb538
mov edi, 5
mov dword [esp + 0x14], edi
mov eax, edi
jmp 0x4fb6a9
test cl, 0x40
mov eax, 6
cmovne edi, eax
mov dword [esp + 0x14], edi
mov eax, edi
jmp 0x4fb6a9
cmp eax, 0x20c
jne 0x4fb613
movzx eax, word [esi + 0x7f4]
mov dword [esp + 0x18], edi
cmp eax, 5
je 0x4fb58f
cmp word [esi + 0x7f6], 5
mov edx, dword [ebp + 0x10]
je 0x4fb58f
cmp eax, 6
je 0x4fb585
cmp word [esi + 0x7f6], 6
jne 0x4fb597
mov dword [esp + 0x18], 6
jmp 0x4fb597
mov dword [esp + 0x18], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4fb848
call fcn.004e4f50
cmp eax, dword [esi + 0x630]
jne 0x4fb6c2
cmp dx, word [esi + 0x634]
jne 0x4fb6c2
mov eax, dword [ebp + 8]
cmp eax, 0x100
je 0x4fb5d6
cmp eax, 0x104
jne 0x4fb6c2
cmp dword [esp + 0x24], 0
jne 0x4fb6c2
mov eax, dword [esi + 0x628]
cmp eax, 2
je 0x4fb5f5
cmp eax, 1
jne 0x4fb6c2
lea ecx, [esi - 0x24]
call fcn.00501780
push 1
lea ecx, [esi - 0x24]
call fcn.005b1bf0
mov ecx, dword [esp + 0x28]
mov byte [ecx], 1
jmp 0x4fb84c
cmp eax, 0x20a
jne 0x4fb848
mov eax, ecx
shr eax, 0x10
movsx ecx, ax
mov eax, 0x88888889
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0xc]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov eax, edi
setns al
add eax, 0x9a
jmp 0x4fb6a2
push 0
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x4fb670
push 1
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x4fb59b
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x4fb59b
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push ecx
call edi
test eax, eax
jne 0x4fb69d
push 1
push dword [esp + 0x18]
call edi
mov ecx, dword [ebp + 0xc]
jmp 0x4fb6a2
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov edi, dword [esp + 0x14]
cmp eax, 0x5d
jne 0x4fb59b
mov ecx, dword [esp + 0x28]
mov byte [ecx], 0
jmp 0x4fb84c
mov eax, dword [esi + 0x7f4]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1f], 0
cmp ecx, 0x9b
je 0x4fb6ed
cmp ecx, 0x9a
je 0x4fb6ed
mov dx, word [esp + 0x16]
jmp 0x4fb6f9
xor edx, edx
mov byte [esp + 0x1f], 1
mov word [esp + 0x16], dx
mov cx, word [esp + 0x14]
movzx esi, cx
mov dword [esp + 0x24], esi
cmp esi, 0x9b
mov esi, dword [esp + 0x20]
je 0x4fb71b
cmp dword [esp + 0x24], 0x9a
jne 0x4fb72f
mov cx, dx
mov byte [esp + 0x1f], 1
xor edx, edx
mov word [esp + 0x14], cx
mov word [esp + 0x16], dx
test edi, edi
je 0x4fb771
movzx ecx, cx
cmp ecx, edi
je 0x4fb771
movzx ecx, dx
cmp ecx, edi
mov cx, word [esp + 0x14]
je 0x4fb776
test cx, cx
jne 0x4fb755
mov cx, di
mov word [esp + 0x14], cx
jmp 0x4fb776
test dx, dx
jne 0x4fb764
mov dx, di
mov word [esp + 0x16], dx
jmp 0x4fb776
mov word [esp + 0x14], dx
mov dx, di
mov word [esp + 0x16], dx
mov cx, word [esp + 0x14]
cmp cx, dx
jne 0x4fb782
xor edx, edx
mov word [esp + 0x16], dx
cmp dword [esp + 0x18], 0
je 0x4fb7ae
movzx ecx, cx
cmp ecx, dword [esp + 0x18]
jne 0x4fb799
mov word [esp + 0x14], dx
jmp 0x4fb7a2
movzx ecx, dx
cmp ecx, dword [esp + 0x18]
jne 0x4fb7a9
xor edx, edx
mov word [esp + 0x16], dx
mov cx, word [esp + 0x14]
cmp word [esi + 0x7f4], cx
jne 0x4fb7c0
cmp word [esi + 0x7f6], dx
je 0x4fb81a
sub esp, 0x18
mov ecx, esp
mov dword [ecx], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_7a59145a947dd1be69abb080cb416928___0___class_std::allocator_class_std::_Func_class_void__class_view::CKeyboardMappingUI_____void__class_view::CKeyboardMappingUI__.0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], ecx
lea ecx, [esi - 0x24]
mov dword [esp + 0x1a8], 0xffffffff
call fcn.004fb150
mov ecx, dword [esp + 0x20]
sub esp, 0x18
mov eax, dword [esp + 0x2c]
mov edx, esp
mov dword [ecx + 0x7f4], eax
mov dword [edx], vtable.std::_Func_impl_struct_std::_Callable_obj_class__lambda_9838e1fdfd29cfa35bf799132c2fd1c0___0___class_std::allocator_class_std::_Func_class_void__class_view::CKeyboardMappingUI_____void__class_view::CKeyboardMappingUI__.0
lea ecx, [esi - 0x24]
mov dword [edx + 4], eax
mov dword [edx + 0x10], edx
mov dword [esp + 0x1a8], 0xffffffff
call fcn.004fb150
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x628], 2
jne 0x4fb838
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x82c]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [esp + 0x1f], 0
mov ecx, dword [esp + 0x28]
sete al
mov byte [ecx], al
jmp 0x4fb84c
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
cmp eax, 0x201
jne 0x4fbb0e
mov eax, dword [ebp + 0x10]
movzx ecx, ax
shr eax, 0x10
push eax
mov dword [esp + 0x30], ecx
push ecx
lea ecx, [esi + 8]
mov dword [esp + 0x38], eax
call fcn.005aa3f0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4fbb01
mov edx, dword [eax]
lea ecx, [esp + 0xf4]
push ecx
mov ecx, eax
call dword [edx + 8]
lea eax, [esp + 0xf4]
mov dword [esp + 0x190], 2
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00502620
mov esi, dword [esp + 0x24]
mov eax, dword [0x6d59d4]
cmp esi, eax
je 0x4fba1f
cmp dword [esi + 0xb0], 0
je 0x4fba17
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x7e0], 0
jne 0x4fba17
lea eax, [esi + 0xa0]
push eax
lea ecx, [esp + 0x58]
call fcn.004447a0
push 0x18a0
mov byte [esp + 0x194], 3
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x24], eax
mov byte [esp + 0x190], 4
test eax, eax
je 0x4fb93f
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7d4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
sub esp, 0x10
mov ecx, esp
push eax
call fcn.005a6c40
mov ecx, dword [esp + 0x34]
call fcn.004f23b0
mov edx, eax
mov dword [esp + 0x18], eax
jmp 0x4fb945
xor edx, edx
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x20]
mov byte [esp + 0x190], 3
push edx
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x7d0]
mov eax, dword [ecx + 0x760]
add ecx, 0x760
call dword [eax + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 0x14]
push eax
lea eax, [edx + 0x14]
push eax
lea eax, [ecx - 0x14]
push eax
lea eax, [edx - 0x14]
push eax
lea ecx, [esp + 0x44]
call fcn.005a6c70
mov ecx, dword [esp + 0x18]
push 1
sub esp, 0x10
movdqu xmm0, xmmword [eax]
mov edx, dword [ecx]
mov ecx, esp
movdqu xmmword [ecx], xmm0
mov ecx, dword [esp + 0x2c]
call dword [edx + 0x4c]
push dword [esi + 0x9c]
mov ecx, dword [esp + 0x1c]
call fcn.005b55e0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
add eax, 0xffffffdc
push eax
call fcn.004fbb60
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x194], 5
lea ecx, [ecx + 0x1818]
call fcn.00502f90
lea ecx, [esp + 0x34]
call fcn.00460c50
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x190], 2
mov dword [eax + 0x7e0], ecx
lea ecx, [esp + 0x54]
call fcn.00413010
mov eax, dword [0x6d59d4]
cmp esi, eax
jne 0x4fbaea
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x628]
cmp eax, 1
je 0x4fba37
cmp eax, 2
jne 0x4fbaea
mov eax, dword [esi + 0x7e4]
test eax, eax
je 0x4fba54
cmp dword [esp + 0x14], eax
je 0x4fba54
lea ecx, [esi - 0x24]
call fcn.004fe1a0
jmp 0x4fbaea
push 0
push str.noticelabel
lea ecx, [esp + 0xfc]
call fcn.005a7470
test eax, eax
jne 0x4fbaea
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xcc]
call eax
push eax
lea ecx, [esp + 0x70]
call fcn.005a6dc0
mov byte [esp + 0x190], 6
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
lea ecx, [esp + 0x6c]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esp + 0x34], xmm0
call fcn.005a78d0
test al, al
jne 0x4fbad9
sub esp, 0x10
lea eax, [esp + 0x44]
mov ecx, esp
push eax
call fcn.005a6c40
sub esp, 0x84
lea eax, [esp + 0x100]
mov ecx, esp
push eax
call fcn.005a6dc0
lea ecx, [esi - 0x24]
call fcn.004fde60
lea ecx, [esp + 0x6c]
mov byte [esp + 0x190], 2
call fcn.005a6ee0
lea ecx, [esp + 0xf4]
mov dword [esp + 0x190], 0xffffffff
call fcn.005a6ee0
mov eax, dword [ebp + 8]
cmp edi, 0x1b
jne 0x4fbb1a
lea eax, [edi - 0x1a]
jmp 0x4fbb2e
cmp eax, 0x20a
jne 0x4fbb04
mov byte [ecx], 0
jmp 0x4fbb04
push dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.005a6160
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.005f24e0
mov esp, ebp
pop ebp
ret 0x10