Function at 0x43ee80
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x620
mov eax, dword [0x7c9564]
xor eax, esp
mov dword [esp + 0x61c], eax
mov eax, dword [esp + 0x628]
push ebx
push ebp
mov ebp, dword [esp + 0x62c]
mov ecx, dword [ebp + 0xc]
push esi
push edi
xor ebx, ebx
push 0x2e
lea edx, [esp + 0xb9]
push ebx
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], 0xffffffff
mov byte [esp + 0xc0], bl
call fcn.004d1020
mov esi, dword [ebp + 0x5bc]
add esp, 0xc
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], 1
cmp esi, ebx
je 0x43f046
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ef00
sub eax, edx
cmp eax, 1
jbe 0x43f046
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ef17
sub eax, edx
cmp eax, 0x41
jae 0x43ef2c
mov eax, 0x41
jmp 0x43ef3a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43ef31
sub eax, edx
inc eax
push 1
push eax
call dword [0x7c6030]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43ef55
lea eax, [ebx + 0x1b]
jmp 0x43f64f
mov al, byte [esi]
cmp al, 0x5b
jne 0x43f0aa
lea eax, [esi + 1]
push 0x5d
push esi
mov dword [esp + 0x30], eax
call fcn.004cd150
mov edi, eax
add esp, 8
test edi, edi
je 0x43eff9
mov eax, dword [esp + 0x28]
mov ecx, edi
sub ecx, eax
push ecx
push eax
push ebx
call fcn.004cdd40
add esp, 0xc
test edi, edi
je 0x43eff9
push 0x3a
push edi
call fcn.004cd150
mov esi, eax
add esp, 8
test esi, esi
je 0x43eff9
push 0xa
lea ecx, [esi + 1]
push 0
push ecx
call fcn.004d1f9d
push eax
call fcn.004272c0
movzx edi, ax
push 0x2d
push esi
mov dword [esp + 0x34], edi
call fcn.004cd150
xor esi, esi
add esp, 0x18
cmp eax, esi
je 0x43f11f
push 0xa
inc eax
push esi
push eax
call fcn.004d1f9d
push eax
call fcn.004272c0
movzx eax, ax
add esp, 0x10
mov dword [esp + 0x14], eax
cmp di, ax
jbe 0x43eff9
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
cmp byte [ebx], 0
je 0x43f046
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x48]
push 0x401
lea eax, [esp + 0x22c]
push eax
mov eax, dword [edx + 0x18]
push ebx
push ecx
push eax
call fcn.0045bff0
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx + 4]
add esp, 4
push eax
push edx
call fcn.0045c080
add esp, 0x18
sub eax, 0
je 0x43f12b
dec eax
je 0x43f0a0
dec eax
je 0x43f16d
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], 0x80
mov eax, dword [edx + 0x148]
push ecx
push eax
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
je 0x43f12f
push pe_nt_image_headers32
lea ecx, [esp + 0x12c]
push ecx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
call fcn.004197e0
push eax
push str.getsockname___failed:__s
push ebp
call fcn.0042c1c0
push ebx
call dword [0x7c6024]
add esp, 0x1c
mov eax, 0x1e
jmp 0x43f64f
cmp al, 0x3a
jne 0x43f0b5
mov edi, esi
jmp 0x43ef8e
push 0x3a
push esi
call fcn.004cd150
mov edi, eax
add esp, 8
test edi, edi
je 0x43f10a
lea edx, [esp + 0x34]
push edx
push esi
push 0x17
call fcn.0045bfa0
add esp, 0xc
cmp eax, 1
jne 0x43f0ff
xor eax, eax
mov edx, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, esi
sub edx, esi
jmp 0x43f0f0
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f0f0
jmp 0x43eff9
mov eax, edi
sub eax, esi
push eax
push esi
jmp 0x43ef85
mov edx, ebx
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x43f110
jmp 0x43eff9
movzx edx, di
mov dword [esp + 0x14], edx
jmp 0x43eff9
mov esi, ebx
jmp 0x43f174
movzx eax, word [esp + 0x34]
push 0x401
lea edx, [esp + 0x22c]
push edx
cmp eax, 0x17
je 0x43f14e
lea ecx, [esp + 0x40]
push ecx
push eax
jmp 0x43f155
lea eax, [esp + 0x44]
push eax
push 0x17
call fcn.0045c420
add esp, 0x10
test eax, eax
je 0x43f0a0
mov dword [esp + 0x30], 0
lea esi, [esp + 0x228]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push esi
push ebp
call fcn.0044c310
add esp, 0x14
cmp eax, 1
jne 0x43f19a
lea edx, [esp + 0x2c]
push edx
push ebp
call fcn.004278d0
add esp, 8
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43f1b2
mov edi, dword [eax]
push eax
push ebp
call fcn.0044c5c0
add esp, 8
test edi, edi
jne 0x43f1d2
push esi
push str.failed_to_resolve_the_address_provided_to_PORT:__s
push ebp
call fcn.0042c1c0
push ebx
call dword [0x7c6024]
add esp, 0x10
mov eax, 0x1e
jmp 0x43f64f
push ebx
call dword [0x7c6024]
mov ebx, dword [sym.imp.WSOCK32.dll_WSAGetLastError]
add esp, 4
mov dword [esp + 0x10], 0xffffffff
xor esi, esi
lea esp, [esp]
lea eax, [esp + 0x10]
push eax
push 0
push edi
push ebp
call fcn.0042e600
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x43f216
call ebx
mov edi, dword [edi + 0x1c]
mov esi, eax
test edi, edi
jne 0x43f1f0
jmp 0x43f21a
test edi, edi
jne 0x43f246
push pe_nt_image_headers32
lea ecx, [esp + 0x12c]
push ecx
push esi
call fcn.004197e0
push eax
push str.socket_failure:__s
push ebp
call fcn.0042c1c0
add esp, 0x18
mov eax, 0x1e
jmp 0x43f64f
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x18]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.004cfb70
mov eax, dword [esp + 0x28]
mov edx, dword [edi + 0x10]
mov ebx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x18], edx
movzx esi, ax
cmp ax, word [esp + 0x14]
ja 0x43f3ab
push esi
call dword [sym.imp.WSOCK32.dll_htons]
mov edx, dword [esp + 0x10]
mov word [esp + 0x36], ax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_bind]
test eax, eax
je 0x43f3a4
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp dword [esp + 0x30], 0
je 0x43f30d
cmp eax, 0x2741
jne 0x43f30d
push pe_nt_image_headers32
lea eax, [esp + 0x12c]
push eax
push 0x2741
call fcn.004197e0
push eax
movzx ecx, si
push ecx
push str.bind_port_hu__on_non_local_address_failed:__s
push ebp
call fcn.0042c140
add esp, 0x1c
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 0x80
mov ecx, dword [ebx + 0x148]
push eax
push ecx
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
jne 0x43f32a
movzx esi, word [esp + 0x1c]
mov dword [esp + 0x30], eax
jmp 0x43f31a
cmp eax, 0x2740
je 0x43f319
cmp eax, 0xd
jne 0x43f368
inc esi
cmp si, word [esp + 0x14]
jbe 0x43f278
jmp 0x43f3ab
push pe_nt_image_headers32
lea edx, [esp + 0x12c]
push edx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
call fcn.004197e0
push eax
push str.getsockname___failed:__s
push ebp
call fcn.0042c1c0
mov eax, dword [esp + 0x28]
push eax
push ebx
push ebp
call fcn.0042e580
add esp, 0x24
mov eax, 0x1e
jmp 0x43f64f
push pe_nt_image_headers32
lea ecx, [esp + 0x12c]
push ecx
push eax
call fcn.004197e0
push eax
movzx edx, si
push edx
push str.bind_port_hu__failed:__s
push ebp
call fcn.0042c1c0
mov eax, dword [esp + 0x2c]
push eax
push ebx
push ebp
call fcn.0042e580
add esp, 0x28
mov eax, 0x1e
jmp 0x43f64f
cmp si, word [esp + 0x14]
jbe 0x43f3cf
push str.bind___failed__we_ran_out_of_ports_
push ebp
call fcn.0042c1c0
mov ecx, dword [esp + 0x18]
push ecx
push ebx
push ebp
call fcn.0042e580
add esp, 0x14
mov eax, 0x1e
jmp 0x43f64f
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x24], 0x80
call dword [sym.imp.WSOCK32.dll_getsockname]
test eax, eax
jne 0x43f32a
mov ecx, dword [esp + 0x10]
push 1
push ecx
call dword [sym.imp.WSOCK32.dll_listen]
test eax, eax
je 0x43f443
push pe_nt_image_headers32
lea edx, [esp + 0x12c]
push edx
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push eax
call fcn.004197e0
push eax
push str.socket_failure:__s
push ebp
call fcn.0042c1c0
mov eax, dword [esp + 0x28]
push eax
push ebx
push ebp
call fcn.0042e580
add esp, 0x24
mov eax, 0x1e
jmp 0x43f64f
push 0x2f
lea ecx, [esp + 0xb8]
push ecx
push edi
call fcn.0044b560
add esp, 0xc
cmp dword [ebx + 0x2cc], 0
jne 0x43f472
cmp dword [ebx + 0x2b0], 0
je 0x43f472
mov dword [ebx + 0x2cc], 1
mov esi, dword [esp + 0x20]
cmp esi, 2
je 0x43f4d2
mov cx, word [esp + 0x34]
cmp dword [ebx + 0x2cc], 0
jne 0x43f48d
test esi, esi
je 0x43f4cc
cmp esi, 1
jne 0x43f498
cmp cx, 2
jne 0x43f4cc
movzx eax, cx
sub eax, 2
je 0x43f4ac
sub eax, 0x15
jne 0x43f4cc
mov edx, dword [esp + 0x36]
push edx
jmp 0x43f4b1
mov eax, dword [esp + 0x36]
push eax
call dword [sym.imp.WSOCK32.dll_ntohs]
movzx edi, ax
test esi, esi
je 0x43f4db
cmp esi, 1
je 0x43f559
mov cx, word [esp + 0x34]
inc esi
cmp esi, 2
jne 0x43f480
mov edi, dword [esp + 0x28]
jmp 0x43f5f8
xor eax, eax
cmp word [esp + 0x34], 2
movzx ecx, di
setne al
push ecx
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0x28], esi
lea esi, [ebx + 0x3a8]
inc eax
push eax
push str.EPRT
push str._s__d_s_hu
push esi
push ebp
call fcn.0045ced0
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x43f5f4
push edi
call fcn.00418c70
push eax
push str.Failure_sending_EPRT_command:__s
push ebp
call fcn.0042c1c0
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push ebp
call fcn.0042e580
mov dword [esi + 0x88], 1
mov edx, dword [ebp + 0xc]
add esp, 0x1c
mov dword [edx + 0x43c], 0
jmp 0x43f64d
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xb4]
mov al, byte [edx]
test al, al
je 0x43f57c
cmp al, 0x2e
jne 0x43f576
mov byte [ecx], 0x2c
jmp 0x43f578
mov byte [ecx], al
inc ecx
inc edx
jne 0x43f567
movzx eax, di
mov edx, eax
and edx, 0xff
push edx
shr eax, 8
push eax
push str.__d__d
push 0x14
push ecx
mov byte [ecx], 0
call fcn.00430880
lea eax, [esp + 0xf8]
push eax
push str.PORT
push str._s__s
lea eax, [ebx + 0x3a8]
push eax
push ebp
call fcn.0045ced0
mov edi, eax
add esp, 0x28
test edi, edi
je 0x43f5f8
push edi
call fcn.00418c70
push eax
push str.Failure_sending_PORT_command:__s
push ebp
call fcn.0042c1c0
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push ebp
call fcn.0042e580
mov edx, dword [ebp + 0xc]
add esp, 0x1c
mov dword [edx + 0x43c], 0
jmp 0x43f64d
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x430], esi
mov eax, dword [ebx + 0x14c]
cmp eax, 0xffffffff
je 0x43f61e
push eax
push ebx
push ebp
call fcn.0042e580
add esp, 0xc
mov dword [ebx + 0x14c], 0xffffffff
xor eax, eax
mov dword [ebx + 0x270], eax
mov dword [ebx + 0x278], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x14c], eax
mov dword [ebx + 0x270], 1
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x43c], 0x1c
mov eax, edi
mov ecx, dword [esp + 0x62c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004d0e4d
add esp, 0x620
ret