Function at 0x140002d90
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140012040]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rdx
mov rbx, rcx
xor r15d, r15d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
xor edx, edx
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::constructor_enum_Json::ValueType____ptr64]
nop
xor edx, edx
mov r8d, 0xc0
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x30]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Reader::constructor_void____ptr64]
nop
mov r9b, 1
lea r8, [rbp - 0x30]
mov rdx, rbx
lea rcx, [rbp + 0x30]
call qword [sym.imp.jsoncpp.dll_public:_bool___cdecl_Json::Reader::parse_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_Json::Value____ptr64__bool____ptr64]
test al, al
je 0x14000349d
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_bool___cdecl_Json::Value::empty_void_const___ptr64]
test al, al
jne 0x14000349d
lea rdx, str.device
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_bool___cdecl_Json::Value::isMember_char_const____ptr64_const___ptr64]
test al, al
je 0x14000349d
lea rdx, str.command
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_bool___cdecl_Json::Value::isMember_char_const____ptr64_const___ptr64]
test al, al
je 0x14000349d
lea rdx, str.hash
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_bool___cdecl_Json::Value::isMember_char_const____ptr64_const___ptr64]
test al, al
je 0x14000349d
lea rdx, str.device
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.jsoncpp.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Json::Value::asString_void____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001ed0
lea r14, [rsp + 0x30]
mov r8, qword [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r14, r8
lea rbx, [rsp + 0x30]
cmova rbx, r8
add rbx, qword [rsp + 0x40]
lea rsi, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rsi, r8
cmp rsi, rbx
je 0x140002ef7
sub r14, rsi
movzx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [rsi + r14], al
inc rsi
cmp rsi, rbx
jne 0x140002ee2
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.140001350
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140002f46
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f41
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aa0c
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], sendto
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x140002f98
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002f93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f93
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aa0c
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], sendto
mov byte [rsp + 0x70], 0
lea rdx, str.command
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.jsoncpp.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Json::Value::asString_void____ptr64]
nop
lea rdx, str.hash
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_class_Json::Value____ptr64___cdecl_Json::Value::operator___char_const____ptr64____ptr64]
lea rdx, [rbp - 0x70]
mov rcx, rax
call qword [sym.imp.jsoncpp.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_Json::Value::asString_void____ptr64]
nop
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
mov r8, qword [rbp - 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002ad0
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rdx, qword [rbp - 0x50]
lea rcx, [0x140012a90]
cmp qword [0x140012aa8], 0xf
cmova rcx, qword [0x140012a90]
mov r8, qword [0x140012aa0]
mov rbx, qword [rbp - 0x40]
cmp r8, rbx
jne 0x140003043
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140003072
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rcx, qword [rbp - 0x50]
cmp rbx, 6
jne 0x1400032c9
mov r8, rbx
lea rdx, str.c2_all
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400032c9
mov rcx, qword [rdi + 0x18]
mov r14, qword [rdi + 0x20]
add r14, rcx
mov rax, qword [rdi]
test rax, rax
je 0x14000308a
mov rax, qword [rax]
jmp 0x14000308d
mov rax, r15
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
mov rbx, qword [rbp - 0x58]
mov rsi, qword [rsp + 0x78]
cmp rcx, r14
je 0x140003100
mov r15, qword [rax + 0x10]
dec r15
mov r13, qword [rax + 8]
mov r12, qword [rbp - 0x60]
nop
and rcx, r15
mov rcx, qword [r13 + rcx*8]
lea rdx, [rbp - 0x70]
cmp rbx, 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0xf
jbe 0x1400030e3
mov rcx, qword [rcx]
cmp r8, r12
jne 0x1400030f1
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400030fd
lea rcx, [rsi + 1]
mov rsi, rcx
cmp rcx, r14
jne 0x1400030c0
xor r15d, r15d
cmp rsi, r14
jne 0x1400033c2
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x50]
call fcn.140001ed0
nop
mov ecx, 0x20
call fcn.14000a9d0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x10], xmm1
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], sendto
mov byte [rsp + 0x50], 0
mov qword [rbp], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400044f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400032b8
cmp dword [rsp + 0x78], 0
je 0x1400032ac
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400032ac
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov rax, qword [rdi + 0x20]
inc rax
cmp qword [rdi + 0x10], rax
ja 0x1400031c0
mov rcx, rdi
call fcn.140004100
mov r8, qword [rdi + 0x10]
dec r8
mov rdx, r8
and rdx, qword [rdi + 0x18]
mov qword [rdi + 0x18], rdx
mov rsi, qword [rdi + 0x20]
add rsi, rdx
mov rax, rsi
and rax, r8
lea rbx, [rax*8]
mov rax, qword [rdi + 8]
cmp qword [rbx + rax], 0
jne 0x140003204
mov ecx, 0x20
call fcn.14000a9d0
mov rcx, qword [rdi + 8]
mov qword [rbx + rcx], rax
mov rcx, qword [rdi + 0x10]
dec rcx
and rcx, rsi
mov rax, qword [rdi + 8]
lea rdx, [rbp - 0x70]
mov rcx, qword [rax + rcx*8]
call fcn.140001ed0
inc qword [rdi + 0x20]
cmp qword [rdi + 0x20], 0xa
jbe 0x14000329a
mov rcx, qword [rdi + 0x10]
dec rcx
and rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
mov rbx, qword [rax + rcx*8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140003273
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000326e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000328f
mov rcx, r8
call fcn.14000aa0c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], sendto
mov byte [rbx], 0
sub qword [rdi + 0x20], 1
jne 0x140003296
mov qword [rdi + 0x18], r15
jmp 0x14000329a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
inc qword [rdi + 0x18]
cmp dword [rsp + 0x78], 0
je 0x1400033be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rax, qword [rdi + 0x20]
inc rax
cmp qword [rdi + 0x10], rax
ja 0x1400032de
mov rcx, rdi
call fcn.140004100
mov rdx, qword [rdi + 0x10]
dec rdx
mov rcx, rdx
and rcx, qword [rdi + 0x18]
mov qword [rdi + 0x18], rcx
mov rsi, qword [rdi + 0x20]
add rsi, rcx
mov rax, rsi
and rax, rdx
lea rbx, [rax*8]
mov rax, qword [rdi + 8]
cmp qword [rbx + rax], 0
jne 0x140003322
mov ecx, 0x20
call fcn.14000a9d0
mov rcx, qword [rdi + 8]
mov qword [rbx + rcx], rax
mov rcx, qword [rdi + 0x10]
dec rcx
and rcx, rsi
mov rax, qword [rdi + 8]
lea rdx, [rbp - 0x70]
mov rcx, qword [rax + rcx*8]
call fcn.140001ed0
inc qword [rdi + 0x20]
cmp qword [rdi + 0x20], 0xa
jbe 0x1400033be
mov rcx, qword [rdi + 0x10]
dec rcx
and rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
mov rbx, qword [rax + rcx*8]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140003391
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14000338c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400033b1
mov rcx, r8
call fcn.14000aa0c
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], sendto
mov byte [rbx], 0
sub qword [rdi + 0x20], 1
mov rbx, qword [rbp - 0x58]
jne 0x1400033b8
mov qword [rdi + 0x18], r15
jmp 0x1400033c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
inc qword [rdi + 0x18]
jmp 0x1400033c2
mov rbx, qword [rbp - 0x58]
cmp rbx, 0xf
jbe 0x1400033fd
lea rdx, [rbx + 1]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400033f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400033f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aa0c
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], sendto
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14000344b
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003446
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003446
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aa0c
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], sendto
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140003499
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003494
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003494
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aa0c
mov bl, 1
jmp 0x14000349f
xor bl, bl
lea rcx, [rbp + 0x30]
call fcn.140003700
nop
lea rcx, [rbp - 0x30]
call qword [sym.imp.jsoncpp.dll_public:_void___cdecl_Json::Value::destructor_void____ptr64]
movzx eax, bl
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14000a9b0
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret