Function at 0x4bfcc0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x58b661
mov eax, dword fs:[0]
push eax
sub esp, 0x17c
mov eax, dword [0x603320]
xor eax, esp
mov dword [esp + 0x174], eax
push esi
push edi
mov eax, dword [0x603320]
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 0x4bff11
cmp eax, 0x104
je 0x4bff11
cmp eax, 0x101
je 0x4bfed8
cmp eax, 0x105
je 0x4bfed8
cmp eax, 0x204
jne 0x4bfd71
mov edi, 2
jmp 0x4bfe33
cmp eax, 0x205
jne 0x4bfd85
mov dword [esp + 0x18], 2
jmp 0x4bfe33
cmp eax, 0x207
jne 0x4bfd96
mov edi, 4
jmp 0x4bfe33
cmp eax, 0x208
jne 0x4bfdaa
mov dword [esp + 0x18], 4
jmp 0x4bfe33
cmp eax, 0x20b
jne 0x4bfdde
xor edi, edi
test cl, 0x20
je 0x4bfdc8
mov edi, 5
mov dword [esp + 0x14], edi
mov eax, edi
jmp 0x4bff39
test cl, 0x40
mov eax, 6
cmovne edi, eax
mov dword [esp + 0x14], edi
mov eax, edi
jmp 0x4bff39
cmp eax, 0x20c
jne 0x4bfea3
movzx eax, word [esi + 0x7c4]
mov dword [esp + 0x18], edi
cmp eax, 5
je 0x4bfe1f
cmp word [esi + 0x7c6], 5
mov edx, dword [ebp + 0x10]
je 0x4bfe1f
cmp eax, 6
je 0x4bfe15
cmp word [esi + 0x7c6], 6
jne 0x4bfe27
mov dword [esp + 0x18], 6
jmp 0x4bfe27
mov dword [esp + 0x18], 5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4c00d8
call fcn.004ae020
cmp eax, dword [esi + 0x630]
jne 0x4bff52
cmp dx, word [esi + 0x634]
jne 0x4bff52
mov eax, dword [ebp + 8]
cmp eax, 0x100
je 0x4bfe66
cmp eax, 0x104
jne 0x4bff52
cmp dword [esp + 0x24], 0
jne 0x4bff52
mov eax, dword [esi + 0x628]
cmp eax, 2
je 0x4bfe85
cmp eax, 1
jne 0x4bff52
lea ecx, [esi - 0x24]
call fcn.004c6250
push 1
lea ecx, [esi - 0x24]
call fcn.00537e40
mov ecx, dword [esp + 0x28]
mov byte [ecx], 1
jmp 0x4c00dc
cmp eax, 0x20a
jne 0x4c00d8
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 0x4bff32
push 0
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
test eax, eax
jne 0x4bff00
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 0x4bfe2b
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x4bfe2b
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push ecx
call edi
test eax, eax
jne 0x4bff2d
push 1
push dword [esp + 0x18]
call edi
mov ecx, dword [ebp + 0xc]
jmp 0x4bff32
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 0x4bfe2b
mov ecx, dword [esp + 0x28]
mov byte [ecx], 0
jmp 0x4c00dc
mov eax, dword [esi + 0x7c4]
mov ecx, eax
shr ecx, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x1f], 0
cmp ecx, 0x9b
je 0x4bff7d
cmp ecx, 0x9a
je 0x4bff7d
mov dx, word [esp + 0x16]
jmp 0x4bff89
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 0x4bffab
cmp dword [esp + 0x24], 0x9a
jne 0x4bffbf
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 0x4c0001
movzx ecx, cx
cmp ecx, edi
je 0x4c0001
movzx ecx, dx
cmp ecx, edi
mov cx, word [esp + 0x14]
je 0x4c0006
test cx, cx
jne 0x4bffe5
mov cx, di
mov word [esp + 0x14], cx
jmp 0x4c0006
test dx, dx
jne 0x4bfff4
mov dx, di
mov word [esp + 0x16], dx
jmp 0x4c0006
mov word [esp + 0x14], dx
mov dx, di
mov word [esp + 0x16], dx
mov cx, word [esp + 0x14]
cmp cx, dx
jne 0x4c0012
xor edx, edx
mov word [esp + 0x16], dx
cmp dword [esp + 0x18], 0
je 0x4c003e
movzx ecx, cx
cmp ecx, dword [esp + 0x18]
jne 0x4c0029
mov word [esp + 0x14], dx
jmp 0x4c0032
movzx ecx, dx
cmp ecx, dword [esp + 0x18]
jne 0x4c0039
xor edx, edx
mov word [esp + 0x16], dx
mov cx, word [esp + 0x14]
cmp word [esi + 0x7c4], cx
jne 0x4c0050
cmp word [esi + 0x7c6], dx
je 0x4c00aa
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.004bf9e0
mov ecx, dword [esp + 0x20]
sub esp, 0x18
mov eax, dword [esp + 0x2c]
mov edx, esp
mov dword [ecx + 0x7c4], 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.004bf9e0
mov esi, dword [esp + 0x20]
cmp dword [esi + 0x628], 2
jne 0x4c00c8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x7fc]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [esp + 0x1f], 0
mov ecx, dword [esp + 0x28]
sete al
mov byte [ecx], al
jmp 0x4c00dc
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
cmp eax, 0x201
jne 0x4c039e
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.005309e0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c0391
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.004c7070
mov esi, dword [esp + 0x24]
mov eax, dword [0x61f2f8]
cmp esi, eax
je 0x4c02af
cmp dword [esi + 0xb0], 0
je 0x4c02a7
mov ecx, dword [esp + 0x20]
cmp dword [ecx + 0x7b0], 0
jne 0x4c02a7
lea eax, [esi + 0xa0]
push eax
lea ecx, [esp + 0x58]
call fcn.004c6f30
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 0x4c01cf
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x7a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
sub esp, 0x10
mov ecx, esp
push eax
call fcn.0052d2a0
mov ecx, dword [esp + 0x34]
call fcn.004b6c00
mov edx, eax
mov dword [esp + 0x18], eax
jmp 0x4c01d5
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 + 0x7a0]
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.0052d2d0
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.0053b4c0
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.004c03f0
mov ecx, dword [esp + 0x18]
push eax
mov byte [esp + 0x194], 5
lea ecx, [ecx + 0x1818]
call fcn.004c7af0
lea ecx, [esp + 0x34]
call fcn.004aaa80
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x190], 2
mov dword [eax + 0x7b0], ecx
lea ecx, [esp + 0x54]
call fcn.0040d250
mov eax, dword [0x61f2f8]
cmp esi, eax
jne 0x4c037a
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x628]
cmp eax, 1
je 0x4c02c7
cmp eax, 2
jne 0x4c037a
mov eax, dword [esi + 0x7b4]
test eax, eax
je 0x4c02e4
cmp dword [esp + 0x14], eax
je 0x4c02e4
lea ecx, [esi - 0x24]
call fcn.004c2a70
jmp 0x4c037a
push 0
push str.noticelabel
lea ecx, [esp + 0xfc]
call fcn.0052da60
test eax, eax
jne 0x4c037a
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0xcc]
call eax
push eax
lea ecx, [esp + 0x70]
call fcn.0052d3b0
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.0052ded0
test al, al
jne 0x4c0369
sub esp, 0x10
lea eax, [esp + 0x44]
mov ecx, esp
push eax
call fcn.0052d2a0
sub esp, 0x84
lea eax, [esp + 0x100]
mov ecx, esp
push eax
call fcn.0052d3b0
lea ecx, [esi - 0x24]
call fcn.004c2730
lea ecx, [esp + 0x6c]
mov byte [esp + 0x190], 2
call fcn.0052d4d0
lea ecx, [esp + 0xf4]
mov dword [esp + 0x190], 0xffffffff
call fcn.0052d4d0
mov eax, dword [ebp + 8]
cmp edi, 0x1b
jne 0x4c03aa
lea eax, [edi - 0x1a]
jmp 0x4c03be
cmp eax, 0x20a
jne 0x4c0394
mov byte [ecx], 0
jmp 0x4c0394
push dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
call fcn.0052c740
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.00576f50
mov esp, ebp
pop ebp
ret 0x10