Function at 0x40c3b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f6d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push esi
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::constructor_void_
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::constructor_void_
mov byte [ebp - 4], 1
mov eax, dword [ebp + 0xc]
imul eax, eax, 6
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40c447
mov dword [ebp - 0x228], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::destructor_void_
mov eax, dword [ebp - 0x228]
jmp 0x40c62c
mov dword [ebp - 0x1c], 0
jmp 0x40c459
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp + 0xc]
jge 0x40c602
push 0x206
push 0
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x206
lea ecx, [ebp - 0x224]
push ecx
push 0x4165b4
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 8]
push ecx
mov edx, dword [ebp - 0x1c]
imul edx, edx, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 4]
push ecx
mov ecx, dword [ebp - 0x238]
call sym.OpenScanf.exe_public:_unsigned_long_int___thiscall_CResIniForSDK::IniReadString_char_const___char_const___char_const___char___unsigned_long_int_
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_class_CMyString_const____thiscall_CMyString::operator_char_const__
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_int___thiscall_CMyString::IsEmpty_void_
cmp eax, 1
jne 0x40c4d4
jmp 0x40c450
push 0x41639c
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_class_CMyString___thiscall_CMyString::SpanExcluding_char_const__
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x240]
push edx
lea ecx, [ebp - 0x10]
call sym.OpenScanf.exe_public:_class_CMyString_const____thiscall_CMyString::operator_class_CMyString_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::destructor_void_
lea ecx, [ebp - 0x10]
call sym.OpenScanf.exe_public:_int___thiscall_CMyString::IsEmpty_void_
cmp eax, 1
jne 0x40c52e
jmp 0x40c450
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_int___thiscall_CMyString::GetLength_void_
mov esi, eax
lea ecx, [ebp - 0x10]
call sym.OpenScanf.exe_public:_int___thiscall_CMyString::GetLength_void_
sub esi, eax
sub esi, 1
push esi
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_class_CMyString___thiscall_CMyString::Right_int_
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x248]
push edx
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_class_CMyString_const____thiscall_CMyString::operator_class_CMyString_const__
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::destructor_void_
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_int___thiscall_CMyString::IsEmpty_void_
cmp eax, 1
jne 0x40c59b
jmp 0x40c450
mov eax, dword [ebp - 0x1c]
imul eax, eax, 0xc
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
mov ax, word [esi + eax]
mov word [edx + ecx + 4], ax
lea ecx, [ebp - 0x10]
call sym.OpenScanf.exe_public:_char_const____thiscall_CMyString::operator_char_const__void_const
push eax
mov ecx, dword [ebp - 0x238]
call sym.OpenScanf.exe_private:_unsigned_char___thiscall_CResIniForSDK::GetSpecialKey_char_const__
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x14]
mov byte [edx + ecx], al
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::MakeLower_void_
push 0
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_char___thiscall_CMyString::GetAt_int_const
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [ebp - 0x1c]
imul ecx, ecx, 6
mov edx, dword [ebp - 0x14]
mov word [edx + ecx + 2], ax
jmp 0x40c450
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::destructor_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sym.OpenScanf.exe_public:_void___thiscall_CMyString::destructor_void_
mov eax, dword [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8