Function at 0x42f610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp + 0x18]
push 0x20a
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.00411960
push 0x32
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.00411960
push 0x64
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x2c8], 0x32
push 0
push eax
call fcn.00411960
push 0
push 0
push 0
push str.VNL_EnumDHCPIPToMAC:
mov dword [ebp - 0x2c4], 0x64
mov dword [ebp - 0x2bc], 0
call fcn.00447210
add esp, 0x34
test edi, edi
je 0x42f6b3
mov eax, dword [edi]
jmp 0x42f6b5
xor eax, eax
push eax
test esi, esi
mov eax, 0x49f3cc
push edi
cmovne eax, esi
push eax
push str.VNL_EnumDHCPIPToMAC:_v__s_e__0x_08x_____d_
push 0x80
call fcn.00446b80
mov eax, dword [ebp - 0x2ac]
add esp, 0x14
test esi, esi
je 0x42f92d
cmp dword [ebp - 0x2b8], 0
je 0x42f92d
cmp dword [ebp - 0x2b4], 0
je 0x42f92d
test eax, eax
je 0x42f92d
test ebx, ebx
je 0x42f92d
test edi, edi
je 0x42f92d
push esi
call fcn.0041e5e0
add esp, 4
test eax, eax
jne 0x42f736
push esi
push str.VNL_EnumDHCPIPToMAC:_invalid_vnet_name:__s
push 1
call fcn.00446b80
add esp, 0xc
jmp 0x42f94c
push 0x4a0100
push 0x4a0110
push esi
push 0x49f010
push 0x49fe48
lea eax, [ebp - 0x2a8]
push 0x105
push eax
call fcn.00419510
add esp, 0x1c
lea eax, [ebp - 0x2b0]
push eax
push 1
push 0
lea eax, [ebp - 0x2a8]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x2c0], eax
test eax, eax
je 0x42f7d3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [ebp - 0x2c0]
cmp eax, 2
jne 0x42f7b5
lea eax, [ebp - 0x2a8]
push eax
push esi
push str.VNL_EnumDHCPIPToMAC:_key_not_found__s__S
push 4
call fcn.00446b80
add esp, 0x10
jmp 0x42f94c
push ecx
push eax
lea eax, [ebp - 0x2a8]
push eax
push esi
push str.VNL_EnumDHCPIPToMAC:_couldnt_open__s__S_for_ip_mac_enum:_0x_08x_0x_08x
push 1
call fcn.00446b80
add esp, 0x18
jmp 0x42f94c
push esi
push str.VNL_EnumDHCPIPToMAC:_opened__s_for_ip_mac_enum
push 0x10
call fcn.00446b80
mov ecx, dword [edi]
lea eax, [ecx + 1]
mov dword [edi], eax
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0
lea eax, [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
push dword [ebp - 0x2b0]
call fcn.0045d120
mov ecx, dword [ebp - 0x2bc]
add esp, 0x2c
test eax, eax
jne 0x42f8fd
cmp ecx, 1
jne 0x42f921
lea eax, [ebp - 0x38]
push eax
call fcn.0041def0
add esp, 4
test eax, eax
jne 0x42f863
lea eax, [ebp - 0x38]
push eax
push str.VNL_EnumDHCPIPToMAC:_invalid_mac_in_registry:__s
push 1
call fcn.00446b80
add esp, 0xc
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42f94c
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42f870
mov eax, dword [ebx]
sub ecx, edx
lea edi, [ecx + 1]
cmp eax, edi
jae 0x42f8a8
push edi
lfence
push dword [ebx]
push str.VNL_EnumDHCPIPToMAC:_caller_buffer_too_small_to_store_MAC:__d_versus__d
push 1
call fcn.00446b80
add esp, 0x10
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42f94c
push eax
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x2ac]
call fcn.00457c40
add esp, 0xc
mov dword [ebx], edi
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b4]
push dword [ebp - 0x2b8]
push esi
call fcn.0042f970
mov esi, eax
call fcn.00446aa0
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401bd5
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x103
jne 0x42f921
push str.VNL_EnumDHCPIPToMAC:_all_values_have_been_enumerated
push 0x10
call fcn.00446b80
add esp, 8
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42f94c
push ecx
push eax
push str.failed_to_read_value__or_not_a_string:_0x_08x_0x_08x
jmp 0x42f88d
push edi
push ebx
push eax
push dword [ebp - 0x2b4]
push dword [ebp - 0x2b8]
push esi
push str.VNL_EnumDHCPIPToMAC:_invalid_parameters:_0x_08x_0x_08x_0x_08x_0x_08x_0x_08x_0x_08x
push 1
call fcn.00446b80
add esp, 0x20
call fcn.00446aa0
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401bd5
mov esp, ebp
pop ebp
ret 0x18