Function at 0x422690
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ec94d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x536008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x94], esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x8c], 0
call fcn.00422a90
mov dword [ebp - 4], 1
xor eax, eax
cmp dword [ebp - 0x78], eax
je 0x422728
movups xmm0, xmmword [ebp - 0x88]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
movups xmmword [esi], xmm0
mov word [ebp - 0x88], ax
movq xmm0, qword [ebp - 0x78]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x8c], 1
jmp 0x422966
push 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x5059bc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040a350
mov byte [ebp - 4], 2
xor eax, eax
push eax
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x5c], 0
push 0x5059bc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.0040a350
mov byte [ebp - 4], 3
lea edx, [ebp - 0x70]
mov ecx, 0x1a
call fcn.004a9300
test al, al
je 0x422911
push 0xc
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x40]
push str.SoftMgr_2345
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0040a350
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004a8d90
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x422823
mov ecx, eax
call fcn.0040a2e0
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.0040a2e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040a2e0
cmp dword [ebp - 0x18], 0
je 0x422911
lea ecx, [ebp - 0x28]
call fcn.004a4c40
test al, al
je 0x422911
lea ecx, [ebp - 0x28]
call fcn.004c9970
cmp eax, 0xffffffff
je 0x422911
test eax, 0x400
je 0x422911
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x28]
call fcn.004a5c50
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x48]
jne 0x422905
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x422905
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 7
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004ca400
test al, al
je 0x4228f9
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.0040a2e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.0040a260
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x8c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.0040a2e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a2e0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040a2e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e62ab
mov esp, ebp
pop ebp
ret