Function at 0x140090c95
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xde8
mov r14, rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdx + 0x20]
mov rax, qword [rdx + 0xa8]
mov rdx, rcx
sub rdx, rax
jb 0x14009166b
mov rbp, r9
mov r12, r8
mov qword [rsp + 0x68], rdx
cmp rdx, qword [r14 + 0x88]
jne 0x140090e12
cmp rcx, rax
jbe 0x14009166b
mov rsi, qword [r14 + 0x18]
imul rax, rax, 0x270
cmp dword [rsi + rax + 0x10], 3
je 0x140090e12
add rsi, rax
lea rdi, [rsp + 0x4a0]
mov rcx, rdi
mov rdx, rsi
call fcn.14008e995
cmp dword [rdi], 3
jne 0x140090d27
mov edi, 8
xor eax, eax
xor ebx, ebx
jmp 0x140090de9
lea rdi, [rsp + 0x230]
mov edx, 4
mov rcx, rdi
call fcn.14008ea63
mov rcx, qword [rdi + 8]
lea rdx, [rsp + 0x4a0]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rdi]
lea r13, [rsp + 0x710]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 1
mov rcx, rdi
mov rdx, rsi
call fcn.14008e995
cmp dword [rsp + 0x230], 3
je 0x140090dc4
mov rbx, qword [rsp + 0x720]
cmp rbx, qword [rsp + 0x710]
jne 0x140090d9a
mov rcx, r13
call fcn.14008eab0
imul rcx, rbx, 0x90
add rcx, qword [rsp + 0x718]
mov r8d, 0x90
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
inc rbx
mov qword [rsp + 0x720], rbx
jmp 0x140090d6b
lea rcx, [rsp + 0x230]
call fcn.14008eaa6
mov rbx, qword [rsp + 0x710]
mov rdi, qword [rsp + 0x718]
mov rax, qword [rsp + 0x720]
imul r15, rax, 0x90
add r15, rdi
mov rcx, rsi
call fcn.14008ee26
mov dword [rsi + 0x10], 3
mov qword [rsi + 0x18], rdi
mov qword [rsi + 0x20], rdi
mov qword [rsi + 0x28], rbx
mov qword [rsi + 0x30], r15
movabs r15, 0x8000000000000001
test rbp, rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], r12
je 0x140090eb6
lea rcx, [rsp + 0x70]
mov rdx, r12
mov r8, rbp
call fcn.14007f787
mov qword [rsp + 0x20], 1
lea r9, [0x1400eea18]
lea rdi, [rsp + 0x710]
mov rcx, rdi
mov rdx, r12
mov r8, rbp
call fcn.14008006c
mov rsi, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
lea r13, [rsp + 0x4a0]
mov rcx, r13
mov rdx, rsi
call fcn.14007fac4
mov rdi, qword [r13]
mov r13, qword [r13 + 8]
lea rax, [r15 - 1]
cmp rdi, rax
jne 0x140090f17
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140007f19
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.140007f19
jmp 0x140090ec0
movabs r13, 0x300000002
mov r12, qword [r14 + 0xb0]
lea rsi, [rsp + 0x238]
mov rcx, rsi
mov rdx, qword [rsp + 0x40]
mov r8, rbp
call fcn.14007f787
lea rax, [r15 - 1]
mov qword [rsi - 8], rax
mov qword [rsi + 0x20], r13
mov qword [rsi + 0x38], r12
lea rdi, [rsp + 0xc8]
lea rsi, [rsp + 0x230]
mov ecx, 0x12
rep movsd dword [rdi], dword [rsi]
mov rbp, 0xffffffffffffffff
mov ebx, 2
jmp 0x14009104d
lea rbp, [rsp + 0x4a0]
mov r8d, 0x250
mov rcx, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
mov ebx, 1
mov rcx, r13
mov edx, 1
mov r8, rbp
xor r9d, r9d
call qword [sym.imp.kernel32.dll_FindFirstFileExW]
cmp rax, 0xffffffffffffffff
je 0x140090fa1
mov rbp, rax
lea rcx, [rsp + 0x70]
call fcn.14008388a
mov r12, rax
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x4a0]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rdi
mov rdx, r13
call fcn.14007c366
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140007f19
jmp 0x140090fe1
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 2
jne 0x14009162a
lea rcx, [rsp + 0x70]
call fcn.14008388a
mov r12, rax
mov rcx, rdi
mov rdx, r13
call fcn.14007c366
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140007f19
mov rbp, 0xffffffffffffffff
xor ebx, ebx
mov r13, r12
lea rdi, [rsp + 0x710]
lea rsi, [rsp + 0x230]
mov ecx, 0x13
rep movsd dword [rdi], dword [rsi]
lea rdx, [rsp + 0x27c]
lea r12, [rsp + 0x4a0]
mov r8d, 0x208
mov rcx, r12
call sub.VCRUNTIME140.dll_memcpy
lea rdi, [rsp + 0xc4]
mov ecx, 0x13
lea rsi, [rsp + 0x710]
rep movsd dword [rdi], dword [rsi]
lea rcx, [rsp + 0xbe0]
mov r8d, 0x208
mov rdx, r12
call sub.VCRUNTIME140.dll_memcpy
mov r12, qword [r14 + 0xb0]
lea rdi, [rsp + 0x984]
mov qword [rdi + 0x254], r12
mov qword [rdi - 0x14], r13
mov qword [rdi - 0xc], rbp
mov dword [rdi - 4], ebx
lea rsi, [rsp + 0xc4]
mov ecx, 0x13
rep movsd dword [rdi], dword [rsi]
lea rcx, [rsp + 0x9d0]
lea rdx, [rsp + 0xbe0]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memcpy
cmp qword [r14 + 0x78], 0
mov rbp, qword [rsp + 0x30]
je 0x140091455
lea rax, [r14 + 0x78]
mov qword [rsp + 0x48], rax
lea rsi, [rsp + 0x4a0]
lea rdx, [rsp + 0x970]
mov r8d, 0x270
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsi + 0x10]
cmp eax, 2
je 0x140091116
cmp eax, 3
jne 0x140091187
mov rdx, qword [rsp + 0x4c0]
cmp rdx, qword [rsp + 0x4d0]
je 0x1400911c7
lea rax, [rdx + 0x90]
mov qword [rsp + 0x4c0], rax
lea rcx, [rsp + 0x110]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400911b9
mov rcx, qword [rsp + 0x4b8]
mov qword [rsp + 0x4b8], r15
mov eax, 3
cmp rcx, r15
je 0x14009117d
mov qword [rsp + 0x118], rcx
movups xmm0, xmmword [rsp + 0xd0]
movups xmm1, xmmword [rsp + 0xe0]
movups xmm2, xmmword [rsp + 0xf0]
movups xmm3, xmmword [rsp + 0x100]
movups xmmword [rsp + 0x120], xmm0
movups xmmword [rsp + 0x130], xmm1
movups xmmword [rsp + 0x140], xmm2
movups xmmword [rsp + 0x150], xmm3
mov eax, 2
mov qword [rsp + 0x110], rax
jmp 0x1400911c1
lea rdx, [rsp + 0x4a0]
mov rsi, qword [rdx + 0x268]
lea rdi, [rsp + 0x230]
mov rcx, rdi
call fcn.14007fec8
lea rcx, [rsp + 0x110]
mov rdx, rdi
mov r8, rsi
call fcn.14008eba9
mov rax, qword [rsp + 0x110]
cmp rax, 3
jne 0x1400911f6
lea rsi, [rsp + 0x4a0]
mov rcx, rsi
call fcn.14008ee26
lea rax, [rsp + 0x48]
mov qword [rsi], rax
mov qword [rsp + 0x230], rsi
mov esi, 8
xor r12d, r12d
xor edi, edi
jmp 0x140091420
lea rsi, [rsp + 0x230]
mov edx, 4
mov rcx, rsi
call fcn.14008ea63
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x110]
mov r8d, 0x90
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rsi]
lea r13, [rsp + 0x50]
movaps xmmword [r13], xmm0
mov qword [r13 + 0x10], 1
lea rcx, [rsp + 0x230]
lea rdx, [rsp + 0x4a0]
mov r8d, 0x270
call sub.VCRUNTIME140.dll_memcpy
lea r12, [rsp + 0x1b0]
lea rbp, [rsp + 0x1a0]
lea rdi, [rsp + 0x710]
mov eax, dword [rsp + 0x240]
cmp eax, 2
je 0x1400912b4
cmp eax, 3
jne 0x14009130c
mov rdx, qword [rsp + 0x250]
cmp rdx, qword [rsp + 0x260]
je 0x140091376
lea rax, [rdx + 0x90]
mov qword [rsp + 0x250], rax
mov r8d, 0x90
mov rcx, rbp
call sub.VCRUNTIME140.dll_memcpy
jmp 0x14009132d
mov rcx, qword [rsp + 0x248]
mov qword [rsp + 0x248], r15
mov eax, 3
cmp rcx, r15
je 0x140091302
mov qword [rsp + 0x1a8], rcx
movups xmm0, xmmword [rsi + 0x20]
movups xmm1, xmmword [rsi + 0x30]
movups xmm2, xmmword [rsi + 0x40]
movups xmm3, xmmword [rsi + 0x50]
movups xmmword [r12 + 0x30], xmm3
movups xmmword [r12 + 0x20], xmm2
movups xmmword [r12 + 0x10], xmm1
movups xmmword [r12], xmm0
mov eax, 2
mov qword [rsp + 0x1a0], rax
jmp 0x140091335
mov rbx, qword [rsp + 0x498]
mov rcx, rdi
mov rdx, rsi
call fcn.14007fec8
mov rcx, rbp
mov rdx, rdi
mov r8, rbx
call fcn.14008eba9
mov rax, qword [rsp + 0x1a0]
cmp rax, 3
je 0x140091382
mov rbx, qword [rsp + 0x60]
cmp rbx, qword [rsp + 0x50]
jne 0x14009134f
mov rcx, r13
call fcn.14008eab0
imul rcx, rbx, 0x90
add rcx, qword [rsp + 0x58]
mov r8d, 0x90
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
inc rbx
mov qword [rsp + 0x60], rbx
jmp 0x14009126a
mov qword [rsp + 0x1a0], 3
lea rcx, [rsp + 0x1a0]
call fcn.14008eaa6
lea rbx, [rsp + 0x230]
mov rcx, rbx
call fcn.14008ee26
mov r12, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x4a0], rax
lea rax, [rsp + 0x4a0]
mov qword [rbx], rax
cmp rdi, 2
jae 0x1400913d3
mov rbp, qword [rsp + 0x30]
jmp 0x140091420
cmp rdi, 0x15
mov rbp, qword [rsp + 0x30]
jae 0x14009140d
imul rbx, rdi, 0x90
mov r13d, 0x90
cmp rbx, r13
je 0x140091420
lea rdx, [rsi + r13]
mov r8, qword [rsp + 0x230]
mov rcx, rsi
call fcn.14008f10d
add r13, 0x90
jmp 0x1400913eb
lea r8, [rsp + 0x230]
mov rcx, rsi
mov rdx, rdi
call fcn.14008f2e8
imul rax, rdi, 0x90
add rax, rsi
mov dword [rsp + 0x980], 3
mov qword [rsp + 0x988], rsi
mov qword [rsp + 0x990], rsi
mov qword [rsp + 0x998], r12
mov qword [rsp + 0x9a0], rax
cmp byte [r14 + 0xa0], 0
mov r12, qword [rsp + 0x40]
je 0x1400915b1
mov rcx, r12
mov rdx, rbp
call fcn.14008ef0f
mov rsi, rdx
test rax, rax
jne 0x1400914af
lea rdx, [rsp + 0x710]
mov qword [rdx], rsi
lea rdi, [rsp + 0x4a0]
mov rcx, rdi
call fcn.140079bdd
cmp dword [rdi], 1
jne 0x1400914df
mov rdi, qword [rsp + 0x4a8]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rsi, rdi
mov rax, qword [r14 + 0xb0]
dec r15
mov rcx, qword [rsp + 0x38]
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x28], rsi
mov qword [rcx + 0x40], rax
lea rcx, [rsp + 0x970]
call fcn.14008ee26
jmp 0x140091616
mov ebx, dword [rsp + 0x4c0]
mov rdx, r12
mov r12d, dword [rsp + 0x4d0]
mov eax, dword [rsp + 0x4d4]
shl r12, 0x20
or r12, rax
lea rdi, [rsp + 0x258]
mov rcx, rdi
mov r8, rbp
call fcn.14007f787
mov qword [rdi - 0x18], r12
mov qword [rdi - 0x10], 2
mov qword [rsp + 0xa0], rsi
mov rax, qword [rdi - 0x18]
mov qword [rsp + 0x90], rax
mov rax, qword [rdi - 0x10]
mov qword [rsp + 0x98], rax
mov r12, qword [rdi]
movups xmm0, xmmword [rdi + 8]
movaps xmmword [rsp + 0xb0], xmm0
mov rdi, qword [rdi + 0x18]
mov rsi, qword [r14 + 0x38]
cmp rsi, qword [r14 + 0x28]
jne 0x140091564
lea rcx, [r14 + 0x28]
call fcn.14009009d
mov rax, qword [r14 + 0x30]
imul rcx, rsi, 0x48
mov qword [rax + rcx], 1
mov qword [rax + rcx + 8], rbx
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rax + rcx + 0x10], xmm0
mov rdx, qword [rsp + 0xa0]
mov qword [rax + rcx + 0x20], rdx
mov qword [rax + rcx + 0x28], r12
movaps xmm0, xmmword [rsp + 0xb0]
movups xmmword [rax + rcx + 0x30], xmm0
mov qword [rax + rcx + 0x40], rdi
inc rsi
mov qword [r14 + 0x38], rsi
mov rsi, qword [r14 + 0x20]
cmp rsi, qword [r14 + 0x10]
jne 0x1400915c4
lea rcx, [r14 + 0x10]
call fcn.140090093
imul rcx, rsi, 0x270
add rcx, qword [r14 + 0x18]
lea rdx, [rsp + 0x970]
mov r8d, 0x270
call sub.VCRUNTIME140.dll_memcpy
inc rsi
mov qword [r14 + 0x20], rsi
mov rax, qword [rsp + 0x68]
cmp rax, qword [r14 + 0x88]
jne 0x14009160e
mov rax, qword [r14 + 0xa8]
cmp rax, 0xffffffffffffffff
je 0x14009166b
inc rax
mov qword [r14 + 0xa8], rax
mov rax, qword [rsp + 0x38]
mov qword [rax], r15
add rsp, 0xde8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, eax
shl rbp, 0x20
or rbp, 2
mov rcx, rdi
mov rdx, r13
call fcn.14007c366
mov rcx, qword [rsp + 0x710]
mov rdx, rsi
call fcn.140007f19
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.140007f19
mov r13, rbp
mov rbp, qword [rsp + 0x30]
jmp 0x140090ec0
ud2