Function at 0x140014c70
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1f0], rbx
mov rax, qword [0x1400724c8]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rsi, rcx
or rbx, 0xffffffffffffffff
mov rdi, rbx
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140014cb6
cmp rdi, 0x100
jb 0x140014cdd
lea rdx, [0x140055078]
mov rcx, qword [rcx + 8]
call fcn.14000c850
jmp 0x140014f40
mov r8, rdi
lea rcx, [rbp - 0x70]
call fcn.14003df10
mov byte [rbp + rdi - 0x70], 0
lea rdx, [0x140056748]
lea rcx, [rbp - 0x70]
call fcn.14003e89c
test rax, rax
je 0x140014d1f
lea rbx, [rbx + 1]
cmp byte [rax + rbx + 2], 0
jne 0x140014d03
lea r8, [rbx + 1]
lea rdx, [rax + 2]
lea rcx, [rbp - 0x70]
call fcn.14003df10
mov edx, Ordinal_61
lea rcx, [rbp - 0x70]
call fcn.14003e810
test rax, rax
jne 0x140014d47
lea rdx, str.bf2d
mov rcx, qword [rsi + 8]
call fcn.14000c850
jmp 0x140014f40
mov byte [rax], 0
lea rdx, [rax + 1]
xor ecx, ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x80], rcx
xor r13d, r13d
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x64], 6
mov qword [rsi + 0x18], r13
lea r9, [rsi + 0x18]
lea r8, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
je 0x140014db8
mov r8d, eax
lea rdx, [0x140056750]
mov rcx, qword [rsi + 8]
call fcn.14000c900
jmp 0x140014f40
mov rax, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r13
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x28], r13
movdqu xmmword [rsp + 0x30], xmm0
test rax, rax
je 0x140014f07
cmp dword [rax + 4], 2
jne 0x140014dfd
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140014490
mov rax, qword [rsp + 0x20]
cmp dword [rax + 4], 0x17
jne 0x140014e17
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140014490
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
test rax, rax
jne 0x140014de3
mov r15, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
cmp r15, rbx
jne 0x140014e60
mov r14, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
cmp r14, rbx
je 0x140014f07
sub rbx, r14
sar rbx, 3
call fcn.140040fc8
cdqe
xor edx, edx
div rbx
mov rax, qword [r14 + rdx*8]
jmp 0x140014eb0
mov r12, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
cmp r12, r14
jne 0x140014e88
sub rbx, r15
sar rbx, 3
call fcn.140040fc8
cdqe
xor edx, edx
div rbx
mov rax, qword [r15 + rdx*8]
jmp 0x140014eb0
call fcn.1400015d0
mov rcx, rax
call fcn.1400085f0
test al, al
jne 0x140014e6f
sub r14, r12
sar r14, 3
call fcn.140040fc8
cdqe
xor edx, edx
div r14
mov rax, qword [r12 + rdx*8]
mov qword [rsi + 0x10], rax
mov r8d, dword [rax + 0xc]
mov edx, dword [rax + 8]
mov ecx, dword [rax + 4]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsi + 0x20], rax
cmp rax, 0xffffffffffffffff
jne 0x140014eee
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsi + 0x18], r13
lea rdx, [0x140055078]
mov rcx, qword [rsi + 8]
call fcn.14000c870
jmp 0x140014f25
lea rcx, [rsp + 0x28]
call fcn.140014680
nop
lea rcx, [rsp + 0x40]
call fcn.140014680
mov al, 1
jmp 0x140014f40
mov rcx, qword [rsi + 0x18]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
mov qword [rsi + 0x18], r13
lea rdx, [0x140056754]
mov rcx, qword [rsi + 8]
call fcn.14000c850
movzx ebx, al
lea rcx, [rsp + 0x28]
call fcn.140014680
nop
lea rcx, [rsp + 0x40]
call fcn.140014680
movzx eax, bl
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14001eba0
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret