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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x890
lea rdi, [rsp + 0x40]
mov ecx, 0x214
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x8a0]
mov rax, qword [0x14013be00]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov dword [rsp + 0x40], 0x1e
mov rax, qword [rsp + 0x8a0]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
add rax, 0x680
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
movzx eax, byte [0x14013c065]
mov byte [rsp + 0x88], al
lea rax, [rsp + 0x89]
mov rdi, rax
xor eax, eax
mov ecx, 0x2e
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, 0x24
mov rcx, qword [rsp + 0x8a0]
mov rax, qword [rcx + rax + 0x718]
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 qword [rsp + 0x750], 0
mov eax, 8
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x8a0]
cmp qword [rcx + rax + 0x718], 0
je 0x140091978
mov eax, 8
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x8a0]
mov rcx, qword [rcx + rax + 0x718]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
cmp rax, 1
jbe 0x140091978
mov qword [rsp + 0x7a8], 0
mov rax, qword [rsp + 0x5f0]
movsx eax, byte [rax]
cmp eax, 0x5b
jne 0x14009165c
mov rax, qword [rsp + 0x5f0]
inc rax
mov qword [rsp + 0x7b0], rax
mov edx, 0x5d
mov rcx, qword [rsp + 0x7b0]
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x7a8], rax
cmp qword [rsp + 0x7a8], 0
je 0x140091657
mov rax, qword [rsp + 0x7b0]
mov rcx, qword [rsp + 0x7a8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x750], rax
mov rax, qword [rsp + 0x7b0]
mov qword [rsp + 0x748], rax
jmp 0x140091738
mov rax, qword [rsp + 0x5f0]
movsx eax, byte [rax]
cmp eax, 0x3a
jne 0x140091681
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x7a8], rax
jmp 0x140091738
mov edx, 0x3a
mov rcx, qword [rsp + 0x5f0]
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x7a8], rax
mov rax, qword [rsp + 0x5f0]
mov qword [rsp + 0x748], rax
cmp qword [rsp + 0x7a8], 0
je 0x140091723
mov rax, qword [rsp + 0x5f0]
mov rcx, qword [rsp + 0x7a8]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x750], rax
mov rax, qword [rsp + 0x5d8]
add rax, 8
mov r8, rax
mov rdx, qword [rsp + 0x5f0]
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x140091721
xor eax, eax
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x618]
mov word [rsp + 0x614], ax
mov qword [rsp + 0x7a8], 0
jmp 0x140091738
mov rcx, qword [rsp + 0x5f0]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov qword [rsp + 0x750], rax
cmp qword [rsp + 0x7a8], 0
je 0x140091807
mov qword [rsp + 0x7b8], 0
mov edx, 0x3a
mov rcx, qword [rsp + 0x7a8]
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x7c0], rax
cmp qword [rsp + 0x7c0], 0
je 0x140091807
mov rax, qword [rsp + 0x7c0]
inc rax
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
mov ecx, eax
call fcn.140044880
mov word [rsp + 0x614], ax
mov edx, 0x2d
mov rcx, qword [rsp + 0x7c0]
call sub.VCRUNTIME140.dll_strchr
mov qword [rsp + 0x7b8], rax
cmp qword [rsp + 0x7b8], 0
je 0x1400917f7
mov rax, qword [rsp + 0x7b8]
inc rax
mov r8d, 0xa
xor edx, edx
mov rcx, rax
call sub.api_ms_win_crt_convert_l1_1_0.dll_strtoul
mov ecx, eax
call fcn.140044880
mov word [rsp + 0x618], ax
jmp 0x140091807
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x614]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jle 0x140091835
xor eax, eax
mov word [rsp + 0x618], ax
movzx eax, word [rsp + 0x618]
mov word [rsp + 0x614], ax
cmp qword [rsp + 0x750], 0
je 0x14009196c
cmp qword [rsp + 0x748], 0
jne 0x14009186a
mov r8d, 0x464
lea rdx, [0x140129e90]
lea rcx, str.addr
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xor eax, eax
cmp qword [rsp + 0x750], 0x32
jb 0x14009187a
jmp 0x14009242a
mov r8, qword [rsp + 0x750]
mov rdx, qword [rsp + 0x748]
lea rcx, [rsp + 0x768]
call sub.VCRUNTIME140.dll_memcpy
nop
mov rax, qword [rsp + 0x750]
mov qword [rsp + 0x850], rax
cmp qword [rsp + 0x850], 0x32
jae 0x1400918b5
jmp 0x1400918bb
call fcn.1400d0768
nop
mov rax, qword [rsp + 0x850]
mov byte [rsp + rax + 0x768], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x38]
add rax, 0x10
mov rcx, rax
call fcn.1400b1b20
mov rcx, qword [rsp + 0x48]
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x28], 0x401
lea rdx, [rsp + 0x1b0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x768]
mov rdx, qword [rsp + 0x48]
mov r8d, dword [rdx + 0x7d4]
mov edx, eax
mov ecx, dword [rcx]
call fcn.1400b1d40
mov dword [rsp + 0x858], eax
cmp dword [rsp + 0x858], 0
je 0x140091943
cmp dword [rsp + 0x858], 1
je 0x140091955
cmp dword [rsp + 0x858], 2
je 0x14009195a
jmp 0x14009196a
lea rax, [rsp + 0x768]
mov qword [rsp + 0x5e8], rax
jmp 0x14009196a
jmp 0x14009242a
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x5e8], rax
jmp 0x140091978
mov qword [rsp + 0x5e8], 0
cmp qword [rsp + 0x5e8], 0
jne 0x140091aac
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 + 0x220]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1400919fa
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400684f0
mov r8, rax
lea rdx, [0x140129f28]
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
mov dword [rsp + 0x85c], eax
cmp dword [rsp + 0x85c], 0x17
je 0x140091a18
jmp 0x140091a4f
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 sub.WS2_32.dll_inet_ntop
mov qword [rsp + 0x7c8], rax
jmp 0x140091a84
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 sub.WS2_32.dll_inet_ntop
mov qword [rsp + 0x7c8], rax
cmp qword [rsp + 0x7c8], 0
jne 0x140091a94
jmp 0x14009242a
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 + 0x8a0]
call fcn.140055430
mov dword [rsp + 0x5e0], eax
cmp dword [rsp + 0x5e0], 1
jne 0x140091afb
lea rdx, [rsp + 0x608]
mov rcx, qword [rsp + 0x8a0]
call fcn.14001da20
nop
cmp qword [rsp + 0x608], 0
je 0x140091b31
mov rax, qword [rsp + 0x608]
mov rax, qword [rax]
mov qword [rsp + 0x168], rax
mov rdx, qword [rsp + 0x608]
mov rcx, qword [rsp + 0x8a0]
call fcn.140055bd0
nop
jmp 0x140091b3d
mov qword [rsp + 0x168], 0
cmp qword [rsp + 0x168], 0
jne 0x140091b6a
mov r8, qword [rsp + 0x5e8]
lea rdx, str.failed_to_resolve_the_address_provided_to_PORT:__s
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
mov qword [rsp + 0x5e8], 0
mov dword [rsp + 0x5e4], 0
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x170], rax
jmp 0x140091ba7
mov rax, qword [rsp + 0x170]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x170], rax
cmp qword [rsp + 0x170], 0
je 0x140091bfa
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x7de]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x8a0]
call fcn.14004a4e0
test eax, eax
je 0x140091bf6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x5e4], eax
jmp 0x140091b93
jmp 0x140091bfa
cmp qword [rsp + 0x170], 0
jne 0x140091c3c
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.1400684f0
mov r8, rax
lea rdx, [0x140129f80]
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
cmp qword [rsp + 0x8a0], 0
je 0x140091c7e
mov rax, qword [rsp + 0x8a0]
cmp qword [rax + 0x20], 0
je 0x140091c7e
mov rax, qword [rsp + 0x8a0]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x79e]
lea rcx, [0x1400e14a0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x860], rax
jmp 0x140091c8d
lea rax, [0x140129f94]
mov qword [rsp + 0x860], rax
mov r8, qword [rsp + 0x860]
lea rdx, str.__s__ftp_state_use_port____opened_socket
mov rcx, qword [rsp + 0x8a0]
call fcn.14003d620
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 sub.VCRUNTIME140.dll_memcpy
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 0x140091ee3
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
jne 0x140091d37
movzx ecx, word [rsp + 0x61c]
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, qword [rsp + 0x5d0]
mov word [rcx + 2], ax
jmp 0x140091d51
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 0x140091ec9
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x5e4], eax
movzx eax, byte [rsp + 0x620]
test eax, eax
je 0x140091e6e
cmp dword [rsp + 0x5e4], 0x2741
jne 0x140091e6e
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.1400684f0
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 + 0x8a0]
call fcn.14003d050
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 + 0x220]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x140091e51
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400684f0
mov r8, rax
lea rdx, [0x140129ff8]
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
movzx eax, word [rsp + 0x614]
mov word [rsp + 0x61c], ax
mov byte [rsp + 0x620], 0
jmp 0x140091cf3
cmp dword [rsp + 0x5e4], 0x2740
je 0x140091ec7
cmp dword [rsp + 0x5e4], 0xd
je 0x140091ec7
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, dword [rsp + 0x5e4]
call fcn.1400684f0
movzx ecx, word [rsp + 0x61c]
mov r9, rax
mov r8d, ecx
lea rdx, str.bind_port_hu__failed:__s
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
jmp 0x140091ecb
jmp 0x140091ee3
movzx eax, word [rsp + 0x61c]
inc ax
mov word [rsp + 0x61c], ax
jmp 0x140091cf3
movzx eax, word [rsp + 0x61c]
movzx ecx, word [rsp + 0x618]
cmp eax, ecx
jle 0x140091f11
lea rdx, str.bind___failed__we_ran_out_of_ports
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
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 0x140091f73
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400684f0
mov r8, rax
lea rdx, str.getsockname___failed:__s
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
cmp qword [rsp + 0x8a0], 0
je 0x140091fb5
mov rax, qword [rsp + 0x8a0]
cmp qword [rax + 0x20], 0
je 0x140091fb5
mov rax, qword [rsp + 0x8a0]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x79e]
lea rcx, [0x1400e14a0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x868], rax
jmp 0x140091fc4
lea rax, [0x14012a07c]
mov qword [rsp + 0x868], rax
movzx eax, word [rsp + 0x61c]
mov r9d, eax
mov r8, qword [rsp + 0x868]
lea rdx, str.__s__ftp_state_use_port____socket_bound_to_port__d
mov rcx, qword [rsp + 0x8a0]
call fcn.14003d620
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x140092037
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x640]
mov ecx, eax
call fcn.1400684f0
mov r8, rax
lea rdx, str.socket_failure:__s
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
cmp qword [rsp + 0x8a0], 0
je 0x140092079
mov rax, qword [rsp + 0x8a0]
cmp qword [rax + 0x20], 0
je 0x140092079
mov rax, qword [rsp + 0x8a0]
mov rax, qword [rax + 0x20]
movzx eax, byte [rax + 0x79e]
lea rcx, [0x1400e14a0]
mov rax, qword [rcx + rax*8]
mov qword [rsp + 0x870], rax
jmp 0x140092088
lea rax, [0x14012a0cc]
mov qword [rsp + 0x870], rax
movzx eax, word [rsp + 0x61c]
mov r9d, eax
mov r8, qword [rsp + 0x870]
lea rdx, str.__s__ftp_state_use_port____listening_on__d
mov rcx, qword [rsp + 0x8a0]
call fcn.14003d620
mov r8d, 0x2f
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x170]
call fcn.140055e40
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3b1]
test eax, eax
jne 0x1400920f6
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3ac]
test eax, eax
je 0x1400920f6
mov rax, qword [rsp + 0x48]
mov byte [rax + 0x3b1], 1
lea r9, [rsp + 0x68]
mov r8d, 1
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x8a0]
call fcn.14004aca0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140092123
jmp 0x14009242a
mov qword [rsp + 0x68], 0xffffffffffffffff
jmp 0x14009213e
mov eax, dword [rsp + 0x8a8]
inc eax
mov dword [rsp + 0x8a8], eax
cmp dword [rsp + 0x8a8], 2
je 0x140092402
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax + 0x3b1]
test eax, eax
jne 0x140092168
cmp dword [rsp + 0x8a8], 0
jne 0x140092168
jmp 0x14009212e
cmp dword [rsp + 0x8a8], 1
jne 0x140092184
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
je 0x140092184
jmp 0x14009212e
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
mov dword [rsp + 0x878], eax
cmp dword [rsp + 0x878], 2
je 0x1400921ac
cmp dword [rsp + 0x878], 0x17
je 0x1400921c8
jmp 0x1400921e4
mov rax, qword [rsp + 0x5d0]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x61c], ax
jmp 0x1400921e9
mov rax, qword [rsp + 0x5d8]
movzx ecx, word [rax + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x61c], ax
jmp 0x1400921e9
jmp 0x14009212e
cmp dword [rsp + 0x8a8], 0
jne 0x1400922ae
mov rax, qword [rsp + 0x5c8]
movzx eax, word [rax]
cmp eax, 2
jne 0x140092214
mov dword [rsp + 0x87c], 1
jmp 0x14009221f
mov dword [rsp + 0x87c], 2
movzx eax, word [rsp + 0x61c]
movsxd rcx, dword [rsp + 0x8a8]
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 + 0x87c]
mov dword [rsp + 0x20], eax
mov r9, rcx
lea r8, str._s__d_s_hu
mov rcx, qword [rsp + 0x8a0]
call fcn.1400c0950
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400922a9
mov ecx, dword [rsp + 0x40]
call fcn.140067b50
mov r8, rax
lea rdx, str.Failure_sending_EPRT_command:__s
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
jmp 0x140092402
cmp dword [rsp + 0x8a8], 1
jne 0x1400923fd
lea rax, [rsp + 0x88]
mov qword [rsp + 0x838], rax
lea rax, [rsp + 0x7e0]
mov qword [rsp + 0x840], rax
mov rax, qword [rsp + 0x838]
movsx eax, byte [rax]
test eax, eax
je 0x140092345
mov rax, qword [rsp + 0x838]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x140092308
mov rax, qword [rsp + 0x840]
mov byte [rax], 0x2c
jmp 0x14009231d
mov rax, qword [rsp + 0x840]
mov rcx, qword [rsp + 0x838]
movzx ecx, byte [rcx]
mov byte [rax], cl
mov rax, qword [rsp + 0x840]
inc rax
mov qword [rsp + 0x840], rax
mov rax, qword [rsp + 0x838]
inc rax
mov qword [rsp + 0x838], rax
jmp 0x1400922dc
mov rax, qword [rsp + 0x840]
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 + 0x840]
call fcn.140015ae0
movsxd rax, dword [rsp + 0x8a8]
imul rax, rax, 5
lea rcx, str.EPRT
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x7e0]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [0x14012a13c]
mov rdx, rcx
mov rcx, qword [rsp + 0x8a0]
call fcn.1400c0950
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1400923fb
mov ecx, dword [rsp + 0x40]
call fcn.140067b50
mov r8, rax
lea rdx, str.Failure_sending_PORT_command:__s
mov rcx, qword [rsp + 0x8a0]
call fcn.14003ce90
nop
jmp 0x14009242a
jmp 0x140092402
jmp 0x14009212e
mov rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x8a8]
mov dword [rax + 0x110], ecx
mov r8d, 0x565
mov dl, 0x1c
mov rcx, qword [rsp + 0x8a0]
call fcn.14008c8b0
nop
cmp dword [rsp + 0x40], 0
je 0x140092447
mov r8d, 0x569
xor edx, edx
mov rcx, qword [rsp + 0x8a0]
call fcn.14008c8b0
nop
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x140092467
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x8a0]
call fcn.14004a5b0
nop
mov eax, dword [rsp + 0x40]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_htons
call fcn.1400d050c
mov rax, rdi
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.1400d0280
add rsp, 0x890
pop rdi
ret