Function at 0x14005c850
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10d8
call fcn.140061370
sub rsp, rax
mov r12, rdx
mov qword [rsp + 0x88], rcx
mov rdx, qword [rdx + 0x20]
mov rcx, qword [r12 + 0xa8]
mov rax, rdx
sub rax, rcx
jb 0x14005de7b
mov r13, r8
mov qword [rsp + 0x180], rax
cmp rax, qword [r12 + 0x88]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x48], r8
jne 0x14005ca0b
cmp rdx, rcx
jbe 0x14005dea8
mov r14, qword [r12 + 0x18]
imul rax, rcx, 0x270
cmp dword [r14 + rax + 0x10], 3
je 0x14005ca0b
add r14, rax
lea rcx, [rsp + 0x790]
mov rdx, r14
call fcn.14005e850
cmp dword [rsp + 0x790], 3
jne 0x14005c8fc
mov r15d, 8
xor esi, esi
xor edi, edi
jmp 0x14005c9e0
movzx eax, byte [0x140081100]
mov edx, 0x240
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x14005ded1
mov r15, rax
lea rdx, [rsp + 0x790]
mov edi, 0x90
mov r8d, 0x90
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x530], 4
mov qword [rsp + 0x538], r15
mov qword [rsp + 0x540], 1
mov esi, 1
lea r12, [rsp + 0x2c0]
lea r13, [rsp + 0x530]
jmp 0x14005c99c
mov r15, qword [rsp + 0x538]
lea rcx, [r15 + rdi]
mov r8d, 0x90
mov rdx, r12
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x540], rsi
add rdi, 0x90
mov rcx, r12
mov rdx, r14
call fcn.14005e850
cmp dword [rsp + 0x2c0], 3
je 0x14005c9ce
cmp rsi, qword [rsp + 0x530]
jne 0x14005c978
mov r8d, 1
mov rcx, r13
mov rdx, rsi
call fcn.14005e6a0
jmp 0x14005c970
mov rdi, qword [rsp + 0x530]
mov r12, qword [rsp + 0x60]
mov r13, qword [rsp + 0x48]
lea rbx, [rsi + rsi*8]
shl rbx, 4
add rbx, r15
mov rcx, r14
call fcn.14005c680
mov dword [r14 + 0x10], 3
mov qword [r14 + 0x18], r15
mov qword [r14 + 0x20], r15
mov qword [r14 + 0x28], rdi
mov qword [r14 + 0x30], rbx
mov rsi, qword [r13 + 0x68]
test rsi, rsi
je 0x14005cbd2
js 0x14005de87
mov r15, qword [r13 + 0x60]
movzx eax, byte [0x140081100]
xor ecx, ecx
mov rdx, rsi
call fcn.140057e30
test rax, rax
je 0x14005de8c
mov r14, rax
mov rcx, rax
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x140081100]
xor ecx, ecx
mov rdx, rsi
call fcn.140057e30
test rax, rax
je 0x14005de99
mov rbx, rax
mov rcx, rax
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x2c0], rsi
mov qword [rsp + 0x2c8], rbx
mov qword [rsp + 0x2d0], rsi
mov byte [rsp + 0x2d8], 0
lea rdx, str.__fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_nS_a_
lea rcx, [rsp + 0x2c0]
mov r8d, 1
call fcn.140048d30
mov rax, qword [rsp + 0x2c0]
mov qword [rsp + 0x28], rax
mov r15, qword [rsp + 0x2c8]
mov r8, qword [rsp + 0x2d0]
lea rcx, [rsp + 0x530]
mov rdx, r15
call fcn.1400464e0
mov rax, qword [rsp + 0x530]
mov rbp, qword [rsp + 0x538]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x14005cb5e
mov rcx, qword [rsp + 0x540]
mov qword [rsp + 0x2c0], rax
mov qword [rsp + 0x2c8], rbp
mov qword [rsp + 0x2d0], rcx
lea rcx, [rsp + 0xe0]
lea rdx, [rsp + 0x2c0]
mov r8b, 1
call fcn.140046690
mov r13, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x14005cecd
mov r13, qword [rsp + 0x48]
cmp qword [rsp + 0x28], 0
je 0x14005cb77
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r15
call fcn.1400615a4
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r14
call fcn.1400615a4
mov r14, qword [r13 + 0x68]
test r14, r14
js 0x14005cbe5
mov rax, qword [r12 + 0xb0]
mov qword [rsp + 0x38], rax
mov rbx, qword [r13 + 0x60]
mov r15, rbp
je 0x14005cbf2
movzx eax, byte [0x140081100]
xor ecx, ecx
mov rdx, r14
call fcn.140057e30
mov rsi, rax
test rax, rax
jne 0x14005cbf7
mov ecx, 1
mov rdx, r14
call fcn.14000e2b0
jmp 0x14005df0e
movabs rbp, 0x300000002
mov r14, qword [r13 + 0x68]
test r14, r14
jns 0x14005cb91
mov r15, rbp
call fcn.14000e2d0
jmp 0x14005df0e
mov esi, 1
mov rcx, rsi
mov rdx, rbx
mov r8, r14
call sub.msvcrt.dll_memcpy
mov ebp, 2
xor r8d, r8d
mov r12, r14
xor r13d, r13d
mov rdx, r15
mov rax, qword [rsp + 0x60]
mov rbx, qword [rax + 0xb0]
mov qword [rsp + 0x9f8], rdx
mov qword [rsp + 0xa00], rcx
mov qword [rsp + 0xa20], r12
mov r12, rax
mov qword [rsp + 0xa28], rsi
mov qword [rsp + 0xa30], r14
mov byte [rsp + 0xa38], r8b
mov eax, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x53]
mov dword [rsp + 0xa39], eax
mov dword [rsp + 0xa3c], ecx
movaps xmm0, xmmword [rsp + 0x210]
movups xmmword [rsp + 0xa40], xmm0
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0xa50], rax
lea rcx, [rsp + 0xa60]
lea rdx, [rsp + 0xed8]
mov r8d, 0x200
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0xc60], rbx
mov dword [rsp + 0xa08], ebp
mov dword [rsp + 0xa0c], edi
mov qword [rsp + 0xa10], r13
mov qword [rsp + 0xa18], r15
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0xa58], rax
cmp qword [r12 + 0x78], 0
je 0x14005da77
lea rax, [r12 + 0x78]
mov qword [rsp + 0x188], rax
lea rcx, [rsp + 0xc68]
lea rdx, [rsp + 0x9f8]
mov r8d, 0x270
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0xc78]
cmp eax, 3
jne 0x14005cdc7
mov rdx, qword [rsp + 0xc88]
cmp rdx, qword [rsp + 0xc98]
je 0x14005d035
lea rax, [rdx + 0x90]
mov qword [rsp + 0xc88], rax
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
mov r8, qword [rdx + 0x50]
mov qword [rsp + 0x120], r8
movups xmm0, xmmword [rdx + 0x40]
movaps xmmword [rsp + 0x110], xmm0
movups xmm0, xmmword [rdx + 0x30]
movaps xmmword [rsp + 0x100], xmm0
movups xmm0, xmmword [rdx + 0x20]
movaps xmmword [rsp + 0xf0], xmm0
movups xmm0, xmmword [rdx + 0x10]
movaps xmmword [rsp + 0xe0], xmm0
mov r8, qword [rdx + 0x88]
mov qword [rsp + 0x260], r8
movups xmm0, xmmword [rdx + 0x58]
movups xmm1, xmmword [rdx + 0x68]
movups xmm2, xmmword [rdx + 0x78]
movaps xmmword [rsp + 0x250], xmm2
movaps xmmword [rsp + 0x240], xmm1
movaps xmmword [rsp + 0x230], xmm0
cmp rcx, 3
je 0x14005d0c7
jmp 0x14005d2da
cmp eax, 2
jne 0x14005ce13
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0xc80], 2
cmp rax, 2
jne 0x14005d05e
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
jmp 0x14005d10e
mov rsi, qword [rsp + 0xed0]
lea rcx, [rsp + 0x2c0]
lea rdx, [rsp + 0xc68]
call fcn.140048a80
test byte [rsp + 0x2c0], 1
je 0x14005d0b8
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [rsp + 0x2d0]
test rcx, rcx
je 0x14005d1f8
lea rdx, [rsp + 0x2d8]
mov qword [rsp + 0x790], rcx
mov qword [rsp + 0x798], rax
lea rcx, [rsp + 0x7a0]
mov r8d, 0x248
call sub.msvcrt.dll_memcpy
inc rsi
lea rcx, [rsp + 0x530]
lea r8, [rsp + 0x790]
mov rdx, rsi
call fcn.14005fc60
mov rax, qword [rsp + 0x790]
lock dec qword [rax]
jne 0x14005ceb8
mov rcx, qword [rsp + 0x790]
call fcn.14001b490
mov rcx, qword [rsp + 0x530]
mov rax, qword [rsp + 0x538]
jmp 0x14005d230
lea rbx, [rsp + 0x2c0]
mov r8d, 0x250
mov rcx, rbx
xor edx, edx
call sub.msvcrt.dll_memset
mov rcx, rbp
mov rdx, rbx
call sub.kernel32.dll_FindFirstFileW
cmp rax, 0xffffffffffffffff
je 0x14005d15f
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r15
movzx eax, byte [0x140081100]
mov edx, 0x30
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x14005dee2
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], rsi
mov byte [rax + 0x28], 0
mov eax, dword [rsp + 0x2c0]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x2c4]
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x2cc]
mov qword [rsp + 0x170], rax
mov r12, qword [rsp + 0x2d4]
mov rsi, qword [rsp + 0x2dc]
mov r14, qword [rsp + 0x2e4]
movzx eax, byte [rsp + 0x2ec]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x2ed]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x2f0]
mov dword [rsp + 0x93], eax
movups xmm0, xmmword [rsp + 0x2f4]
movaps xmmword [rsp + 0x230], xmm0
mov rax, qword [rsp + 0x304]
mov qword [rsp + 0x240], rax
mov rax, qword [rsp + 0x30c]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x314]
lea rcx, [rsp + 0x790]
mov r8d, 0x1fc
call sub.msvcrt.dll_memcpy
test r13, r13
je 0x14005d00c
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbp
call fcn.1400615a4
cmp qword [rsp + 0x28], 0
je 0x14005d1ee
mov ebp, 1
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, qword [rsp + 0x40]
call fcn.1400615a4
jmp 0x14005ddaf
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
jmp 0x14005d0fc
mov rcx, qword [rsp + 0xa58]
mov qword [rsp + 0x120], rcx
movups xmm0, xmmword [rsp + 0xa18]
movups xmm1, xmmword [rsp + 0xa28]
movups xmm2, xmmword [rsp + 0xa38]
movups xmm3, xmmword [rsp + 0xa48]
movaps xmmword [rsp + 0x110], xmm3
movaps xmmword [rsp + 0x100], xmm2
movaps xmmword [rsp + 0xf0], xmm1
movaps xmmword [rsp + 0xe0], xmm0
mov ecx, 2
jmp 0x14005d2da
mov ecx, 3
cmp rcx, 3
jne 0x14005d2da
mov eax, dword [rsp + 0xc78]
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
cmp eax, 2
je 0x14005d10e
cmp eax, 3
jne 0x14005d12e
lea rcx, [rsp + 0xc80]
call fcn.14005f9a0
jmp 0x14005d804
cmp dword [rsp + 0xc80], 2
je 0x14005d804
lea rcx, [rsp + 0xc80]
call fcn.14005e500
jmp 0x14005d804
mov rcx, qword [rsp + 0xc70]
call sub.kernel32.dll_FindClose
mov rax, qword [rsp + 0xc68]
lock dec qword [rax]
jne 0x14005d804
mov rcx, qword [rsp + 0xc68]
call fcn.14001b490
jmp 0x14005d804
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x14005dd44
movzx eax, byte [0x140081100]
mov edx, 0x30
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x14005defa
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], rsi
mov byte [rax + 0x28], 0
test r13, r13
je 0x14005d1c1
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbp
call fcn.1400615a4
mov qword [rsp + 0x30], 0xffffffffffffffff
cmp qword [rsp + 0x28], 0
je 0x14005dda8
mov rcx, qword [0x1400810e8]
xor ebp, ebp
xor edx, edx
mov r8, r15
call fcn.1400615a4
jmp 0x14005ddaa
mov ebp, 1
jmp 0x14005ddaf
inc rsi
mov qword [rsp + 0x538], 0
mov qword [rsp + 0x540], rax
movabs rax, 0x8000000000000000
mov qword [rsp + 0x548], rax
mov qword [rsp + 0x580], rsi
mov ecx, 2
xor eax, eax
mov rdx, qword [rsp + 0x580]
mov qword [rsp + 0x120], rdx
mov rdx, qword [rsp + 0x540]
mov r8, qword [rsp + 0x548]
movups xmm0, xmmword [rsp + 0x550]
movups xmm1, xmmword [rsp + 0x560]
movups xmm2, xmmword [rsp + 0x570]
movaps xmmword [rsp + 0x110], xmm2
movaps xmmword [rsp + 0x100], xmm1
movaps xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0xe0], rdx
mov qword [rsp + 0xe8], r8
movups xmm0, xmmword [rsp + 0x588]
movaps xmmword [rsp + 0x230], xmm0
movups xmm0, xmmword [rsp + 0x598]
movaps xmmword [rsp + 0x240], xmm0
movups xmm0, xmmword [rsp + 0x5a8]
movaps xmmword [rsp + 0x250], xmm0
mov rdx, qword [rsp + 0x5b8]
mov qword [rsp + 0x260], rdx
cmp rcx, 3
je 0x14005d0c7
mov qword [rsp + 0x2c0], rcx
mov qword [rsp + 0x2c8], rax
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movaps xmm3, xmmword [rsp + 0x110]
movups xmmword [rsp + 0x2d0], xmm0
movups xmmword [rsp + 0x2e0], xmm1
movups xmmword [rsp + 0x2f0], xmm2
movups xmmword [rsp + 0x300], xmm3
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x310], rax
movaps xmm0, xmmword [rsp + 0x230]
movaps xmm1, xmmword [rsp + 0x240]
movaps xmm2, xmmword [rsp + 0x250]
movups xmmword [rsp + 0x318], xmm0
movups xmmword [rsp + 0x328], xmm1
movups xmmword [rsp + 0x338], xmm2
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x348], rax
movzx eax, byte [0x140081100]
mov edx, 0x240
xor ecx, ecx
call fcn.140057e30
test rax, rax
je 0x14005dec0
mov rsi, rax
lea r14, [rsp + 0x2c0]
mov r8d, 0x90
mov rcx, rax
mov rdx, r14
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x70], 4
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], 1
lea rcx, [rsp + 0x2c0]
lea rdx, [rsp + 0xc68]
mov r8d, 0x270
call sub.msvcrt.dll_memcpy
lea rbx, [rsp + 0xf0]
lea r13, [rsp + 0x240]
mov esi, 1
lea rbp, [rsp + 0x70]
lea r15, [rsp + 0x230]
lea r12, [rsp + 0x790]
jmp 0x14005d446
lea rcx, [rsi + rsi*8]
shl rcx, 4
add rcx, qword [rsp + 0x78]
mov r8d, 0x90
mov rdx, r15
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [rsp + 0x80], rsi
mov eax, dword [rsp + 0x2d0]
cmp eax, 3
jne 0x14005d500
mov rcx, qword [rsp + 0x2e0]
cmp rcx, qword [rsp + 0x2f0]
je 0x14005d797
lea rax, [rcx + 0x90]
mov qword [rsp + 0x2e0], rax
mov rax, qword [rcx]
mov rdi, qword [rcx + 8]
mov rdx, qword [rcx + 0x50]
mov qword [rsp + 0xd0], rdx
movups xmm0, xmmword [rcx + 0x40]
movaps xmmword [rsp + 0xc0], xmm0
movups xmm0, xmmword [rcx + 0x30]
movaps xmmword [rsp + 0xb0], xmm0
movups xmm0, xmmword [rcx + 0x20]
movaps xmmword [rsp + 0xa0], xmm0
movups xmm0, xmmword [rcx + 0x10]
movaps xmmword [rsp + 0x90], xmm0
mov rdx, qword [rcx + 0x88]
mov qword [rsp + 0x1c0], rdx
movups xmm0, xmmword [rcx + 0x58]
movups xmm1, xmmword [rcx + 0x68]
movups xmm2, xmmword [rcx + 0x78]
movaps xmmword [rsp + 0x1b0], xmm2
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x190], xmm0
jmp 0x14005d6d0
cmp eax, 2
jne 0x14005d570
mov rdi, qword [rsp + 0x2d8]
mov qword [rsp + 0x2d8], 2
cmp rdi, 2
je 0x14005d7a6
mov rax, qword [r14 + 0x60]
mov qword [rsp + 0xd0], rax
movups xmm0, xmmword [r14 + 0x20]
movups xmm1, xmmword [r14 + 0x30]
movups xmm2, xmmword [r14 + 0x40]
movups xmm3, xmmword [r14 + 0x50]
movaps xmmword [rsp + 0xc0], xmm3
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
mov eax, 2
jmp 0x14005d6e2
mov rsi, qword [rsp + 0x528]
mov rcx, r12
mov rdx, r14
call fcn.140048a80
mov eax, 3
test byte [rsp + 0x790], 1
je 0x14005d6d0
mov rcx, qword [rsp + 0x798]
mov rax, qword [rsp + 0x7a0]
test rcx, rcx
je 0x14005d61e
mov qword [rsp + 0x530], rcx
mov qword [rsp + 0x538], rax
mov r8d, 0x248
lea rcx, [rsp + 0x540]
lea rdx, [rsp + 0x7a8]
call sub.msvcrt.dll_memcpy
inc rsi
lea rcx, [rsp + 0xe0]
mov rdx, rsi
lea r8, [rsp + 0x530]
call fcn.14005fc60
mov rax, qword [rsp + 0x530]
lock dec qword [rax]
jne 0x14005d60c
mov rcx, qword [rsp + 0x530]
call fcn.14001b490
mov rax, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
jmp 0x14005d656
inc rsi
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], rax
movabs rax, 0x8000000000000000
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x130], rsi
mov eax, 2
xor edi, edi
mov rcx, qword [rbx + 0x40]
mov qword [rsp + 0xd0], rcx
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x20]
movups xmm3, xmmword [rbx + 0x30]
movaps xmmword [rsp + 0xc0], xmm3
movaps xmmword [rsp + 0xb0], xmm2
movaps xmmword [rsp + 0xa0], xmm1
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rbx + 0x48]
movups xmm1, xmmword [rbx + 0x58]
movups xmm2, xmmword [rbx + 0x68]
movaps xmmword [rsp + 0x190], xmm0
movaps xmmword [rsp + 0x1a0], xmm1
movaps xmmword [rsp + 0x1b0], xmm2
mov rcx, qword [rbx + 0x78]
mov qword [rsp + 0x1c0], rcx
nop word cs:[rax + rax]
cmp rax, 3
je 0x14005d786
mov rsi, qword [rsp + 0x80]
mov qword [rsp + 0x230], rax
mov qword [rsp + 0x238], rdi
mov rax, qword [rsp + 0xd0]
mov qword [r13 + 0x40], rax
movaps xmm0, xmmword [rsp + 0x90]
movaps xmm1, xmmword [rsp + 0xa0]
movaps xmm2, xmmword [rsp + 0xb0]
movaps xmm3, xmmword [rsp + 0xc0]
movups xmmword [r13 + 0x30], xmm3
movups xmmword [r13 + 0x20], xmm2
movups xmmword [r13 + 0x10], xmm1
movups xmmword [r13], xmm0
mov rax, qword [rsp + 0x1c0]
mov qword [r13 + 0x78], rax
movaps xmm0, xmmword [rsp + 0x190]
movaps xmm1, xmmword [rsp + 0x1a0]
movaps xmm2, xmmword [rsp + 0x1b0]
movups xmmword [r13 + 0x68], xmm2
movups xmmword [r13 + 0x58], xmm1
movups xmmword [r13 + 0x48], xmm0
cmp rsi, qword [rsp + 0x70]
jne 0x14005d420
mov r8d, 1
mov rcx, rbp
mov rdx, rsi
call fcn.14005e6a0
jmp 0x14005d420
mov eax, dword [rsp + 0x2d0]
cmp eax, 2
je 0x14005d7a6
cmp eax, 3
jne 0x14005d7bf
lea rcx, [rsp + 0x2d8]
call fcn.14005f9a0
jmp 0x14005d7e7
cmp dword [rsp + 0x2d8], 2
je 0x14005d7e7
lea rcx, [rsp + 0x2d8]
call fcn.14005e500
jmp 0x14005d7e7
mov rcx, qword [rsp + 0x2c8]
call sub.kernel32.dll_FindClose
mov rax, qword [rsp + 0x2c0]
lock dec qword [rax]
jne 0x14005d7e7
mov rcx, qword [rsp + 0x2c0]
call fcn.14001b490
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x790], xmm0
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x7a0], rax
mov rdi, qword [rsp + 0x798]
mov rcx, qword [rsp + 0x7a0]
lea rax, [rsp + 0x188]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x530], rax
mov qword [rsp + 0x38], rcx
cmp rcx, 2
jb 0x14005da2f
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x15
jae 0x14005da1f
lea rbx, [rdx + rdx*8]
shl rbx, 4
add rbx, rdi
lea r12, [rdi + 0x90]
lea r15, [rdi - 0x90]
xor r13d, r13d
xor r14d, r14d
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x30], rbx
jmp 0x14005d8c2
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov r8d, 0x90
lea rdx, [rsp + 0x2c0]
call sub.msvcrt.dll_memcpy
add r12, 0x90
add r15, 0x90
add r14, 0xffffffffffffff70
add r13, 0x90
cmp r12, rbx
je 0x14005da2f
lea rsi, [r12 - 0x90]
cmp dword [r12], 2
mov rax, qword [r12 - 0x90]
jne 0x14005d8e0
cmp eax, 2
je 0x14005d89d
jmp 0x14005d904
cmp eax, 2
je 0x14005d89d
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov rdx, r12
mov r8, rsi
call qword [rax + 0x20]
cmp al, 0xff
jne 0x14005d89d
mov r8d, 0x90
lea rcx, [rsp + 0x2c0]
mov rdx, r12
call sub.msvcrt.dll_memcpy
mov r8d, 0x90
mov rcx, r12
mov rdx, rsi
call sub.msvcrt.dll_memcpy
mov rcx, rdi
cmp rsi, rdi
je 0x14005d88a
cmp dword [rsp + 0x2c0], 2
mov rdi, r14
mov rbp, r15
jne 0x14005d9ce
mov rsi, r13
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
nop dword [rax + rax]
lea rcx, [rdi + rsi]
cmp dword [rdi + rsi - 0x90], 2
je 0x14005d88a
lea rdx, [rdi + rsi]
add rdx, 0xffffffffffffff70
mov r8d, 0x90
call sub.msvcrt.dll_memcpy
add rsi, 0xffffffffffffff70
jne 0x14005d960
mov rcx, rdi
jmp 0x14005d88a
cmp eax, 2
je 0x14005da15
add rsi, 0xffffffffffffff70
mov r8d, 0x90
mov rdx, rbp
call sub.msvcrt.dll_memcpy
add rbp, 0xffffffffffffff70
add rdi, 0x90
je 0x14005d87d
lea rcx, [rbp + 0x90]
cmp dword [rsp + 0x2c0], 2
mov rax, qword [rbp]
je 0x14005d9a0
cmp eax, 2
je 0x14005da12
mov rbx, rcx
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
lea rdx, [rsp + 0x2c0]
mov r8, rbp
call qword [rax + 0x20]
cmp al, 0xff
mov rcx, rbx
je 0x14005d9a5
mov rcx, rsi
mov rdi, qword [rsp + 0x28]
jmp 0x14005d885
lea r8, [rsp + 0x530]
mov rcx, rdi
call fcn.14005eb90
mov rax, qword [rsp + 0x790]
mov rcx, qword [rsp + 0x38]
lea rcx, [rcx + rcx*8]
shl rcx, 4
add rcx, rdi
mov dword [rsp + 0xa08], 3
mov qword [rsp + 0xa10], rdi
mov qword [rsp + 0xa18], rdi
mov qword [rsp + 0xa20], rax
mov qword [rsp + 0xa28], rcx
mov r12, qword [rsp + 0x60]
cmp byte [r12 + 0xa0], 0
mov rax, qword [rsp + 0x48]
je 0x14005dcb5
mov r14, qword [rax + 0x60]
mov rsi, qword [rax + 0x68]
mov dword [rsp + 0x2c0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x2c8], xmm0
mov dword [rsp + 0x2d8], 7
mov qword [rsp + 0x2dc], 0
mov word [rsp + 0x2e4], 0
mov byte [rsp + 0x2e0], 1
mov dword [rsp + 0x2d0], 0x2000000
lea r8, [rsp + 0x2c0]
mov rcx, r14
mov rdx, rsi
call fcn.140046150
test rax, rax
jne 0x14005db22
lea rcx, [rsp + 0x2c0]
mov rbx, rdx
call fcn.14005eca0
cmp dword [rsp + 0x2c0], 1
jne 0x14005db61
mov rsi, qword [rsp + 0x2c8]
mov rcx, rbx
call sub.kernel32.dll_CloseHandle
mov rdx, rsi
mov rax, qword [r12 + 0xb0]
mov rcx, qword [rsp + 0x88]
mov qword [rcx], 0
mov qword [rcx + 8], rdx
movabs rdx, 0x8000000000000000
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x48], rax
lea rcx, [rsp + 0x9f8]
call fcn.14005c680
jmp 0x14005dd30
mov edi, dword [rsp + 0x2e0]
mov eax, dword [rsp + 0x2f0]
mov ecx, dword [rsp + 0x2f4]
shl rax, 0x20
or rax, rcx
mov qword [rsp + 0x7a0], rax
mov qword [rsp + 0x7a8], 2
mov qword [rsp + 0x7b0], rbx
mov qword [rsp + 0x790], 1
mov qword [rsp + 0x798], rdi
test rsi, rsi
js 0x14005def3
je 0x14005dbe3
movzx eax, byte [0x140081100]
xor ecx, ecx
mov rdx, rsi
call fcn.140057e30
mov rbx, rax
test rax, rax
jne 0x14005dbe8
mov ecx, 1
mov rdx, rsi
call fcn.14000e2b0
jmp 0x14005df0e
mov ebx, 1
lea r15, [rsp + 0x7a0]
mov rcx, rbx
mov rdx, r14
mov r8, rsi
call sub.msvcrt.dll_memcpy
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x1d8], xmm0
mov rax, qword [r15 + 0x10]
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], rsi
mov qword [rsp + 0x1f8], rbx
mov qword [rsp + 0x200], rsi
mov qword [rsp + 0x1c8], 1
mov qword [rsp + 0x1d0], rdi
mov qword [rsp + 0x208], 0
mov rsi, qword [r12 + 0x38]
cmp rsi, qword [r12 + 0x28]
jne 0x14005dc64
lea rcx, [r12 + 0x28]
call fcn.14005e370
mov rax, qword [r12 + 0x30]
lea rcx, [rsi + rsi*8]
mov rdx, qword [rsp + 0x208]
mov qword [rax + rcx*8 + 0x40], rdx
movups xmm0, xmmword [rsp + 0x1c8]
movups xmm1, xmmword [rsp + 0x1d8]
movups xmm2, xmmword [rsp + 0x1e8]
movups xmm3, xmmword [rsp + 0x1f8]
movups xmmword [rax + rcx*8 + 0x30], xmm3
movups xmmword [rax + rcx*8 + 0x20], xmm2
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8], xmm0
inc rsi
mov qword [r12 + 0x38], rsi
mov rsi, qword [r12 + 0x20]
cmp rsi, qword [r12 + 0x10]
jne 0x14005dccb
lea rcx, [r12 + 0x10]
call fcn.14005e440
imul rcx, rsi, 0x270
add rcx, qword [r12 + 0x18]
lea rdx, [rsp + 0x9f8]
mov r8d, 0x270
call sub.msvcrt.dll_memcpy
inc rsi
mov qword [r12 + 0x20], rsi
mov rax, qword [rsp + 0x180]
cmp rax, qword [r12 + 0x88]
jne 0x14005dd21
mov rax, qword [r12 + 0xa8]
cmp rax, 0xffffffffffffffff
je 0x14005deb4
inc rax
mov qword [r12 + 0xa8], rax
mov rax, qword [rsp + 0x88]
mov qword [rax], 2
add rsp, 0x10d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov edi, eax
test r13, r13
je 0x14005dd5c
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, rbp
call fcn.1400615a4
shl rdi, 0x20
cmp qword [rsp + 0x28], 0
mov r13, qword [rsp + 0x48]
je 0x14005dd7e
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r15
call fcn.1400615a4
or rdi, 2
mov rcx, qword [0x1400810e8]
xor edx, edx
mov r8, r14
call fcn.1400615a4
mov rbp, rdi
mov r14, qword [r13 + 0x68]
test r14, r14
jns 0x14005cb91
jmp 0x14005cbe5
xor ebp, ebp
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x93]
mov dword [rsp + 0xe3], ecx
mov dword [rsp + 0xe0], eax
movaps xmm0, xmmword [rsp + 0x230]
movaps xmmword [rsp + 0x530], xmm0
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x540], rax
lea r15, [rsp + 0x2c0]
lea rdx, [rsp + 0x790]
mov r8d, 0x200
mov rcx, r15
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0xe0]
mov ecx, dword [rsp + 0xe3]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x53], ecx
movaps xmm0, xmmword [rsp + 0x530]
movaps xmmword [rsp + 0x210], xmm0
mov rax, qword [rsp + 0x540]
mov qword [rsp + 0x220], rax
lea rcx, [rsp + 0xed8]
mov r8d, 0x200
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov rdx, rdi
mov rcx, qword [rsp + 0x30]
mov edi, dword [rsp + 0x6c]
mov r13, qword [rsp + 0x178]
mov r15, qword [rsp + 0x170]
mov r8, qword [rsp + 0x58]
jmp 0x14005cc16
lea rcx, [0x140076838]
call fcn.1400112f0
call fcn.14000e2d0
mov ecx, 1
mov rdx, rsi
call fcn.14000e2b0
mov ecx, 1
mov rdx, rsi
call fcn.14000e2b0
jmp 0x14005df0e
lea r8, [0x140076808]
call fcn.14000eb10
lea rcx, [0x140076820]
call fcn.1400112f0
mov ecx, 8
mov edx, 0x240
call fcn.14000e2b0
jmp 0x14005df0e
mov ecx, 8
mov edx, 0x240
call fcn.14000e2b0
jmp 0x14005df0e
mov ecx, 8
mov edx, 0x30
call fcn.14000e310
jmp 0x14005df0e
call fcn.14000e2d0
jmp 0x14005df0e
mov qword [rsp + 0x40], r15
mov ecx, 8
mov edx, 0x30
call fcn.14000e310
ud2