Function at 0x401050
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x870
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x8bded8], 0x594
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], eax
jne 0x401089
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push str.Lewipadomunifuc_hihokeyilo_fex
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov ecx, dword [0x49ec58]
mov edx, dword [0x49ec5c]
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
call fcn.00401030
mov eax, dword [0x49ec60]
mov ecx, dword [0x49ec64]
add dword [ebp - 0x18], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x20], 0x20
jmp 0x4010d3
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x8bded8]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x40113c
push edi
lea edx, [ebp - 0x870]
push edx
push edi
call ebx
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 - 0x6c]
push edi
push ecx
mov dword [ebp - 0x70], edi
call fcn.00401f80
add esp, 0xc
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCommConfig]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x8bded8]
add eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401156
mov dword [0x8bd474], 0xedeb2e40
jmp 0x401164
cmp ecx, 0x3eb
jne 0x401164
mov dword [0x8bce24], edi
mov ecx, dword [ebp - 0x18]
add ecx, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
shr esi, cl
mov dword [0x8bd470], 0xf4ea3dee
add esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
cmp dword [0x8bded8], 0x9e6
jne 0x401198
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x30]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [ebp - 4], edx
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 esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
shr esi, cl
add esi, dword [ebp - 0x28]
cmp dword [0x8bded8], 0xb03
jne 0x4011fb
push str.Toteha_wuhiyahako_judogowudaros
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov ecx, dword [ebp - 4]
xor ecx, esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ecx
call fcn.00401040
lea eax, [ebp - 0x18]
call fcn.00401020
sub dword [ebp - 0x20], 1
jne 0x4010d0
cmp dword [0x8bded8], 0xa6d
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov dword [esi], ecx
pop ebx
jne 0x401249
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 8]
pop edi
mov dword [esi + 4], eax
pop esi
mov esp, ebp
pop ebp
ret 4