Function at 0x4139c0
Capabilities:
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59beb0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x618190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov edi, dword [ebp + 0x14]
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0xc]
push dword [eax - 0xc]
push eax
call fcn.0041e6e0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movdqu xmmword [ebp - 0x30], xmm0
call fcn.0044583d
push 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push dword [ebp + 8]
call fcn.0044596e
or esi, 0xffffffff
test eax, eax
je 0x413ccd
mov edi, edi
lea ecx, [ebp - 0x30]
call fcn.00445b16
mov dword [ebp - 0x44], eax
call fcn.0043c5a7
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x413d44
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00445ebe
test eax, eax
jne 0x413ca2
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x30]
call fcn.00445c2f
mov byte [ebp - 4], 4
lea ecx, [esi - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x413af5
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x413ae6
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x413ae3
push edx
call fcn.004206c0
add esp, 4
mov dword [ebp - 0x34], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x413adb
mov esi, dword [ebp - 0x38]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x34]
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x413af5
mov eax, dword [ebp - 0x34]
push dword [eax - 0xc]
lea ecx, [ebp - 0x14]
push eax
call fcn.004204e0
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 3
or ecx, 0xffffffff
mov edx, dword [ebp - 0x48]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413b16
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
push 0x10
mov eax, dword [eax + 0x38]
call eax
test eax, eax
je 0x413c59
mov edx, dword [ebp + 0xc]
push edi
push dword [ebp + 0x10]
add edx, 0xfffffff0
push ecx
mov dword [ebp - 0x50], esp
mov dword [ebp - 0x3c], esp
mov ecx, dword [edx]
mov dword [ebp - 0x38], edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x38]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x40], eax
jl 0x413b6e
cmp edx, dword [ecx]
jne 0x413b6e
mov dword [ebp - 0x34], ecx
mov eax, 1
mov ecx, dword [ebp - 0x40]
lock xadd dword [ecx], eax
jmp 0x413bb5
mov eax, dword [edx]
push 2
push dword [ecx + 4]
mov ecx, edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x34], eax
test eax, eax
je 0x413d3f
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
mov eax, dword [ebp - 0x34]
add eax, 0x10
push eax
call fcn.00550cc2
add esp, 0x10
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ecx], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x40], esp
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
lea ecx, [esi - 0x10]
mov edx, eax
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x3c], eax
jl 0x413bf8
cmp edx, dword [ecx]
jne 0x413bf8
mov dword [ebp - 0x34], ecx
mov eax, 1
mov ecx, dword [ebp - 0x3c]
lock xadd dword [ecx], eax
jmp 0x413c39
mov eax, dword [edx]
push 2
push dword [ecx + 4]
mov ecx, edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x34], eax
test eax, eax
je 0x413d3f
mov ecx, dword [esi - 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
mov eax, dword [ebp - 0x34]
add eax, 0x10
push eax
call fcn.00550cc2
add esp, 0x10
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
add eax, 0x10
mov dword [ecx], eax
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 3
call fcn.004139c0
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x413c72
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0x10], 0
je 0x413ca2
test edi, edi
je 0x413ca2
add dword [edi], 1
push 0
adc dword [edi + 4], 0
push 0xa
push dword [edi + 4]
push dword [edi]
call fcn.0058e830
test eax, eax
jne 0x413ca2
test edx, edx
jne 0x413ca2
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
add esi, 0xfffffff0
mov byte [ebp - 4], 2
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413cc0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x44], 0
jne 0x413a40
or esi, 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00445922
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044586d
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413d01
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x413d22
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00550cb3
mov esp, ebp
pop ebp
ret 0x10
call fcn.004206b0
push 0x80004005
call fcn.00420690
int3