Function at 0x422850
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecb3d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x537008]
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.00422c50
mov dword [ebp - 4], 1
xor eax, eax
cmp dword [ebp - 0x78], eax
je 0x4228e8
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 0x422b26
push 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x5069bc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040a390
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 0x5069bc
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
call fcn.0040a390
mov byte [ebp - 4], 3
lea edx, [ebp - 0x70]
mov ecx, 0x1a
call fcn.004a94e0
test al, al
je 0x422ad1
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.0040a390
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x58]
call fcn.004a8f70
add esp, 4
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x4229e3
mov ecx, eax
call fcn.0040a320
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.0040a320
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040a320
cmp dword [ebp - 0x18], 0
je 0x422ad1
lea ecx, [ebp - 0x28]
call fcn.004a4e30
test al, al
je 0x422ad1
lea ecx, [ebp - 0x28]
call fcn.004c9b50
cmp eax, 0xffffffff
je 0x422ad1
test eax, 0x400
je 0x422ad1
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.004a5e40
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x48]
jne 0x422ac5
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 0x422ac5
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.004ca5e0
test al, al
je 0x422ab9
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.0040a320
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.0040a2a0
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.0040a320
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040a320
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.0040a320
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.004e647b
mov esp, ebp
pop ebp
ret