Function at 0x416900
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0450
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4e42e0]
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 edi, dword [ebp + 8]
mov ecx, 0x4e9734
push 0x4e20
call fcn.00424910
test al, al
je 0x4169e4
call fcn.00425480
mov esi, eax
push str.Remove_folder:
push esi
call fcn.0040b300
add esp, 8
mov ecx, edi
cmp dword [edi + 0x14], 0x10
jb 0x416964
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
push eax
call fcn.0040b8d0
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [esi + 4]
push eax
call fcn.00412740
push str.void___thiscall_System::UtilsImpl::removeFolder_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
push 0x82
push str......._src_systemutils_impl.cpp
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
push 0x4e20
push 0x4e9734
call fcn.004254b0
mov edx, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x4169e4
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4169da
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c5c
push edx
push ecx
call fcn.0047242a
add esp, 8
mov edx, dword [edi + 0x10]
test edx, edx
jne 0x416aa0
push 0x9c40
mov ecx, 0x4e9734
call fcn.00424910
test al, al
je 0x416c3e
call fcn.00425480
mov esi, eax
push str.Failed_to_remove_folder._Unable_to_resolve_path
push esi
call fcn.0040b300
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x416a26
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.0040b8d0
add esp, 0xc
lea eax, [ebp - 0x28]
lea ecx, [esi + 4]
push eax
call fcn.00412740
push str.void___thiscall_System::UtilsImpl::removeFolder_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
push 0x85
push str......._src_systemutils_impl.cpp
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
push eax
push 0x9c40
push 0x4e9734
call fcn.004254b0
mov edx, dword [ebp - 0x14]
add esp, 0x18
cmp edx, 0x10
jb 0x416c3e
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416c34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c61
jmp 0x416c34
xor ecx, ecx
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
cmp dword [edi + 0x14], 0x10
mov esi, edi
mov dword [ebp - 4], 2
jb 0x416ac2
mov esi, dword [edi]
lea ebx, [edx + esi]
mov esi, edi
jb 0x416acb
mov esi, dword [edi]
cmp esi, ebx
je 0x416af6
nop
cmp ecx, eax
je 0x416ae1
mov al, byte [esi]
mov byte [ecx], al
mov ecx, dword [ebp - 0x4c]
inc ecx
mov dword [ebp - 0x4c], ecx
jmp 0x416aee
push esi
push ecx
lea ecx, [ebp - 0x50]
call fcn.00413950
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
inc esi
cmp esi, ebx
jne 0x416ad0
mov byte [ebp - 0x41], 0
cmp ecx, eax
je 0x416b0a
mov byte [ecx], 0
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
jmp 0x416b1a
lea eax, [ebp - 0x41]
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.00413950
mov eax, dword [ebp - 0x4c]
mov byte [ebp - 0x41], 0
cmp eax, dword [ebp - 0x48]
je 0x416b2b
mov byte [eax], 0
inc dword [ebp - 0x4c]
jmp 0x416b38
lea ecx, [ebp - 0x41]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00413950
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x68], eax
mov eax, 0x614
mov word [ebp - 0x60], ax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x64], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test eax, eax
je 0x416c0e
push 0x9c40
mov ecx, 0x4e9734
call fcn.00424910
test al, al
je 0x416c0e
call fcn.00425480
mov esi, eax
push str.Failed_to_remove_folder
push esi
call fcn.0040b300
mov ecx, dword [edi + 0x10]
add esp, 8
cmp dword [edi + 0x14], 0x10
jb 0x416b9e
mov edi, dword [edi]
push ecx
push edi
push eax
call fcn.0040b8d0
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [esi + 4]
push eax
call fcn.00412740
push str.void___thiscall_System::UtilsImpl::removeFolder_const_class_std::basic_string_char_struct_std::char_traits_char__class_std::allocator_char_____
push 0x99
push str......._src_systemutils_impl.cpp
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
push 0x9c40
push 0x4e9734
call fcn.004254b0
mov edx, dword [ebp - 0x2c]
add esp, 0x18
cmp edx, 0x10
jb 0x416c0e
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416c04
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c66
push edx
push ecx
call fcn.0047242a
add esp, 8
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x416c3e
mov edx, dword [ebp - 0x48]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x416c34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416c6b
push edx
push ecx
call fcn.0047242a
add esp, 8
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.00472897
mov esp, ebp
pop ebp
ret 4
call fcn.0048d2da
call fcn.0048d2da
call fcn.0048d2da
call fcn.0048d2da
int3