Function at 0x180015370
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push rbp
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xa8
cmp byte [rcx + 0x2f], 0
mov rdi, rcx
jne 0x18001580a
mov qword [rax + 0x20], rbx
mov qword [rax - 0x18], rsi
mov qword [rax - 0x30], r14
mov qword [rax - 0x38], r15
xor r15d, r15d
mov byte [rcx + 0x2f], 1
mov esi, r15d
lea ecx, [r15 + 0x20]
call fcn.180019ff8
mov rbx, rax
lea r8, [0x180014b30]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rax + 9], r15d
mov word [rax + 0xd], r15w
mov byte [rax + 0xf], sil
mov qword [rax], rdi
lea rax, [0x180014ad0]
mov qword [rbx + 0x10], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov qword [rbx + 0x18], rdi
mov byte [rbx + 8], 1
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r14, rax
test rax, rax
jne 0x180015413
lea edx, [rax + 0x20]
mov rcx, rbx
call fcn.180019ff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rdi + 0x50], r14
cmp byte [rdi + 0x28], r15b
je 0x1800154c8
mov ecx, 0x20
mov esi, r15d
call fcn.180019ff8
mov rbx, rax
lea r8, [0x180014b30]
mov r9, rbx
xor edx, edx
xor ecx, ecx
mov dword [rax + 9], r15d
mov word [rax + 0xd], r15w
mov byte [rax + 0xf], sil
mov qword [rax], rdi
lea rax, [0x180014ae0]
mov qword [rbx + 0x10], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov qword [rbx + 0x18], rdi
mov byte [rbx + 8], 1
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800154ab
lea rcx, [rdi + 0xa0]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1800154a0
mov eax, dword [rbp + 0x67]
mov dword [rdx], eax
add qword [rcx + 8], 4
jmp 0x1800154c0
lea r8, [rbp + 0x67]
call fcn.180016320
jmp 0x1800154c0
mov edx, 0x20
mov rcx, rbx
call fcn.180019ff0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rdi]
lea rdx, str.Started
mov r8d, 2
mov rcx, rdi
call qword [rax + 0x10]
mov rcx, qword [rdi + 0x68]
lea rdx, str.Failed_to_connect_to__s_n
mov rax, qword [rdi]
mov r8d, 2
mov r9, qword [rcx + 0x20]
cmp byte [rcx + 0x3d], r15b
mov rcx, rdi
mov r10, qword [rax + 0x10]
jne 0x18001550a
lea rdx, str.Successfully_connected_to__s_n
call r10
mov r14, qword [rdi + 0x60]
lea rdx, str.filename
xorps xmm0, xmm0
mov qword [rsp + 0x98], r12
mov r8d, 8
mov qword [rsp + 0x90], r13
lea rcx, [rbp - 1]
mov qword [rbp + 0xf], r15
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0x17], r15
call fcn.180008120
lea r8, [rbp - 1]
lea rdx, [rbp - 0x19]
lea rcx, [r14 + 0x48]
call fcn.180017c40
mov rsi, qword [rbp - 9]
mov r15, qword [rbp + 0x17]
mov rbx, qword [rbp - 1]
cmp byte [rsi + 0x19], 0
jne 0x1800155a8
cmp qword [rsi + 0x38], 0x10
lea rdx, [rsi + 0x20]
jb 0x180015578
mov rdx, qword [rsi + 0x20]
mov r12, qword [rsi + 0x30]
lea rcx, [rbp - 1]
mov r13, qword [rbp + 0xf]
cmp r15, 0x10
mov r8, r13
cmovae rcx, rbx
cmp r12, r13
cmovb r8, r12
call fcn.18001c980
test eax, eax
je 0x1800155a3
js 0x1800155a8
jmp 0x1800155ac
cmp r13, r12
jae 0x1800155ac
mov rsi, qword [r14 + 0x48]
cmp r15, 0x10
jb 0x1800155e3
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800155db
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015814
mov rcx, rbx
call fcn.180019ff0
cmp rsi, qword [r14 + 0x48]
je 0x180015784
mov rax, qword [rsi + 0x40]
lea rdx, str.fileversion
mov rbx, qword [rdi + 0x60]
lea rcx, [rbp - 1]
mov qword [rbp + 0x77], rax
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0x6f], rbx
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
lea r8d, [rax + 0xb]
call fcn.180008120
mov rsi, qword [rbx + 0x48]
mov r13, qword [rbp + 0x17]
mov r15, rsi
mov r14, qword [rbp + 0xf]
mov r12, qword [rbp - 1]
mov rbx, qword [rsi + 8]
mov qword [rbp + 0x67], rsi
cmp byte [rbx + 0x19], 0
jne 0x18001569c
nop dword [rax]
nop word [rax + rax]
cmp r13, 0x10
lea rdx, [rbp - 1]
lea rcx, [rbx + 0x20]
cmovae rdx, r12
cmp qword [rbx + 0x38], 0x10
jb 0x18001566b
mov rcx, qword [rbx + 0x20]
mov rsi, qword [rbx + 0x30]
cmp r14, rsi
mov r8, rsi
cmovb r8, r14
call fcn.18001c980
test eax, eax
je 0x180015762
js 0x18001576b
mov r15, rbx
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
je 0x180015650
mov rsi, qword [rbp + 0x67]
cmp byte [r15 + 0x19], 0
jne 0x1800156df
cmp qword [r15 + 0x38], 0x10
lea rdx, [r15 + 0x20]
jb 0x1800156b2
mov rdx, qword [r15 + 0x20]
mov rbx, qword [r15 + 0x30]
lea rcx, [rbp - 1]
cmp r13, 0x10
mov r8, r14
cmovae rcx, r12
cmp rbx, r14
cmovb r8, rbx
call fcn.18001c980
test eax, eax
je 0x180015774
jns 0x18001577d
xor al, al
test al, al
cmove r15, rsi
cmp r13, 0x10
jb 0x18001571f
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x180015717
mov r12, qword [r12 - 8]
add rdx, 0x27
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180015814
mov rcx, r12
call fcn.180019ff0
mov rax, qword [rbp + 0x6f]
cmp r15, qword [rax + 0x48]
je 0x180015784
mov rax, qword [rdi]
lea rdx, str.filename:__s
mov r9, qword [rbp + 0x77]
mov r8d, 2
mov rbx, qword [r15 + 0x40]
mov rcx, rdi
call qword [rax + 0x10]
mov rax, qword [rdi]
lea rdx, str.fileversion__s
mov r9, rbx
mov r8d, 2
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x18001579a
cmp rsi, r14
jae 0x18001568c
mov rbx, qword [rbx + 0x10]
jmp 0x180015692
cmp r14, rbx
jb 0x1800156df
mov al, 1
jmp 0x1800156e1
mov rax, qword [rdi]
lea rdx, str.Could_not_find_fileversion_and_filename
mov r8d, 2
mov rcx, rdi
call qword [rax + 0x10]
cmp byte [rdi + 0x29], 0
je 0x1800157da
xor ecx, ecx
call fcn.180016510
mov r10, qword [rdi]
lea rdx, str.dllloaded
mov rbx, rax
xor r9d, r9d
xor eax, eax
mov r8b, 1
mov qword [rsp + 0x30], rax
mov rcx, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [r10 + 0x20]
mov rcx, rbx
call fcn.180019ff0
mov r13, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
mov r14, qword [rsp + 0x88]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xd8]
mov r15, qword [rsp + 0x80]
add rsp, 0xa8
pop rdi
pop rbp
ret
call fcn.180021034
int3