Function at 0x140005104
Capabilities:
Read file on windows
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0xa8
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x68], 0
xor eax, eax
mov word [rsp + 0x50], ax
xor eax, eax
mov word [rsp + 0x4c], ax
xor eax, eax
mov word [rsp + 0x3c], ax
xor eax, eax
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x30], ax
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x60], 0
call fcn.140002c98
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000334c
mov qword [0x14000a710], rax
mov ecx, reloc.WS2_32.dll_recv
call fcn.14000334c
mov qword [0x14000a738], rax
mov ecx, 0x2000
call fcn.14000334c
mov qword [0x14000a890], rax
mov ecx, 0x2000
call fcn.14000334c
mov qword [0x14000a8a0], rax
mov ecx, 0x208
call fcn.14000334c
mov qword [0x14000a8b0], rax
mov ecx, 0x208
call fcn.14000334c
mov qword [0x14000a8a8], rax
mov ecx, 0x4a
call fcn.14000334c
mov qword [0x14000a740], rax
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [0x14000a8b8], rax
mov rax, qword [0x14000a8b8]
mov byte [rax], 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
mov dword [reloc.WS2_32.dll_connect], 4
cmp dword [rsp + 0xb0], 1
jne 0x14000545f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x40], rax
mov ecx, 0x400
call fcn.14000334c
mov qword [rsp + 0xb8], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax], rdx
mov ecx, 0x2000
call fcn.14000334c
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.Cmd_line:
mov rcx, rax
call fcn.14000104c
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
mov r8d, 0x2000
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__read
mov dword [0x14000a728], eax
cmp dword [0x14000a728], 0
ja 0x1400052f6
lea rcx, str.wrong
call fcn.140003288
nop
mov edx, dword [0x14000a728]
mov rcx, qword [rsp + 0x40]
call fcn.1400033b0
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140005325
mov eax, dword [rsp + 0x34]
mov ecx, dword [0x14000a728]
sub ecx, eax
mov eax, ecx
mov dword [0x14000a728], eax
cmp dword [0x14000a728], 0
je 0x140005358
mov eax, dword [0x14000a728]
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [0x14000a890]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
nop
mov eax, 8
imul rax, rax, 1
mov edx, 0xa
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + rax]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000538d
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov eax, 8
imul rax, rax, 1
mov edx, reloc.WS2_32.dll_listen
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + rax]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1400053c2
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x34], 2
jmp 0x140005400
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
test eax, eax
je 0x140005454
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax]
cmp eax, 0x20
jne 0x140005425
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
jmp 0x1400053f3
mov rax, qword [rsp + 0x40]
movsx eax, byte [rax - 1]
test eax, eax
jne 0x140005452
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1400053f3
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0xb0], eax
lea r8, str.ade:g:G:hi:lLno:p:rs:tuvw:z
mov rdx, qword [rsp + 0xb8]
mov ecx, dword [rsp + 0xb0]
call fcn.140002058
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
je 0x1400058ac
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0x6e
jg 0x14000550b
cmp dword [rsp + 0x38], 0x6e
je 0x140005711
cmp dword [rsp + 0x38], 0x47
je 0x1400055d2
cmp dword [rsp + 0x38], 0x4c
je 0x1400055a8
cmp dword [rsp + 0x38], 0x61
je 0x140005573
cmp dword [rsp + 0x38], 0x64
je 0x1400055c6
cmp dword [rsp + 0x38], 0x65
je 0x140005595
cmp dword [rsp + 0x38], 0x67
je 0x140005619
cmp dword [rsp + 0x38], 0x68
je 0x14000569f
cmp dword [rsp + 0x38], 0x69
je 0x1400056b1
cmp dword [rsp + 0x38], 0x6c
je 0x1400056fb
jmp 0x14000588e
cmp dword [rsp + 0x38], 0x6f
je 0x140005727
cmp dword [rsp + 0x38], 0x70
je 0x14000574b
cmp dword [rsp + 0x38], 0x72
je 0x140005780
cmp dword [rsp + 0x38], 0x73
je 0x140005796
cmp dword [rsp + 0x38], 0x74
je 0x1400057d6
cmp dword [rsp + 0x38], 0x75
je 0x1400057ec
cmp dword [rsp + 0x38], 0x76
je 0x140005802
cmp dword [rsp + 0x38], 0x77
je 0x140005818
cmp dword [rsp + 0x38], 0x7a
je 0x14000587b
jmp 0x14000588e
lea rcx, str.all_A_records_NIY
call fcn.140003288
movzx eax, word [0x14000a85c]
inc ax
mov word [0x14000a85c], ax
jmp 0x1400058a7
mov rax, qword [0x14000a6d8]
mov qword [0x14000a6e0], rax
jmp 0x1400058a7
movzx eax, word [0x14000a700]
inc ax
mov word [0x14000a700], ax
mov dword [rsp + 0x60], 1
jmp 0x1400058a7
call qword [sym.imp.KERNEL32.dll_FreeConsole]
nop
jmp 0x1400058a7
mov rcx, qword [0x14000a6d8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140005603
mov eax, dword [rsp + 0x34]
and eax, 0x1c
cmp dword [rsp + 0x34], eax
jne 0x140005603
mov eax, dword [rsp + 0x34]
mov dword [reloc.WS2_32.dll_connect], eax
jmp 0x140005614
mov edx, dword [rsp + 0x34]
lea rcx, str.invalid_hop_pointer__d__must_be_multiple_of_4___28
call fcn.140003288
nop
jmp 0x1400058a7
cmp dword [0x14000a6f0], 8
jle 0x14000562f
lea rcx, str.too_many__g_hops
call fcn.140003288
nop
cmp qword [0x14000a6e8], 0
jne 0x14000564a
mov ecx, 0x50
call fcn.14000334c
mov qword [0x14000a6e8], rax
movzx eax, word [0x14000a720]
mov edx, eax
mov rcx, qword [0x14000a6d8]
call fcn.1400034a0
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x14000568c
movsxd rax, dword [0x14000a6f0]
mov rcx, qword [0x14000a6e8]
mov rdx, qword [rsp + 0x80]
mov qword [rcx + rax*8], rdx
mov eax, dword [0x14000a6f0]
inc eax
mov dword [0x14000a6f0], eax
jmp 0x1400058a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
call fcn.140005f70
nop
mov rcx, qword [0x14000a6d8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
and eax, 0xffff
mov dword [0x14000a70c], eax
imul eax, dword [0x14000a70c], 0x3e8
mov dword [0x14000a70c], eax
cmp dword [0x14000a70c], 0
jne 0x1400056f6
mov rdx, qword [0x14000a6d8]
lea rcx, str.invalid_interval_time__s
call fcn.140003288
nop
jmp 0x1400058a7
movzx eax, word [0x14000a700]
inc ax
mov word [0x14000a700], ax
jmp 0x1400058a7
movzx eax, word [0x14000a720]
inc ax
mov word [0x14000a720], ax
jmp 0x1400058a7
mov rax, qword [0x14000a6d8]
mov qword [0x14000a718], rax
movzx eax, word [0x14000a748]
inc ax
mov word [0x14000a748], ax
jmp 0x1400058a7
xor edx, edx
mov rcx, qword [0x14000a6d8]
call fcn.140003854
mov word [rsp + 0x50], ax
movzx eax, word [rsp + 0x50]
test eax, eax
jne 0x14000577b
mov rdx, qword [0x14000a6d8]
lea rcx, str.invalid_local_port__s
call fcn.140003288
nop
jmp 0x1400058a7
movzx eax, word [0x14000a850]
inc ax
mov word [0x14000a850], ax
jmp 0x1400058a7
movzx eax, word [0x14000a720]
mov edx, eax
mov rcx, qword [0x14000a6d8]
call fcn.1400034a0
mov qword [rsp + 0x88], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax + 0x1c0]
mov qword [rsp + 0x78], rax
jmp 0x1400058a7
movzx eax, word [0x14000a72c]
inc ax
mov word [0x14000a72c], ax
jmp 0x1400058a7
movzx eax, word [0x14000a6d4]
inc ax
mov word [0x14000a6d4], ax
jmp 0x1400058a7
movzx eax, word [0x14000a6f4]
inc ax
mov word [0x14000a6f4], ax
jmp 0x1400058a7
mov rcx, qword [0x14000a6d8]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [0x14000a854], eax
cmp dword [0x14000a854], 0
ja 0x140005848
mov rdx, qword [0x14000a6d8]
lea rcx, str.invalid_wait_time__s
call fcn.140003288
nop
mov ecx, 8
call fcn.14000334c
mov qword [0x14000a730], rax
mov ecx, 8
call fcn.14000334c
mov qword [0x14000a6f8], rax
mov rax, qword [0x14000a730]
mov ecx, dword [0x14000a854]
mov dword [rax], ecx
jmp 0x1400058a7
movzx eax, word [0x14000a704]
inc ax
mov word [0x14000a704], ax
jmp 0x1400058a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
lea rcx, str.nc__h_for_help
call fcn.140003288
nop
jmp 0x14000545f
movzx eax, word [0x14000a850]
test eax, eax
je 0x1400058d5
xor ecx, ecx
call fcn.140002b70
mov ecx, eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov ecx, 0x10000
call fcn.14000334c
mov qword [rsp + 0x70], rax
cmp qword [0x14000a6e0], 0
je 0x1400058f9
xor ecx, ecx
call sub.api_ms_win_crt_stdio_l1_1_0.dll__close
xor eax, eax
mov word [0x14000a748], ax
mov dword [0x14000a708], 0
movzx eax, word [0x14000a748]
test eax, eax
je 0x14000594f
mov r8d, 0x1b4
mov edx, 0x301
mov rcx, qword [0x14000a718]
call sub.api_ms_win_crt_stdio_l1_1_0.dll__open
mov dword [0x14000a708], eax
cmp dword [0x14000a708], 0
jg 0x14000593e
mov rdx, qword [0x14000a718]
lea rcx, str.cant_open__s
call fcn.140003288
nop
mov ecx, 0x64
call fcn.14000334c
mov qword [0x14000a718], rax
movsxd rax, dword [0x14000a6d0]
mov rcx, qword [rsp + 0xb8]
cmp qword [rcx + rax*8], 0
je 0x14000598b
movzx eax, word [0x14000a720]
movsxd rcx, dword [0x14000a6d0]
mov edx, eax
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rax + rcx*8]
call fcn.1400034a0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400059be
mov rax, qword [rsp + 0x58]
add rax, 0x1c0
test rax, rax
je 0x1400059be
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
lea rax, [rcx + rax + 0x1c0]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400059d4
mov eax, dword [0x14000a6d0]
inc eax
mov dword [0x14000a6d0], eax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
movzx eax, word [0x14000a700]
test eax, eax
je 0x140005b00
xor eax, eax
mov word [rsp + 0x30], ax
movsxd rax, dword [0x14000a6d0]
mov rcx, qword [rsp + 0xb8]
cmp qword [rcx + rax*8], 0
je 0x140005a54
movsxd rax, dword [0x14000a6d0]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + rax*8]
call fcn.140003854
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
test eax, eax
jne 0x140005a54
movsxd rax, dword [0x14000a6d0]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rcx + rax*8]
lea rcx, str.invalid_port__s
call fcn.140003288
nop
movzx eax, word [rsp + 0x50]
movzx ecx, word [rsp + 0x30]
mov r9d, eax
mov r8, qword [rsp + 0x78]
mov edx, ecx
mov rcx, qword [rsp + 0x68]
call fcn.140003f28
mov dword [0x14000a080], eax
cmp dword [0x14000a080], 0
jle 0x140005af3
cmp qword [0x14000a6e0], 0
je 0x140005a9b
movsxd rax, dword [0x14000a080]
mov rcx, rax
call fcn.1400022f0
nop
cmp qword [0x14000a6e0], 0
jne 0x140005ab4
mov ecx, dword [0x14000a080]
call fcn.140004990
mov dword [rsp + 0x34], eax
movzx eax, word [0x14000a6f4]
cmp eax, 1
jle 0x140005ada
mov r8d, dword [0x14000a858]
mov edx, dword [0x14000a724]
lea rcx, str._sent__d__rcvd__d
call fcn.140003198
nop
cmp dword [rsp + 0x60], 1
jne 0x140005ae6
jmp 0x14000521d
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
jmp 0x140005b00
lea rcx, str.no_connection
call fcn.140003288
nop
cmp qword [rsp + 0x68], 0
jne 0x140005b15
lea rcx, str.no_destination
call fcn.140003288
nop
movsxd rax, dword [0x14000a6d0]
mov rcx, qword [rsp + 0xb8]
cmp qword [rcx + rax*8], 0
jne 0x140005b38
lea rcx, str.no_port_s__to_connect_to
call fcn.140003288
nop
mov eax, dword [0x14000a6d0]
inc eax
cdqe
mov rcx, qword [rsp + 0xb8]
cmp qword [rcx + rax*8], 0
je 0x140005b5a
xor eax, eax
mov word [reloc.WS2_32.dll_accept], ax
movzx eax, word [rsp + 0x50]
mov word [rsp + 0x4c], ax
movsxd rax, dword [0x14000a6d0]
mov rcx, qword [rsp + 0xb8]
cmp qword [rcx + rax*8], 0
je 0x140005f00
xor eax, eax
mov word [rsp + 0x3c], ax
movzx eax, word [rsp + 0x3c]
mov word [rsp + 0x48], ax
movsxd rax, dword [0x14000a6d0]
mov edx, 0x2d
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.VCRUNTIME140.dll_strchr]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140005bfb
mov rax, qword [rsp + 0x40]
mov byte [rax], 0
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.140003854
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
test eax, eax
jne 0x140005bfb
mov rdx, qword [rsp + 0x40]
lea rcx, str.invalid_port__s
call fcn.140003288
nop
movsxd rax, dword [0x14000a6d0]
xor edx, edx
mov rcx, qword [rsp + 0xb8]
mov rcx, qword [rcx + rax*8]
call fcn.140003854
mov word [rsp + 0x3c], ax
movzx eax, word [rsp + 0x3c]
test eax, eax
jne 0x140005c43
movsxd rax, dword [0x14000a6d0]
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rcx + rax*8]
lea rcx, str.invalid_port__s
call fcn.140003288
nop
movzx eax, word [rsp + 0x48]
movzx ecx, word [rsp + 0x3c]
cmp eax, ecx
jle 0x140005c99
xor eax, eax
mov word [reloc.WS2_32.dll_accept], ax
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x30], ax
movzx eax, word [0x14000a850]
test eax, eax
je 0x140005c97
movzx eax, word [rsp + 0x48]
movzx ecx, word [rsp + 0x3c]
mov r8d, eax
mov edx, ecx
mov rcx, qword [rsp + 0x70]
call fcn.140003b20
mov rcx, qword [rsp + 0x70]
call fcn.140003a64
mov word [rsp + 0x30], ax
jmp 0x140005ca3
movzx eax, word [rsp + 0x3c]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x3c]
movzx ecx, word [rsp + 0x30]
cmp eax, ecx
jg 0x140005eed
movzx eax, word [rsp + 0x50]
test eax, eax
jne 0x140005cf4
movzx eax, word [0x14000a850]
test eax, eax
je 0x140005cf4
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0xffff
mov word [rsp + 0x4c], ax
movzx eax, word [rsp + 0x4c]
cmp eax, 0x2000
jge 0x140005cf4
movzx eax, word [rsp + 0x4c]
add eax, 0x2000
mov word [rsp + 0x4c], ax
movzx eax, word [rsp + 0x30]
mov edx, eax
xor ecx, ecx
call fcn.140003854
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x4c]
movzx ecx, word [rsp + 0x30]
mov r9d, eax
mov r8, qword [rsp + 0x78]
mov edx, ecx
mov rcx, qword [rsp + 0x68]
call fcn.140003bb4
mov dword [0x14000a080], eax
cmp dword [0x14000a080], 0
jle 0x140005d60
movzx eax, word [0x14000a704]
test eax, eax
je 0x140005d60
movzx eax, word [0x14000a6d4]
test eax, eax
je 0x140005d60
mov rdx, qword [rsp + 0x68]
mov ecx, dword [0x14000a080]
call fcn.1400043e8
mov dword [0x14000a080], eax
cmp dword [0x14000a080], 0
jle 0x140005e06
mov dword [rsp + 0x34], 0
mov rax, qword [0x14000a740]
movzx ecx, word [rsp + 0x30]
mov edx, 0x18
imul rdx, rdx, 0
mov r8, qword [rsp + 0x58]
lea rdx, [r8 + rdx + 0x100]
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x90], r8
mov qword [rsp + 0x20], rax
mov r9d, ecx
mov r8, rdx
mov rax, qword [rsp + 0x90]
mov rdx, rax
lea rcx, str._s___s___d___s__open
call fcn.140003198
cmp qword [0x14000a6e0], 0
je 0x140005de0
movsxd rax, dword [0x14000a080]
mov rcx, rax
call fcn.1400022f0
nop
movzx eax, word [0x14000a704]
test eax, eax
jne 0x140005e04
cmp qword [0x14000a6e0], 0
jne 0x140005e04
mov ecx, dword [0x14000a080]
call fcn.140004990
mov dword [rsp + 0x34], eax
jmp 0x140005e84
mov dword [rsp + 0x34], 1
movzx eax, word [reloc.WS2_32.dll_accept]
test eax, eax
jne 0x140005e32
movzx eax, word [0x14000a6f4]
cmp eax, 1
jg 0x140005e32
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x274d
je 0x140005e84
mov rax, qword [0x14000a740]
movzx ecx, word [rsp + 0x30]
mov edx, 0x18
imul rdx, rdx, 0
mov r8, qword [rsp + 0x58]
lea rdx, [r8 + rdx + 0x100]
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x20], rax
mov r9d, ecx
mov r8, rdx
mov rax, qword [rsp + 0x98]
mov rdx, rax
lea rcx, str._s___s___d___s_
call fcn.140003198
nop
movsxd rax, dword [0x14000a080]
mov edx, 2
mov rcx, rax
call qword [sym.imp.WS2_32.dll_shutdown]
movsxd rax, dword [0x14000a080]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_closesocket]
cmp dword [0x14000a70c], 0
je 0x140005ebf
mov ecx, dword [0x14000a70c]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__sleep]
nop
movzx eax, word [0x14000a850]
test eax, eax
je 0x140005edb
mov rcx, qword [rsp + 0x70]
call fcn.140003a64
mov word [rsp + 0x30], ax
jmp 0x140005ee8
movzx eax, word [rsp + 0x30]
dec ax
mov word [rsp + 0x30], ax
jmp 0x140005ca3
mov eax, dword [0x14000a6d0]
inc eax
mov dword [0x14000a6d0], eax
jmp 0x140005b64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0
movzx eax, word [0x14000a6f4]
cmp eax, 1
jle 0x140005f32
mov r8d, dword [0x14000a858]
mov edx, dword [0x14000a724]
lea rcx, str.sent__d__rcvd__d
call fcn.140003198
nop
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp dword [rsp + 0x60], 1
jne 0x140005f44
jmp 0x14000521d
movzx eax, word [reloc.WS2_32.dll_accept]
test eax, eax
je 0x140005f5a
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
xor eax, eax
add rsp, 0xa8
ret