Function at 0x1400774d0
Capabilities:
Create thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov rdi, rcx
mov byte [rcx + 0xf], 0
mov dword [rcx + 8], 0
xor r15d, r15d
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x28], r15
mov qword [rcx + 0x40], r15
mov qword [rcx + 0x48], r15
mov qword [rcx + 0x50], r15
mov qword [rcx + 0x20], r15
mov word [rcx + 0xd], r15w
mov byte [rcx + 0x70], r15b
add rcx, 0xa8
call fcn.14006d750
mov byte [rdi + 0x71], 1
mov byte [rdi + 0xd0], r15b
cmp qword [rdi + 0x38], r15
jne 0x140077560
lea ecx, [r15 + 0x58]
call fcn.1400cafcc
mov qword [rbp + 0x48], rax
test rax, rax
je 0x140077559
xor edx, edx
mov rcx, rax
call fcn.14008a010
jmp 0x14007755c
mov rax, r15
mov qword [rdi + 0x38], rax
mov rcx, qword [rdi + 0x38]
call fcn.14008a740
test al, al
je 0x1400779a4
mov rcx, qword [rdi + 0x38]
call fcn.14008aab0
mov rcx, qword [rdi + 0x38]
call fcn.140089a70
mov r13d, eax
mov dword [rbp + 0x48], eax
lea rsi, [rdi + 0x10]
mov rdx, rsi
mov rcx, qword [rdi + 0x38]
call fcn.140089300
mov r12, r15
mov qword [rbp - 0x28], r15
mov rbx, r15
mov qword [rbp - 0x20], rbx
mov r14, r15
mov qword [rbp - 0x18], r15
lea rcx, [0x14011d880]
mov rdx, qword [0x14011d880]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp + 0x58], rax
test r13d, r13d
jle 0x14007783a
movabs rsi, 0x1fffffffffffffff
lea r8, [rbp + 0x58]
mov edx, r15d
mov rcx, qword [rdi + 0x38]
call fcn.14008a630
lea r11, [rbp + 0x58]
cmp r11, rbx
jae 0x14007770a
lea rax, [rbp + 0x58]
cmp r12, rax
ja 0x14007770a
lea rsi, [rbp + 0x58]
sub rsi, r12
sar rsi, 3
cmp rbx, r14
jne 0x14007767e
mov rcx, rbx
sub rcx, r12
sar rcx, 3
movabs rax, 0x1ffffffffffffffe
cmp rcx, rax
ja 0x14007780a
inc rcx
mov rdx, r14
sub rdx, r12
sar rdx, 3
cmp rcx, rdx
jbe 0x14007767e
mov r8, rdx
shr r8, 1
movabs rax, 0x1fffffffffffffff
sub rax, r8
cmp rax, rdx
jae 0x14007765f
xor edx, edx
jmp 0x140077662
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.14000dcf0
mov r14, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
mov qword [rbp + 0x60], rbx
mov qword [rbp - 0x30], rbx
test rbx, rbx
je 0x140077705
mov rsi, qword [r12 + rsi*8]
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rsi - 8], 0
jl 0x1400776be
cmp rax, qword [rsi - 0x18]
jne 0x1400776be
lea r13, [rsi - 0x18]
lock inc dword [rsi - 8]
mov r14, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
jmp 0x1400776fa
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi - 0x10]
call qword [rax]
mov r13, rax
test rax, rax
je 0x140077818
mov ecx, dword [rsi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rsi - 0x10]
inc ecx
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rsi
add rdx, rdx
lea rcx, [rax + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r13 + 0x18]
mov qword [rbx], rax
mov r13d, dword [rbp + 0x48]
jmp 0x1400777f5
cmp rbx, r14
jne 0x140077772
mov rcx, rbx
sub rcx, r12
sar rcx, 3
movabs rax, 0x1ffffffffffffffe
cmp rcx, rax
ja 0x14007781e
inc rcx
mov rdx, r14
sub rdx, r12
sar rdx, 3
cmp rcx, rdx
jbe 0x140077772
mov r8, rdx
shr r8, 1
mov rax, rsi
sub rax, r8
cmp rax, rdx
jae 0x140077753
xor edx, edx
jmp 0x140077756
add rdx, r8
cmp rdx, rcx
cmovb rdx, rcx
lea rcx, [rbp - 0x28]
call fcn.14000dcf0
mov r14, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
mov qword [rbp + 0x60], rbx
mov qword [rbp - 0x30], rbx
test rbx, rbx
je 0x1400777f5
mov rsi, qword [rbp + 0x58]
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.ATL100.DLL_Ordinal_32]
mov rcx, rax
cmp dword [rsi - 8], 0
jl 0x1400777b2
cmp rax, qword [rsi - 0x18]
jne 0x1400777b2
lea r13, [rsi - 0x18]
lock inc dword [rsi - 8]
mov r14, qword [rbp - 0x18]
mov rbx, qword [rbp - 0x20]
mov r12, qword [rbp - 0x28]
jmp 0x1400777ea
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rsi - 0x10]
call qword [rax]
mov r13, rax
test rax, rax
je 0x14007782c
mov ecx, dword [rsi - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rsi - 0x10]
inc ecx
movsxd rdx, ecx
lea r9, [rdx + rdx]
mov r8, rsi
add rdx, rdx
lea rcx, [rax + 0x18]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
lea rax, [r13 + 0x18]
mov qword [rbx], rax
mov r13d, dword [rbp + 0x48]
add rbx, 8
mov qword [rbp - 0x20], rbx
inc r15d
cmp r15d, r13d
jge 0x140077832
jmp 0x1400775d0
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
call fcn.140001920
nop
lea rcx, str.vector_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
call fcn.140001920
nop
mov rax, qword [rbp + 0x58]
lea rsi, [rdi + 0x10]
sub rbx, r12
test rbx, 0xfffffffffffffff8
jne 0x1400778b9
lea rdx, [rax - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140077862
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x1400779c5
cmp rbx, qword [rbp - 0x20]
je 0x1400778ac
nop word [rax + rax]
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007789e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, qword [rbp - 0x20]
jne 0x140077880
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
jmp 0x1400779c5
mov eax, dword [rsi]
cmp eax, 9
je 0x1400778d8
cmp eax, 0xa
je 0x1400778d8
cmp eax, 0xb
je 0x1400778d8
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.140073600
jmp 0x1400778e4
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.14006da70
mov rcx, qword [rdi + 0x38]
call fcn.1400897b0
mov esi, eax
mov dword [rdi + 0x1c], eax
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x140077913
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
nop
mov rbx, qword [rbp - 0x28]
test rbx, rbx
je 0x140077964
cmp rbx, qword [rbp - 0x20]
je 0x14007795c
nop word [rax + rax]
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14007794e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rbx, 8
cmp rbx, qword [rbp - 0x20]
jne 0x140077930
mov rbx, qword [rbp - 0x28]
mov rcx, rbx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test esi, esi
jle 0x1400779a4
mov byte [rdi + 0xc], 1
xor ecx, ecx
mov dword [rbp + 0x50], ecx
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, rdi
lea r8, [0x140075330]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x28], rax
test rax, rax
je 0x1400779c5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400779c5
mov rcx, rdi
call fcn.1400734f0
xor r9d, r9d
mov edx, 0x8003
lea r8d, [r9 + 1]
mov rcx, qword [0x14011e1e0]
call qword [sym.imp.USER32.dll_PostMessageW]
mov al, 1
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret