Function at 0x10033d90
Capabilities:
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b88d8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x100dbe80]
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, dword [ebp + 8]
mov dword [ebp - 0x70], esi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100340ab
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x10033dd5
mov ecx, dword [esi]
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.10007490
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x48]
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
cmova eax, dword [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x7c], 0
call fcn.1008bb9e
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x74], eax
push ecx
push eax
lea ecx, [ebp - 0x7c]
call fcn.100356d0
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x7c]
test ecx, ecx
je 0x10033e43
cmp eax, 1
je 0x10033e43
cmp eax, 9
jne 0x100340c8
mov ecx, dword [ebp - 0x14]
cmp eax, 3
mov dword [ebp - 4], 0xffffffff
setne al
mov byte [ebp - 0x49], al
cmp ecx, 7
jbe 0x10033e90
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033e83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100340d7
push ecx
push edx
call fcn.1008c2e7
mov al, byte [ebp - 0x49]
add esp, 8
test al, al
jne 0x100340ab
cmp dword [esi + 0x14], 7
mov eax, esi
mov byte [ebp - 0x49], 1
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x100dbe24
jbe 0x10033eb4
mov eax, dword [esi]
push dword [esi + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
call fcn.10007490
mov dword [ebp - 4], 1
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.10032c50
add esp, 0xc
test eax, eax
jne 0x100340dc
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x10033f46
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10033f3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100340eb
push ecx
push edx
call fcn.1008c2e7
add esp, 8
mov edi, dword [ebp - 0x50]
test edi, edi
je 0x10033f51
lock inc dword [edi + 4]
mov esi, dword [ebp - 0x54]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], edi
test edi, edi
je 0x10033f62
lock inc dword [edi + 4]
xorps xmm0, xmm0
movlpd qword [ebp - 0x84], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
test edi, edi
je 0x10033fa3
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10033fa3
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10033fa3
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 6
test esi, esi
je 0x10034047
add esi, 0x20
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0x100dbe24
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x10033fca
mov eax, dword [esi]
push eax
call fcn.1008be3e
mov ecx, edx
movzx eax, al
cdq
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0x100dbe24
cmp ecx, 0x91
jne 0x10034002
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x5c]
push eax
push esi
call fcn.10035760
mov ecx, dword [ebp - 0x5c]
add esp, 0xc
test ecx, ecx
je 0x1003402b
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x64], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
jbe 0x1003401c
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 0x49], 0
lea eax, [ebp - 0x6c]
push eax
call fcn.10034db0
add esp, 4
test eax, eax
jne 0x100340f0
mov esi, dword [ebp - 0x6c]
jmp 0x10033fa7
mov esi, dword [ebp - 0x68]
test esi, esi
je 0x1003406f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x1003406f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x1003406f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
test edi, edi
je 0x10034094
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x10034094
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x10034094
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x70]
cmp dword [ecx + 0x14], 7
jbe 0x1003409f
mov ecx, dword [ecx]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov al, byte [ebp - 0x49]
jmp 0x100340ad
xor al, al
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.1008c2f5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
push ecx
push str.status
call fcn.100359f0
call fcn.100917bf
lea ecx, [ebp - 0x28]
push ecx
push eax
push str.directory_iterator::directory_iterator
call fcn.100359f0
call fcn.100917bf
push eax
push str.directory_iterator::operator
call fcn.10035970
int3