Function at 0x1000137d
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 + 0xa8]
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 + 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 + 0x90]
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 0x10001558
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 + 0xac], 0
mov dword [esp + 0xa8], 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 + 0x44], eax
jmp 0x1000161b
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 + 0x42], ax
call ecx
sub esp, 8
mov word [esp + 0x40], ax
jmp 0x100016a2
mov eax, dword [esp + 0x3c]
mov ecx, 0xd
mov dword [esp + 0x38], eax
xor edx, edx
div ecx
cmp edx, 2
je 0x1000149d
jmp 0x1000161b
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 + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], 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 + 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 + 0xb4], 0x5e6
mov dword [esp + 0xb0], 0x4d3
mov ecx, esp
lea edx, [esp + 0xb0]
mov dword [ecx + 8], edx
lea edx, [esp + 0xb4]
mov dword [ecx + 4], edx
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov dword [esp + 0x28], eax
call ecx
sub esp, 0xc
xor ecx, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], ecx
jmp 0x10001536
mov eax, dword [esp + 0x38]
add eax, 1
cmp eax, 0x208
mov dword [esp + 0x3c], eax
jne 0x10001536
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 + 0x34]
sub ecx, 6
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
je 0x10001506
jmp 0x1000166a
mov eax, dword [esp + 0x34]
sub eax, 0x35
mov dword [esp + 0x18], eax
jne 0x100016a2
jmp 0x10001679
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 + 0x14], eax
jmp 0x10001506
mov eax, dword [esp + 0x34]
add eax, 1
cmp eax, 0xf5
mov dword [esp + 0x48], eax
jne 0x10001558
lea esp, [ebp - 4]
pop esi
pop ebp
ret