Function at 0x140003d40
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
movaps xmmword [rsp + 0x370], xmm6
mov rax, qword [0x14001e040]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r15, rdx
mov qword [rbp + 0x28], rdx
mov qword [rbp - 8], rcx
mov qword [rsp + 0x38], rdx
xor edi, edi
mov dword [rsp + 0x30], edi
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c8], xmm1
mov qword [rbp + 0x1d8], rdi
xorps xmm6, xmm6
movdqu xmmword [rbp + 0x200], xmm6
mov r13d, edi
mov qword [rbp + 0x210], rdi
lea r8, str.APPDATA
lea rdx, [rbp + 0x258]
lea rcx, [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll__dupenv_s]
test eax, eax
je 0x140003f99
mov rsi, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x140017f10]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x9b8f899c
mov byte [rsp + 0x4c], 0x91
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], dil
mov dword [rsp + 0x30], 4
lea edx, [rdi + 0x15]
lea rcx, [rsp + 0x50]
call fcn.140007550
mov r8d, edi
mov qword [rsp + 0x60], rdi
mov ebx, edi
movabs r14, 0x4ec4ec4ec4ec4ec5
nop
mov rax, r14
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
sub dx, 0x37
movsx eax, byte [rsp + rbx + 0x38]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x68]
cmp r8, rcx
jae 0x140003ea4
lea rax, [r8 + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x140003eae
lea rcx, [rsp + 0x50]
call fcn.1400076a0
inc rbx
cmp rbx, 0x15
jae 0x140003ebe
mov r8, qword [rsp + 0x60]
jmp 0x140003e40
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, rsi
call fcn.140008830
lea rdx, [0x140007160]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003f2d
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f28
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [r15], rdi
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rdi
mov rcx, qword [rbp + 0x1c8]
test rcx, rcx
je 0x140004d39
mov rdx, qword [rbp + 0x1d0]
call fcn.1400079b0
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1c8]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x238], xmm0
mov qword [rbp + 0x248], rdi
mov qword [rbp + 0x250], rdi
mov rdx, qword [rbp + 0x1c0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140003fc0
lea rcx, [rbp + 0x238]
call fcn.140007810
nop
mov rcx, qword [rbp + 0x1c0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movdqa xmm0, xmmword [0x140017f70]
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0xede4f7ed
mov word [rsp + 0x4c], 0xf5eb
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x30], 0x10
mov edx, 0x16
lea rcx, [rbp - 0x68]
call fcn.140007550
mov r8, rdi
mov qword [rbp - 0x58], rdi
mov rbx, rdi
movabs r12, 0x4ec4ec4ec4ec4ec5
nop dword [rax]
nop word [rax + rax]
mov rax, r12
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x7e
movsx eax, byte [rsp + rbx + 0x38]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rbp - 0x50]
cmp r8, rcx
jae 0x1400040b0
lea rax, [r8 + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rcx, 0xf
cmova rax, qword [rbp - 0x68]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x1400040b9
lea rcx, [rbp - 0x68]
call fcn.1400076a0
inc rbx
cmp rbx, 0x16
jae 0x1400040c8
mov r8, qword [rbp - 0x58]
jmp 0x140004050
mov ebx, 8
lea rsi, [rbp + 0x238]
cmp qword [rbp + 0x250], 0xf
cmova rsi, qword [rbp + 0x238]
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
sub rax, r8
mov r14, qword [rbp + 0x248]
cmp r14, rax
ja 0x140004187
lea rax, [r8 + r14]
mov qword [rbp - 0x58], rax
lea r15, [rbp - 0x68]
cmp rcx, 0xf
cmova r15, qword [rbp - 0x68]
lea rax, [rsi + r14]
mov qword [rsp + 0x38], rax
cmp rax, r15
jbe 0x140004140
lea rax, [r15 + r8]
cmp rsi, rax
ja 0x140004140
cmp r15, rsi
ja 0x140004138
mov r12, rdi
jmp 0x140004143
mov r12, r15
sub r12, rsi
jmp 0x140004143
mov r12, r14
inc r8
lea rcx, [r15 + r14]
mov rdx, r15
call sub.VCRUNTIME140.dll_memmove
mov r8, r12
mov rdx, rsi
mov rcx, r15
call sub.VCRUNTIME140.dll_memcpy
sub r14, r12
mov rdx, qword [rsp + 0x38]
add rdx, r12
lea rcx, [r15 + r12]
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x68]
movabs r12, 0x4ec4ec4ec4ec4ec5
jmp 0x14000419d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.140009ba0
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e0], xmm0
mov qword [rbp + 0x1f0], rdi
mov qword [rbp + 0x1f8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x1e0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x1f0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
or ebx, 0x20
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14000421a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004215
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004215
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
lea rcx, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova rcx, qword [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140004a85
mov r14, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
movdqa xmm0, xmmword [0x140017f00]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x48], 0x746c
mov byte [rsp + 0x4a], 0x7f
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
bts ebx, 0x10
mov dword [rsp + 0x30], ebx
mov edx, 0x13
lea rcx, [rsp + 0x50]
call fcn.140007550
mov r8, rdi
mov qword [rsp + 0x60], rdi
mov rsi, rdi
nop
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
add dx, 0x16
movsx eax, byte [rsp + rsi + 0x38]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x68]
cmp r8, rcx
jae 0x140004304
lea rax, [r8 + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x14000430e
lea rcx, [rsp + 0x50]
call fcn.1400076a0
inc rsi
cmp rsi, 0x13
jae 0x14000431e
mov r8, qword [rsp + 0x60]
jmp 0x1400042a0
btr ebx, 0x10
bts ebx, 0xf
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, r14
call fcn.140008830
lea rdx, [0x140007160]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004395
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004390
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004390
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
movdqa xmm0, xmmword [0x140017f20]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x48], 0x8b
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
bts ebx, 0xe
mov dword [rsp + 0x30], ebx
mov edx, 0x11
lea rcx, [rsp + 0x78]
call fcn.140007550
mov r8, rdi
mov qword [rbp - 0x78], rdi
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
sub dx, 0xb
movsx eax, byte [rsp + rsi + 0x38]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rbp - 0x70]
cmp r8, rcx
jae 0x140004452
lea rax, [r8 + 1]
mov qword [rbp - 0x78], rax
lea rax, [rsp + 0x78]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x78]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x14000445c
lea rcx, [rsp + 0x78]
call fcn.1400076a0
inc rsi
cmp rsi, 0x11
jae 0x14000446b
mov r8, qword [rbp - 0x78]
jmp 0x1400043f0
btr ebx, 0xe
bts ebx, 0xd
mov r15, qword [rbp + 0x1f0]
lea rsi, [rbp + 0x1e0]
cmp qword [rbp + 0x1f8], 0xf
cmova rsi, qword [rbp + 0x1e0]
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
cmp r15, rax
ja 0x14000452a
lea rax, [r8 + r15]
mov qword [rbp - 0x78], rax
lea r14, [rsp + 0x78]
cmp rcx, 0xf
cmova r14, qword [rsp + 0x78]
lea rax, [rsi + r15]
cmp rax, r14
jbe 0x1400044e3
lea rax, [r14 + r8]
cmp rsi, rax
ja 0x1400044e3
cmp r14, rsi
ja 0x1400044db
mov r12, rdi
jmp 0x1400044e6
mov r12, r14
sub r12, rsi
jmp 0x1400044e6
mov r12, r15
inc r8
lea rcx, [r14 + r15]
mov rdx, r14
call sub.VCRUNTIME140.dll_memmove
mov r8, r12
mov rdx, rsi
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov r8, r15
sub r8, r12
lea rdx, [r15 + r12]
add rdx, rsi
lea rcx, [r14 + r12]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
movabs r12, 0x4ec4ec4ec4ec4ec5
jmp 0x140004541
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rsi
mov rdx, r15
lea rcx, [rsp + 0x78]
call fcn.140009ba0
xorps xmm0, xmm0
movups xmmword [rbp + 0x218], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x228], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x218], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x228], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts ebx, 0xc
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400045bd
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400045b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
lea rcx, [rbp + 0x218]
cmp qword [rbp + 0x230], 0xf
cmova rcx, qword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140004d70
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
bts ebx, 0x12
mov dword [rsp + 0x30], ebx
mov edx, 0x167
lea rcx, [rbp - 0x48]
call fcn.140007550
mov r8, rdi
mov qword [rbp - 0x38], rdi
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
add dx, 0x1e
movsx eax, byte [rsi + r14]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rbp - 0x30]
cmp r8, rcx
jae 0x1400046a0
lea rax, [r8 + 1]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x48]
cmp rcx, 0xf
cmova rax, qword [rbp - 0x48]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x1400046a9
lea rcx, [rbp - 0x48]
call fcn.1400076a0
inc rsi
cmp rsi, 0x167
jae 0x1400046bb
mov r8, qword [rbp - 0x38]
jmp 0x140004640
btr ebx, 0x12
bts ebx, 0x11
movdqa xmm0, xmmword [0x140017f80]
movdqu xmmword [rbp], xmm0
movdqa xmm1, xmmword [0x140017f90]
movdqu xmmword [rbp + 0x10], xmm1
mov dword [rbp + 0x20], 0xb5f4f8ee
mov byte [rbp + 0x24], 0xb9
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
bts ebx, 7
mov dword [rsp + 0x30], ebx
mov edx, 0x25
lea rcx, [rsp + 0x50]
call fcn.140007550
mov r8, rdi
mov qword [rsp + 0x60], rdi
mov rsi, rdi
nop word [rax + rax]
mov rax, r12
mul rsi
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, si
sub dx, cx
sub dx, 0x6c
movsx eax, byte [rbp + rsi]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw r9d, xmm0, 0
mov rcx, qword [rsp + 0x68]
cmp r8, rcx
jae 0x140004794
lea rax, [r8 + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rcx, 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax + r8], r9b
mov byte [rax + r8 + 1], 0
jmp 0x14000479e
lea rcx, [rsp + 0x50]
call fcn.1400076a0
inc rsi
cmp rsi, 0x25
jae 0x1400047ae
mov r8, qword [rsp + 0x60]
jmp 0x140004730
btr ebx, 7
or ebx, 0x40
mov rsi, qword [rbp - 8]
lea rdx, [rsi + 8]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1400047cb
mov rdx, qword [rdx]
lea rcx, [rsp + 0x50]
call fcn.140006bf0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
bts ebx, 8
lea r9, [rbp - 0x48]
lea r8, [rbp]
lea rcx, [rbp + 0x30]
call fcn.140008390
bts ebx, 9
mov dword [rsp + 0x38], 0xeded8976
mov dword [rsp + 0x3c], 0xaea5e0e2
mov word [rsp + 0x40], 0xa8ae
mov byte [rsp + 0x42], 0xf2
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov r8, rdi
mov qword [rbp - 0x18], rdi
mov r9d, 0xf
mov qword [rbp - 0x10], r9
mov byte [rbp - 0x28], r8b
bts ebx, 0xb
mov dword [rsp + 0x30], ebx
mov rbx, rdi
nop
mov rax, r12
mul rbx
shr rdx, 2
movsx eax, dx
imul ecx, eax, 0xd
movzx edx, bx
sub dx, cx
add dx, 0x7f
movsx eax, byte [rsp + rbx + 0x38]
xor ax, dx
cwde
movd xmm0, eax
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pextrw ecx, xmm0, 0
cmp r8, r9
jae 0x1400048ab
lea rax, [r8 + 1]
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x28]
cmp r9, 0xf
cmova rax, qword [rbp - 0x28]
mov byte [rax + r8], cl
mov byte [rax + r8 + 1], 0
jmp 0x1400048b8
movzx r9d, cl
lea rcx, [rbp - 0x28]
call fcn.1400076a0
inc rbx
cmp rbx, 0xb
jae 0x1400048cb
mov r9, qword [rbp - 0x10]
mov r8, qword [rbp - 0x18]
jmp 0x140004850
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x218]
call fcn.140002e80
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x14000491f
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004919
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004919
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x14000495d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004958
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004958
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
movdqa xmm0, xmmword [0x140017e50]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x1400049ad
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400049ed
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049e8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140004a3f
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
nop
mov rdx, qword [rbp + 0x230]
cmp rdx, 0xf
jbe 0x140004a89
inc rdx
mov rcx, qword [rbp + 0x218]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
jmp 0x140004a89
mov rsi, qword [rbp - 8]
mov rdx, qword [rbp + 0x1f8]
cmp rdx, 0xf
jbe 0x140004acd
inc rdx
mov rcx, qword [rbp + 0x1e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ac8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ac8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov qword [rbp + 0x1f0], rdi
mov qword [rbp + 0x1f8], 0xf
mov byte [rbp + 0x1e0], 0
mov rdx, qword [rbp + 0x250]
cmp rdx, 0xf
jbe 0x140004b2a
inc rdx
mov rcx, qword [rbp + 0x238]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov r9b, 1
mov r8d, 0xf
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.140001fe0
mov rsi, rax
lea rax, [rbp + 0x200]
cmp rax, rsi
je 0x140004bd3
movq rbx, xmm6
test rbx, rbx
je 0x140004ba6
psrldq xmm6, 8
movq rdx, xmm6
mov rcx, rbx
call fcn.1400079b0
sub r13, rbx
and r13, 0xffffffffffffffe0
mov rax, rbx
cmp r13, 0x1000
jb 0x140004b9b
add r13, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004c27
mov rdx, r13
mov rcx, rbx
call fcn.1400147c4
mov rbx, qword [rsi]
mov qword [rbp + 0x200], rbx
mov r14, qword [rsi + 8]
mov qword [rbp + 0x208], r14
mov r13, qword [rsi + 0x10]
mov qword [rbp + 0x210], r13
mov qword [rsi], rdi
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], rdi
jmp 0x140004be1
mov r14, qword [rbp + 0x208]
mov rbx, qword [rbp + 0x200]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140004c33
mov rdx, qword [rsp + 0x40]
call fcn.1400079b0
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004c2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004c2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov r9, r14
sub r9, rbx
sar r9, 5
mov r8, rbx
mov rdx, qword [rbp + 0x1d0]
lea rcx, [rbp + 0x1c8]
call fcn.140008d10
mov r8, qword [rbp + 0x1d8]
mov qword [rbp + 0x1d8], rdi
mov rcx, qword [rbp + 0x1d0]
mov qword [rbp + 0x1d0], rdi
mov rax, qword [rbp + 0x1c8]
mov r9, rdi
mov qword [rbp + 0x1c8], rdi
mov r15, qword [rbp + 0x28]
mov qword [r15], rax
mov qword [r15 + 8], rcx
mov qword [r15 + 0x10], r8
test rbx, rbx
je 0x140004ce7
mov rdx, r14
mov rcx, rbx
call fcn.1400079b0
sub r13, rbx
and r13, 0xffffffffffffffe0
mov rax, rbx
cmp r13, 0x1000
jb 0x140004cce
add r13, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004cce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r13
mov rcx, rbx
call fcn.1400147c4
mov rdi, qword [rbp + 0x1d0]
mov r9, qword [rbp + 0x1c8]
test r9, r9
je 0x140004d39
mov rdx, rdi
mov rcx, r9
call fcn.1400079b0
mov rdx, qword [rbp + 0x1d8]
mov rcx, qword [rbp + 0x1c8]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d34
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004d34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400147c4
mov rax, r15
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.140014330
mov rbx, qword [rsp + 0x3d0]
movaps xmm6, xmmword [rsp + 0x370]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret