Function at 0x14004f820
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.140054390
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 0x140050e39
mov r13, r8
mov qword [rsp + 0x180], rax
cmp rax, qword [r12 + 0x88]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x48], r8
jne 0x14004f9db
cmp rdx, rcx
jbe 0x140050e66
mov r14, qword [r12 + 0x18]
imul rax, rcx, 0x270
cmp dword [r14 + rax + 0x10], 3
je 0x14004f9db
add r14, rax
lea rcx, [rsp + 0x790]
mov rdx, r14
call fcn.140051880
cmp dword [rsp + 0x790], 3
jne 0x14004f8cc
mov r15d, 8
xor esi, esi
xor edi, edi
jmp 0x14004f9b0
movzx eax, byte [0x1400670e8]
mov ecx, 0x240
call fcn.14004a330
test rax, rax
je 0x140050e8f
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 0x14004f96c
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.140051880
cmp dword [rsp + 0x2c0], 3
je 0x14004f99e
cmp rsi, qword [rsp + 0x530]
jne 0x14004f948
mov r8d, 1
mov rcx, r13
mov rdx, rsi
call fcn.1400516d0
jmp 0x14004f940
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.14004f650
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 0x14004fb9c
js 0x140050e45
mov r15, qword [r13 + 0x60]
movzx eax, byte [0x1400670e8]
mov rcx, rsi
call fcn.14004a330
test rax, rax
je 0x140050e4a
mov r14, rax
mov rcx, rax
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x1400670e8]
mov rcx, rsi
call fcn.14004a330
test rax, rax
je 0x140050e57
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_nm
lea rcx, [rsp + 0x2c0]
mov r8d, 1
call fcn.14003be90
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.140039e00
mov rax, qword [rsp + 0x530]
mov rbp, qword [rsp + 0x538]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x14004fb2a
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.140039fb0
mov r13, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x14004fe97
mov r13, qword [rsp + 0x48]
cmp qword [rsp + 0x28], 0
je 0x14004fb43
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, r15
call fcn.14005452c
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, r14
call fcn.14005452c
mov r14, qword [r13 + 0x68]
test r14, r14
js 0x14004fbaf
mov rax, qword [r12 + 0xb0]
mov qword [rsp + 0x38], rax
mov rbx, qword [r13 + 0x60]
mov r15, rbp
je 0x14004fbbc
movzx eax, byte [0x1400670e8]
mov rcx, r14
call fcn.14004a330
mov rsi, rax
test rax, rax
jne 0x14004fbc1
mov ecx, 1
mov rdx, r14
call fcn.140004630
jmp 0x140050ecc
movabs rbp, 0x300000002
mov r14, qword [r13 + 0x68]
test r14, r14
jns 0x14004fb5d
mov r15, rbp
call fcn.140004650
jmp 0x140050ecc
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 0x140050a37
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 0x14004fd91
mov rdx, qword [rsp + 0xc88]
cmp rdx, qword [rsp + 0xc98]
je 0x14004fffd
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 0x14005008f
jmp 0x1400502a0
cmp eax, 2
jne 0x14004fddd
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0xc80], 2
cmp rax, 2
jne 0x140050026
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
jmp 0x1400500d6
mov rsi, qword [rsp + 0xed0]
lea rcx, [rsp + 0x2c0]
lea rdx, [rsp + 0xc68]
call fcn.14003bbe0
test byte [rsp + 0x2c0], 1
je 0x140050080
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [rsp + 0x2d0]
test rcx, rcx
je 0x1400501be
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.140052c90
mov rax, qword [rsp + 0x790]
lock dec qword [rax]
jne 0x14004fe82
mov rcx, qword [rsp + 0x790]
call fcn.14000daf0
mov rcx, qword [rsp + 0x530]
mov rax, qword [rsp + 0x538]
jmp 0x1400501f6
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 0x140050127
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r15
movzx eax, byte [0x1400670e8]
mov ecx, 0x30
call fcn.14004a330
test rax, rax
je 0x140050ea0
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 0x14004ffd4
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, rbp
call fcn.14005452c
cmp qword [rsp + 0x28], 0
je 0x1400501b4
mov ebp, 1
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, qword [rsp + 0x40]
call fcn.14005452c
jmp 0x140050d6d
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
jmp 0x1400500c4
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 0x1400502a0
mov ecx, 3
cmp rcx, 3
jne 0x1400502a0
mov eax, dword [rsp + 0xc78]
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
cmp eax, 2
je 0x1400500d6
cmp eax, 3
jne 0x1400500f6
lea rcx, [rsp + 0xc80]
call fcn.1400529d0
jmp 0x1400507c4
cmp dword [rsp + 0xc80], 2
je 0x1400507c4
lea rcx, [rsp + 0xc80]
call fcn.140051530
jmp 0x1400507c4
mov rcx, qword [rsp + 0xc70]
call sub.kernel32.dll_FindClose
mov rax, qword [rsp + 0xc68]
lock dec qword [rax]
jne 0x1400507c4
mov rcx, qword [rsp + 0xc68]
call fcn.14000daf0
jmp 0x1400507c4
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x140050d02
movzx eax, byte [0x1400670e8]
mov ecx, 0x30
call fcn.14004a330
test rax, rax
je 0x140050eb8
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 0x140050187
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, rbp
call fcn.14005452c
mov qword [rsp + 0x30], 0xffffffffffffffff
cmp qword [rsp + 0x28], 0
je 0x140050d66
mov rcx, qword [0x1400670d0]
xor ebp, ebp
xor edx, edx
mov r8, r15
call fcn.14005452c
jmp 0x140050d68
mov ebp, 1
jmp 0x140050d6d
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 0x14005008f
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 [0x1400670e8]
mov ecx, 0x240
call fcn.14004a330
test rax, rax
je 0x140050e7e
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 0x140050406
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 0x1400504c0
mov rcx, qword [rsp + 0x2e0]
cmp rcx, qword [rsp + 0x2f0]
je 0x140050757
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 0x140050690
cmp eax, 2
jne 0x140050530
mov rdi, qword [rsp + 0x2d8]
mov qword [rsp + 0x2d8], 2
cmp rdi, 2
je 0x140050766
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 0x1400506a2
mov rsi, qword [rsp + 0x528]
mov rcx, r12
mov rdx, r14
call fcn.14003bbe0
mov eax, 3
test byte [rsp + 0x790], 1
je 0x140050690
mov rcx, qword [rsp + 0x798]
mov rax, qword [rsp + 0x7a0]
test rcx, rcx
je 0x1400505de
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.140052c90
mov rax, qword [rsp + 0x530]
lock dec qword [rax]
jne 0x1400505cc
mov rcx, qword [rsp + 0x530]
call fcn.14000daf0
mov rax, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
jmp 0x140050616
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 0x140050746
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 0x1400503e0
mov r8d, 1
mov rcx, rbp
mov rdx, rsi
call fcn.1400516d0
jmp 0x1400503e0
mov eax, dword [rsp + 0x2d0]
cmp eax, 2
je 0x140050766
cmp eax, 3
jne 0x14005077f
lea rcx, [rsp + 0x2d8]
call fcn.1400529d0
jmp 0x1400507a7
cmp dword [rsp + 0x2d8], 2
je 0x1400507a7
lea rcx, [rsp + 0x2d8]
call fcn.140051530
jmp 0x1400507a7
mov rcx, qword [rsp + 0x2c8]
call sub.kernel32.dll_FindClose
mov rax, qword [rsp + 0x2c0]
lock dec qword [rax]
jne 0x1400507a7
mov rcx, qword [rsp + 0x2c0]
call fcn.14000daf0
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 0x1400509ef
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x15
jae 0x1400509df
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 0x140050882
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 0x1400509ef
lea rsi, [r12 - 0x90]
cmp dword [r12], 2
mov rax, qword [r12 - 0x90]
jne 0x1400508a0
cmp eax, 2
je 0x14005085d
jmp 0x1400508c4
cmp eax, 2
je 0x14005085d
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 0x14005085d
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 0x14005084a
cmp dword [rsp + 0x2c0], 2
mov rdi, r14
mov rbp, r15
jne 0x14005098e
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 0x14005084a
lea rdx, [rdi + rsi]
add rdx, 0xffffffffffffff70
mov r8d, 0x90
call sub.msvcrt.dll_memcpy
add rsi, 0xffffffffffffff70
jne 0x140050920
mov rcx, rdi
jmp 0x14005084a
cmp eax, 2
je 0x1400509d5
add rsi, 0xffffffffffffff70
mov r8d, 0x90
mov rdx, rbp
call sub.msvcrt.dll_memcpy
add rbp, 0xffffffffffffff70
add rdi, 0x90
je 0x14005083d
lea rcx, [rbp + 0x90]
cmp dword [rsp + 0x2c0], 2
mov rax, qword [rbp]
je 0x140050960
cmp eax, 2
je 0x1400509d2
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 0x140050965
mov rcx, rsi
mov rdi, qword [rsp + 0x28]
jmp 0x140050845
lea r8, [rsp + 0x530]
mov rcx, rdi
call fcn.140051bc0
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 0x140050c73
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.140039a70
test rax, rax
jne 0x140050ae2
lea rcx, [rsp + 0x2c0]
mov rbx, rdx
call fcn.140051cd0
cmp dword [rsp + 0x2c0], 1
jne 0x140050b21
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.14004f650
jmp 0x140050cee
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 0x140050eb1
je 0x140050ba1
movzx eax, byte [0x1400670e8]
mov rcx, rsi
call fcn.14004a330
mov rbx, rax
test rax, rax
jne 0x140050ba6
mov ecx, 1
mov rdx, rsi
call fcn.140004630
jmp 0x140050ecc
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 0x140050c22
lea rcx, [r12 + 0x28]
call fcn.1400513a0
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 0x140050c89
lea rcx, [r12 + 0x10]
call fcn.140051470
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 0x140050cdf
mov rax, qword [r12 + 0xa8]
cmp rax, 0xffffffffffffffff
je 0x140050e72
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 0x140050d1a
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, rbp
call fcn.14005452c
shl rdi, 0x20
cmp qword [rsp + 0x28], 0
mov r13, qword [rsp + 0x48]
je 0x140050d3c
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, r15
call fcn.14005452c
or rdi, 2
mov rcx, qword [0x1400670d0]
xor edx, edx
mov r8, r14
call fcn.14005452c
mov rbp, rdi
mov r14, qword [r13 + 0x68]
test r14, r14
jns 0x14004fb5d
jmp 0x14004fbaf
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 0x14004fbe0
lea rcx, [0x14005eec8]
call fcn.140006c30
call fcn.140004650
mov ecx, 1
mov rdx, rsi
call fcn.140004630
mov ecx, 1
mov rdx, rsi
call fcn.140004630
jmp 0x140050ecc
lea r8, [0x14005ee98]
call fcn.140004d60
lea rcx, [0x14005eeb0]
call fcn.140006c30
mov ecx, 8
mov edx, 0x240
call fcn.140004630
jmp 0x140050ecc
mov ecx, 8
mov edx, 0x240
call fcn.140004630
jmp 0x140050ecc
mov ecx, 8
mov edx, 0x30
call fcn.140004690
jmp 0x140050ecc
call fcn.140004650
jmp 0x140050ecc
mov qword [rsp + 0x40], r15
mov ecx, 8
mov edx, 0x30
call fcn.140004690
ud2