Function at 0x430630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x4ed018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp + 0x28]
push 0x20a
mov dword [ebp - 0x2d0], eax
lea eax, [ebp - 0x2a8]
push 0
push eax
mov dword [ebp - 0x2cc], ebx
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 - 0x2c4], 0x32
push 0
push eax
call fcn.00411960
push 0
push 0
push 0
push str.VNL_EnumNATPortForward:
mov dword [ebp - 0x2c0], 0x64
mov dword [ebp - 0x2bc], 0
call fcn.00447210
add esp, 0x34
test edi, edi
je 0x4306f4
mov eax, dword [edi]
jmp 0x4306f6
xor eax, eax
push eax
push edi
push dword [ebp - 0x2c8]
test esi, esi
mov eax, 0x49f3cc
cmovne eax, esi
push eax
push str.VNL_EnumNATPortForward:_v__s_t__d_e__0x_08x_____d_
push 0x80
call fcn.00446b80
mov eax, dword [ebp - 0x2b8]
add esp, 0x18
mov ecx, dword [ebp - 0x2b0]
mov edx, dword [ebp - 0x2ac]
test esi, esi
je 0x4309df
test edi, edi
je 0x4309df
test ebx, ebx
je 0x4309df
test eax, eax
je 0x4309df
test ecx, ecx
je 0x4309df
test edx, edx
je 0x4309df
push esi
call fcn.0041e5e0
add esp, 4
test eax, eax
jne 0x43077f
push esi
push str.VNL_EnumNATPortForward:_invalid_vnet_name:__s
push 1
call fcn.00446b80
add esp, 0xc
jmp 0x4309f4
cmp dword [ebp - 0x2c8], 0
mov ecx, 0x4a00e4
mov eax, 0x4a00d4
cmove eax, ecx
push eax
push 0x4a00e0
push esi
push 0x49f010
push 0x49fe48
lea eax, [ebp - 0x2a8]
push 0x105
push eax
call fcn.00419510
add esp, 0x1c
lea eax, [ebp - 0x2b4]
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 ebx, eax
test ebx, ebx
je 0x43081a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2a8]
cmp ebx, 2
jne 0x430803
push eax
push esi
push str.VNL_EnumNATPortForward:_key_not_found__s__S:_0x_08x
push 4
call fcn.00446b80
add esp, 0x14
jmp 0x4309f4
push ebx
push eax
push esi
push str.VNL_EnumNATPortForward:_couldnt_open__s__S_for_port_forwarding:_0x_08x_0x_08x
push 1
call fcn.00446b80
add esp, 0x18
jmp 0x4309f4
push esi
push str.VNL_EnumNATPortForward:_opened__s_for_port_forwarding
push 0x10
call fcn.00446b80
mov ecx, dword [edi]
lea eax, [ecx + 1]
mov dword [edi], eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
push dword [ebp - 0x2b4]
call fcn.0045d120
mov ebx, eax
add esp, 0x2c
test ebx, ebx
jne 0x4308dc
lea eax, [ebp - 0x38]
push str.Description
push eax
call fcn.00495c80
add esp, 8
test eax, eax
je 0x430908
push str.VNL_EnumNATPortForward:_got_port_description__advancing_to_the_next_value
push 0x10
call fcn.00446b80
mov ecx, dword [edi]
mov dword [ebp - 0x2c4], 0x32
mov dword [ebp - 0x2c0], 0x64
lea eax, [ecx + 1]
mov dword [edi], eax
lea eax, [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x2bc]
push eax
push 0
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x38]
push eax
push ecx
push dword [ebp - 0x2b4]
call fcn.0045d120
mov ebx, eax
add esp, 0x28
test ebx, ebx
je 0x430865
cmp ebx, 0x103
jne 0x4309ba
push str.VNL_EnumNATPortForward:_all_values_have_been_enumereated
push 0x10
call fcn.00446b80
add esp, 8
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4309f4
mov eax, dword [ebp - 0x2bc]
cmp eax, 1
jne 0x4309c0
push str.VNL_EnumNATPortForward:_read_port_forward_entry
push 0x10
call fcn.00446b80
lea eax, [ebp - 0x38]
push eax
call fcn.0041e290
add esp, 0xc
test eax, eax
js 0x430999
cmp eax, 0xffff
jg 0x430999
mov edi, dword [ebp - 0x2cc]
push dword [ebp - 0x2b4]
mov word [edi], ax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x2d0]
movzx eax, word [edi]
push dword [ebp - 0x2d4]
push dword [ebp - 0x2ac]
push dword [ebp - 0x2b0]
push dword [ebp - 0x2b8]
push eax
push dword [ebp - 0x2c8]
push esi
call fcn.004314d0
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 0x24
lea eax, [ebp - 0x38]
push eax
push str.VNL_EnumNATPortForward:_invalid_host_port:__s
push 1
call fcn.00446b80
add esp, 0xc
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4309f4
mov eax, dword [ebp - 0x2bc]
push eax
push ebx
push str.VNL_EnumNATPortForward:_failed_to_read_value__or_not_a_string:_0x_08x_0x_08x
push 1
call fcn.00446b80
add esp, 0x10
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4309f4
push edx
push ecx
push eax
push ebx
push edi
push esi
push str.VNL_EnumNATPortForward:_invalid_parameters:_0x_08x_0x_08x_0x_016x_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 0x24