Function at 0x140060120
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc00]
sub rsp, 0xd00
mov rax, qword [0x14012bc80]
xor rax, rsp
mov qword [rbp + 0xbf0], rax
xor r15d, r15d
mov r14d, ecx
mov r13d, r8d
mov dword [rsp + 0x70], r8d
mov rdi, rdx
mov qword [rsp + 0x78], rdx
lea rcx, [rbp - 0x3f]
mov esi, r15d
xor edx, edx
mov r8d, 0x400
mov qword [rsp + 0x68], r15
mov byte [rbp - 0x40], sil
call fcn.14000cbf0
lea rcx, [rbp + 0x7e1]
xor edx, edx
mov r8d, 0x400
mov byte [rbp + 0x7e0], sil
call fcn.14000cbf0
mov rcx, qword [0x14012f3d0]
mov dword [rsp + 0x74], r15d
call fcn.14002d290
mov rcx, qword [0x14012f3d8]
mov rbx, rax
mov qword [rbp - 0x80], rax
call fcn.14002d290
mov rcx, qword [0x14012f3e0]
mov qword [rsp + 0x48], rax
call fcn.14002d290
mov rcx, qword [0x14012f3e8]
mov qword [rsp + 0x40], rax
call fcn.14002d290
mov rcx, qword [0x14012f3f0]
mov qword [rsp + 0x58], rax
call fcn.14002d290
lea rcx, [rbp + 0x3d1]
xor edx, edx
mov r8d, 0x400
mov byte [rbp + 0x3d0], sil
mov qword [rsp + 0x50], rax
call fcn.14000cbf0
lea ecx, [r15 + 1]
mov dword [rsp + 0x60], r15d
call fcn.140061bf0
test eax, eax
je 0x1400606d7
lea r8d, [r15 + 0x30]
lea rcx, [rbp - 0x78]
xor r9d, r9d
xor edx, edx
call fcn.14002a5a0
mov eax, 2
mov dword [rbp - 0x70], 1
mov dword [rbp - 0x78], eax
mov dword [rbp - 0x74], eax
test rdi, rdi
je 0x14006028c
xor edx, edx
mov rcx, rdi
call fcn.14002a9d0
lea rcx, [rbp + 0x3d0]
xor r9d, r9d
mov r8, rax
mov rdx, rdi
call fcn.14002a480
lea rcx, [rbp + 0x3d0]
mov edx, 0x400
call fcn.1400c1830
lea rdx, [rsp + 0x74]
lea rcx, [rbp + 0x3d0]
call fcn.140054d40
mov rcx, rbx
mov rdi, rax
call fcn.14005ede0
mov ebx, reloc.WS2_32.dll_socket
mov r12, rax
test rax, rax
je 0x1400602f1
test r13d, r13d
jne 0x1400602f1
lea rdx, str.6not4
xor r8d, r8d
mov rcx, rax
call fcn.14002a750
test eax, eax
jne 0x1400602dd
mov dword [rsp + 0x60], 1
mov dword [rbp - 0x74], ebx
jmp 0x1400602f1
mov rcx, r12
call fcn.14000f14c
mov ecx, dword [rbp - 0x74]
cmp eax, 6
cmove ecx, ebx
mov dword [rbp - 0x74], ecx
lea r13, [rbp + 0x3d0]
test rdi, rdi
lea r9, [rsp + 0x68]
cmovne r13, rdi
lea r8, [rbp - 0x78]
xor edx, edx
mov rcx, r13
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x140060321
cmp qword [rsp + 0x68], rsi
jne 0x140060352
cmp dword [rsp + 0x70], esi
jne 0x140060352
cmp dword [rsp + 0x60], esi
jne 0x140060352
cmp dword [rbp - 0x74], ebx
mov eax, 2
lea r9, [rsp + 0x68]
cmove ebx, eax
lea r8, [rbp - 0x78]
mov rcx, r13
xor edx, edx
mov dword [rbp - 0x74], ebx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
mov rcx, qword [rbp - 0x80]
call fcn.14002d330
test rdi, rdi
je 0x140060368
mov rcx, rdi
call fcn.140064760
test r12d, r12d
je 0x140060468
cmp dword [rsp + 0x60], esi
je 0x1400603d0
test r14b, 4
jne 0x14006042a
test r14b, 0x10
jne 0x14006042a
test r14b, 0x20
jne 0x14006042a
lea rcx, str.FLEXLM_DIAGNOSTICS
call fcn.14005ede0
test rax, rax
je 0x14006042a
movzx eax, byte [rax]
mov rsi, qword [rsp + 0x48]
sub al, 0x31
cmp al, 2
ja 0x14006042f
mov rcx, qword [0x14013a7c0]
lea r8, [rbp + 0x3d0]
mov rdx, rsi
call fcn.14003ec94
jmp 0x14006042f
test r14b, 4
jne 0x14006041e
test r14b, 0x10
jne 0x14006042a
test r14b, 0x20
jne 0x14006042a
lea rcx, str.FLEXLM_DIAGNOSTICS
call fcn.14005ede0
test rax, rax
je 0x14006042a
movzx eax, byte [rax]
mov r14, qword [rsp + 0x40]
sub al, 0x31
cmp al, 2
ja 0x140060423
mov rcx, qword [0x14013a7c0]
lea r8, [rbp + 0x3d0]
mov rdx, r14
call fcn.14003ec94
mov rsi, qword [rsp + 0x48]
jmp 0x140060434
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
jmp 0x140060434
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
lea rax, [0x140143520]
mov qword [rsp + 0x30], r15
mov r9d, 0x400
mov r8d, r12d
xor edx, edx
mov ecx, 0x12ff
mov dword [rsp + 0x28], 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
jmp 0x1400606e1
mov rbx, qword [rsp + 0x68]
test rbx, rbx
jne 0x1400604e0
test r14b, 4
jne 0x1400606fd
test r14b, 0x10
jne 0x1400606fd
test r14b, 0x20
jne 0x1400606fd
lea rcx, str.FLEXLM_DIAGNOSTICS
call fcn.14005ede0
test rax, rax
je 0x1400606d7
movzx eax, byte [rax]
mov rbx, qword [rsp + 0x58]
sub al, 0x31
cmp al, 2
ja 0x1400604c9
mov rcx, qword [0x14013a7c0]
lea r8, [rbp + 0x3d0]
mov rdx, rbx
call fcn.14003ec94
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
jmp 0x1400606e6
mov edi, dword [rbx + 0x10]
lea rcx, [rbp - 0x40]
xor r9d, r9d
xor edx, edx
mov r8d, 0x401
call fcn.14002a5a0
mov rcx, qword [rbx + 0x20]
mov eax, 2
mov dword [rsp + 0x30], eax
lea r8, [rbp - 0x40]
mov r9d, 0x401
mov edx, edi
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x1400606d0
lea r8d, [rax + 4]
lea rdx, str.fe80
lea rcx, [rbp - 0x40]
call fcn.140020718
test eax, eax
je 0x14006058b
cmp dword [rbx + 4], 0x17
jne 0x14006058b
lea rcx, [rbp - 0x40]
mov edx, 0x401
call fcn.140065fb0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x7e0]
lea r8, [rax + 1]
call fcn.140065fe0
lea rdx, str.fec0
lea rcx, [rbp - 0x40]
mov r8d, 4
call fcn.140020718
test eax, eax
je 0x14006061a
mov rsi, rbx
jmp 0x1400605c2
cmp dword [rbx + 4], 2
jne 0x1400605c2
test rsi, rsi
jne 0x1400605c2
lea rcx, [rbp - 0x40]
mov edx, 0x401
mov rsi, rbx
call fcn.140065fb0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x7e0]
lea r8, [rax + 1]
call fcn.140065fe0
cmp dword [rsp + 0x70], r15d
jne 0x1400605cf
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1400604e0
test rsi, rsi
je 0x1400606aa
lea rcx, [rbp + 0x7e0]
mov edx, 0x401
call fcn.140065fb0
test rax, rax
je 0x1400606aa
lea rcx, [rbp + 0x7e0]
mov edx, 0x401
mov rbx, rsi
call fcn.140065fb0
lea rdx, [rbp + 0x7e0]
lea rcx, [rbp - 0x40]
lea r8, [rax + 1]
call fcn.140065fe0
mov rsi, qword [rsp + 0x68]
nop
mov rdi, qword [rsi + 0x18]
test rdi, rdi
je 0x140060650
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0x3a]
call fcn.14002a710
test rax, rax
jne 0x140060650
lea edx, [rax + 0x2e]
xor r8d, r8d
mov rcx, rdi
call fcn.14002a710
test rax, rax
jne 0x140060659
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140060620
lea rdx, [rsp + 0x74]
mov rcx, rdi
call fcn.140054ba0
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rbx + 4]
test rax, rax
lea r9, [rbp - 0x40]
mov rsi, rax
cmovne rdi, rax
mov r8, rdi
call fcn.140061c70
mov r15, rax
test rsi, rsi
je 0x140060694
mov rcx, rsi
call fcn.140064760
mov r9d, dword [rbx + 4]
mov r8d, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x20]
mov rcx, r15
call fcn.140062200
jmp 0x1400606d7
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x78]
mov ecx, r14d
mov rdx, rdi
call fcn.140061b90
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
jmp 0x1400606eb
mov ecx, eax
call fcn.140061a80
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140060711
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x140060711
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14002d330
mov rcx, r14
call fcn.14002d330
mov rcx, rbx
call fcn.14002d330
mov rcx, rdi
call fcn.14002d330
mov rax, r15
mov rcx, qword [rbp + 0xbf0]
xor rcx, rsp
call fcn.14000c9f0
lea r11, [rsp + 0xd00]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret