Function at 0x180015120
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1800c4650]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rdx
mov rbx, rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
xor r14d, r14d
test rax, rax
je 0x180015483
lea rdx, str.Valid
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x30], rax
lea rdx, str.Start
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
lea rdx, str.Stop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
lea rdx, str.Control
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
lea rdx, str.SyncTime
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x50], rax
cmp qword [rbx + 0x30], r14
je 0x180015483
cmp qword [rbx + 0x38], r14
je 0x180015483
cmp qword [rbx + 0x40], r14
je 0x180015483
cmp qword [rbx + 0x48], r14
je 0x180015483
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.180023410
mov rdx, qword [0x180081bb8]
mov qword [rbp - 0x29], rdx
lea edx, [r14 + 0x5c]
mov rcx, rdi
call fcn.18003352c
lea rcx, [rbp - 0x29]
test rax, rax
lea rdx, [rax + 2]
jne 0x180015231
mov rdx, rdi
call fcn.180023410
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.1800249f0
test eax, eax
js 0x18001526f
mov r8d, eax
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180024b50
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1800233a0
nop
lea rcx, [rbp - 0x21]
call fcn.180023290
mov r8, qword [rbp - 0x29]
mov r9d, dword [r8 - 8]
cmp r9d, 0x13
jle 0x1800152b1
mov r8d, reloc.WS2_32.dll_send
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180024b50
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1800233a0
nop
lea rcx, [rbp - 0x21]
call fcn.180023290
mov r9d, reloc.WS2_32.dll_send
mov r8, qword [rbp - 0x29]
mov byte [rbp + 7], 0
xor eax, eax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov dword [rbp + 0x28], eax
mov word [rbp + 0x2c], ax
mov byte [rbp + 0x2e], al
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x28
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r8d, reloc.WS2_32.dll_send
lea rdx, [rbp + 7]
lea rcx, [rbx + 0x10]
call fcn.180033150
mov byte [rbp - 0x11], 0
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov word [rbp], ax
mov byte [rbp + 2], al
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
lea rdx, [0x1800a295c]
lea rcx, [rbp - 0x11]
call fcn.18003392c
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x11]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x11]
xor ecx, ecx
call fcn.18004c3c0
mov r11d, eax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbx + 0x10]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbx + 0x10]
mov ecx, r11d
call fcn.18004c3c0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.18004c3c0
mov edi, eax
lea rcx, [rbp - 0x11]
call qword [rbx + 0x30]
mov r13d, eax
cmp edi, eax
jne 0x1800153a0
jmp 0x180015466
lea rcx, [rbx + 0x10]
call fcn.180035134
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x11]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x11]
xor ecx, ecx
call fcn.18004c3c0
mov r11d, eax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbx + 0x10]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbx + 0x10]
mov ecx, r11d
call fcn.18004c3c0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.18004c3c0
cmp eax, r13d
jne 0x180015404
jmp 0x180015466
lea rcx, [rbx + 0x10]
call fcn.180034e88
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x11]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp - 0x11]
xor ecx, ecx
call fcn.18004c3c0
mov r11d, eax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbx + 0x10]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbx + 0x10]
mov ecx, r11d
call fcn.18004c3c0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.18004c3c0
cmp eax, r13d
jne 0x18001547a
lea rcx, [rbp - 0x29]
call fcn.180023290
mov qword [rbx + 0x28], rsi
mov eax, 1
jmp 0x1800154b8
lea rcx, [rbp - 0x29]
call fcn.180023290
mov qword [rbx + 0x28], r14
mov qword [rbx + 0x30], r14
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], r14
mov qword [rbx + 0x48], r14
mov qword [rbx + 0x50], r14
xor eax, eax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], eax
test rsi, rsi
je 0x1800154b6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800327a0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret