Function at 0x14001dcf0
Capabilities:
Contain obfuscated stackstrings
Delete file
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x510]
sub rsp, 0x610
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x650], rbx
mov rax, qword [0x14003e050]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov qword [rsp + 0x50], r9
mov r12, r8
mov rbx, rdx
mov qword [rsp + 0x48], rdx
xor r13d, r13d
mov dword [rsp + 0x44], r13d
cmp qword [rdx + 0x10], r13
je 0x14001f711
mov rax, qword [r8]
mov rdx, qword [r8 + 8]
cmp rax, rdx
je 0x14001f711
mov ecx, r13d
sub rdx, rax
sar rdx, 7
test rdx, rdx
je 0x14001f711
add rax, 0x7c
cmp byte [rax], r13b
jne 0x14001dd8c
inc rcx
sub rax, 0xffffffffffffff80
cmp rcx, rdx
jb 0x14001dd76
jmp 0x14001f711
mov r8, rbx
lea rdx, [rbp + 0x3a8]
call fcn.140020280
nop
xor eax, eax
mov qword [rbp + 0x350], rax
mov qword [rbp + 0x358], rax
mov qword [rbp + 0x350], r13
mov word [rbp + 0x358], ax
lea rdx, [rbp + 0x3a8]
lea rcx, [rbp + 0x350]
call fcn.14000c760
xor eax, eax
mov qword [rbp + 0x3d0], rax
mov qword [rbp + 0x3d8], rax
lea rax, [rbp + 0x350]
mov qword [rbp + 0x3d0], rax
mov byte [rbp + 0x3d8], 0
mov rcx, qword [rbp + 0x350]
test rcx, rcx
jne 0x14001de03
xor sil, sil
jmp 0x14001de24
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14001de1a
xor sil, sil
jmp 0x14001de24
mov byte [rbp + 0x358], 1
mov sil, 1
mov byte [rsp + 0x40], sil
mov byte [rbp + 0x3d8], sil
xor eax, eax
mov qword [rbp + 0x360], rax
mov qword [rbp + 0x368], rax
mov qword [rbp + 0x370], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r13
mov byte [rsp + 0x41], al
lea r9, [rsp + 0x41]
lea r8, [rbp + 0x360]
mov rdx, rbx
call fcn.14001f8e0
test al, al
jne 0x14001de8e
cmp byte [rsp + 0x41], al
je 0x14001de8e
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001de88
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor bl, bl
mov byte [rsp + 0x41], bl
xor r11d, r11d
mov r13d, r11d
mov rcx, qword [r12]
mov rax, qword [r12 + 8]
sub rax, rcx
sar rax, 7
test rax, rax
je 0x14001f5db
mov r15d, r11d
nop word [rax + rax]
lea rdi, [rcx + r15]
cmp byte [rdi + 0x7c], 0
je 0x14001e2b2
mov rsi, r11
mov r14d, r11d
mov rax, qword [rbp + 0x368]
mov rcx, qword [rbp + 0x360]
sub rax, rcx
sar rax, 7
test rax, rax
je 0x14001df44
mov rbx, r11
shl rbx, 7
add rbx, rcx
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001df05
mov rdx, qword [rdi]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001df12
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14001df3e
inc r14d
mov ebx, r14d
mov rax, qword [rbp + 0x368]
mov rcx, qword [rbp + 0x360]
sub rax, rcx
sar rax, 7
cmp rbx, rax
jb 0x14001def1
jmp 0x14001df41
mov rsi, rbx
xor r11d, r11d
test rsi, rsi
jne 0x14001e059
mov qword [rbp + 0x490], r11
mov qword [rbp + 0x498], r11
mov qword [rbp + 0x490], r11
mov qword [rbp + 0x498], 7
mov word [rbp + 0x480], r11w
mov qword [rbp + 0x4b0], r11
mov qword [rbp + 0x4b8], r11
mov qword [rbp + 0x4b0], r11
mov qword [rbp + 0x4b8], 7
mov word [rbp + 0x4a0], r11w
mov qword [rbp + 0x4d0], r11
mov qword [rbp + 0x4d8], r11
mov qword [rbp + 0x4d0], r11
mov qword [rbp + 0x4d8], 7
mov word [rbp + 0x4c0], r11w
mov qword [rbp + 0x4e0], r11
mov qword [rbp + 0x4e8], r11
mov qword [rbp + 0x4f0], r11
mov dword [rbp + 0x4f8], r11d
mov byte [rbp + 0x4fc], sil
mov rax, qword [rbp + 0x368]
cmp qword [rbp + 0x370], rax
je 0x14001e01b
lea rdx, [rbp + 0x480]
mov rcx, rax
call fcn.14001db80
mov rcx, qword [rbp + 0x368]
sub rcx, 0xffffffffffffff80
mov qword [rbp + 0x368], rcx
jmp 0x14001e038
lea r8, [rbp + 0x480]
mov rdx, rax
lea rcx, [rbp + 0x360]
call fcn.140021360
mov rcx, qword [rbp + 0x368]
mov rax, qword [rbp + 0x360]
sub rcx, rax
and rcx, 0xffffffffffffff80
lea rsi, [rax - 0x80]
add rsi, rcx
lea rcx, [rbp + 0x480]
call fcn.14001da50
mov rdx, rsi
lea rcx, [rbp + 0x400]
call fcn.140009a80
nop
lea rbx, [rsi + 0x20]
mov rdx, rbx
lea rcx, [rbp + 0x420]
call fcn.140009a80
nop
lea r14, [rsi + 0x40]
mov rdx, r14
lea rcx, [rbp + 0x440]
call fcn.140009a80
nop
mov rax, qword [rsi + 0x60]
mov qword [rbp + 0x460], rax
mov rax, qword [rsi + 0x68]
mov qword [rbp + 0x468], rax
mov rax, qword [rsi + 0x70]
mov qword [rbp + 0x470], rax
mov eax, dword [rsi + 0x78]
mov dword [rbp + 0x478], eax
movzx eax, byte [rsi + 0x7c]
mov byte [rbp + 0x47c], al
cmp rsi, rdi
je 0x14001e0e3
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001e0d7
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
call fcn.14000a790
lea r8, [rdi + 0x20]
cmp rbx, r8
je 0x14001e105
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14001e0f9
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, rbx
call fcn.14000a790
lea r8, [rdi + 0x40]
cmp r14, r8
je 0x14001e127
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14001e11b
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
mov rcx, r14
call fcn.14000a790
mov rax, qword [rdi + 0x60]
mov qword [rsi + 0x60], rax
mov rax, qword [rdi + 0x68]
mov qword [rsi + 0x68], rax
mov rax, qword [rdi + 0x70]
mov qword [rsi + 0x70], rax
mov eax, dword [rdi + 0x78]
mov dword [rsi + 0x78], eax
movzx eax, byte [rdi + 0x7c]
mov byte [rsi + 0x7c], al
lea rcx, [rbp + 0x400]
cmp qword [rbp + 0x418], 8
cmovae rcx, qword [rbp + 0x400]
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14001e170
mov r8, qword [rsi]
mov rdx, qword [rsi + 0x10]
cmp rdx, qword [rbp + 0x410]
jne 0x14001e28f
test rdx, rdx
je 0x14001e1a8
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14001e28f
add rcx, 2
sub rdx, 1
jne 0x14001e190
lea rcx, [rbp + 0x420]
cmp qword [rbp + 0x438], 8
cmovae rcx, qword [rbp + 0x420]
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e1cc
mov r8, qword [rbx]
mov rdx, qword [rbx + 0x10]
cmp rdx, qword [rbp + 0x430]
jne 0x14001e28f
test rdx, rdx
je 0x14001e208
sub r8, rcx
nop word [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14001e28f
add rcx, 2
sub rdx, 1
jne 0x14001e1f0
mov rax, qword [rbp + 0x460]
cmp qword [rsi + 0x60], rax
jne 0x14001e28f
mov rax, qword [rbp + 0x468]
cmp qword [rsi + 0x68], rax
jne 0x14001e28f
mov rax, qword [rbp + 0x470]
cmp qword [rsi + 0x70], rax
jne 0x14001e28f
lea rcx, [rbp + 0x440]
cmp qword [rbp + 0x458], 8
cmovae rcx, qword [rbp + 0x440]
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x14001e253
mov r8, qword [r14]
mov rdx, qword [r14 + 0x10]
cmp rdx, qword [rbp + 0x450]
jne 0x14001e28f
test rdx, rdx
je 0x14001e284
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
cmp word [rcx + r8], ax
jne 0x14001e28f
add rcx, 2
sub rdx, 1
jne 0x14001e270
mov eax, dword [rbp + 0x478]
cmp dword [rsi + 0x78], eax
je 0x14001e29a
mov bl, 1
mov byte [rsp + 0x41], bl
mov byte [rsi + 0x7c], bl
jmp 0x14001e29f
movzx ebx, byte [rsp + 0x41]
lea rcx, [rbp + 0x400]
call fcn.14001da50
mov rcx, qword [r12]
xor r11d, r11d
inc r13
sub r15, 0xffffffffffffff80
mov rax, qword [r12 + 8]
sub rax, rcx
sar rax, 7
cmp r13, rax
jb 0x14001dec0
test bl, bl
je 0x14001f5d6
mov rax, qword [rbp + 0x368]
cmp qword [rbp + 0x360], rax
je 0x14001f5d6
xor eax, eax
mov qword [rbp + 0x378], rax
mov qword [rbp + 0x380], rax
mov qword [rbp + 0x388], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x378], xmm0
mov qword [rbp + 0x388], r11
mov r9, qword [rbp + 0x368]
mov r10, r9
mov r8, qword [rbp + 0x360]
sub r10, r8
sar r10, 7
mov rcx, qword [rbp + 0x388]
sub rcx, qword [rbp + 0x378]
movabs rdi, 0x20c49ba5e353f7cf
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r10, rdx
jbe 0x14001e38f
movabs rax, 0x4189374bc6a7ef
cmp r10, rax
ja 0x14001f73d
mov rdx, r10
lea rcx, [rbp + 0x378]
call fcn.140020960
mov r9, qword [rbp + 0x368]
mov r8, qword [rbp + 0x360]
xor r11d, r11d
mov r13, r11
mov rax, r9
sub rax, r8
sar rax, 7
test rax, rax
je 0x14001e712
mov r12, r11
nop dword [rax + rax]
lea rbx, [r8 + r12]
mov eax, dword [rbx + 0x78]
dec eax
cmp eax, 2
ja 0x14001e6f8
mov dword [rsp + 0x60], r11d
mov qword [rbp + 0x32c], r11
mov qword [rbp + 0x334], r11
mov qword [rbp + 0x33c], r11
mov dword [rbp + 0x344], r11d
xor edx, edx
mov r8d, 0x280
lea rcx, [rsp + 0x64]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x1e4]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rbp + 0x2e4], rax
mov qword [rbp + 0x2ec], rax
mov qword [rbp + 0x2f4], rax
mov qword [rbp + 0x2fc], rax
mov qword [rbp + 0x304], rax
mov qword [rbp + 0x30c], rax
mov qword [rbp + 0x314], rax
mov qword [rbp + 0x31c], rax
mov qword [rbp + 0x324], rax
mov rdx, qword [rbp + 0x380]
cmp qword [rbp + 0x388], rdx
je 0x14001e50f
lea rax, [rsp + 0x60]
mov ecx, 7
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x14001e470
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
mov rax, qword [rax + 0x60]
mov qword [rdx + 0x60], rax
mov rdx, qword [rbp + 0x380]
add rdx, 0x3e8
mov qword [rbp + 0x380], rdx
jmp 0x14001e527
lea r8, [rsp + 0x60]
lea rcx, [rbp + 0x378]
call fcn.1400210c0
mov rdx, qword [rbp + 0x380]
mov rcx, qword [rbp + 0x378]
sub rdx, rcx
mov rax, rdi
imul rdx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0x3e8
lea rdi, [rcx - 0x3e8]
add rdi, rax
mov dword [rdi], 0x23ab45db
xor edx, edx
mov r8d, 0x280
lea rcx, [rdi + 4]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x100
lea rcx, [rdi + 0x284]
call sub.VCRUNTIME140.dll_memset
lea r15, [rdi + 0x384]
xor eax, eax
mov qword [r15], rax
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rax
mov qword [r15 + 0x20], rax
mov qword [r15 + 0x28], rax
mov qword [r15 + 0x30], rax
mov qword [r15 + 0x38], rax
mov qword [r15 + 0x40], rax
cmp qword [rbx + 0x10], 0x13f
ja 0x14001e5e3
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e5c4
mov rcx, qword [rbx]
mov rdx, rdi
sub rdx, rcx
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx + 4], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001e5d0
jmp 0x14001e600
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001e5f0
mov rdx, qword [rbx]
mov r8d, 0x13e
lea rcx, [rdi + 4]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
cmp qword [rbx + 0x30], 0x7f
ja 0x14001e636
lea rcx, [rbx + 0x20]
cmp qword [rcx + 0x18], 8
jb 0x14001e615
mov rcx, qword [rcx]
mov rdx, rdi
sub rdx, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx + 0x284], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001e620
jmp 0x14001e657
lea rdx, [rbx + 0x20]
cmp qword [rdx + 0x18], 8
jb 0x14001e644
mov rdx, qword [rdx]
mov r8d, 0x7e
lea rcx, [rdi + 0x284]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
cmp qword [rbx + 0x50], 0x23
ja 0x14001e696
lea rcx, [rbx + 0x40]
cmp qword [rcx + 0x18], 8
jb 0x14001e66c
mov rcx, qword [rcx]
mov rdx, rdi
sub rdx, rcx
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx + 0x384], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14001e680
jmp 0x14001e6b3
lea rdx, [rbx + 0x40]
cmp qword [rdx + 0x18], 8
jb 0x14001e6a4
mov rdx, qword [rdx]
mov r8d, 0x23
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov rax, qword [rbx + 0x60]
mov qword [rdi + 0x3cc], rax
mov rax, qword [rbx + 0x68]
mov qword [rdi + 0x3d4], rax
mov rax, qword [rbx + 0x70]
mov qword [rdi + 0x3dc], rax
mov eax, dword [rbx + 0x78]
mov dword [rdi + 0x3e4], eax
mov r9, qword [rbp + 0x368]
mov r8, qword [rbp + 0x360]
xor r11d, r11d
movabs rdi, 0x20c49ba5e353f7cf
inc r13
sub r12, 0xffffffffffffff80
mov rax, r9
sub rax, r8
sar rax, 7
cmp r13, rax
jb 0x14001e3b0
mov rcx, qword [rbp + 0x380]
cmp qword [rbp + 0x378], rcx
jne 0x14001e8c1
mov r8, qword [rbp + 0x378]
test r8, r8
je 0x14001e79e
mov rcx, qword [rbp + 0x388]
sub rcx, r8
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x14001e77f
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001e77f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x378], xmm0
xor r13d, r13d
mov qword [rbp + 0x388], r13
jmp 0x14001e7a1
xor r13d, r13d
mov rbx, qword [rbp + 0x360]
test rbx, rbx
je 0x14001e828
mov rdi, qword [rbp + 0x368]
cmp rbx, rdi
je 0x14001e7d8
nop dword [rax]
mov rcx, rbx
call fcn.14001da50
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14001e7c0
mov rbx, qword [rbp + 0x360]
mov rdx, qword [rbp + 0x370]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001e80e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001e80e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r13
cmp byte [rsp + 0x40], 0
je 0x14001e848
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001e841
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x358], 0
mov qword [rbp + 0x3d0], r13
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001e868
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x350], r13
mov word [rbp + 0x358], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 8
jb 0x14001f6f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f6f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f6f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xor eax, eax
mov qword [rbp + 0x390], rax
mov qword [rbp + 0x398], rax
mov qword [rbp + 0x3a0], rax
mov qword [rbp + 0x390], r11
mov qword [rbp + 0x398], r11
mov qword [rbp + 0x3a0], r11
mov dword [rbp + 0x3e0], 0x2d2d4352
mov dword [rbp + 0x3e4], 0x35343332
mov dword [rbp + 0x3e8], 0x61534350
mov dword [rbp + 0x3ec], 0x2d302e32
mov dword [rbp + 0x3f0], 0x2d736843
mov dword [rbp + 0x3f4], 0x61435243
mov dword [rbp + 0x3f8], 0x38313031
mov dword [rbp + 0x3fc], 0x35313032
movdqa xmm2, xmmword [0x140031220]
mov eax, r11d
mov r14d, 1
movd xmm3, r14d
lea rcx, [rbp + 0x3e0]
nop word [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x14001e960
mov rcx, qword [rbp + 0x380]
sub rcx, qword [rbp + 0x378]
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8d, edx, 0x3e8
lea r9, [rbp + 0x390]
mov rdx, qword [rbp + 0x378]
lea rcx, [rbp + 0x3e0]
call fcn.1400242a0
test al, al
jne 0x14001ebc1
mov rcx, qword [rbp + 0x390]
test rcx, rcx
je 0x14001ea2e
mov rdx, qword [rbp + 0x3a0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ea12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ea12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x390], xmm0
xor r13d, r13d
mov qword [rbp + 0x3a0], r13
jmp 0x14001ea31
xor r13d, r13d
mov r8, qword [rbp + 0x378]
test r8, r8
je 0x14001eaa4
mov rcx, qword [rbp + 0x388]
sub rcx, r8
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x14001ea8a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ea8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x378], xmm0
mov qword [rbp + 0x388], r13
mov rbx, qword [rbp + 0x360]
test rbx, rbx
je 0x14001eb28
mov rdi, qword [rbp + 0x368]
cmp rbx, rdi
je 0x14001ead8
nop dword [rax]
mov rcx, rbx
call fcn.14001da50
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14001eac0
mov rbx, qword [rbp + 0x360]
mov rdx, qword [rbp + 0x370]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001eb0e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001eb0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r13
cmp byte [rsp + 0x40], 0
je 0x14001eb48
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001eb41
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x358], 0
mov qword [rbp + 0x3d0], r13
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001eb68
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x350], r13
mov word [rbp + 0x358], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 8
jb 0x14001f6f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f6f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f6f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rbx, qword [rbp + 0x390]
mov rsi, qword [rbp + 0x398]
cmp rbx, rsi
jne 0x14001edc1
test rbx, rbx
je 0x14001ec2e
mov rdx, qword [rbp + 0x3a0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001ec0f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ec0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x390], xmm0
xor r13d, r13d
mov qword [rbp + 0x3a0], r13
jmp 0x14001ec31
xor r13d, r13d
mov r8, qword [rbp + 0x378]
test r8, r8
je 0x14001eca4
mov rcx, qword [rbp + 0x388]
sub rcx, r8
mov rax, rdi
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x14001ec8a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ec8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x378], xmm0
mov qword [rbp + 0x388], r13
mov rbx, qword [rbp + 0x360]
test rbx, rbx
je 0x14001ed28
mov rdi, qword [rbp + 0x368]
cmp rbx, rdi
je 0x14001ecd8
nop dword [rax]
mov rcx, rbx
call fcn.14001da50
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14001ecc0
mov rbx, qword [rbp + 0x360]
mov rdx, qword [rbp + 0x370]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001ed0e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ed0e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r13
cmp byte [rsp + 0x40], 0
je 0x14001ed48
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001ed41
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x358], 0
mov qword [rbp + 0x3d0], r13
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001ed68
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x350], r13
mov word [rbp + 0x358], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 8
jb 0x14001f6f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f6f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f6f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r15, qword [rsp + 0x48]
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x14001edd3
mov rcx, qword [r15]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r8d, r8d
mov edx, 0x40000000
call fcn.140010790
mov rdi, rax
lea rcx, [rax + 1]
test rcx, 0xfffffffffffffffe
jne 0x14001ef12
lea rdx, [0x14002f8b4]
mov rcx, r15
call fcn.14000f5a0
mov r8, rax
cmp rax, 0xffffffffffffffff
je 0x14001ef12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x3f0], xmm0
movdqa xmm1, xmmword [0x140031200]
movdqu xmmword [rbp + 0x3f0], xmm1
xor r13d, r13d
mov word [rbp + 0x3e0], r13w
cmp qword [r15 + 0x10], rax
cmovb r8, qword [r15 + 0x10]
mov rdx, r15
cmp qword [r15 + 0x18], 8
jb 0x14001ee5c
mov rdx, qword [r15]
lea rcx, [rbp + 0x3e0]
call fcn.14000a790
mov dword [rsp + 0x44], r14d
lea rcx, [rbp + 0x3e0]
call fcn.140011b30
cmp qword [r15 + 0x18], 8
jb 0x14001ee83
mov r15, qword [r15]
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r15
call fcn.140010790
mov rdi, rax
and r14d, 0xfffffffe
mov dword [rsp + 0x44], r14d
mov rdx, qword [rbp + 0x3f8]
cmp rdx, 8
jb 0x14001eef8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001eef3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001eef3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002866c
movdqa xmm0, xmmword [0x140031200]
movdqu xmmword [rbp + 0x3f0], xmm0
mov word [rbp + 0x3e0], r13w
jmp 0x14001ef15
xor r13d, r13d
lea rax, [rdi - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14001f3f2
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rbp + 0x3c8], r13d
mov r8d, esi
sub r8d, ebx
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x3c8]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
sub rsi, rbx
mov eax, dword [rbp + 0x3c8]
cmp rax, rsi
jne 0x14001f20e
lea rax, [rbp + 0x360]
mov r9, qword [rsp + 0x50]
cmp r9, rax
je 0x14001efce
mov rcx, qword [r9]
mov rax, qword [rbp + 0x360]
mov qword [r9], rax
mov qword [rbp + 0x360], rcx
mov rcx, qword [r9 + 8]
mov rax, qword [rbp + 0x368]
mov qword [r9 + 8], rax
mov qword [rbp + 0x368], rcx
mov rcx, qword [r9 + 0x10]
mov rax, qword [rbp + 0x370]
mov qword [r9 + 0x10], rax
mov qword [rbp + 0x370], rcx
mov r8, r13
mov rcx, qword [r9]
mov rax, qword [r9 + 8]
sub rax, rcx
sar rax, 7
test rax, rax
je 0x14001f012
mov rdx, r13
nop word [rax + rax]
mov byte [rcx + rdx + 0x7c], 0
inc r8
lea rdx, [rdx + 0x80]
mov rcx, qword [r9]
mov rax, qword [r9 + 8]
sub rax, rcx
sar rax, 7
cmp r8, rax
jb 0x14001eff0
test rbx, rbx
je 0x14001f063
mov rdx, qword [rbp + 0x3a0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f049
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f049
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x390], xmm0
mov qword [rbp + 0x3a0], r13
mov r8, qword [rbp + 0x378]
test r8, r8
je 0x14001f0dd
mov rcx, qword [rbp + 0x388]
sub rcx, r8
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x14001f0c3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f0c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x378], xmm0
mov qword [rbp + 0x388], r13
mov rbx, qword [rbp + 0x360]
test rbx, rbx
je 0x14001f15d
mov rdi, qword [rbp + 0x368]
cmp rbx, rdi
je 0x14001f10d
mov rcx, rbx
call fcn.14001da50
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14001f0f5
mov rbx, qword [rbp + 0x360]
mov rdx, qword [rbp + 0x370]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f143
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f143
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r13
cmp byte [rsp + 0x40], 0
je 0x14001f17d
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f176
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x358], 0
mov qword [rbp + 0x3d0], r13
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f19d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x350], r13
mov word [rbp + 0x358], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 8
jb 0x14001f1ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f1ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f1ea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002866c
movdqa xmm0, xmmword [0x140031200]
movdqu xmmword [rbp + 0x3b8], xmm0
mov word [rbp + 0x3a8], r13w
mov al, 1
jmp 0x14001f713
test rbx, rbx
je 0x14001f25f
mov rdx, qword [rbp + 0x3a0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f245
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f245
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x390], xmm0
mov qword [rbp + 0x3a0], r13
mov r8, qword [rbp + 0x378]
test r8, r8
je 0x14001f2d9
mov rcx, qword [rbp + 0x388]
sub rcx, r8
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x14001f2bf
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f2bf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x378], xmm0
mov qword [rbp + 0x388], r13
mov rbx, qword [rbp + 0x360]
test rbx, rbx
je 0x14001f359
mov rdi, qword [rbp + 0x368]
cmp rbx, rdi
je 0x14001f309
mov rcx, rbx
call fcn.14001da50
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14001f2f1
mov rbx, qword [rbp + 0x360]
mov rdx, qword [rbp + 0x370]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f33f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f33f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r13
cmp byte [rsp + 0x40], 0
je 0x14001f379
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f372
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x358], 0
mov qword [rbp + 0x3d0], r13
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f399
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x350], r13
mov word [rbp + 0x358], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 8
jb 0x14001f6f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f6f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f6f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test rbx, rbx
je 0x14001f443
mov rdx, qword [rbp + 0x3a0]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f429
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f429
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x390], xmm0
mov qword [rbp + 0x3a0], r13
mov r8, qword [rbp + 0x378]
test r8, r8
je 0x14001f4bd
mov rcx, qword [rbp + 0x388]
sub rcx, r8
movabs rax, 0x20c49ba5e353f7cf
imul rcx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 0x3e8
mov rax, r8
cmp rdx, 0x1000
jb 0x14001f4a3
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f4a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x378], xmm0
mov qword [rbp + 0x388], r13
mov rbx, qword [rbp + 0x360]
test rbx, rbx
je 0x14001f53d
mov rdi, qword [rbp + 0x368]
cmp rbx, rdi
je 0x14001f4ed
mov rcx, rbx
call fcn.14001da50
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14001f4d5
mov rbx, qword [rbp + 0x360]
mov rdx, qword [rbp + 0x370]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f523
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f523
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
mov qword [rbp + 0x370], r13
cmp byte [rsp + 0x40], 0
je 0x14001f55d
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f556
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [rbp + 0x358], 0
mov qword [rbp + 0x3d0], r13
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f57d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x350], r13
mov word [rbp + 0x358], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 8
jb 0x14001f6f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f6f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f6f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movzx esi, byte [rsp + 0x40]
mov rbx, qword [rbp + 0x360]
test rbx, rbx
je 0x14001f65e
mov rdi, qword [rbp + 0x368]
cmp rbx, rdi
je 0x14001f60b
mov rcx, rbx
call fcn.14001da50
sub rbx, 0xffffffffffffff80
cmp rbx, rdi
jne 0x14001f5f3
mov rbx, qword [rbp + 0x360]
mov rdx, qword [rbp + 0x370]
sub rdx, rbx
and rdx, 0xffffffffffffff80
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001f641
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f641
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14002866c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x360], xmm0
xor r11d, r11d
mov qword [rbp + 0x370], r11
test sil, sil
je 0x14001f67f
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f678
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor r11d, r11d
mov byte [rbp + 0x358], 0
mov qword [rbp + 0x3d0], r11
mov rcx, qword [rbp + 0x350]
test rcx, rcx
je 0x14001f6a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r13d, r13d
mov qword [rbp + 0x350], r13
jmp 0x14001f6a7
xor r13d, r13d
mov word [rbp + 0x358], 0
mov rdx, qword [rbp + 0x3c0]
cmp rdx, 8
jb 0x14001f6f9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3a8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f6f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001f6f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002866c
movdqa xmm0, xmmword [0x140031200]
mov word [rbp + 0x3a8], r13w
movdqu xmmword [rbp + 0x3b8], xmm0
xor al, al
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.140028370
mov rbx, qword [rsp + 0x650]
add rsp, 0x610
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000fa80
nop
int3