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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x820
lea rdi, [rsp + 0x40]
mov ecx, 0x1f8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x830]
mov rax, qword [0x14021ab88]
xor rax, rsp
mov qword [rsp + 0x818], rax
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0x830]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 0x6d0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
movzx eax, byte [0x14021ba31]
mov byte [rsp + 0x88], al
lea rax, [rsp + 0x89]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WLDAP32.dll_Ordinal_46
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x5c8], rax
mov rax, qword [rsp + 0x5c8]
mov qword [rsp + 0x5d0], rax
mov rax, qword [rsp + 0x5c8]
mov qword [rsp + 0x5d8], rax
mov qword [rsp + 0x5e8], 0
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x830]
mov rax, qword [rcx + rax + 0x750]
mov qword [rsp + 0x5f0], rax
mov qword [rsp + 0x608], 0
xor eax, eax
mov word [rsp + 0x614], ax
xor eax, eax
mov word [rsp + 0x618], ax
mov byte [rsp + 0x620], 1
mov qword [rsp + 0x748], 0
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x830]
cmp qword [rcx + rax + 0x750], 0
je 0x140174b7a
mov eax, 8
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x830]
mov rcx, qword [rcx + rax + 0x750]
call fcn.140099469
cmp rax, 1
jbe 0x140174b7a
mov rcx, qword [rsp + 0x5f0]
call fcn.140099469
cmp rax, 0x41
jae 0x1401747ca
mov qword [rsp + 0x800], 0x41
jmp 0x1401747df
mov rcx, qword [rsp + 0x5f0]
call fcn.140099469
mov qword [rsp + 0x800], rax
mov rax, qword [rsp + 0x800]
mov qword [rsp + 0x750], rax
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x758], rax
mov qword [rsp + 0x760], 0
mov qword [rsp + 0x768], 0
mov qword [rsp + 0x770], 0
mov rax, qword [rsp + 0x750]
inc rax
mov edx, 1
mov rcx, rax
call qword [0x14020a058]
mov qword [rsp + 0x748], rax
cmp qword [rsp + 0x748], 0
jne 0x140174859
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140175604
mov rax, qword [rsp + 0x5f0]
movsx eax, byte [rax]
cmp eax, 0x5b
jne 0x1401748d5
mov rax, qword [rsp + 0x5f0]
inc rax
mov qword [rsp + 0x758], rax
mov edx, 0x5d
mov rcx, qword [rsp + 0x5f0]
call fcn.140098226
mov qword [rsp + 0x760], rax
cmp qword [rsp + 0x760], 0
je 0x1401748d0
mov rax, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x760]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x748]
call qword [sym.imp.ucrtbased.dll_strncpy]
jmp 0x1401749c5
mov rax, qword [rsp + 0x5f0]
movsx eax, byte [rax]
cmp eax, 0x3a
jne 0x1401748fa
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x760], rax
jmp 0x1401749c5
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x5f0]
call fcn.140098226
mov qword [rsp + 0x760], rax
cmp qword [rsp + 0x760], 0
je 0x1401749b0
mov r8, qword [rsp + 0x5d8]
mov rdx, qword [rsp + 0x5f0]
mov ecx, reloc.WS2_32.dll_socket
call fcn.14009841f
cmp eax, 1
jne 0x14017497f
xor eax, eax
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x618]
mov word [rsp + 0x614], ax
mov rdx, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x748]
call fcn.140098ec9
mov qword [rsp + 0x760], 0
jmp 0x1401749ae
mov rax, qword [rsp + 0x758]
mov rcx, qword [rsp + 0x760]
sub rcx, rax
mov rax, rcx
mov r8, rax
mov rdx, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x748]
call qword [sym.imp.ucrtbased.dll_strncpy]
jmp 0x1401749c5
mov rdx, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x748]
call fcn.140098ec9
cmp qword [rsp + 0x760], 0
je 0x140174a8a
mov edx, Ordinal_60
mov rcx, qword [rsp + 0x760]
call fcn.140098226
mov qword [rsp + 0x768], rax
cmp qword [rsp + 0x768], 0
je 0x140174a8a
mov rax, qword [rsp + 0x768]
inc rax
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_strtoul]
mov ecx, eax
call fcn.14009a82d
mov word [rsp + 0x614], ax
mov edx, reloc.WLDAP32.dll_Ordinal_45
mov rcx, qword [rsp + 0x768]
call fcn.140098226
mov qword [rsp + 0x770], rax
cmp qword [rsp + 0x770], 0
je 0x140174a7a
mov rax, qword [rsp + 0x770]
inc rax
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_strtoul]
mov ecx, eax
call fcn.14009a82d
mov word [rsp + 0x618], ax
jmp 0x140174a8a
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x614]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jle 0x140174ab8
xor eax, eax
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x618]
mov word [rsp + 0x614], ax
mov rax, qword [rsp + 0x748]
movsx eax, byte [rax]
test eax, eax
je 0x140174b6e
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x70]
mov rcx, qword [rax + 0x20]
call fcn.14009ae86
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x70]
mov dword [rsp + 0x28], 0x401
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x748]
mov rdx, qword [rsp + 0x48]
mov r8d, dword [rdx + 0x808]
mov edx, eax
mov ecx, dword [rcx + 4]
call fcn.14009a7b0
mov dword [rsp + 0x808], eax
cmp dword [rsp + 0x808], 0
je 0x140174b40
cmp dword [rsp + 0x808], 1
je 0x140174b52
cmp dword [rsp + 0x808], 2
je 0x140174b5c
jmp 0x140174b6c
mov rax, qword [rsp + 0x748]
mov qword [rsp + 0x5e8], rax
jmp 0x140174b6c
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x5e8], rax
jmp 0x140174b7a
mov qword [rsp + 0x5e8], 0
cmp qword [rsp + 0x5e8], 0
jne 0x140174cc5
mov dword [rsp + 0x184], 0x80
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax + 0x1d0]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140174c0e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.14009a2ec
mov r8, rax
lea rdx, [0x140215f20]
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov rcx, qword [rsp + 0x748]
call qword [0x14020a040]
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
mov dword [rsp + 0x80c], eax
cmp dword [rsp + 0x80c], 0x17
je 0x140174c2c
jmp 0x140174c63
mov rax, qword [rsp + 0x5d8]
add rax, 8
mov rcx, qword [rsp + 0x5c8]
movzx ecx, word [rcx]
mov r9d, 0x401
lea r8, [rsp + 0x1b0]
mov rdx, rax
call fcn.140098d61
mov qword [rsp + 0x778], rax
jmp 0x140174c98
mov rax, qword [rsp + 0x5d0]
add rax, 4
mov rcx, qword [rsp + 0x5c8]
movzx ecx, word [rcx]
mov r9d, 0x401
lea r8, [rsp + 0x1b0]
mov rdx, rax
call fcn.140098d61
mov qword [rsp + 0x778], rax
cmp qword [rsp + 0x778], 0
jne 0x140174cad
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x5e8], rax
mov byte [rsp + 0x620], 0
lea rax, [rsp + 0x608]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x5e8]
mov rcx, qword [rsp + 0x830]
call fcn.140098b9a
mov dword [rsp + 0x5e0], eax
cmp dword [rsp + 0x5e0], 1
jne 0x140174d13
lea rdx, [rsp + 0x608]
mov rcx, qword [rsp + 0x830]
call fcn.14009a11b
cmp qword [rsp + 0x608], 0
je 0x140174d48
mov rax, qword [rsp + 0x608]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x608]
mov rcx, qword [rsp + 0x830]
call fcn.14009aed1
jmp 0x140174d54
mov qword [rsp + 0x168], 0
cmp qword [rsp + 0x168], 0
jne 0x140174d93
mov r8, qword [rsp + 0x5e8]
lea rdx, str.failed_to_resolve_the_address_provided_to_PORT:__s
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov rcx, qword [rsp + 0x748]
call qword [0x14020a040]
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
mov rcx, qword [rsp + 0x748]
call qword [0x14020a040]
mov qword [rsp + 0x5e8], 0
mov qword [rsp + 0x68], 0xffffffffffffffff
mov dword [rsp + 0x5e4], 0
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
jmp 0x140174de7
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 0
je 0x140174e2d
lea r9, [rsp + 0x68]
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x830]
call fcn.140099685
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140174e29
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x5e4], eax
jmp 0x140174dd3
jmp 0x140174e2d
cmp qword [rsp + 0x170], 0
jne 0x140174e73
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.14009a2ec
mov r8, rax
lea rdx, [0x140215f80]
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
mov rax, qword [rsp + 0x170]
movsxd rax, dword [rax + 0x10]
mov r8, rax
mov rax, qword [rsp + 0x170]
mov rdx, qword [rax + 0x20]
mov rcx, qword [rsp + 0x5c8]
call fcn.14009961c
mov rax, qword [rsp + 0x170]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x184], eax
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x61c], ax
movzx eax, word [rsp + 0x61c]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jg 0x1401750e3
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
jne 0x140174f01
movzx ecx, word [rsp + 0x61c]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x5d0]
mov word [rcx + 2], ax
jmp 0x140174f1b
movzx ecx, word [rsp + 0x61c]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x5d8]
mov word [rcx + 2], ax
mov r8d, dword [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1401750c9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x5e4], eax
movzx eax, byte [rsp + 0x620]
test eax, eax
je 0x140175053
cmp dword [rsp + 0x5e4], 0x2741
jne 0x140175053
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.14009a2ec
movzx ecx, word [rsp + 0x61c]
mov r9, rax
mov r8d, ecx
lea rdx, str.bind_port_hu__on_non_local_address_failed:__s
mov rcx, qword [rsp + 0x830]
call fcn.14009a8f0
mov dword [rsp + 0x184], 0x80
mov eax, 8
imul rax, rax, 0
lea r8, [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + rax + 0x1d0]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140175036
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.14009a2ec
mov r8, rax
lea rdx, [0x140215fc8]
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.14009a2a1
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x61c], ax
mov byte [rsp + 0x620], 0
jmp 0x140174ebd
cmp dword [rsp + 0x5e4], 0x2740
je 0x1401750c7
cmp dword [rsp + 0x5e4], 0xd
je 0x1401750c7
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.14009a2ec
movzx ecx, word [rsp + 0x61c]
mov r9, rax
mov r8d, ecx
lea rdx, str.bind_port_hu__failed:__s
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.14009a2a1
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
jmp 0x1401750cb
jmp 0x1401750e3
movzx eax, word [rsp + 0x61c]
inc ax
mov word [rsp + 0x61c], ax
jmp 0x140174ebd
movzx eax, word [rsp + 0x61c]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jle 0x14017512c
lea rdx, str.bind___failed__we_ran_out_of_ports
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.14009a2a1
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
mov dword [rsp + 0x184], 0x80
lea r8, [rsp + 0x184]
mov rdx, qword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1401751a9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.14009a2ec
mov r8, rax
lea rdx, str.getsockname___failed:__s
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.14009a2a1
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x140175210
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.14009a2ec
mov r8, rax
lea rdx, str.socket_failure:__s
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.14009a2a1
mov eax, reloc.WLDAP32.dll_Ordinal_30
jmp 0x140175604
mov r8d, Ordinal_50
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x170]
call fcn.14009a09e
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3b7]
test eax, eax
jne 0x140175257
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3b0]
test eax, eax
je 0x140175257
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3b7], 1
jmp 0x140175269
mov eax, dword [rsp + 0x838]
inc eax
mov dword [rsp + 0x838], eax
cmp dword [rsp + 0x838], 2
je 0x140175599
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3b7]
test eax, eax
jne 0x140175293
cmp dword [rsp + 0x838], 0
jne 0x140175293
jmp 0x140175259
cmp dword [rsp + 0x838], 1
jne 0x1401752af
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
je 0x1401752af
jmp 0x140175259
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
mov dword [rsp + 0x810], eax
cmp dword [rsp + 0x810], 2
je 0x1401752d7
cmp dword [rsp + 0x810], 0x17
je 0x1401752f3
jmp 0x14017530f
mov rax, qword [rsp + 0x5d0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x61c], ax
jmp 0x140175314
mov rax, qword [rsp + 0x5d8]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x61c], ax
jmp 0x140175314
jmp 0x140175259
cmp dword [rsp + 0x838], 0
jne 0x140175411
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
jne 0x14017533f
mov dword [rsp + 0x814], 1
jmp 0x14017534a
mov dword [rsp + 0x814], 2
movzx eax, word [rsp + 0x61c]
movsxd rcx, dword [rsp + 0x838]
imul rcx, rcx, 5
lea rdx, str.EPRT
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x814]
mov dword [rsp + 0x20], eax
mov r9, rcx
lea r8, str._s__d_s_hu
mov rcx, qword [rsp + 0x830]
call fcn.140098bef
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14017540c
mov ecx, dword [rsp + 0x40]
call fcn.140098ad2
mov r8, rax
lea rdx, str.Failure_sending_EPRT_command:__s
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.14009a2a1
mov rax, qword [rsp + 0x50]
mov dword [rax + 0xc4], 1
xor edx, edx
mov rcx, qword [rsp + 0x830]
call fcn.1401702a0
mov eax, dword [rsp + 0x40]
jmp 0x140175604
jmp 0x140175599
cmp dword [rsp + 0x838], 1
jne 0x140175594
lea rax, [rsp + 0x88]
mov qword [rsp + 0x7e8], rax
lea rax, [rsp + 0x790]
mov qword [rsp + 0x7f0], rax
cmp qword [rsp + 0x7e8], 0
je 0x1401754b3
mov rax, qword [rsp + 0x7e8]
movsx eax, byte [rax]
test eax, eax
je 0x1401754b3
mov rax, qword [rsp + 0x7e8]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x140175476
mov rax, qword [rsp + 0x7f0]
mov byte [rax], Ordinal_45
jmp 0x14017548b
mov rax, qword [rsp + 0x7f0]
mov rcx, qword [rsp + 0x7e8]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x7f0]
inc rax
mov qword [rsp + 0x7f0], rax
mov rax, qword [rsp + 0x7e8]
inc rax
mov qword [rsp + 0x7e8], rax
jmp 0x14017543f
mov rax, qword [rsp + 0x7f0]
mov byte [rax], 0
movzx eax, word [rsp + 0x61c]
and eax, 0xff
movzx ecx, word [rsp + 0x61c]
sar ecx, 8
mov dword [rsp + 0x20], eax
mov r9d, ecx
lea r8, str.__d__d
mov edx, reloc.WS2_32.dll_sendto
mov rcx, qword [rsp + 0x7f0]
call fcn.140098c94
movsxd rax, dword [rsp + 0x838]
imul rax, rax, 5
lea rcx, str.EPRT
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x790]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [0x140215fe4]
mov rdx, rcx
mov rcx, qword [rsp + 0x830]
call fcn.140098bef
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140175592
mov ecx, dword [rsp + 0x40]
call fcn.140098ad2
mov r8, rax
lea rdx, str.Failure_sending_PORT_command:__s
mov rcx, qword [rsp + 0x830]
call fcn.14009b14c
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.14009a2a1
xor edx, edx
mov rcx, qword [rsp + 0x830]
call fcn.1401702a0
mov eax, dword [rsp + 0x40]
jmp 0x140175604
jmp 0x140175599
jmp 0x140175259
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x838]
mov dword [rax + 0xc4], ecx
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x830]
call fcn.1401738c0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x68]
mov qword [rcx + rax + 0x1d0], rdx
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax + 0x3a0], 1
mov edx, Ordinal_32
mov rcx, qword [rsp + 0x830]
call fcn.1401702a0
mov eax, dword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_htonl
call fcn.14009a508
mov rax, rdi
mov rcx, qword [rsp + 0x818]
xor rcx, rsp
call fcn.1400995fe
add rsp, 0x820
pop rdi
ret