Function at 0x10001f00
Capabilities:
Log keystrokes
Read .ini file

Disassembly:
sub esp, 0x41c
mov eax, dword [0x10010024]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x424]
push ebx
push ebp
mov ebp, dword [esp + 0x428]
mov ebx, ecx
push edi
mov dword [esp + 0x18], ebx
mov edi, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
test ebp, ebp
je 0x10002181
test ebx, ebx
je 0x10002181
test eax, eax
je 0x10002181
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ebp
push 0
push str.Key_Count
push ebx
call esi
mov dword [esp + 0x14], eax
cmp eax, 0x100
jbe 0x10001f72
xor eax, eax
jmp 0x10001f81
test edi, edi
jne 0x10001f9a
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, 1
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.10003329
add esp, 0x41c
ret
push ebp
push 0
push str.Translate_Virtual_Key_Code_To_Scancode
push ebx
call esi
push ebp
push 0
push str.Translate_Scancode_To_Virtual_Key_Code
push ebx
mov dword [esp + 0x30], eax
call esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov eax, dword [edx]
cmp eax, dword [esp + 0x14]
jae 0x10001fc8
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp dword [esp + 0x14], ebx
jbe 0x10002176
lea esi, [edi + 4]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ecx]
push ebx
lea eax, [esp + 0x22c]
push str.Key__d
push eax
call edi
mov eax, dword [esp + 0x28]
add esp, 0xc
push ebp
push 0x100
lea ecx, [esp + 0x30]
push ecx
push 0x1000dee8
lea edx, [esp + 0x238]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10002176
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x10002176
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x2c]
push 0x1000deec
push eax
call fcn.10003a7b
add esp, 0xc
test eax, eax
je 0x10002176
push 0x10
push 0
push eax
call fcn.10003738
neg eax
lea ecx, [esp + 0x1c]
push ecx
sbb eax, eax
neg eax
push 0x1000deec
push 0
mov dword [esi - 4], eax
call fcn.10003a7b
add esp, 0x18
test eax, eax
je 0x10002176
push 0x10
push 0
push eax
call fcn.10003738
lea edx, [esp + 0x1c]
push edx
push 0x1000deec
push 0
mov dword [esi], eax
call fcn.10003a7b
add esp, 0x18
test eax, eax
je 0x10002176
push 0x10
push 0
push eax
call fcn.10003738
mov ecx, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
test ecx, ecx
jne 0x100020c5
test eax, eax
je 0x10002176
cmp dword [esp + 0x24], 0
je 0x100020db
test ecx, ecx
jne 0x100020db
push 1
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi], eax
cmp dword [esp + 0x20], 0
je 0x100020f6
cmp dword [esi + 4], 0
jne 0x100020f6
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [esi + 4], eax
lea ecx, [esp + 0x10]
push ecx
push 0x1000deec
push 0
call fcn.10003a7b
add esp, 0xc
test eax, eax
je 0x10002176
push 0x10
push 0
push eax
call fcn.10003738
lea edx, [esp + 0x1c]
push edx
push 0x1000deec
push 0
mov dword [esi + 8], eax
call fcn.10003a7b
add esp, 0x18
test eax, eax
je 0x10002176
push 0x10
push 0
push eax
call fcn.10003738
mov dword [esi + 0xc], eax
lea eax, [esp + 0x1c]
push eax
push 0x1000deec
push 0
call fcn.10003a7b
add esp, 0x18
test eax, eax
je 0x10002176
push 0x10
push 0
push eax
call fcn.10003738
mov dword [esi + 0x10], eax
inc ebx
add esp, 0xc
add esi, 0x18
cmp ebx, dword [esp + 0x14]
jb 0x10001fe0
mov ecx, dword [esp + 0x18]
mov dword [ecx], ebx
jmp 0x10001f7c
mov ecx, dword [esp + 0x424]
pop edi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.10003329
add esp, 0x41c
ret