Function at 0x180013180
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 0x1800134e3
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 0x1800134e3
cmp qword [rbx + 0x38], r14
je 0x1800134e3
cmp qword [rbx + 0x40], r14
je 0x1800134e3
cmp qword [rbx + 0x48], r14
je 0x1800134e3
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.1800206d0
mov rdx, qword [0x18007cb48]
mov qword [rbp - 0x29], rdx
lea edx, [r14 + 0x5c]
mov rcx, rdi
call fcn.180030488
lea rcx, [rbp - 0x29]
test rax, rax
lea rdx, [rax + 2]
jne 0x180013291
mov rdx, rdi
call fcn.1800206d0
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.180021b60
test eax, eax
js 0x1800132cf
mov r8d, eax
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180021cc0
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.180020660
nop
lea rcx, [rbp - 0x21]
call fcn.180020550
mov r8, qword [rbp - 0x29]
mov r9d, dword [r8 - 8]
cmp r9d, 0x13
jle 0x180013311
mov r8d, reloc.WS2_32.dll_send
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180021cc0
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.180020660
nop
lea rcx, [rbp - 0x21]
call fcn.180020550
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.180030170
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, [0x18009ca3c]
lea rcx, [rbp - 0x11]
call fcn.1800308ec
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.180047570
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.180047570
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047570
mov edi, eax
lea rcx, [rbp - 0x11]
call qword [rbx + 0x30]
mov r13d, eax
cmp edi, eax
jne 0x180013400
jmp 0x1800134c6
lea rcx, [rbx + 0x10]
call fcn.1800320f4
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.180047570
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.180047570
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047570
cmp eax, r13d
jne 0x180013464
jmp 0x1800134c6
lea rcx, [rbx + 0x10]
call fcn.180031e48
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.180047570
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.180047570
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047570
cmp eax, r13d
jne 0x1800134da
lea rcx, [rbp - 0x29]
call fcn.180020550
mov qword [rbx + 0x28], rsi
mov eax, 1
jmp 0x180013518
lea rcx, [rbp - 0x29]
call fcn.180020550
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 0x180013516
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18002f7c0
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