Function at 0x180035c50
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov r12, r9
mov rbx, r8
mov rsi, rdx
mov r13, rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movzx eax, byte [rcx + 0x4d]
test al, al
jne 0x180035ca7
lea eax, [rdi + 2]
jmp 0x180035cb4
cmp al, 1
jne 0x18003652e
mov eax, reloc.WS2_32.dll_socket
mov dword [rbp + 0x114], eax
mov dword [rbp + 0x118], 1
lea rdx, [rcx + 0x90]
cmp qword [rdx + 0x18], 0x10
jb 0x180035cd5
mov rdx, qword [rdx]
add rcx, 0x70
cmp qword [r13 + 0x88], 0x10
jb 0x180035ce7
mov rcx, qword [r13 + 0x70]
lea r9, [rbp - 8]
lea r8, [rbp + 0x110]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x180035d31
mov dword [rsi], edi
lea rcx, [rsi + 8]
call fcn.18003cbb0
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x28], rdi
mov qword [rsi + 0x30], rdi
mov rax, rsi
mov rbx, qword [rsp + 0x288]
add rsp, 0x240
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 + 0x180], rax
lea r8, [rbp + 0x180]
mov rdx, qword [rbp - 8]
lea rcx, [rbp + 0xe0]
call fcn.180044bd0
nop
lea r8, [0x18014f48c]
mov rdx, rbx
lea rcx, [rbp + 0x60]
call fcn.1800445e0
nop
lea r8, [r13 + 0xb0]
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.1800447a0
nop
mov r8d, listen
lea rdx, str._HTTP_1.1_r_n
mov rcx, rax
call fcn.18001fc40
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], send
mov byte [rax], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x180035e00
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035dfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003654a
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x180035e4c
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035e47
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036550
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov r14, qword [rbp + 0x1a0]
mov rcx, r14
call fcn.1800312d0
mov rbx, rax
mov rcx, r14
call fcn.18003ca40
mov rdi, rax
cmp rbx, rax
je 0x180035ee5
lea r8, [0x18014f478]
mov rdx, rbx
lea rcx, [rbp]
call fcn.1800445e0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.18003cd10
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x180035edc
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035ed7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036556
call fcn.1800afc8c
add rbx, 0x20
cmp rbx, rdi
jmp 0x180035e7d
lea r8, [r13 + 0x70]
lea rdx, str.Host:
lea rcx, [rbp + 0x20]
call fcn.180044840
nop
mov r8d, 2
lea rdx, [0x18014f478]
mov rcx, rax
call fcn.18001fc40
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], bl
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.18003cd10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x180035f8b
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035f86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003655c
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x180035fd8
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180035fd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036562
call fcn.1800afc8c
mov rdx, qword [r12 + 8]
sub rdx, qword [r12]
lea rcx, [rbp + 0xf0]
call fcn.180044570
nop
lea r8, [rbp + 0xf0]
lea rdx, str.Content_Length:
lea rcx, [rbp + 0x80]
call fcn.180030760
nop
mov r8d, 2
lea rdx, [0x18014f478]
mov rcx, rax
call fcn.18001fc40
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.18003cd10
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x180036095
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036090
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036568
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 0x10
jb 0x1800360e7
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800360e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003656e
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp + 0x90], xmm0
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x108]
cmp rdx, 0x10
jb 0x18003613f
inc rdx
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003613a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036574
call fcn.1800afc8c
lea rdx, [0x18014f478]
lea rcx, [rsp + 0x50]
call fcn.18003cce0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], send
mov byte [rsp + 0x30], 0
mov rcx, r14
call fcn.1800312d0
mov rbx, rax
mov rcx, r14
call fcn.18003ca40
mov rdi, rax
cmp rbx, rax
je 0x1800361ec
lea r8, [0x18014f478]
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.1800445e0
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.18003cd10
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1800361e3
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800361de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003657a
call fcn.1800afc8c
add rbx, 0x20
cmp rbx, rdi
jmp 0x180036184
lea r8, [r13 + 0x70]
lea rdx, str.Host:
lea rcx, [rbp + 0xc0]
call fcn.180044840
nop
mov r8d, 2
lea rdx, [0x18014f478]
mov rcx, rax
call fcn.18001fc40
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], bl
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.18003cd10
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x180036291
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003628c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036580
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp + 0xd8]
cmp rdx, 0x10
jb 0x1800362e3
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800362de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036586
call fcn.1800afc8c
mov rdx, qword [r12 + 8]
sub rdx, qword [r12]
lea rcx, [rbp]
call fcn.180044570
nop
lea r8, [rbp]
lea rdx, str.Content_Length:
lea rcx, [rbp + 0xa0]
call fcn.180030760
nop
mov r8d, 2
lea rdx, [0x18014f478]
mov rcx, rax
call fcn.18001fc40
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], send
mov byte [rax], 0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.18003cd10
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18003639a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036395
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003658c
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp + 0xb8]
cmp rdx, 0x10
jb 0x1800363ec
inc rdx
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800363e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036592
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rbp + 0xb0], xmm0
mov byte [rbp + 0xa0], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x18003643e
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180036439
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036598
call fcn.1800afc8c
lea rdx, [0x18014f478]
lea rcx, [rsp + 0x30]
call fcn.18003cce0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.180005360
mov qword [rsp + 0x20], r12
mov r9, rax
mov r8, qword [rbp + 0x190]
mov rdx, rsi
mov rcx, r13
call fcn.180035030
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800364b8
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800364b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18003659e
call fcn.1800afc8c
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], send
mov byte [rsp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x180036504
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800364ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180036528
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
lea rcx, [rbp + 0xe0]
call fcn.18003afe0
jmp 0x180035d13
call fcn.1800bbb24
nop
lea rcx, [rsp + 0x70]
call fcn.180033730
lea rdx, [0x180161538]
lea rcx, [rsp + 0x70]
call fcn.1800b2c08
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
int3
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
nop
call fcn.1800bbb24
int3