Function at 0x100013c0
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 + 0x90]
lea ecx, [esp + 0x178]
mov edx, esp
lea esi, [esp + 0x90]
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 + 0x78]
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 + 0x140]
lea esi, [esp + 0x158]
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ecx
jmp 0x10001523
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 + 0x44], eax
jmp 0x100016ad
mov eax, dword [esp + 0x40]
add eax, 1
cmp eax, 0x208
mov dword [esp + 0x3c], eax
je 0x10001667
jmp 0x100015e1
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 + 0x38], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], edx
call sub.msvcrt.dll_memset
mov eax, esp
lea ecx, [esp + 0x158]
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
call eax
sub esp, 4
mov eax, 0x58a390
mov dword [esp + 0x8c], eax
mov eax, esp
lea ecx, [esp + 0x8c]
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 + 0x184], 0x5e6
mov dword [esp + 0x188], 0x4d3
mov ecx, esp
lea edx, [esp + 0x188]
mov dword [ecx + 8], edx
lea edx, [esp + 0x184]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov dword [esp + 0x2c], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x3c]
mov ecx, 0xd
mov dword [esp + 0x40], eax
xor edx, edx
div ecx
cmp edx, 2
jne 0x10001506
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 + 0x17c], 0
mov dword [esp + 0x178], 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 + 0x24], eax
jmp 0x10001506
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 + 0x38]
sub ecx, 0x35
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
je 0x100014dd
jmp 0x1000169e
mov eax, dword [esp + 0x38]
sub eax, 6
mov dword [esp + 0x18], eax
jne 0x100016d8
jmp 0x100016ad
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 + 0x38]
add eax, 1
cmp eax, 0xf5
mov dword [esp + 0x48], eax
jne 0x10001523
lea esp, [ebp - 4]
pop esi
pop ebp
ret