Function at 0x1800075c4
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
sub rsp, 0x830
mov rax, qword [0x18004b8d8]
xor rax, rsp
mov qword [rsp + 0x820], rax
mov rbx, rdx
mov rdi, rcx
call fcn.180007910
xor r12d, r12d
mov rcx, rbx
mov dword [rdi + 0x28], 0x50
mov dword [rdi + 8], r12d
call fcn.18001c010
inc eax
movsxd rcx, eax
mov dword [rdi + 8], eax
call fcn.18001ad70
mov rdx, rbx
mov rcx, rax
mov qword [rdi], rax
call fcn.18001c600
mov rcx, qword [rdi]
lea rdx, str.http:__
call fcn.18001cc68
mov rsi, rax
test rax, rax
jne 0x18000765b
mov rcx, qword [rdi]
lea rdx, str.https:__
call fcn.18001cc68
mov rsi, rax
test rax, rax
je 0x180007664
add rsi, 8
jmp 0x18000765f
add rsi, 7
test rsi, rsi
jne 0x180007667
mov rsi, qword [rdi]
mov rcx, qword [rdi]
call fcn.18001c010
mov rcx, qword [rdi + 0x20]
lea ebp, [rax + 1]
test rcx, rcx
je 0x180007684
call fcn.18001c1bc
mov qword [rdi + 0x20], r12
movsxd rbx, ebp
mov rcx, rbx
call fcn.18001ad70
mov r8, rbx
xor edx, edx
mov rcx, rax
mov qword [rdi + 0x20], rax
call fcn.18001c0d0
lea r9d, [rbp - 1]
mov r11d, r12d
test r9d, r9d
jle 0x1800076d3
mov r8, rsi
neg r8
mov dl, byte [rsi]
test dl, dl
je 0x1800076d3
cmp dl, 0x2f
je 0x1800076d3
mov rax, qword [rdi + 0x20]
lea rcx, [r8 + rsi]
inc r11d
inc rsi
mov byte [rcx + rax], dl
cmp r11d, r9d
jl 0x1800076b2
mov rcx, qword [rdi + 0x20]
call fcn.18001c010
mov rcx, qword [rdi + 0x10]
lea ebx, [rax + 1]
test rcx, rcx
je 0x1800076f1
call fcn.18001c1bc
mov qword [rdi + 0x10], r12
movsxd rbp, ebx
mov rcx, rbp
call fcn.18001ad70
mov r8, rbp
xor edx, edx
mov rcx, rax
mov qword [rdi + 0x10], rax
call fcn.18001c0d0
mov esi, r12d
mov ebx, r12d
mov rcx, r12
test rbp, rbp
jle 0x18000775a
mov rdx, qword [rdi + 0x20]
mov dl, byte [rdx + rcx]
cmp dl, 0x3a
je 0x18000775a
mov rax, qword [rdi + 0x10]
mov byte [rcx + rax], dl
mov rdx, qword [rdi + 0x20]
mov al, byte [rdx + rcx]
cmp al, 0x2e
jne 0x18000773d
inc esi
jmp 0x180007752
cmp ebx, 1
je 0x180007752
test al, al
jns 0x18000774f
mov ebx, 1
cmp al, 0x39
jg 0x180007752
mov ebx, r12d
inc rcx
cmp rcx, rbp
jl 0x18000771f
mov rcx, qword [rdi + 0x10]
call fcn.18001c010
cmp rax, 1
jbe 0x1800077cc
cmp esi, 3
jne 0x180007772
test ebx, ebx
je 0x1800077de
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x1800077cc
mov rbx, qword [rax + 0x18]
cmp qword [rbx], r12
je 0x1800077cc
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x18000779c
call fcn.18001c1bc
mov qword [rdi + 0x10], r12
mov rax, qword [rbx]
mov ecx, dword [rax]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, rax
mov rbx, rax
call fcn.18001c010
lea rcx, [rax + 1]
call fcn.18001ad70
mov rdx, rbx
mov rcx, rax
mov qword [rdi + 0x10], rax
call fcn.18001c600
jmp 0x1800077de
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1800077de
call fcn.18001c1bc
mov qword [rdi + 0x10], r12
mov rcx, qword [rdi]
lea rdx, str.http:__
call fcn.18001cc68
mov rsi, rax
test rax, rax
jne 0x180007812
mov rcx, qword [rdi]
lea rdx, str.https:__
call fcn.18001cc68
mov rsi, rax
test rax, rax
je 0x18000781b
add rsi, 8
jmp 0x180007816
add rsi, 7
test rsi, rsi
jne 0x18000781e
mov rsi, qword [rdi]
mov rcx, qword [rdi]
call fcn.18001c010
mov rcx, qword [rdi + 0x18]
lea ebp, [rax + 1]
test rcx, rcx
je 0x18000783b
call fcn.18001c1bc
mov qword [rdi + 0x18], r12
mov ecx, ebp
call fcn.18001ad70
mov r8d, ebp
xor edx, edx
mov rcx, rax
mov qword [rdi + 0x18], rax
call fcn.18001c0d0
mov r11d, r12d
test ebp, ebp
je 0x180007872
mov rax, rsi
cmp byte [rax], r12b
je 0x1800078ce
cmp byte [rax], 0x2f
je 0x1800078ce
inc r11d
inc rax
cmp r11d, ebp
jb 0x18000785d
lea rdx, [0x18003d357]
mov rcx, qword [rdi + 0x18]
call fcn.18001c600
or dword [rdi + 0x28], 0xffffffff
cmp qword [rdi + 0x20], r12
je 0x1800078e8
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x7ff
mov byte [rsp + 0x20], r12b
call fcn.18001c0d0
mov rdx, qword [rdi + 0x20]
lea rcx, [rsp + 0x20]
call fcn.18001c600
lea rcx, [rsp + 0x20]
mov edx, 0x3a
call fcn.18001ccc0
test rax, rax
jne 0x1800078dc
mov dword [rdi + 0x28], 0x50
jmp 0x1800078e8
cmp r11d, 0xffffffff
je 0x180007872
movsxd rdx, r11d
add rdx, rsi
jmp 0x180007879
lea rcx, [rax + 1]
call fcn.18001ccdc
mov dword [rdi + 0x28], eax
mov rcx, qword [rsp + 0x820]
xor rcx, rsp
call fcn.18001bbd0
lea r11, [rsp + 0x830]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret