Function at 0x415cf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e7018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, 1
push 0
push eax
call fcn.0040f160
push str.DeleteAllConfigurationFiles:_deleting_config_files
push 2
mov dword [ebp - 0x214], 0x105
call fcn.004439a0
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004256b0
test eax, eax
je 0x415d71
lea eax, [ebp - 0x210]
push eax
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_config_file:__S
push 0x10
call fcn.004439a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x415d82
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_DHCP_config_file
push 1
call fcn.004439a0
add esp, 8
xor esi, esi
xor eax, eax
mov dword [ebp - 0x214], 0x105
push eax
push str.vmnetdhcp.conf
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push 0x105
push eax
call fcn.00418a80
add esp, 0x10
test eax, eax
je 0x415dd8
lea eax, [ebp - 0x210]
push eax
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_config_file:__S
push 0x10
call fcn.004439a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x415de9
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_default_DHCP_config_file
push 1
call fcn.004439a0
add esp, 8
xor esi, esi
xor eax, eax
mov dword [ebp - 0x214], 0x104
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x214]
push edi
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00425820
test eax, eax
je 0x415e62
lea eax, [ebp - 0x210]
push eax
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_lease_file:__S
push 0x10
call fcn.004439a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x415e40
mov eax, dword [0x4a0cb0]
mov dword [edi], eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x415e73
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_DHCP_lease_file
push 1
call fcn.004439a0
add esp, 8
xor esi, esi
xor eax, eax
mov dword [ebp - 0x214], 0x104
push eax
push str.vmnetdhcp.leases
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00418a80
add esp, 0x10
test eax, eax
je 0x415ef2
lea eax, [ebp - 0x210]
push eax
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_lease_file:__S
push 0x10
call fcn.004439a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x415ed0
mov eax, dword [0x4a0cb0]
mov dword [edi], eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x415f03
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_default_DHCP_lease_file
push 1
call fcn.004439a0
add esp, 8
xor esi, esi
xor eax, eax
mov dword [ebp - 0x214], 0x105
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004274c0
pop edi
test eax, eax
je 0x415f53
lea eax, [ebp - 0x210]
push eax
push str.DeleteAllConfigurationFiles:_Deleting_NAT_config_file:__S
push 0x10
call fcn.004439a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x415f64
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_NAT_config_file
push 1
call fcn.004439a0
add esp, 8
xor esi, esi
xor eax, eax
mov dword [ebp - 0x214], 0x105
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00427540
test eax, eax
je 0x415fc2
lea eax, [ebp - 0x210]
push eax
push str.DeleteAllConfigurationFiles:_Deleting_NAT_lease_file:__S
push 0x10
call fcn.004439a0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bf1
mov esp, ebp
pop ebp
ret
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_NAT_lease_file
push 1
call fcn.004439a0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00401bf1
mov esp, ebp
pop ebp
ret