Function at 0x424e50
Capabilities:
Get socket status

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x24c]
push ebx
lea ebx, [ebp - 0x1c0]
mov edi, esi
push ecx
sub esp, 0x278
mov eax, dword [ecx]
mov dword [ebp - 0x25c], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x260], eax
call sym.___main
call sym._initWin32
mov dword [esp], ebx
call sym._edge_init_conf_defaults
xor eax, eax
mov ecx, 0x23
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1ec]
mov dword [ebp - 0x1c8], 0x530
mov byte [ebp - 0x1c3], 1
mov dword [esp + 8], 0x427e93
mov dword [esp + 4], 0x10
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__snprintf]
cmp dword [ebp - 0x25c], 1
jle 0x424f22
mov eax, dword [ebp - 0x260]
mov eax, dword [eax + 4]
cmp byte [eax], 0x2d
je 0x424f00
mov ecx, esi
mov edx, ebx
call sym._loadFromFile
cmp dword [ebp - 0x25c], 2
mov dword [ebp - 0x258], eax
je 0x424f36
mov eax, dword [ebp - 0x260]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x25c]
mov dword [esp], eax
call sym._loadFromCLI
jmp 0x424f30
mov ecx, esi
mov edx, ebx
mov eax, str.edge.conf
call sym._loadFromFile
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x140], 1
jne 0x424f76
cmp dword [ebp - 0x130], 0
je 0x424f76
mov dword [esp + 0xc], str.Switching_to_Twofish_as_key_was_provided.
mov dword [esp + 8], 0x32d
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 1
call sym._traceEvent
mov dword [ebp - 0x140], 2
cmp dword [ebp - 0x258], 0
jns 0x424f84
call sym._help
mov dword [esp], ebx
call sym._edge_verify_conf
test eax, eax
jne 0x424f7f
mov dword [esp + 0x14], str.Aug_17_2023_22:04:37
mov dword [esp + 0x10], 0x427eea
mov dword [esp + 0xc], str.Starting_n2n_edge__s__s
mov dword [esp + 8], 0x338
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
movzx eax, byte [ebp - 0x13c]
mov dword [esp], eax
call sym._compression_str
mov dword [esp + 0xc], str.Using_compression:__s.
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x33e
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
mov eax, dword [ebp - 0x140]
mov dword [esp], eax
call sym._transop_str
mov dword [esp + 0xc], str.Using__s_cipher.
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x33f
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
call sym._n2n_seed
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._n2n_srand
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x425086
mov dword [esp + 4], eax
lea eax, [ebp - 0x15c]
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x425086
mov dword [esp + 0xc], str.Community_and_encryption_key_must_differ__otherwise_security_will_be_compromised
mov dword [esp + 8], 0x34c
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 1
call sym._traceEvent
lea eax, [ebp - 0x258]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._edge_init
mov ebx, eax
test eax, eax
jne 0x4250c7
mov dword [esp + 0xc], str.Failed_in_edge_init
mov dword [esp + 8], 0x34f
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 0
call sym._traceEvent
jmp 0x4252b4
lea eax, [eax + 0x1a8]
mov ecx, 0x23
mov edi, eax
mov dword [ebp - 0x25c], eax
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x1e8]
mov dword [esp], 0x427fa2
mov dword [esp + 4], esi
call sym._strcmp
test eax, eax
je 0x425108
cmp byte [ebx + 0x1e8], 0
jne 0x425138
cmp byte [ebx + 0x1f8], 0
je 0x425138
mov dword [esp + 0xc], str.Use_manually_set_IP_address.
mov dword [esp + 8], 0x356
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
mov byte [ebx + 0x88], 1
jmp 0x425260
mov dword [esp + 4], esi
mov dword [esp], 0x427fc6
call sym._strcmp
test eax, eax
jne 0x42517c
mov dword [esp + 0xc], str.Obtain_IP_from_other_edge_DHCP_services.
mov dword [esp + 8], 0x359
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
mov byte [ebx + 0x88], 2
jmp 0x425260
mov dword [esp + 0xc], str.Automatically_assign_IP_address_by_supernode.
mov dword [esp + 8], 0x35c
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
mov byte [ebx + 0x88], 0
mov dword [esp], 0
lea edi, [ebp - 0x11c]
call dword [sym.imp.msvcrt.dll_time]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._update_supernode_reg
mov eax, dword [ebx + 0x154]
mov dword [esp + 4], edi
lea edx, [ebp - 0x254]
mov dword [ebp - 0x11c], 1
mov dword [ebp - 0x118], eax
inc eax
mov dword [ebp - 0x254], 0xa
mov dword [ebp - 0x250], 0
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.WS2_32.dll_select]
sub esp, 0x14
test eax, eax
jle 0x425249
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x154]
mov dword [esp], eax
call sym.___WSAFDIsSet_8
push edx
push edx
test eax, eax
je 0x425249
mov eax, dword [ebx + 0x154]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._readFromIPSocket
cmp byte [ebx + 0xa5], 0
jne 0x4251a7
mov dword [ebx + 0x180], 0
mov eax, dword [ebx + 0x22c]
lea edx, [ebx + 0x208]
mov dword [esp + 8], esi
lea edi, [ebx + 0x1f8]
lea esi, [ebp - 0x11c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x218]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x25c]
mov dword [esp + 0xc], edi
mov dword [esp + 4], eax
mov dword [esp], esi
mov dword [ebp - 0x260], edx
call sym._tuntap_open
mov edx, dword [ebp - 0x260]
test eax, eax
jns 0x4252c0
mov dword [esp], 1
call sym._exit
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.Local_tuntap_IP:__s__Mask:__s
mov dword [esp + 8], 0x374
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
lea edx, [ebx + 0xac]
mov ecx, 0x12
mov edi, edx
mov dword [ebp - 0x25c], edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 4], 1
mov dword [esp], sym._term_handler_4
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov dword [0x43204c], 1
push eax
push eax
mov dword [esp + 0xc], str.edge_started
mov dword [esp + 8], 0x3aa
mov dword [esp + 4], str._n2n_lucktu_cnn2n_src_edge.c
mov dword [esp], 2
call sym._traceEvent
mov dword [esp], ebx
mov dword [esp + 4], 0x43204c
call sym._run_edge_loop
mov dword [esp], ebx
mov dword [ebp - 0x258], eax
call sym._print_edge_stats
mov dword [esp], ebx
call sym._edge_term_conf
mov edx, dword [ebp - 0x25c]
mov dword [esp], edx
call sym._tuntap_close
mov dword [esp], ebx
call sym._edge_term
call sym._destroyWin32
mov eax, dword [ebp - 0x258]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret