Function at 0x4160f0
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44d0d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
push ebx
mov ebx, dword [ecx + 0x2b4]
mov eax, dword [ebx + 0xa4]
push ebp
mov ebp, dword [ebx + 0xa0]
cmp ebp, eax
push esi
push edi
mov dword [esp + 0x1c], ebx
je 0x416295
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x18]
push 0x44fd08
push ecx
mov dword [esp + 0x38], 0
call fcn.00402810
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
add esp, 0xc
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx + 0x2b4]
add edx, 0x48
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00408560
mov esi, dword [esp + 0x10]
push esi
mov byte [esp + 0x30], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x46532c]
mov eax, dword [edx + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [eax + 0x2b4]
add ecx, 0x4c
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00408560
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
mov byte [esp + 0x2c], 2
je 0x416215
mov edx, dword [edi + 0xc]
test edx, edx
lea esi, [edi + 0xc]
jl 0x416203
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x416203
push eax
call fcn.00402340
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x4161f6
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea esi, [ebx + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], esi
jmp 0x416215
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004024b0
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416238
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41625e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416284
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 0xa4]
add ebp, 4
cmp ebp, eax
jne 0x416132
mov ebp, dword [ebx + 0xb0]
cmp ebp, dword [ebx + 0xb4]
mov dword [esp + 0x18], ebp
je 0x41642b
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call fcn.0043f04a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [ebp]
push eax
lea ecx, [esp + 0x14]
push 0x44fd08
push ecx
mov dword [esp + 0x38], 3
call fcn.00402810
mov edx, dword [esp + 0x1c]
push 0x44fd64
push edx
call fcn.0042bea1
add esp, 0x14
test eax, eax
je 0x4163ec
mov ecx, dword [0x46532c]
mov edx, dword [ecx + 0x14]
lea eax, [esp + 0x10]
push eax
mov eax, dword [edx + 0x2b4]
add eax, 0x48
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00408560
mov esi, dword [esp + 0x14]
push esi
mov byte [esp + 0x30], 4
call ebx
mov eax, dword [0x46532c]
mov ecx, dword [eax + 0x14]
lea edx, [esp + 0x10]
push edx
mov edx, dword [ecx + 0x2b4]
add edx, 0x4c
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00408560
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea edi, [esi - 0x10]
cmp eax, edi
mov byte [esp + 0x2c], 5
je 0x4163a7
mov edx, dword [edi + 0xc]
test edx, edx
lea esi, [edi + 0xc]
jl 0x416395
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x416395
push eax
call fcn.00402340
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x416388
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
lea esi, [ebp + 0x10]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x14], esi
jmp 0x4163a7
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.004024b0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x2c], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
call ebx
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416412
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0xb4]
add ebp, 4
cmp ebp, ecx
mov dword [esp + 0x18], ebp
jne 0x4162b1
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret