Function at 0x4515c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24c
mov eax, dword [0x535df0]
xor eax, esp
mov dword [esp + 0x248], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
mov ebx, edx
mov esi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], edi
mov dword [ebx + 0x10], edi
je 0x45161f
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x45161f
push str.NOTE:_explicit_support_for_IPv6_tun_devices_is_not_provided_for_this_OS
push 0x40
call fcn.00408640
add esp, 8
mov eax, dword [ebx]
cmp eax, 1
jne 0x451666
push 5
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
cmp eax, edi
jne 0x45163a
jmp fcn.00408a80
mov ecx, dword [str.null]
mov dword [eax], ecx
mov dl, byte [0x522c9c]
mov byte [eax + 4], dl
mov dword [ebx + 0x9c], eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret
cmp eax, 3
je 0x451694
cmp eax, 2
je 0x451694
push 0x1010
call fcn.00408960
add esp, 4
test eax, eax
je 0x451694
push esi
push str.Unknown_virtual_device_type:__s
push 0x1010
call fcn.00408640
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.0044e220
mov esi, eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], esi
call fcn.0044e5a0
test esi, esi
mov edi, eax
mov dword [esp + 0x48], edi
jne 0x4516d3
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x4516d3
push str.There_are_no_TAP_Win32_adapters_on_this_system.__You_should_be_able_to_create_a_TAP_Win32_adapter_by_going_to_Start____All_Programs____OpenVPN____Add_a_new_TAP_Win32_virtual_ethernet_adapter.
push 0x10
call fcn.00408640
add esp, 8
cmp dword [esp + 0x14], 0
je 0x4517ca
mov ecx, dword [esp + 0x14]
push edi
push esi
push 0x100
lea eax, [esp + 0x15c]
push eax
push ecx
lea eax, [esp + 0x24]
call fcn.0044efc0
add esp, 0x14
test eax, eax
mov dword [esp + 0x18], eax
jne 0x451728
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451728
mov edx, dword [esp + 0x14]
push edx
push str.TAP_Win32_adapter__s_not_found
push 0x10
call fcn.00408640
add esp, 0xc
mov eax, dword [esp + 0x18]
push str..tap
push eax
push str..Global_
push str._s_s_s
mov esi, 0x100
lea edi, [esp + 0x60]
call fcn.00403080
add esp, 0x10
push 0
push 0x40000004
push 3
push 0
push 0
push 0xc0000000
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebx + 0xb0], eax
jne 0x451799
push 0x110
call fcn.00408960
add esp, 4
test eax, eax
je 0x451799
mov edx, edi
push edx
push str.CreateFile_failed_on_TAP_device:__s
push 0x110
call fcn.00408640
add esp, 0xc
lea eax, [esp + 0x150]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4517a3
sub eax, edx
lea edi, [eax + 1]
push edi
call dword [sym.imp.MSVCR80.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4518a6
jmp fcn.00408a80
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x154]
push edi
push ecx
mov eax, esi
mov ecx, 0x100
call fcn.0044ee00
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x18], esi
jne 0x45181a
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x45181a
push str.All_TAP_Win32_adapters_on_this_system_are_currently_in_use.
push 0x10
call fcn.00408640
add esp, 8
push str..tap
push esi
push str..Global_
push str._s_s_s
mov esi, 0x100
lea edi, [esp + 0x60]
call fcn.00403080
add esp, 0x10
push 0
push 0x40000004
push 3
push 0
push 0
push 0xc0000000
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebx + 0xb0], eax
jne 0x451799
cmp dword [0x5426d0], 3
jb 0x451894
push 0x20000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x451894
mov eax, edi
push eax
push str.CreateFile_failed_on_TAP_device:__s
push 0x20000003
call fcn.00408640
add esp, 0xc
add dword [esp + 0x14], 1
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x20]
jmp 0x4517d2
push edi
lea ecx, [esp + 0x154]
push ecx
push esi
call sub.MSVCR80.dll_memcpy
add esp, 0xc
cmp dword [0x5426d0], 1
mov dword [ebx + 0x9c], esi
jb 0x4518f0
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x4518f0
mov eax, dword [ebx + 0x9c]
lea edx, [esp + 0x50]
push edx
push eax
push str.TAP_WIN32_device___s__opened:__s
push 1
call fcn.00408640
add esp, 0x10
mov esi, dword [esp + 0x18]
push esi
call fcn.0044fae0
mov edi, eax
add esp, 4
cmp edi, 0xffffffff
jne 0x451939
mov eax, esi
call fcn.0044fb70
mov edi, eax
cmp edi, 0xffffffff
jne 0x451939
cmp dword [0x5426d0], 1
jb 0x451939
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x451939
push esi
push str.NOTE:_could_not_get_adapter_index_for__s
push 1
call fcn.00408640
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor eax, eax
push eax
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebx + 0xb0]
push 0xc
lea edx, [esp + 0x2c]
push edx
push 0xc
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, edx
push eax
push 0x220008
push ecx
mov dword [ebx + 0x184], edi
call esi
test eax, eax
je 0x4519bf
cmp dword [0x5426d0], 3
jb 0x4519bf
push 0x20000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x4519bf
cmp dword [esp + 0x28], 0
mov eax, str._DEBUG_
jne 0x4519a2
mov eax, 0x5118be
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push str.TAP_Win32_Driver_Version__d._d__s
push 0x20000003
call fcn.00408640
add esp, 0x14
cmp dword [esp + 0x20], 9
mov edi, 1
jne 0x4519d1
cmp dword [esp + 0x24], edi
jae 0x4519f1
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x4519f1
push edi
push 9
push str.ERROR:__This_version_of_OpenVPN_requires_a_TAP_Win32_driver_that_is_at_least_version__d._d____If_you_recently_upgraded_your_OpenVPN_distribution__a_reboot_is_probably_required_at_this_point_to_get_Windows_to_see_the_new_driver.
push 0x10
call fcn.00408640
add esp, 0x10
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [ebx + 0xb0]
push 4
lea edx, [esp + 0x20]
push edx
push 4
mov eax, edx
push eax
push 0x22000c
push ecx
call esi
test eax, eax
je 0x451a51
cmp dword [0x5426d0], 2
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x190], edx
jb 0x451a51
push 0x15000002
call fcn.00408960
add esp, 4
test eax, eax
je 0x451a51
mov eax, dword [esp + 0x14]
push eax
push str.TAP_Win32_MTU_d
push 0x15000002
call fcn.00408640
add esp, 0xc
cmp dword [ebx + 8], 0
je 0x451a8a
mov eax, dword [ebx + 0x18]
cmp eax, 3
jne 0x451c0b
mov eax, dword [ebx + 0x184]
call fcn.0044f940
cmp eax, 2
jne 0x451a82
mov ecx, dword [ebx + 0x9c]
push ecx
call fcn.00450dd0
add esp, 4
mov dword [esp + 0x34], edi
mov dword [esp + 0x1c], edi
cmp dword [ebx], 2
mov edi, dword [sym.imp.WS2_32.dll_htonl]
jne 0x451bb0
cmp dword [ebx + 8], 0
jne 0x451abc
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451abc
push str.ERROR:___dev_tun_also_requires___ifconfig
push 0x10
call fcn.00408640
add esp, 8
cmp dword [ebx + 4], 3
jne 0x451c4f
mov eax, dword [ebx + 0xa4]
push eax
call edi
mov ecx, dword [ebx + 0xa8]
and ecx, dword [ebx + 0xa4]
mov dword [esp + 0x20], eax
push ecx
call edi
mov edx, dword [ebx + 0xa8]
push edx
mov dword [esp + 0x28], eax
call edi
push 0
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0xb0]
push 0xc
lea ecx, [esp + 0x2c]
push ecx
push 0xc
mov edx, ecx
push edx
push 0x220028
push eax
call esi
mov dword [esp + 0x14], eax
neg eax
sbb eax, eax
and eax, 0xfffffff1
add eax, 0x10
and eax, 0xf
cmp eax, dword [0x5426d0]
ja 0x451bb0
mov esi, dword [esp + 0x14]
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x10
push esi
call fcn.00408960
add esp, 4
test eax, eax
je 0x451baa
cmp dword [esp + 0x14], 0
mov eax, str.SUCCEEDED
jne 0x451b5d
mov eax, str.FAILED
push eax
push ecx
mov ecx, dword [esp + 0x30]
push 2
push ecx
lea eax, [esp + 0x20]
call fcn.004420a0
mov edx, dword [esp + 0x30]
add esp, 0xc
push eax
push 2
push edx
lea eax, [esp + 0x20]
call fcn.004420a0
add esp, 8
push eax
mov eax, dword [esp + 0x30]
push ecx
push 2
push eax
lea eax, [esp + 0x28]
call fcn.004420a0
add esp, 0xc
push eax
push str.Set_TAP_Win32_TUN_subnet_mode_network_local_netmask___s__s__s___s_
push esi
call fcn.00408640
add esp, 0x18
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp dword [esp + 0x1c], 0
je 0x452005
mov ecx, dword [ebx + 0xa4]
push ecx
call edi
mov edx, dword [ebx + 0x180]
push edx
mov dword [esp + 0x24], eax
call edi
mov dword [esp + 0x24], eax
mov eax, dword [ebx]
cmp eax, 2
jne 0x451cff
cmp dword [ebx + 4], 3
jne 0x451cc2
mov eax, dword [ebx + 0xa8]
not eax
test eax, eax
je 0x451cb8
mov ecx, dword [ebx + 0xa4]
or ecx, eax
sub ecx, 1
push ecx
jmp 0x451cc9
cmp eax, 4
jne 0x451a8a
mov eax, dword [ebx + 0x184]
call fcn.0044f940
cmp eax, edi
je 0x451a86
mov edx, dword [ebx + 0x180]
mov eax, dword [ebx + 0xa4]
mov ecx, dword [ebx + 0x9c]
push 7
push edx
push eax
push ecx
lea edx, [ebx + 0x14]
push edx
call fcn.00450b50
add esp, 0x14
jmp 0x451a8a
mov ecx, dword [ebx + 0xa4]
push ecx
call edi
mov edx, dword [ebx + 0xa8]
push edx
mov dword [esp + 0x24], eax
call edi
push 0
mov dword [esp + 0x28], eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [ebx + 0xb0]
push 8
lea ecx, [esp + 0x2c]
push ecx
push 8
mov edx, ecx
push edx
push 0x220014
push eax
call esi
test eax, eax
jne 0x451bb0
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451bb0
push str.ERROR:_The_TAP_Win32_driver_rejected_a_DeviceIoControl_call_to_set_Point_to_Point_mode__which_is_required_for___dev_tun
push 0x10
call fcn.00408640
add esp, 8
jmp 0x451bb0
mov dword [esp + 0x28], 0
jmp 0x451ccf
mov edx, dword [ebx + 0xa8]
push edx
call edi
mov dword [esp + 0x28], eax
cmp dword [ebx + 0x1c], 0
je 0x451db4
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x451db4
push str.WARNING:_because_you_are_using___dev_tun_mode__the___ip_win32_dynamic__offset__option_is_ignoring_the_offset_parameter
push 0x40
call fcn.00408640
add esp, 8
jmp 0x451db4
cmp eax, 3
je 0x451d2b
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451d2b
push 0xff0
push str.._tun.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
mov ecx, dword [ebx + 0x20]
test ecx, ecx
mov eax, dword [ebx + 0xa4]
mov esi, dword [ebx + 0x180]
jge 0x451d44
not esi
or esi, eax
jmp 0x451d46
and esi, eax
add esi, ecx
cmp esi, eax
jne 0x451d76
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451d76
push 0
push esi
lea eax, [esp + 0x18]
call fcn.004420a0
push eax
push str.ERROR:_There_is_a_clash_between_the___ifconfig_local_address_and_the_internal_DHCP_server_address____both_are_set_to__s____please_use_the___ip_win32_dynamic_option_to_choose_a_different_free_address_from_the___ifconfig_subnet_for_the_internal_DHCP_server
push 0x10
call fcn.00408640
add esp, 0x14
mov eax, dword [ebx + 0x180]
mov ecx, esi
and ecx, eax
and eax, dword [ebx + 0xa4]
cmp eax, ecx
je 0x451da7
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451da7
push str.ERROR:___tap_win32_dynamic__offset__:_offset_is_outside_of___ifconfig_subnet
push 0x10
call fcn.00408640
add esp, 8
push esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x24]
test eax, eax
mov dword [esp + 0x2c], eax
ja 0x451de6
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451de6
push 0x1003
push str.._tun.c
push str.Assertion_failed_at__s:_d
push 0x10
call fcn.00408640
add esp, 0x10
push 0
lea edx, [esp + 0x34]
push edx
mov edx, dword [ebx + 0xb0]
push 0x10
lea eax, [esp + 0x2c]
push eax
push 0x10
mov ecx, eax
push ecx
push 0x22001c
push edx
call esi
test eax, eax
jne 0x451e28
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451e28
push str.ERROR:_The_TAP_Win32_driver_rejected_a_DeviceIoControl_call_to_set_TAP_IOCTL_CONFIG_DHCP_MASQ_mode
push 0x10
call fcn.00408640
add esp, 8
cmp dword [0x5426d0], 1
jb 0x451e9a
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x451e9a
mov eax, dword [esp + 0x2c]
push eax
push ecx
mov ecx, dword [esp + 0x30]
push 2
push ecx
lea eax, [esp + 0x20]
call fcn.004420a0
mov edx, dword [esp + 0x28]
add esp, 0xc
push eax
mov eax, dword [ebx + 0x180]
push edx
push ecx
push 0
push eax
lea eax, [esp + 0x28]
call fcn.004420a0
mov ecx, dword [ebx + 0xa4]
add esp, 0xc
push eax
push 0
push ecx
lea eax, [esp + 0x28]
call fcn.004420a0
add esp, 8
push eax
push str.Notified_TAP_Win32_driver_to_set_a_DHCP_IP_netmask_of__s__s_on_interface__s__DHCP_serv:__s__lease_time:__d_
push 1
call fcn.00408640
add esp, 0x1c
cmp dword [ebx + 0x2c], 0
je 0x452005
mov edi, 0x100
push edi
xor esi, esi
call dword [sym.imp.MSVCR80.dll_malloc]
add esp, 4
test eax, eax
jne 0x451ebe
jmp fcn.00408a80
lea edx, [ebx + 0x14]
mov byte [eax], 0
xor ecx, ecx
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x3c]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], ecx
call fcn.00451300
mov edi, dword [esp + 0x48]
add esp, 4
test eax, eax
je 0x451fda
cmp dword [0x5426d0], 4
mov esi, dword [esp + 0x40]
jb 0x451f58
push 0x35000004
call fcn.00408960
add esp, 4
test eax, eax
je 0x451f58
test edi, edi
je 0x451f19
test esi, esi
jl 0x451f19
mov ebx, esi
jmp 0x451f1b
xor ebx, ebx
test edi, edi
je 0x451f2b
test esi, esi
jl 0x451f2b
mov eax, dword [esp + 0x3c]
add eax, edi
jmp 0x451f2d
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push 0x510330
push 4
push eax
xor eax, eax
call fcn.00403180
push eax
push str.DHCP_option_string:__s
push 0x35000004
call fcn.00408640
mov ebx, dword [esp + 0x68]
add esp, 0x1c
test edi, edi
je 0x451f64
test esi, esi
mov dword [esp + 0x1c], esi
jge 0x451f6c
mov dword [esp + 0x1c], 0
test edi, edi
je 0x451f7c
test esi, esi
jl 0x451f7c
mov edx, dword [esp + 0x3c]
add edx, edi
jmp 0x451f7e
xor edx, edx
test edi, edi
je 0x451f8a
test esi, esi
jl 0x451f8a
mov ecx, esi
jmp 0x451f8c
xor ecx, ecx
test edi, edi
je 0x451f9c
test esi, esi
jl 0x451f9c
mov eax, dword [esp + 0x3c]
add eax, edi
jmp 0x451f9e
xor eax, eax
push 0
lea esi, [esp + 0x34]
push esi
mov esi, dword [esp + 0x24]
push esi
push edx
push ecx
mov ecx, dword [ebx + 0xb0]
push eax
push 0x220024
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x451ff7
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x451ff7
push str.ERROR:_The_TAP_Win32_driver_rejected_a_TAP_IOCTL_CONFIG_DHCP_SET_OPT_DeviceIoControl_call
push 0x10
jmp 0x451fef
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x451ff7
push str.DHCP_option_string_not_set_due_to_error
push 0x40
call fcn.00408640
add esp, 8
test edi, edi
je 0x452005
push edi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
push 0
lea edx, [esp + 0x34]
push edx
mov edx, dword [ebx + 0xb0]
push 4
lea eax, [esp + 0x28]
push eax
push 4
mov ecx, eax
push ecx
push 0x220018
mov edi, 1
push edx
mov dword [esp + 0x3c], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x452054
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x452054
push str.WARNING:_The_TAP_Win32_driver_rejected_a_TAP_IOCTL_SET_MEDIA_STATUS_DeviceIoControl_call.
push 0x40
call fcn.00408640
add esp, 8
mov esi, dword [ebx + 0x28]
test esi, esi
jle 0x4520a1
cmp dword [0x5426d0], edi
jb 0x45207f
push edi
call fcn.00408960
add esp, 4
test eax, eax
je 0x45207f
push esi
push str.Sleeping_for__d_seconds...
push edi
call fcn.00408640
add esp, 0xc
mov eax, dword [0x5426b0]
test eax, eax
je 0x452094
push esi
push eax
call fcn.004187f0
add esp, 8
jmp 0x4520a1
imul esi, esi, 0x3e8
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebx + 0x184]
cmp edi, 0xffffffff
je 0x452125
push edi
call sub.iphlpapi.dll_FlushIpNetTable
mov esi, eax
test esi, esi
jne 0x4520e6
cmp dword [0x5426d0], 1
jb 0x452125
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x452125
mov eax, dword [esp + 0x18]
push eax
push edi
push str.Successful_ARP_Flush_on_interface___u___s
push 1
call fcn.00408640
add esp, 0x10
jmp 0x452125
cmp dword [0x5426d0], 3
jb 0x452125
push 0x20000003
call fcn.00408960
add esp, 4
test eax, eax
je 0x452125
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00408fd0
mov ecx, dword [esp + 0x18]
push eax
push esi
push ecx
push edi
push str.NOTE:_FlushIpNetTable_failed_on_interface___u___s__status_u__:__s
push 0x20000003
call fcn.00408640
add esp, 0x18
cmp dword [esp + 0x34], 0
je 0x452195
mov eax, edi
call fcn.0044f940
cmp eax, 2
jne 0x452155
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x452155
push str.WARNING:_You_have_selected___ip_win32_dynamic__which_will_not_work_unless_the_TAP_Win32_TCP_IP_properties_are_set_to_Obtain_an_IP_address_automatically
push 0x40
call fcn.00408640
add esp, 8
cmp dword [ebx + 0x94], 0
je 0x452174
cmp dword [ebx + 0x18], 3
jne 0x452174
mov eax, dword [ebx + 0x184]
cmp eax, 0xffffffff
je 0x452174
call fcn.00450450
cmp dword [ebx + 0x90], 0
je 0x45219c
cmp dword [ebx + 0x18], 3
jne 0x45219c
mov eax, dword [ebx + 0x184]
cmp eax, 0xffffffff
je 0x45219c
call fcn.00450530
jmp 0x45219c
mov eax, ebx
call fcn.004514c0
cmp dword [ebx + 8], 0
je 0x452310
cmp dword [ebx + 0x18], 2
jne 0x452310
cmp edi, 0xffffffff
jne 0x4521dc
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x4521dc
mov edx, dword [esp + 0x18]
push str.I_am_having_trouble_using_the_Windows_IP_helper_API_to_automatically_set_the_IP_address____consider_using_other___ip_win32_methods__not_ipapi_
push edx
push str.ERROR:_unable_to_get_adapter_index_for_interface__s_____s
push 0x10
call fcn.00408640
add esp, 0x10
mov eax, edi
call fcn.0044f940
cmp eax, 2
jne 0x452205
push 0x40
call fcn.00408960
add esp, 4
test eax, eax
je 0x452205
push str.NOTE:_You_have_selected__explicitly_or_by_default____ip_win32_ipapi__which_has_a_better_chance_of_working_correctly_if_the_TAP_Win32_TCP_IP_properties_are_set_to_Obtain_an_IP_address_automatically
push 0x40
call fcn.00408640
add esp, 8
mov eax, edi
call fcn.0044f9b0
mov edx, dword [ebx + 0x180]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
lea eax, [ebx + 0x17c]
push eax
lea ecx, [ebx + 0x178]
push ecx
push edi
push edx
call esi
push eax
mov eax, dword [ebx + 0xa4]
push eax
call esi
push eax
call sub.iphlpapi.dll_AddIPAddress
mov esi, eax
test esi, esi
jne 0x4522a0
cmp dword [0x5426d0], 1
jb 0x452306
push 1
call fcn.00408960
add esp, 4
test eax, eax
je 0x452306
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x180]
push ecx
push ecx
push esi
push edx
lea eax, [esp + 0x20]
call fcn.004420a0
add esp, 0xc
push eax
mov eax, dword [ebx + 0xa4]
push esi
push eax
lea eax, [esp + 0x20]
call fcn.004420a0
add esp, 8
push eax
push str.Succeeded_in_adding_a_temporary_IP_netmask_of__s__s_to_interface__s_using_the_Win32_IP_Helper_API
push 1
call fcn.00408640
add esp, 0x14
jmp 0x452306
push 0x10
call fcn.00408960
add esp, 4
test eax, eax
je 0x452306
push str.I_am_having_trouble_using_the_Windows_IP_helper_API_to_automatically_set_the_IP_address____consider_using_other___ip_win32_methods__not_ipapi_
push ecx
lea ecx, [esp + 0x18]
mov edx, esi
call fcn.00408fd0
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0x180]
add esp, 4
push eax
push esi
push edi
push ecx
push ecx
push 0
push edx
lea eax, [esp + 0x30]
call fcn.004420a0
add esp, 0xc
push eax
mov eax, dword [ebx + 0xa4]
push 0
push eax
lea eax, [esp + 0x30]
call fcn.004420a0
add esp, 8
push eax
push str.ERROR:_AddIPAddress__s__s_failed_on_interface__s__index_d__status_u__windows_error:__s______s
push 0x10
call fcn.00408640
add esp, 0x24
mov dword [ebx + 0x174], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45232e
mov edi, dword [sym.imp.MSVCR80.dll_free]
mov edi, edi
mov esi, dword [eax]
push eax
call edi
add esp, 4
test esi, esi
mov eax, esi
jne 0x452320
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004dcaae
mov esp, ebp
pop ebp
ret