Function at 0x419790
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ed018]
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.00411960
push str.DeleteAllConfigurationFiles:_deleting_config_files
push 2
mov dword [ebp - 0x214], 0x105
call fcn.00446b80
add esp, 0x14
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042bf90
test eax, eax
je 0x419834
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x419816
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push esi
call fcn.00446b80
add esp, 0xc
jmp 0x419843
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_config_file:__S
push 0x10
call fcn.00446b80
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x419845
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_DHCP_config_file
push 1
call fcn.00446b80
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.0041c740
add esp, 0x10
test eax, eax
je 0x4198bf
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x4198a1
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push 1
call fcn.00446b80
add esp, 0xc
jmp 0x4198ce
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_config_file:__S
push 0x10
call fcn.00446b80
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4198d0
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_default_DHCP_config_file
push 1
call fcn.00446b80
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.0042c100
test eax, eax
je 0x419997
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x41992c
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push 1
call fcn.00446b80
add esp, 0xc
xor esi, esi
jmp 0x419948
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_lease_file:__S
push 0x10
call fcn.00446b80
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 0x419951
mov eax, dword [0x4a8108]
mov dword [edi], eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x41998f
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push 1
call fcn.00446b80
add esp, 0xc
jmp 0x4199a6
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4199a8
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_DHCP_lease_file
push 1
call fcn.00446b80
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.0041c740
add esp, 0x10
test eax, eax
je 0x419a76
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x419a0a
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push 1
call fcn.00446b80
add esp, 0xc
xor esi, esi
jmp 0x419a26
push str.DeleteAllConfigurationFiles:_Deleting_DHCP_lease_file:__S
push 0x10
call fcn.00446b80
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edi, [ebp - 0x210]
add edi, 0xfffffffe
nop
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x419a30
mov eax, dword [0x4a8108]
mov dword [edi], eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x419a6e
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push 1
call fcn.00446b80
add esp, 0xc
jmp 0x419a85
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x419a87
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_default_DHCP_lease_file
push 1
call fcn.00446b80
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.0042dcf0
pop edi
test eax, eax
je 0x419afb
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x419add
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push 1
call fcn.00446b80
add esp, 0xc
jmp 0x419b0a
push str.DeleteAllConfigurationFiles:_Deleting_NAT_config_file:__S
push 0x10
call fcn.00446b80
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x419b0c
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_NAT_config_file
push 1
call fcn.00446b80
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.0042dd70
test eax, eax
je 0x419b9d
lea eax, [ebp - 0x210]
push eax
call fcn.0041a410
add esp, 4
test eax, eax
lea eax, [ebp - 0x210]
push eax
je 0x419b70
push str.DeleteAllConfigurationFiles:_This_file_is_a_symlink_to_some_other_file_so_not_deleting:__S
push 1
call fcn.00446b80
add esp, 0xc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret
push str.DeleteAllConfigurationFiles:_Deleting_NAT_lease_file:__S
push 0x10
call fcn.00446b80
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.00401bd5
mov esp, ebp
pop ebp
ret
push str.DeleteAllConfigurationFiles:_could_not_get_path_to_delete_NAT_lease_file
push 1
call fcn.00446b80
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop esi
call fcn.00401bd5
mov esp, ebp
pop ebp
ret