Function at 0x446b99
Capabilities:
Delete file

Disassembly:
mov eax, 0x47e120
call fcn.00478530
sub esp, 0x44
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x40], bl
jne 0x446bcf
lea eax, [ebp - 0x2c]
push str.FileManager_is_forbidden
push eax
call fcn.004253a6
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push 0x483c5c
push eax
call sub.MSVCRT.dll__CxxThrowException
mov al, byte [0x4a781a]
push edi
push eax
lea ecx, [ebp - 0x38]
call fcn.0041a24a
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x14], ebx
lea edx, [ebp - 0x14]
push 4
mov eax, dword [ecx]
push edx
mov dword [ebp - 4], ebx
call dword [eax + 4]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.00426a4d
mov eax, dword [esi + 0xc]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
mov edi, dword [eax]
call fcn.00422c4a
mov ecx, dword [esi + 0xc]
push eax
call dword [edi + 4]
push dword [ebp - 0x14]
lea ecx, [ebp - 0x50]
call fcn.004272ec
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x50]
push eax
call fcn.00426e4c
push 0xffffffffffffffff
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00428c5a
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040b43a
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.004284bd
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
call fcn.00429776
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], ebx
jmp 0x446d06
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x50]
push eax
call fcn.00426e4c
push 0xffffffffffffffff
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.00428c5a
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b43a
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 7
call fcn.00429cf0
add esp, 0x18
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
call fcn.00429a78
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 9
call fcn.004284bd
lea eax, [ebp - 0x10]
push eax
call fcn.00448034
pop ecx
test al, al
lea ecx, [ebp - 0x10]
je 0x446ce7
lea eax, [ebp - 0x1c]
push eax
call fcn.00428c5a
push eax
call fcn.0044786d
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
jne 0x446d29
jmp 0x446cf7
call fcn.00428c5a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x446d14
inc dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00429a78
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x40]
jne 0x446c6c
jmp 0x446d35
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00429bb9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00429a78
lea ecx, [ebp - 0x50]
call fcn.00426af5
push 0x46
lea ecx, [ebp - 0x50]
call fcn.00426beb
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
call fcn.00426c09
cmp dword [ebp - 0x18], ebx
je 0x446d94
push dword [ebp - 0x20]
lea ecx, [ebp - 0x50]
call fcn.00426bfa
push ebx
lea ecx, [ebp - 0x50]
call fcn.00426bfa
lea eax, [ebp - 0x50]
push ebx
push eax
lea ecx, [ebp - 0x1c]
call fcn.00428c5a
push eax
call fcn.0040b357
mov eax, dword [ebp - 0x44]
add esp, 0xc
lea ecx, [ebp - 0x50]
lea edi, [eax - 9]
mov eax, dword [ebp - 0x50]
call dword [eax + 0x14]
mov word [eax + 7], di
mov eax, dword [esi + 0xc]
push 1
push dword [ebp - 0x44]
lea ecx, [ebp - 0x50]
mov edi, dword [eax]
call fcn.004272fd
mov ecx, dword [esi + 0xc]
push eax
call dword [edi]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00429a78
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00429a78
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.00426ad9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0041a267
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret