Function at 0x44a840
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491a96
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x4c143c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x44aac6
xor eax, eax
cmp ax, word [esi]
je 0x44aac6
test edi, edi
je 0x44aac6
cmp ax, word [edi]
je 0x44aac6
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a8a0
sub ecx, edx
sar ecx, 1
push ecx
push edi
push esi
call fcn.004710a4
add esp, 0xc
test eax, eax
jne 0x44aac6
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a8c7
sub ecx, edx
mov edx, 2
sar ecx, 1
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0x290], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov dword [ebp - 0x28c], ecx
call fcn.00458edd
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x44a917
push dword [ebp - 0x28c]
push 0
push ebx
call fcn.0045b1d0
add esp, 0xc
jmp 0x44a919
xor ebx, ebx
mov dword [ebp - 0x298], ebx
push edi
push dword [ebp - 0x290]
mov dword [ebp - 4], 0
push ebx
call fcn.0045ed7b
add esp, 0xc
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x44a940
sub esi, ecx
xor eax, eax
sar esi, 1
movzx edi, word [ebx + esi*2]
lea esi, [ebx + esi*2]
cmp ax, di
je 0x44a967
mov eax, 0x5c
cmp ax, di
jne 0x44a9ab
xor eax, eax
mov word [esi], ax
nop dword [eax]
lea eax, [ebp - 0x288]
mov dword [ebp - 0x28c], 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x294], eax
cmp eax, 0xffffffff
jne 0x44a9c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x44aa8f
cmp eax, 2
je 0x44aa8f
xor esi, esi
test ebx, ebx
je 0x44a9ba
push ebx
call fcn.00458ee6
add esp, 4
mov eax, esi
jmp 0x44aac8
lea eax, [ebp - 0x294]
mov dword [ebp - fcn.0044d770], vtable.std::_Func_impl_no_alloc_class__int___cdecl_ETWUtil::DeleteReparsePoint_wchar_t_const___bool_::_2::_lambda_1___void___.0
mov dword [ebp - 0x2bc], eax
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x290], eax
push eax
lea ecx, [ebp - 0x2c0]
mov byte [ebp - 4], 2
call fcn.0044d770
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x44aa26
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x2c0]
cmp ecx, eax
setne al
push eax
call edx
mov eax, dword [ebp - 0x14]
test dword [ebp - 0x288], 0x400
je 0x44aa58
mov ecx, dword [ebp - 0x264]
cmp ecx, 0xa0000003
je 0x44aa48
cmp ecx, 0xa000000c
jne 0x44aa58
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 3
test eax, eax
je 0x44aa7e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x44aa7e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
push eax
call edx
cmp dword [ebp - 0x28c], 0
mov byte [ebp - 4], 0
je 0x44a9ab
xor eax, eax
cmp ax, di
je 0x44aabc
lea eax, [esi + 2]
mov word [esi], di
push 0x5c
push eax
call fcn.0045bf27
mov esi, eax
add esp, 8
test esi, esi
je 0x44aab5
movzx edi, word [esi]
jmp 0x44a967
xor edi, edi
jmp 0x44a970
mov esi, 1
jmp 0x44a9ad
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458eeb
mov esp, ebp
pop ebp
ret