Function at 0x43a8d8
Capabilities:
Convert ip address from string
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x46f008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x62c], edx
push 0x2e
push 0
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x620], eax
mov al, byte [0x4574ab]
mov byte [ebp - 0x34], al
lea eax, [ebp - 0x33]
push eax
call fcn.004520c0
mov ebx, dword [edi + 0x564]
add esp, 0xc
xor eax, eax
mov byte [ebp - 0x609], 1
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x610], eax
push 0x17
pop esi
test ebx, ebx
je 0x43aaf0
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a94e
sub ecx, edx
cmp ecx, 1
jbe 0x43aae8
mov edx, ebx
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x43a965
sub edx, ecx
push 0x41
pop ecx
cmp edx, ecx
jb 0x43a983
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a97a
sub ecx, edx
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_calloc]
lea eax, [ecx + 1]
push 1
push eax
mov ecx, esi
call dword [0x4553fc]
call esi
mov dword [ebp - 0x610], eax
pop ecx
pop ecx
test eax, eax
jne 0x43a9ac
push 0x1b
jmp 0x43b095
mov al, byte [ebx]
cmp al, 0x5b
jne 0x43a9cd
push 0x5d
push ebx
call fcn.00451a20
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43aa28
lea eax, [ebx + 1]
mov ecx, esi
sub ecx, eax
push ecx
push eax
jmp 0x43aa18
cmp al, 0x3a
jne 0x43a9d5
mov esi, ebx
jmp 0x43aa30
push 0x3a
push ebx
call fcn.00451a20
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43aa7d
lea eax, [ebp - 0x608]
push eax
push ebx
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x43aa12
mov ecx, dword [ebp - 0x610]
sub ecx, ebx
mov al, byte [ebx]
mov byte [ebx + ecx], al
inc ebx
test al, al
jne 0x43aa06
jmp 0x43aa8f
mov eax, esi
sub eax, ebx
push eax
push ebx
mov eax, dword [ebp - 0x610]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
add esp, 0xc
xor ebx, ebx
xor edx, edx
test esi, esi
je 0x43aa93
push 0x3a
push esi
call fcn.00451a20
mov esi, eax
xor ebx, ebx
pop ecx
xor edx, edx
pop ecx
test esi, esi
je 0x43aa93
push 0xa
push edx
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
movzx ebx, ax
push 0x2d
push esi
call fcn.00451a20
pop ecx
pop ecx
test eax, eax
je 0x43aa79
push 0xa
inc eax
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
movzx edx, ax
jmp 0x43aa93
mov edx, ebx
jmp 0x43aa93
mov ecx, dword [ebp - 0x610]
sub ecx, ebx
mov al, byte [ebx]
mov byte [ebx + ecx], al
inc ebx
test al, al
jne 0x43aa85
xor ebx, ebx
xor edx, edx
xor ecx, ecx
movzx eax, dx
cmp bx, dx
cmovbe ecx, eax
movzx eax, bx
movzx esi, cx
xor ecx, ecx
cmp bx, dx
mov ebx, dword [ebp - 0x610]
cmovbe ecx, eax
movzx ecx, cx
cmp byte [ebx], 0
je 0x43aad3
mov eax, ebx
mov dword [ebp - 0x618], ebx
mov dword [ebp - 0x624], ecx
mov dword [ebp - 0x628], esi
jmp 0x43ab8b
mov eax, ecx
mov dword [ebp - 0x624], eax
mov eax, esi
push 0x17
mov dword [ebp - 0x628], eax
pop esi
jmp 0x43aaf2
mov ebx, dword [ebp - 0x610]
jmp 0x43aaf2
mov ebx, eax
mov edx, dword [ebp - 0x620]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x608]
mov dword [ebp - 0x61c], 0x80
push eax
push dword [edx + 0x150]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x43ab40
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea edx, [ebp - 0x180]
mov ecx, eax
call fcn.0041a0b8
pop ecx
push eax
push str.getsockname___failed:__s
jmp 0x43b078
cmp word [ebp - 0x608], si
lea ecx, [ebp - 0x600]
lea edx, [ebp - 0x604]
cmove edx, ecx
lea ecx, [ebp - 0x588]
push 0x401
push ecx
movzx ecx, word [ebp - 0x608]
call fcn.00429bff
pop ecx
pop ecx
test eax, eax
je 0x43b093
lea eax, [ebp - 0x588]
mov byte [ebp - 0x609], 0
mov dword [ebp - 0x618], eax
lea ecx, [ebp - 0x614]
mov edx, eax
push ecx
push 0
push 0
mov ecx, edi
call fcn.0042ea06
add esp, 0xc
cmp eax, 1
jne 0x43abb6
push eax
lea edx, [ebp - 0x614]
mov ecx, edi
call fcn.00428ca8
pop ecx
mov edx, dword [ebp - 0x614]
test edx, edx
je 0x43b06d
mov esi, dword [edx]
mov ecx, edi
mov dword [ebp - 0x614], esi
call fcn.0042ec6b
test esi, esi
je 0x43b06d
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, esi
push ebx
call dword [0x4553fc]
call esi
or dword [ebp - 0x618], 0xffffffff
mov ebx, dword [ebp - 0x614]
pop ecx
lea eax, [ebp - 0x618]
mov edx, ebx
push eax
push 0
mov ecx, edi
call fcn.0041f472
mov dword [ebp - 0x610], eax
pop ecx
pop ecx
test eax, eax
je 0x43ac4e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, dword [ebx + 0x1c]
mov dword [ebp - 0x614], ebx
test ebx, ebx
jne 0x43abfa
push ecx
lea edx, [ebp - 0x180]
mov ecx, eax
call fcn.0041a0b8
pop ecx
push eax
push str.socket_failure:__s
push edi
call fcn.0041d6ad
add esp, 0xc
jmp 0x43b093
push dword [ebx + 0x10]
lea eax, [ebp - 0x608]
push dword [ebx + 0x18]
push eax
call fcn.00452780
mov eax, dword [ebx + 0x10]
add esp, 0xc
mov esi, dword [ebp - 0x618]
mov dword [ebp - 0x61c], eax
mov eax, dword [ebp - 0x624]
cmp ax, word [ebp - 0x628]
movzx ebx, ax
ja 0x43b04f
push 2
pop ecx
movzx eax, bx
push ebx
mov dword [ebp - 0x618], eax
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebp - 0x61c]
movzx eax, ax
mov word [ebp - 0x606], ax
lea eax, [ebp - 0x608]
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x43adba
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp byte [ebp - 0x609], 0
je 0x43ad39
mov ecx, 0x2741
cmp eax, ecx
jne 0x43ad39
push ecx
lea edx, [ebp - 0x180]
call fcn.0041a0b8
pop ecx
push eax
movzx eax, bx
push eax
push str.bind_port_hu__on_non_local_address_failed:__s
push edi
call fcn.0041d632
mov ebx, dword [ebp - 0x620]
lea eax, [ebp - 0x61c]
add esp, 0x10
mov dword [ebp - 0x61c], 0x80
push eax
lea eax, [ebp - 0x608]
push eax
push dword [ebx + 0x150]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x43ad52
mov eax, dword [ebp - 0x624]
movzx ebx, ax
mov byte [ebp - 0x609], 0
jmp 0x43ad46
cmp eax, 0x2740
je 0x43ad45
cmp eax, 0xd
jne 0x43ad85
inc ebx
cmp bx, word [ebp - 0x628]
jmp 0x43ac82
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea edx, [ebp - 0x180]
mov ecx, eax
call fcn.0041a0b8
pop ecx
push eax
push str.getsockname___failed:__s
push edi
call fcn.0041d6ad
mov edx, ebx
add esp, 0xc
mov ecx, edi
push esi
call fcn.0041f3fc
jmp 0x43b092
push ecx
lea edx, [ebp - 0x180]
mov ecx, eax
call fcn.0041a0b8
pop ecx
push eax
movzx eax, bx
push eax
push str.bind_port_hu__failed:__s
push edi
call fcn.0041d6ad
mov edx, dword [ebp - 0x620]
mov ecx, edi
push esi
call fcn.0041f3fc
add esp, 0x14
jmp 0x43b093
mov eax, dword [ebp - 0x628]
cmp word [ebp - 0x618], ax
ja 0x43b04f
lea eax, [ebp - 0x61c]
mov dword [ebp - 0x61c], 0x80
push eax
lea eax, [ebp - 0x608]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x43ae1c
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea edx, [ebp - 0x180]
mov ecx, eax
call fcn.0041a0b8
pop ecx
push eax
push str.getsockname___failed:__s
push edi
call fcn.0041d6ad
mov edx, dword [ebp - 0x620]
jmp 0x43ad75
push 1
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x43ae46
push ecx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
lea edx, [ebp - 0x180]
mov ecx, eax
call fcn.0041a0b8
pop ecx
push eax
push str.socket_failure:__s
jmp 0x43ae0b
mov ecx, dword [ebp - 0x614]
lea edx, [ebp - 0x34]
push 0x2f
call fcn.0042e310
mov ebx, dword [ebp - 0x620]
pop ecx
cmp byte [ebx + 0x283], 0
jne 0x43ae76
cmp byte [ebx + 0x27c], 0
je 0x43ae76
mov byte [ebx + 0x283], 1
mov edx, dword [ebp - 0x62c]
push 2
pop eax
cmp edx, eax
je 0x43b024
mov cx, word [ebp - 0x608]
cmp byte [ebx + 0x283], 0
jne 0x43ae9b
test edx, edx
je 0x43aee5
cmp edx, 1
jne 0x43aea5
cmp cx, ax
jne 0x43aee5
movzx eax, cx
dec eax
sub eax, 1
je 0x43aeb3
sub eax, 0x15
jne 0x43aee2
push dword [ebp - 0x606]
call dword [sym.imp.WS2_32.dll_ntohs]
mov edx, dword [ebp - 0x62c]
movzx eax, ax
mov dword [ebp - 0x614], eax
test edx, edx
je 0x43afa4
cmp edx, 1
je 0x43aef5
mov cx, word [ebp - 0x608]
push 2
pop eax
inc edx
mov dword [ebp - 0x62c], edx
cmp edx, eax
jne 0x43ae8e
jmp 0x43b024
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x80]
mov dword [ebp - 0x618], eax
mov cl, byte [eax]
test cl, cl
je 0x43af32
cmp cl, 0x2e
movzx eax, cl
mov dword [ebp - 0x624], 0x2c
cmove eax, dword [ebp - 0x624]
mov byte [edx], al
inc edx
mov eax, dword [ebp - 0x618]
add eax, 1
mov dword [ebp - 0x618], eax
jne 0x43af01
mov eax, dword [ebp - 0x614]
movzx ecx, ax
movzx eax, cl
push eax
shr ecx, 8
push ecx
push str.__d__d
push 0x14
push edx
mov byte [edx], 0
call fcn.0041201d
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
push str.PORT
push str._s__s
lea eax, [ebx + 0x450]
push eax
push edi
call fcn.0044c331
add esp, 0x14
mov dword [ebp - 0x610], eax
test eax, eax
je 0x43b01e
mov ecx, eax
call fcn.004198fc
push eax
push str.Failure_sending_PORT_command:__s
push edi
call fcn.0041d6ad
add esp, 0xc
mov edx, ebx
mov ecx, edi
push esi
call fcn.0041f3fc
jmp 0x43b00b
movzx eax, ax
push eax
lea eax, [ebp - 0x34]
push eax
push 2
pop ecx
xor eax, eax
cmp word [ebp - 0x608], cx
setne al
inc eax
push eax
push str.EPRT
push str._s__d_s_hu
lea eax, [ebx + 0x450]
push eax
push edi
call fcn.0044c331
add esp, 0x1c
mov dword [ebp - 0x610], eax
test eax, eax
je 0x43b01e
mov ecx, eax
call fcn.004198fc
push eax
push str.Failure_sending_EPRT_command:__s
push edi
call fcn.0041d6ad
add esp, 0xc
mov edx, ebx
mov ecx, edi
push esi
call fcn.0041f3fc
mov dword [ebx + 0x4c8], 1
mov eax, dword [edi + 0xc]
pop ecx
and dword [eax + 0x4d4], 0
mov eax, dword [ebp - 0x610]
jmp 0x43b096
mov edx, dword [ebp - 0x62c]
mov dword [ebx + 0x4c8], edx
mov ecx, edi
mov edx, ebx
call fcn.0043a056
mov dword [ebx + 0x154], esi
mov byte [ebx + 0x26d], 1
mov eax, dword [edi + 0xc]
mov dword [eax + 0x4d4], 0x1c
jmp 0x43b016
push str.bind___failed__we_ran_out_of_ports
push edi
call fcn.0041d6ad
mov edx, dword [ebp - 0x620]
mov ecx, edi
push esi
call fcn.0041f3fc
jmp 0x43ac46
push dword [ebp - 0x618]
push str.failed_to_resolve_the_address_provided_to_PORT:__s
push edi
call fcn.0041d6ad
mov esi, dword [sub.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
mov ecx, esi
push ebx
call dword [0x4553fc]
call esi
pop ecx
push 0x1e
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00450ca6
leave
ret