Function at 0x401070
Capabilities:
Delete directory
Delete file
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x878
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x8902e8], 0x594
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], eax
jne 0x4010a5
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x471068]
mov edx, dword [0x47106c]
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x34], edx
call fcn.00401050
mov eax, dword [0x471070]
mov ecx, dword [0x471074]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], ecx
mov ebx, 0x20
jmp 0x4010e5
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x8902e8]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40116b
push edi
lea edx, [ebp - 0x878]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push edi
lea eax, [ebp - 0x38]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x30
lea ecx, [ebp - 0x74]
push edi
push ecx
mov dword [ebp - 0x78], edi
call fcn.00402f00
add esp, 0xc
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x78]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
xor ecx, ecx
xor edx, edx
lea eax, [ebp - 0x44]
push eax
mov word [ebp - 0x20], cx
mov word [ebp - 0x1e], dx
mov ecx, dword [ebp - 0x20]
push ecx
push edi
push str.cezigurewebejewu
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8902e8]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401185
mov dword [0x88f884], 0xedeb2e40
jmp 0x4011a5
cmp ecx, 0x3eb
jne 0x4011a5
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [0x88f234], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
add eax, esi
shr esi, cl
mov dword [ebp - 0x14], eax
mov dword [0x88f880], 0xf4ea3dee
add esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor esi, dword [ebp - 4]
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, edx
shr eax, cl
mov ecx, dword [ebp - 4]
add eax, dword [ebp - 0x34]
xor eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ecx
call fcn.00401060
lea eax, [ebp - 0x18]
call fcn.00401040
sub ebx, 1
jne 0x4010e2
cmp dword [0x8902e8], 0xa6d
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov dword [esi], eax
pop ebx
jne 0x40125b
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
pop edi
mov dword [esi + 4], edx
pop esi
mov esp, ebp
pop ebp
ret 4