Function at 0x1800748e0
Capabilities:
Resolve dns

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x18025ed68]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov rax, r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
xor r12b, r12b
mov byte [rsp + 0x20], r12b
test rdx, rdx
je 0x1800751cc
test rax, rax
je 0x1800751cc
xor r15d, r15d
mov qword [r11 - 0x80], r15
mov qword [r11 - 0x78], 0xf
mov byte [r11 - 0x90], r12b
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r12b
jne 0x180074950
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.180009840
nop
lea rbx, [rsp + 0x98]
mov rsi, qword [rsp + 0x98]
mov r13, qword [rsp + 0xb0]
cmp r13, 0x10
cmovae rbx, rsi
mov r14, qword [rsp + 0xa8]
test r14, r14
je 0x180074b6e
mov r8, r14
mov edx, 0x3a
mov rcx, rbx
call fcn.18017be40
mov r15, rax
test rax, rax
je 0x180074b6b
sub r15, rbx
cmp r15, 0xffffffffffffffff
je 0x180074b6b
lea r13, [rsp + 0x98]
cmp qword [rsp + 0xb0], 0x10
cmovae r13, rsi
movabs rsi, 0x7fffffffffffffff
cmp r14, 0x10
jae 0x180074a09
movups xmm0, xmmword [r13]
movups xmmword [rsp + 0x78], xmm0
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
lea rax, [rsp + 0x78]
jmp 0x180074a8c
mov rbx, r14
or rbx, 0xf
cmp rbx, rsi
cmova rbx, rsi
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x180074a53
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800751fb
mov rcx, rax
call fcn.18015ce58
mov rcx, rax
test rax, rax
je 0x180075201
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x180074a61
test rcx, rcx
je 0x180074a5f
call fcn.18015ce58
jmp 0x180074a61
xor eax, eax
mov qword [rsp + 0x78], rax
lea r8, [r14 + 1]
mov rdx, r13
mov rcx, rax
call fcn.18017b690
mov qword [rsp + 0x90], rbx
lea rax, [rsp + 0x78]
cmp rbx, 0x10
cmovae rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], r14
mov byte [r15 + rax], 0
lea rdx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rdx, qword [rsp + 0x78]
lea rbx, [rsp + 0x78]
cmovae rbx, qword [rsp + 0x78]
lea r8, [rsp + 0x28]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x180074b20
movzx r12d, al
mov byte [rsp + 0x20], al
xor edx, edx
lea r8d, [rax + 9]
lea rcx, [rbx + 1]
add rcx, r15
call fcn.180187f1c
mov ebx, eax
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
xor eax, eax
mov qword [rdi], rax
mov dword [rdi + 8], 0xffff0000
mov eax, ecx
shr eax, 0x18
mov byte [rdi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [rdi + 0xe], al
mov byte [rdi + 0xf], cl
mov word [rdi + 0x10], bx
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x180074b60
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180074b5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180075201
call fcn.18015ce94
test r12b, r12b
jne 0x180075183
jmp 0x180074bda
xor r15d, r15d
lea rdx, [rsp + 0x98]
cmp r13, 0x10
cmovae rdx, rsi
lea r8, [rsp + 0x28]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x180074bd0
movzx r12d, al
mov ecx, dword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
mov qword [rdi], r15
mov dword [rdi + 8], 0xffff0000
shr eax, 0x18
mov byte [rdi + 0xc], al
mov eax, ecx
shr eax, 0x10
mov byte [rdi + 0xd], al
mov eax, ecx
shr eax, 8
mov byte [rdi + 0xe], al
mov byte [rdi + 0xf], cl
mov word [rdi + 0x10], r15w
jmp 0x180075183
movabs rsi, 0x7fffffffffffffff
xor edx, edx
mov qword [rsp + 0x28], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x54], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x64], xmm1
mov dword [rsp + 0x74], edx
mov dword [rsp + 0x4c], reloc.WS2_32.dll_socket
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], recv
mov r14d, edx
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0xc8], rdx
mov qword [rsp + 0xd0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xb8], dl
mov r15d, edx
mov r11d, edx
mov rbx, qword [rsp + 0xa8]
mov r9, qword [rsp + 0xb0]
mov r10, qword [rsp + 0x98]
test rbx, rbx
je 0x180074d5d
mov r8d, edx
nop dword [rax]
lea rax, [rsp + 0x98]
cmp r9, 0x10
cmovae rax, r10
movzx ecx, byte [rax + r8]
lea eax, [r15 + 1]
cmp cl, 0x3a
cmovne eax, r15d
mov r15d, eax
cmovne rdx, r14
mov r14, rdx
inc r11d
lea r8, [r8 + 1]
movsxd rdx, r11d
cmp rdx, rbx
jb 0x180074c60
mov qword [rsp + 0x30], r14
cmp eax, 8
jne 0x180074d5b
lea r8, [rsp + 0x98]
cmp r9, 0x10
cmovae r8, r10
add r8, r14
lea rdx, [rsp + 0x98]
cmp r9, 0x10
cmovae rdx, r10
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], al
cmp rdx, r8
je 0x180074d39
sub r8, rdx
lea rcx, [rsp + 0x78]
call fcn.180009840
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0x10
jb 0x180074d39
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180074d34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180075213
call fcn.18015ce94
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rsp + 0xb8], xmm0
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rsp + 0xc8], xmm1
jmp 0x180074e41
xor edx, edx
lea r13, [rsp + 0x98]
cmp r9, 0x10
cmovae r13, r10
cmp rbx, 0xf
ja 0x180074d9b
mov qword [rsp + 0xc8], rbx
mov r8, rbx
mov rdx, r13
lea rcx, [rsp + 0xb8]
call fcn.18017b690
mov byte [rsp + rbx + 0xb8], 0
jmp 0x180074e41
cmp rbx, rsi
ja 0x180075207
mov rax, rbx
or rax, 0xf
cmp rax, rsi
jbe 0x180074dd9
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.18015ce58
test rax, rax
je 0x180075213
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x180074e16
mov rsi, rax
mov ecx, socket
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x180074e04
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18007520d
jmp 0x180074dba
test rcx, rcx
je 0x180074e13
call fcn.18015ce58
mov r14, rax
jmp 0x180074e16
mov r14, rdx
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], rsi
mov r8, rbx
mov rdx, r13
mov rcx, r14
call fcn.18017b690
mov byte [r14 + rbx], 0
mov qword [rsp + 0xb8], r14
lea rcx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 0x10
cmovae rcx, qword [rsp + 0xb8]
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x48]
xor edx, edx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x18007511e
mov rax, qword [rsp + 0x28]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x38], rax
lea rbx, [rsp + 0x98]
mov rsi, qword [rsp + 0x98]
mov r14, qword [rsp + 0xb0]
cmp r14, 0x10
cmovae rbx, rsi
mov r13, qword [rsp + 0xa8]
test r13, r13
je 0x180074ecd
mov r8, r13
mov edx, 0x5d
mov rcx, rbx
call fcn.18017be40
mov rcx, rax
test rax, rax
je 0x180074ecd
sub rcx, rbx
jmp 0x180074ed4
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x90], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x88], 1
mov word [rsp + 0x78], 0x30
cmp rcx, 0xffffffffffffffff
je 0x180074ff7
lea r8, [rsp + 0x98]
cmp r14, 0x10
cmovae r8, rsi
add r8, r13
lea rdx, [rsp + 0x98]
cmp r14, 0x10
cmovae rdx, rsi
add rdx, 2
add rdx, rcx
xor eax, eax
mov qword [rsp + 0xe8], rax
mov qword [rsp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rsp + 0xd8], al
cmp rdx, r8
je 0x180074f99
sub r8, rdx
lea rcx, [rsp + 0xd8]
call fcn.180009840
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x180074f99
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180074f94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180075226
call fcn.18015ce94
movups xmm1, xmmword [rsp + 0xe8]
movups xmm0, xmmword [rsp + 0xd8]
movups xmmword [rsp + 0x88], xmm1
movups xmmword [rsp + 0x78], xmm0
call fcn.180184790
mov rsi, rax
lea rbx, [rsp + 0x78]
cmp qword [rsp + 0x90], 0x10
cmovae rbx, qword [rsp + 0x78]
xor eax, eax
mov dword [rsi], eax
lea r8d, [rax + 0xa]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180187ec4
cmp rbx, qword [rsp + 0x30]
je 0x180075219
jmp 0x1800750a9
cmp r15d, 8
jne 0x180074fb6
lea r8, [rsp + 0x98]
cmp r14, 0x10
cmovae r8, rsi
add r8, r13
lea rdx, [rsp + 0x98]
cmp r14, 0x10
cmovae rdx, rsi
mov rcx, qword [rsp + 0x30]
inc rcx
add rdx, rcx
xor eax, eax
mov qword [rsp + 0xe8], rax
mov qword [rsp + reloc.WS2_32.dll_ntohs0], 0xf
mov byte [rsp + 0xd8], al
cmp rdx, r8
je 0x180074f99
sub r8, rdx
lea rcx, [rsp + 0xd8]
call fcn.180009840
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x180074f99
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180074f94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180075226
jmp 0x180074f94
cmp dword [rsi], 0x22
je 0x18007522c
cmp eax, 0xffff
ja 0x1800750d1
mov rcx, qword [rsp + 0x38]
movups xmm0, xmmword [rcx + 8]
movups xmmword [rdi], xmm0
mov word [rdi + 0x10], ax
mov r12b, 1
mov byte [rsp + 0x20], r12b
jmp 0x1800750de
mov rdx, qword [rsp + 0x90]
cmp rdx, 0x10
jb 0x18007511e
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180075119
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180075239
call fcn.18015ce94
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18007512f
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
nop
mov rdx, qword [rsp + 0xd0]
cmp rdx, 0x10
jb 0x180075172
inc rdx
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18007516d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18007523f
call fcn.18015ce94
test r12b, r12b
jne 0x180075183
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov word [rdi + 0x10], ax
mov rdx, qword [rsp + 0xb0]
cmp rdx, 0x10
jb 0x1800751c6
inc rdx
mov rcx, qword [rsp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800751c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180075245
call fcn.18015ce94
movzx eax, r12b
jmp 0x1800751ce
xor al, al
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.18015d5d0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.180008ab0
nop
call fcn.18018023c
nop
call fcn.180008ba0
int3
call fcn.180008ab0
int3
call fcn.18018023c
nop
lea rcx, str.invalid_stoi_argument
call fcn.18015a2ac
nop
call fcn.18018023c
nop
lea rcx, str.stoi_argument_out_of_range
call fcn.18015a2f4
nop
call fcn.18018023c
nop
call fcn.18018023c
nop
call fcn.18018023c
int3