Function at 0x41aa00
Capabilities:
Delete directory
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x465c16
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4844a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0
call fcn.0044414b
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x4c], 1
mov dword [esp + 0x1c], eax
call fcn.00401ba0
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
lea esi, [ebx - 0x10]
mov dword [esp + 0x24], esp
mov ebp, esp
push esi
mov byte [esp + 0x50], 2
call fcn.00401ba0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.004196d0
cmp eax, 1
jne 0x41ab37
push ecx
mov dword [esp + 0x24], esp
mov ebp, esp
push esi
call fcn.00401ba0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.0041a7b0
test al, al
jne 0x41aac9
mov byte [edi + 0xa], 1
mov byte [esp + 0x48], 1
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41aca4
mov ecx, dword [esi]
push esi
jmp 0x41ac9d
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x41ab17
push 8
call fcn.00439297
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
test esi, esi
mov byte [esp + 0x48], 3
je 0x41aafd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419c30
jmp 0x41aaff
xor eax, eax
push 0x47b6fc
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x50], 2
mov dword [esp + 0x20], eax
call fcn.0044de49
mov byte [esp + 0x48], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x41aca4
mov ecx, dword [esi]
push esi
jmp 0x41ac9d
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call fcn.0041a750
push 3
push 0x46e97c
lea ecx, [esp + 0x1c]
call fcn.0040d6e0
mov ebp, dword [esp + 0x14]
push 0
push ebp
lea ecx, [esp + 0x30]
call fcn.004441d7
test eax, eax
je 0x41ac23
mov bl, 4
lea ecx, [ecx]
lea ecx, [esp + 0x28]
call fcn.00443e49
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], eax
call fcn.00444112
test eax, eax
jne 0x41ac18
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
call eax
test eax, eax
je 0x41ac00
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00444376
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], bl
call fcn.00401ff0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x48], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41abe2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebp, dword [esp + 0x14]
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00401ba0
add esp, 4
add eax, 0x10
mov dword [esi], eax
jmp 0x41ac11
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push ecx
lea ecx, [esp + 0x30]
call fcn.00444376
mov ecx, edi
call fcn.0041aa00
cmp dword [esp + 0x20], 0
jne 0x41ab70
lea ecx, [esp + 0x28]
call fcn.00443d79
mov edx, dword [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x41ac83
cmp byte [edi + 0xa], al
jne 0x41ac83
push 8
call fcn.00439297
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x48], 5
je 0x41ac69
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419c30
jmp 0x41ac6b
xor eax, eax
mov dword [esp + 0x20], eax
push 0x47b6fc
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x50], 2
call fcn.0044de49
lea eax, [ebp - 0x10]
mov byte [esp + 0x48], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41aca4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 0
call fcn.0044416f
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41acd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret 4