Function at 0x18002f620
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x128
cmp qword [rsp + 0x148], 0
je 0x18002f67a
mov rax, qword [rsp + 0x140]
cmp qword [rax + 0x18], 0
je 0x18002f65e
mov byte [rsp + 0x40], 1
jmp 0x18002f663
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
je 0x18002f681
mov eax, dword [rsp + 0x150]
and eax, 4
test eax, eax
jne 0x18002f681
xor al, al
jmp 0x18003032b
mov dword [rsp + 0x48], reloc.WS2_32.dll_inet_ntoa
mov dword [rsp + 0x44], 3
mov rax, qword [rsp + 0x148]
add rax, 5
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
add rax, 0x7fffffff
cmp qword [rsp + 0x158], rax
ja 0x18002f6ef
mov eax, 0x80000000
mov rcx, qword [rsp + 0xc8]
sub rcx, rax
mov rax, rcx
cmp qword [rsp + 0x158], rax
jb 0x18002f6ef
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x48], 5
jmp 0x18002f7a8
mov eax, 0xffffffff
cmp qword [rsp + 0x158], rax
ja 0x18002f713
mov dword [rsp + 0x44], 1
mov dword [rsp + 0x48], 6
jmp 0x18002f7a8
mov dword [rsp + 0x4c], 1
mov eax, 1
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x41], al
mov dword [rsp + 0x50], 0xfffffffe
jmp 0x18002f752
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x50]
dec eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x4c], 8
jae 0x18002f777
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x148]
movzx eax, byte [rcx + rax]
movzx ecx, byte [rsp + 0x41]
cmp eax, ecx
je 0x18002f775
jmp 0x18002f777
jmp 0x18002f73e
cmp dword [rsp + 0x4c], 8
jne 0x18002f7a8
mov dword [rsp + 0x44], 2
mov dword [rsp + 0x48], 6
mov eax, 1
imul rax, rax, 0x3f
mov rcx, qword [rsp + 0x140]
movzx edx, byte [rsp + 0x41]
mov byte [rcx + rax + 0x30], dl
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x140]
mov qword [rax + 0x18], 0
cmp qword [rsp + 0x148], 0
jne 0x18002f7df
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 8]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
movzx eax, byte [rax]
cmp eax, 0xfc
jne 0x18002f804
mov rax, qword [rsp + 0x148]
inc rax
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x38], rax
jmp 0x18002f82b
movzx eax, byte [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x140]
cmp qword [rcx + 0x18], rax
jae 0x18002ffdc
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x98]
call fcn.180018140
mov eax, eax
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x140]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
cmp eax, 0xe9
jne 0x18002f90f
mov eax, dword [rsp + 0x150]
and eax, 2
test eax, eax
je 0x18002f90f
mov byte [rsp + 0x98], 0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
movsxd rax, dword [rcx + rax]
mov ecx, 5
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x140]
mov qword [rax + 0x18], 0
mov dword [rsp + 0x30], 0
jmp 0x18002f813
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
cmp eax, 0xeb
jne 0x18002f98d
mov eax, dword [rsp + 0x150]
and eax, 2
test eax, eax
je 0x18002f98d
mov byte [rsp + 0x98], 0
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
cdqe
mov ecx, 2
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x140]
mov qword [rax + 0x18], 0
mov dword [rsp + 0x30], 0
jmp 0x18002f813
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
and eax, 0xfb
cmp eax, 0x48
jne 0x18002fb7f
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
cmp eax, 0x8b
jne 0x18002fb7f
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
and eax, 7
cmp eax, 5
jne 0x18002fb7f
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
sar eax, 2
and eax, 1
mov byte [rsp + 0x42], al
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x38]
movzx eax, byte [rcx + rax]
sar eax, 3
and eax, 7
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x42]
or eax, 0x48
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x140]
mov byte [rdx + rcx + 0x30], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x34]
or eax, 0xb8
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x140]
mov byte [rdx + rcx + 0x30], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x38]
movsxd rax, dword [rcx + rax]
mov ecx, 7
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x100], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x100]
mov qword [rcx + rax + 0x30], rdx
mov eax, dword [rsp + 0x30]
add rax, 8
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x42]
imul eax, eax, 5
or eax, 0x48
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x140]
mov byte [rdx + rcx + 0x30], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0x8b
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x34]
imul eax, eax, 9
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x140]
mov byte [rdx + rcx + 0x30], al
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0x34]
cmp eax, 4
jne 0x18002fb30
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0x24
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x18002fb7a
movzx eax, byte [rsp + 0x34]
cmp eax, 5
jne 0x18002fb7a
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0x6d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
jmp 0x18002f813
movzx eax, byte [rsp + 0xa3]
cmp eax, 0x74
jne 0x18002fc9a
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0x75
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], socket
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movzx eax, byte [rsp + 0xad]
cdqe
movzx ecx, byte [rsp + 0x98]
mov ecx, ecx
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
lea rax, [rcx + rax + 0x30]
mov qword [rsp + 0x70], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
mov dword [rcx + rax], 0xf82444c7
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x70]
mov dword [rcx + rax], 0xfc2444c7
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x70]
mov dword [rcx + rax], 0xf82464ff
mov eax, 4
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x70]
mov eax, dword [rsp + rax + 0xd0]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x70]
mov eax, dword [rsp + rax + 0xd0]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x30]
add eax, 0x14
mov dword [rsp + 0x30], eax
jmp 0x18002f813
movzx eax, byte [rsp + 0xa3]
cmp eax, 0xe8
jne 0x18002fd7f
movsxd rax, dword [rsp + 0xad]
movzx ecx, byte [rsp + 0x98]
mov ecx, ecx
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
lea rax, [rcx + rax + 0x30]
mov qword [rsp + 0x78], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov dword [rcx + rax], 0xf82444c7
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x78]
mov dword [rcx + rax], 0xfc2444c7
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x78]
mov dword [rcx + rax], 0xf82454ff
mov eax, 4
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x78]
mov eax, dword [rsp + rax + 0xd8]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x78]
mov eax, dword [rsp + rax + 0xd8]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x30]
add eax, 0x14
mov dword [rsp + 0x30], eax
jmp 0x18002f813
movzx eax, byte [rsp + 0xa3]
cmp eax, 0xff
jne 0x18002ff9e
movzx eax, byte [rsp + 0xa5]
cmp eax, 0x25
jne 0x18002ff9e
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x98]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x18002fddb
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0x90
je 0x18002fdff
mov rax, qword [rsp + 0x88]
movzx eax, byte [rax]
cmp eax, 0xcc
jne 0x18002fe0b
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
jmp 0x18002fdc8
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x140]
mov eax, dword [rax + 0x18]
add eax, dword [rsp + 0xc0]
mov ecx, dword [rsp + 0x48]
sub ecx, eax
mov eax, ecx
test eax, eax
jg 0x18002ff31
movsxd rax, dword [rsp + 0xb5]
movzx ecx, byte [rsp + 0x98]
mov ecx, ecx
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
lea rax, [rcx + rax + 0x30]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax], 0xf82444c7
mov eax, 4
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax], 0xfc2444c7
mov eax, 4
imul rax, rax, 4
mov rcx, qword [rsp + 0x80]
mov dword [rcx + rax], 0xf82464ff
mov eax, 4
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + rax + 0x90]
mov dword [rdx + rcx], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0x80]
mov eax, dword [rsp + rax + 0x90]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x30]
add eax, 0x14
mov dword [rsp + 0x30], eax
jmp 0x18002f813
movsxd rax, dword [rsp + 0xb5]
movzx ecx, byte [rsp + 0x98]
mov ecx, ecx
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x148], rax
mov byte [rsp + 0x98], 0
mov rax, qword [rsp + 0x140]
mov qword [rax + 0x18], 0
mov dword [rsp + 0x30], 0
jmp 0x18002f813
movzx eax, byte [rsp + 0x98]
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x140]
lea rcx, [rdx + rcx + 0x30]
mov rdi, rcx
mov rsi, qword [rsp + 0x38]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
movzx eax, byte [rsp + 0x98]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
jmp 0x18002f813
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x158]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x140]
mov rcx, qword [rsp + 0x148]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x140]
add rax, 0x30
mov rcx, qword [rsp + 0x140]
mov qword [rcx], rax
mov rax, qword [rsp + 0x148]
sub rax, 8
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x48]
add eax, 8
mov eax, eax
mov qword [rsp + 0xe0], rax
mov dword [rsp + 0x58], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xe8]
mov rcx, 0xffffffffffffffff
call qword [0x180042310]
mov rax, qword [rsp + 0x148]
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x60], xmm0
mov rax, qword [rsp + 0x140]
movdqu xmm0, xmmword [rsp + 0x60]
movdqu xmmword [rax + 0x20], xmm0
mov eax, dword [rsp + 0x150]
and eax, 1
test eax, eax
je 0x1800300c3
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x140]
mov rdi, rax
mov eax, 0x90
mov rcx, qword [rcx + 0x18]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0xff
mov eax, dword [rsp + 0x30]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0x25
mov eax, dword [rsp + 0x30]
add eax, 5
mov eax, eax
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0
mov eax, dword [rsp + 0x30]
add eax, 4
mov eax, eax
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0
mov eax, dword [rsp + 0x30]
add eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0
mov eax, dword [rsp + 0x30]
add eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x140]
mov byte [rcx + rax + 0x30], 0
mov rax, qword [rsp + 0x140]
mov rax, qword [rax + 0x18]
mov rcx, qword [rsp + 0x148]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x30]
add ecx, 6
mov ecx, ecx
mov rdx, qword [rsp + 0x140]
mov qword [rdx + rcx + 0x30], rax
cmp dword [rsp + 0x44], 3
jne 0x1800301cb
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x60], 0x48
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x60], 0xb8
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x158]
mov qword [rsp + rax + 0x60], rcx
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x60], 0xff
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x60], 0xe0
jmp 0x180030294
cmp dword [rsp + 0x44], 1
jne 0x180030207
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x60], 0x68
mov eax, 1
imul rax, rax, 1
mov ecx, dword [rsp + 0x158]
mov dword [rsp + rax + 0x60], ecx
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x60], 0xc3
jmp 0x180030294
cmp dword [rsp + 0x44], 2
jne 0x180030251
mov eax, 1
imul rax, rax, 0
mov dword [rsp + rax + 0x60], 0xfff225ff
mov eax, 1
imul rax, rax, 4
mov ecx, 0xffff
mov word [rsp + rax + 0x60], cx
mov eax, 8
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x148]
mov rdx, qword [rsp + 0x158]
mov qword [rcx + rax], rdx
jmp 0x180030294
cmp dword [rsp + 0x44], 0
jne 0x180030294
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x60], 0xe9
mov eax, 1
imul rax, rax, 1
mov ecx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x148]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x140]
sub rcx, qword [rdx + 0x10]
neg rcx
mov dword [rsp + rax + 0x60], ecx
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x110], WSAStartup
mov dword [rsp + 0xc4], 0
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8, [rsp + 0x110]
lea rdx, [rsp + 0x118]
mov rcx, 0xffffffffffffffff
call qword [0x180042310]
mov rax, qword [rsp + 0x148]
movdqu xmm0, xmmword [rsp + 0x60]
movdqu xmmword [rax], xmm0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x58]
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xe8]
mov rcx, 0xffffffffffffffff
call qword [0x180042310]
mov al, 1
add rsp, 0x128
pop rdi
pop rsi
ret