Function at 0x18003f490
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], r9
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov r12, r8
mov rsi, rdx
mov r13, rcx
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movzx eax, byte [rcx + 0x4d]
test al, al
jne 0x18003f4e4
lea eax, [rbx + 2]
jmp 0x18003f4f1
cmp al, 1
jne 0x18003fe59
mov eax, reloc.WS2_32.dll_socket
mov dword [rbp + 0x104], eax
mov dword [rbp + 0x108], 1
lea rdx, [rcx + 0x90]
cmp qword [rdx + 0x18], 0x10
jb 0x18003f512
mov rdx, qword [rdx]
add rcx, 0x70
cmp qword [r13 + 0x88], 0x10
jb 0x18003f524
mov rcx, qword [r13 + 0x70]
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x100]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x18003f56e
mov dword [rsi], ebx
lea rcx, [rsi + 8]
call fcn.180046460
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], rbx
mov rax, rsi
mov rbx, qword [rsp + 0x298]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rbp + 0x190], rax
lea r8, [rbp + 0x190]
mov rdx, qword [rbp + 0x48]
lea rcx, [rbp + 0xd0]
call fcn.18004e280
nop
mov rcx, qword [r12 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 1
jb 0x18003fe73
mov r9, r12
cmp qword [r12 + 0x18], 0x10
jb 0x18003f5bf
mov r9, qword [r12]
mov qword [rsp + 0x30], 1
lea rax, [0x180158cc8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x70]
call fcn.18003c3c0
nop
lea rdx, [r13 + 0xb0]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x18003f5f8
mov rdx, qword [rdx]
lea rcx, [rbp + 0x70]
call fcn.1800216e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], 0
mov r8d, listen
lea rdx, str._HTTP_1.1_r_n
lea rcx, [rbp - 0x80]
call fcn.1800216e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x18003f6b0
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f6ab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fe79
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x18003f6ff
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f6fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fe7f
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], 0
mov r14, qword [rbp + 0x1b0]
mov rcx, r14
call fcn.180034dc0
mov rbx, rax
mov rcx, r14
call fcn.1800462f0
mov rdi, rax
lea rax, [0x180158cc4]
cmp rbx, rdi
je 0x18003f7e4
mov rdx, qword [rbx + 0x10]
movabs rcx, 0x7fffffffffffffff
sub rcx, rdx
cmp rcx, 2
jb 0x18003fe8b
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18003f768
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x20]
call fcn.18003c3c0
nop
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1800465c0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x18003f7cf
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f7ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fe85
call fcn.1800b9f6c
add rbx, 0x20
cmp rbx, rdi
je 0x18003f7e4
lea rax, [0x180158cc4]
jmp 0x18003f740
lea r8, [r13 + 0x70]
lea rdx, str.Host:
lea rcx, [rbp + 0x130]
call fcn.18004df20
nop
mov r8d, 2
lea rbx, [0x180158cc4]
mov rdx, rbx
mov rcx, rax
call fcn.1800216e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], dil
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call fcn.1800465c0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x18003f88d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f888
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fe91
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp + 0x148]
cmp rdx, 0x10
jb 0x18003f8df
inc rdx
mov rcx, qword [rbp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f8da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fe97
call fcn.1800b9f6c
mov rax, qword [rbp + 0x1a8]
mov rdx, qword [rax + 8]
sub rdx, qword [rax]
lea rcx, [rbp + 0x50]
call fcn.18004dd70
nop
lea r8, [rbp + 0x50]
lea rdx, str.Content_Length:
lea rcx, [rbp + 0x90]
call fcn.180034250
nop
mov r8d, 2
mov rdx, rbx
mov rcx, rax
call fcn.1800216e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.1800465c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x18003f997
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f992
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fe9d
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0x10
jb 0x18003f9e9
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f9e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fea3
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp + 0xa0], xmm0
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x18003fa3b
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fa36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fea9
call fcn.1800b9f6c
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180046590
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
mov rcx, r14
call fcn.180034dc0
mov rbx, rax
mov rcx, r14
call fcn.1800462f0
mov rdi, rax
lea r14, [0x180158cc4]
cmp rbx, rax
je 0x18003fb24
mov rdx, qword [rbx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 2
jb 0x18003feb5
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x18003fab1
mov r9, qword [rbx]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x50]
call fcn.18003c3c0
nop
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1800465c0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x18003fb18
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fb13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003feaf
call fcn.1800b9f6c
add rbx, 0x20
cmp rbx, rdi
jmp 0x18003fa83
lea r8, [r13 + 0x70]
lea rdx, str.Host:
lea rcx, [rbp + 0xb0]
call fcn.18004df20
nop
mov r8d, 2
mov rdx, r14
mov rcx, rax
call fcn.1800216e0
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
xor edi, edi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], dil
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.1800465c0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18003fbc6
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fbc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003febb
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp - 0x10], xmm0
mov byte [rbp - 0x20], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x18003fc18
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fc13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fec1
call fcn.1800b9f6c
mov rbx, qword [rbp + 0x1a8]
mov rdx, qword [rbx + 8]
sub rdx, qword [rbx]
lea rcx, [rbp + 0xe0]
call fcn.18004dd70
nop
lea r8, [rbp + 0xe0]
lea rdx, str.Content_Length:
lea rcx, [rbp + 0x20]
call fcn.180034250
nop
mov r8d, 2
mov rdx, r14
mov rcx, rax
call fcn.1800216e0
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.1800465c0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x18003fcd3
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fcce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fec7
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp + 0x10], xmm0
mov byte [rbp], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x18003fd1f
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fd1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fecd
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rbp + 0x30], xmm0
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp + 0xf8]
cmp rdx, 0x10
jb 0x18003fd71
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fd6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fed3
call fcn.1800b9f6c
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.180046590
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xb0]
call fcn.180005730
mov qword [rsp + 0x20], rbx
mov r9, rax
mov r8, r12
mov rdx, rsi
mov rcx, r13
call fcn.18003e870
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x18003fde3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fdde
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fed9
call fcn.1800b9f6c
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], send
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x18003fe2f
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003fe2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003fe53
call fcn.1800b9f6c
movdqa xmm0, xmmword [0x18015bd40]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rbp + 0xd0]
call fcn.1800448e0
jmp 0x18003f550
call fcn.1800c5e04
nop
lea rcx, [rbp - 0x80]
call fcn.18003cf70
lea rdx, [0x18016be58]
lea rcx, [rbp - 0x80]
call fcn.1800bcee8
nop
call fcn.180001570
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
int3
call fcn.1800c5e04
int3
call fcn.180001570
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
int3
call fcn.180001570
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
nop
call fcn.1800c5e04
int3