Function at 0x180012f20
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 [0x1800bc650]
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 0x180013283
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 0x180013283
cmp qword [rbx + 0x38], r14
je 0x180013283
cmp qword [rbx + 0x40], r14
je 0x180013283
cmp qword [rbx + 0x48], r14
je 0x180013283
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.180020640
mov rdx, qword [0x18007cb48]
mov qword [rbp - 0x29], rdx
lea edx, [r14 + 0x5c]
mov rcx, rdi
call fcn.1800303b8
lea rcx, [rbp - 0x29]
test rax, rax
lea rdx, [rax + 2]
jne 0x180013031
mov rdx, rdi
call fcn.180020640
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.180021ad0
test eax, eax
js 0x18001306f
mov r8d, eax
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180021c30
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1800205d0
nop
lea rcx, [rbp - 0x21]
call fcn.1800204c0
mov r8, qword [rbp - 0x29]
mov r9d, dword [r8 - 8]
cmp r9d, 0x13
jle 0x1800130b1
mov r8d, reloc.WS2_32.dll_send
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180021c30
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1800205d0
nop
lea rcx, [rbp - 0x21]
call fcn.1800204c0
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.1800300a0
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, [0x18009ca4c]
lea rcx, [rbp - 0x11]
call fcn.18003081c
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.180047460
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.180047460
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047460
mov edi, eax
lea rcx, [rbp - 0x11]
call qword [rbx + 0x30]
mov r13d, eax
cmp edi, eax
jne 0x1800131a0
jmp 0x180013266
lea rcx, [rbx + 0x10]
call fcn.180032024
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.180047460
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.180047460
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047460
cmp eax, r13d
jne 0x180013204
jmp 0x180013266
lea rcx, [rbx + 0x10]
call fcn.180031d78
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.180047460
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.180047460
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047460
cmp eax, r13d
jne 0x18001327a
lea rcx, [rbp - 0x29]
call fcn.1800204c0
mov qword [rbx + 0x28], rsi
mov eax, 1
jmp 0x1800132b8
lea rcx, [rbp - 0x29]
call fcn.1800204c0
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 0x1800132b6
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18002f6f0
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