Function at 0x140041920
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 - 0x820]
sub rsp, 0x920
mov rax, qword [0x1400d4460]
xor rax, rsp
mov qword [rbp + 0x810], rax
mov r14, rcx
mov qword [rsp + 0x78], rcx
xor esi, esi
mov dword [rsp + 0x30], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov edi, 1
mov dword [rsp + 0x30], edi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x38], xmm1
mov qword [rbp + 0x48], rsi
mov r12, qword [rdx]
mov r13, qword [rdx + 8]
cmp r12, r13
je 0x1400420a8
lea r15, vtable.std::_Ref_count_resource_void____ptr64____ptr64__void____cdecl___void____ptr64____ptr64__.0
mov rdx, r12
lea rcx, [rbp + 0xe8]
call fcn.14003c360
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
movups xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], si
lea rcx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rcx, qword [rbp + 0xe8]
lea rdx, [rbp + 0x1e0]
call fcn.140070250
test eax, eax
je 0x1400421fc
lea rax, [rbp + 0x1e0]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140041a13
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x60]
call fcn.140048ea0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140047f90
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 8
jb 0x140041a7c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041a77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421c9
call fcn.1400735b8
mov qword [rbp + 0x70], rsi
mov qword [rbp + 0x78], 7
mov word [rbp + 0x60], si
mov ecx, 8
call fcn.14007325c
mov rbx, rax
mov qword [rax], rsi
lea rax, [0x140047470]
mov qword [rbp + 0x30], rax
mov qword [rbp - 0x70], rbx
lea rax, [rbp + 0x30]
mov qword [rbp - 0x68], rax
mov byte [rbp - 0x60], 1
mov ecx, 0x20
call fcn.14007325c
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov rcx, qword [rbp + 0x30]
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
mov qword [rax], r15
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
mov qword [rbp + 0x170], rbx
mov qword [rbp + 0x178], rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x180]
call fcn.14003fbe0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x1a0], xmm0
mov qword [rbp + 0x1b0], rsi
mov qword [rbp + 0x1b8], 7
mov word [rbp + 0x1a0], si
movdqa xmm0, xmmword [0x1400c34a0]
movdqa xmmword [rbp + 0x1c0], xmm0
mov dword [rbp + 0x50], esi
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea r9, [rbp + 0x54]
lea r8, [rbp + 0x50]
lea rcx, [rbp + 0x3f0]
call fcn.14006fe88
mov rcx, qword [rbp + 0x170]
mov qword [rcx], rax
test rax, rax
je 0x140041b92
mov r8d, dword [rbp + 0x54]
lea rdx, [rbp + 0x3f0]
lea rcx, [rbp + 0x170]
call fcn.1400474a0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140041bd4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041bcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421cf
call fcn.1400735b8
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movdqa xmmword [rbp + 0x80], xmm0
mov rcx, qword [rbp + 0x178]
test rcx, rcx
je 0x140041c1d
lock inc dword [rcx + 8]
mov rcx, qword [rbp + 0x178]
mov edi, dword [rsp + 0x30]
mov rax, qword [rbp + 0x170]
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x88], rcx
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x90]
call fcn.14003fbe0
nop
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0xb0]
call fcn.14003fbe0
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0x1c8]
mov qword [rbp + 0xd8], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x150], xmm0
mov ecx, 8
call fcn.14007325c
mov r15, rax
mov qword [rax], rsi
mov ecx, 0x20
call fcn.14007325c
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_void____ptr64____ptr64__void____cdecl___void____ptr64____ptr64__.0
mov qword [rax], rcx
lea rcx, [0x140047470]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], r15
mov qword [rbp + 0x110], r15
mov qword [rbp + 0x118], rax
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x130], rsi
mov qword [rbp + 0x138], 7
mov word [rbp + 0x120], si
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rsi
mov qword [rbp + 0x158], 7
mov word [rbp + 0x140], si
movdqa xmm0, xmmword [0x1400c34a0]
movdqa xmmword [rbp + 0x160], xmm0
nop dword [rax + rax]
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140041d59
test r15, r15
je 0x140041d62
mov rax, qword [r15]
cmp qword [rcx], rax
jmp 0x140041d5c
test r15, r15
je 0x140042037
lea rcx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 8
cmovae rcx, qword [rbp + 0xb0]
lea rdx, [rbp + 0xe0]
call fcn.140070150
cmp eax, 1
jne 0x140041db2
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0xb0]
call fcn.14003fd10
nop
or edi, 2
mov dword [rsp + 0x30], edi
mov rcx, rax
call fcn.140040b90
test al, al
je 0x140041db2
mov bl, 1
jmp 0x140041db4
xor bl, bl
test dil, 2
je 0x140041dfc
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140041dfc
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041df7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421d5
call fcn.1400735b8
lea rcx, [rbp + 0xb0]
test bl, bl
je 0x140041ea0
lea rdx, [rbp - 0x38]
call fcn.14003fd10
nop
mov rdx, qword [r14 + 8]
cmp rdx, qword [r14 + 0x10]
je 0x140041e51
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
add qword [r14 + 8], 0x20
jmp 0x140041e5d
mov r8, rax
mov rcx, r14
call fcn.1400497e0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140041fd4
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041fcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421c3
jmp 0x140041fcf
cmp qword [rbp + 0xc8], 8
cmovae rcx, qword [rbp + 0xb0]
lea rdx, [rbp + 0xe4]
call fcn.140070150
cmp eax, 2
jne 0x140041fd4
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0xb0]
call fcn.14003fd10
mov rbx, rax
mov ecx, 0x28
call fcn.14007325c
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
movups xmm0, xmmword [rbx]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rax + 0x10], xmm1
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
lea rcx, [0x140040fa0]
mov qword [rax + 0x20], rcx
or edi, 4
mov dword [rsp + 0x30], edi
mov qword [rbp + 0x1d0], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x14004a450]
xor edx, edx
xor ecx, ecx
call fcn.140083464
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400421e7
mov rdx, qword [rbp + 0x40]
cmp rdx, qword [rbp + 0x48]
je 0x140041f7f
xorps xmm0, xmm0
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x20], xmm1
movdqa xmmword [rsp + 0x40], xmm0
movups xmmword [rdx], xmm1
add qword [rbp + 0x40], 0x10
jmp 0x140041f8e
lea r8, [rsp + 0x40]
lea rcx, [rbp + 0x38]
call fcn.1400495d0
nop
cmp dword [rsp + 0x48], 0
jne 0x1400421e1
mov rdx, qword [rbp]
cmp rdx, 0x10
jb 0x140041fd4
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140041fcf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421db
call fcn.1400735b8
mov rax, qword [rbp + 0x80]
mov rdx, qword [rax]
test rdx, rdx
je 0x140041d40
lea r8, [rbp + 0x58]
lea rcx, [rbp + 0x600]
call fcn.14007007c
cmp word [rax], 0
jne 0x14004201b
mov rcx, qword [rbp + 0x80]
mov rcx, qword [rcx]
call sub.KERNEL32.dll_FindClose
mov rax, qword [rbp + 0x80]
mov qword [rax], rsi
jmp 0x140041d40
mov r8d, dword [rbp + 0x58]
lea rdx, [rbp + 0x600]
lea rcx, [rbp + 0x80]
call fcn.1400474a0
jmp 0x140041d40
lea rcx, [rbp + 0x110]
call fcn.14003ff60
nop
lea rcx, [rbp + 0x80]
call fcn.14003ff60
nop
lea rcx, [rbp + 0x170]
call fcn.14003ff60
nop
mov rdx, qword [rbp + 0x100]
cmp rdx, 0x10
jb 0x14004209f
inc rdx
mov rcx, qword [rbp + 0xe8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004209a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400421f6
call fcn.1400735b8
add r12, 0x20
jmp 0x14004198b
mov rax, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x38]
sub rax, rbx
sar rax, 4
test rax, rax
je 0x140042119
mov rdi, rsi
nop
cmp dword [rdi + rbx + 8], 0
je 0x140042225
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rdi + rbx + 8], eax
je 0x14004221a
movups xmm0, xmmword [rdi + rbx]
movaps xmmword [rbp - 0x80], xmm0
xor edx, edx
lea rcx, [rbp - 0x80]
call fcn.14006fb5c
test eax, eax
jne 0x14004220f
xorps xmm0, xmm0
movups xmmword [rdi + rbx], xmm0
inc esi
add rdi, 0x10
mov rcx, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x38]
sub rcx, rbx
sar rcx, 4
movsxd rax, esi
cmp rax, rcx
jb 0x1400420c0
mov r8, qword [0x1400dc680]
mov r9, qword [0x1400dc688]
sub r9, r8
sar r9, 5
mov rdx, qword [r14 + 8]
mov rcx, r14
call fcn.140049070
nop
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x140042190
mov rax, rcx
mov rdx, qword [rbp + 0x40]
cmp rcx, rdx
je 0x14004215f
cmp dword [rax + 8], 0
jne 0x1400421bd
add rax, 0x10
cmp rax, rdx
jne 0x140042150
mov rdx, qword [rbp + 0x48]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004218b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042209
call fcn.1400735b8
mov rax, r14
mov rcx, qword [rbp + 0x810]
xor rcx, rsp
call fcn.140072f90
mov rbx, qword [rsp + 0x970]
add rsp, 0x920
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400836a0
nop
call fcn.140082444
nop
call fcn.140082444
nop
call fcn.140082444
nop
call fcn.140082444
int3
call fcn.140082444
nop
call fcn.1400836a0
nop
mov dword [rsp + 0x48], esi
mov ecx, 6
call fcn.14006fe30
nop
call fcn.140082444
nop
lea rcx, str.invalid_char_filename_argument
call fcn.14006f970
nop
call fcn.140082444
nop
mov ecx, 2
call fcn.14006fe30
int3
mov ecx, 5
call fcn.14006fe30
int3
mov ecx, 1
call fcn.14006fe30
int3