Function at 0x4775b0
Capabilities:
Create directory
Delete file
Enumerate files on windows
Get common file path
Log keystrokes via polling
Set current directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5fc
mov eax, dword [0x4cdbf8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x12c
mov dword [ebp - 0x5f8], eax
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.00481c10
mov esi, dword [ebp + 0xc]
add esp, 0xc
movzx eax, word [edi + 0x1c]
movzx ebx, word [esi]
cmp ebx, eax
jne 0x4776b9
cmp dword [edi + 0x6c], 1
je 0x477b1c
test byte [esi + 8], 1
je 0x47783b
test byte [esi + 0x10], 1
je 0x477b1c
push 0x150
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x477a9c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
test edx, edx
je 0x477684
mov dword [edx], 1
mov dword [edx + 4], 0x44
mov dword [edx + 0x44], 0
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 1]
mov dword [ebp - 0x5fc], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x477660
sub ecx, dword [ebp - 0x5fc]
lea eax, [edx + 0x4c]
mov dword [edx + 0x48], ecx
mov dword [edx + 0x28], 0x80
push dword [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x5f8]
mov dword [eax + 4], esi
mov dword [eax], 1
mov dword [eax + 8], 0
xor eax, eax
mov dword [edi + 0x6c], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc
movzx eax, word [edi + 0x30]
cmp ebx, eax
jne 0x477759
cmp dword [edi + 0x6c], 1
je 0x477b1c
test byte [esi + 8], 1
je 0x47783b
test byte [esi + 0x10], 1
je 0x477b1c
mov ecx, dword [edi + 0xc]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4776f0
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x477a9c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x477724
push dword [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x5f8]
mov dword [eax + 4], esi
mov dword [eax], 1
mov dword [eax + 8], 0
xor eax, eax
mov dword [edi + 0x6c], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 1
jne 0x4777fd
cmp byte [edi + 0x10], 0
jne 0x477b1c
cmp dword [esi + 0xc], 0xffffffff
jne 0x47781d
test byte [esi + 8], bl
je 0x47783b
test byte [esi + 0x10], bl
je 0x477b1c
mov ecx, dword [edi + 0xc]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x477790
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x477a9c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4777c4
push dword [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x5f8]
mov dword [eax + 4], esi
mov dword [eax], 1
mov dword [eax + 8], 0
xor eax, eax
mov dword [edi + 0x6c], 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc
cmp ebx, 0xf
jne 0x477b18
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x477b1c
cmp dword [esi + 0xc], 0xffffffff
je 0x477835
pop edi
pop esi
mov eax, 0x80040068
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc
test byte [esi + 8], 1
jne 0x477853
pop edi
pop esi
mov eax, 0x8004006b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc
test byte [esi + 0x10], 1
je 0x477b1c
mov esi, dword [edi + 8]
lea eax, [ebp - 0x25c]
push eax
push 0x12c
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esi + 1]
push 0x5c
push eax
call fcn.004811b0
mov ebx, eax
add esp, 8
mov ecx, 0x5c5c
test ebx, ebx
je 0x4778fc
nop dword [eax + eax]
mov byte [ebx], 0
cmp word [esi], cx
jne 0x4778aa
lea eax, [esi + 2]
push 0x5c
push eax
call fcn.004811b0
add esp, 8
test eax, eax
je 0x4778e0
cmp byte [esi], 0
je 0x4778d3
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x4778d3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x4778d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x47793c
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebx + 1]
mov byte [ebx], 0x5c
push 0x5c
push eax
call fcn.004811b0
mov ebx, eax
add esp, 8
mov ecx, 0x5c5c
test ebx, ebx
jne 0x477890
cmp word [esi], cx
jne 0x477913
lea eax, [esi + 2]
push 0x5c
push eax
call fcn.004811b0
add esp, 8
test eax, eax
je 0x47795b
cmp byte [esi], 0
je 0x47794e
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
jne 0x47794e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x47794e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x47794e
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
jmp 0x477b1c
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push dword [edi + 8]
lea eax, [ebp - 0x130]
push 0x4a1144
push 0x12c
push eax
call fcn.00477f50
push 0
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x4b4]
push eax
call fcn.00477b70
lea edx, [ebp - 0x25c]
add esp, 0x1c
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x477994
lea eax, [ebp - 0x5f4]
push eax
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x477a0f
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test byte [ebp - 0x5f4], 0x10
jne 0x4779fa
lea eax, [ebp - 0x5c8]
push eax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x388]
push 0x4b2b58
push eax
call fcn.00401045
add esp, 0x10
lea eax, [ebp - 0x388]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x5f4]
push eax
push esi
call ebx
test eax, eax
jne 0x4779c2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [edi + 4]
lea eax, [ebp - 0x130]
push dword [edi + 8]
push 0x4b2b58
push 0x12c
push eax
call fcn.00477f50
add esp, 0x14
lea eax, [ebp - 0x130]
push 0
push 0
push 2
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x477b1c
mov edx, dword [edi + 0xc]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x477a60
push 0
push 0
sub ecx, ebx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x16
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x477ab4
pop edi
pop esi
mov eax, 0x80030070
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x477adf
lea ecx, [ebp - 0x130]
mov dword [eax], 0x14
mov edx, ecx
sub eax, edx
lea edx, [eax + 0x14]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x477ad2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x5f8]
mov dword [eax + 4], esi
mov dword [eax], 1
mov dword [eax + 8], 0
xor eax, eax
mov dword [edi + 0x6c], 0xf
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc
mov byte [edi + 0x10], 1
mov ecx, dword [ebp - 4]
mov eax, 0x80040064
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047fe8c
mov esp, ebp
pop ebp
ret 0xc