Function at 0x180013400
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 [0x1800bd650]
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 0x180013763
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 0x180013763
cmp qword [rbx + 0x38], r14
je 0x180013763
cmp qword [rbx + 0x40], r14
je 0x180013763
cmp qword [rbx + 0x48], r14
je 0x180013763
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.180020f60
mov rdx, qword [0x18007db48]
mov qword [rbp - 0x29], rdx
lea edx, [r14 + 0x5c]
mov rcx, rdi
call fcn.180030db8
lea rcx, [rbp - 0x29]
test rax, rax
lea rdx, [rax + 2]
jne 0x180013511
mov rdx, rdi
call fcn.180020f60
mov edx, 0x2e
lea rcx, [rbp - 0x29]
call fcn.1800223f0
test eax, eax
js 0x18001354f
mov r8d, eax
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180022550
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.180020ef0
nop
lea rcx, [rbp - 0x21]
call fcn.180020de0
mov r8, qword [rbp - 0x29]
mov r9d, dword [r8 - 8]
cmp r9d, 0x13
jle 0x180013591
mov r8d, reloc.WS2_32.dll_send
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.180022550
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.180020ef0
nop
lea rcx, [rbp - 0x21]
call fcn.180020de0
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.180030aa0
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, [0x18009db9c]
lea rcx, [rbp - 0x11]
call fcn.18003121c
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.180047ea0
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.180047ea0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047ea0
mov edi, eax
lea rcx, [rbp - 0x11]
call qword [rbx + 0x30]
mov r13d, eax
cmp edi, eax
jne 0x180013680
jmp 0x180013746
lea rcx, [rbx + 0x10]
call fcn.180032a24
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.180047ea0
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.180047ea0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047ea0
cmp eax, r13d
jne 0x1800136e4
jmp 0x180013746
lea rcx, [rbx + 0x10]
call fcn.180032778
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.180047ea0
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.180047ea0
mov r8d, reloc.WS2_32.dll_inet_ntoa
lea rdx, str.OCULARAGENT3
mov ecx, eax
call fcn.180047ea0
cmp eax, r13d
jne 0x18001375a
lea rcx, [rbp - 0x29]
call fcn.180020de0
mov qword [rbx + 0x28], rsi
mov eax, 1
jmp 0x180013798
lea rcx, [rbp - 0x29]
call fcn.180020de0
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 0x180013796
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800300f0
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