Function at 0x140046850
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.14004b410
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 0x140047e69
mov r13, r8
mov qword [rsp + 0x180], rax
cmp rax, qword [r12 + 0x88]
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x48], r8
jne 0x140046a0b
cmp rdx, rcx
jbe 0x140047e96
mov r14, qword [r12 + 0x18]
imul rax, rcx, 0x270
cmp dword [r14 + rax + 0x10], 3
je 0x140046a0b
add r14, rax
lea rcx, [rsp + 0x790]
mov rdx, r14
call fcn.1400488b0
cmp dword [rsp + 0x790], 3
jne 0x1400468fc
mov r15d, 8
xor esi, esi
xor edi, edi
jmp 0x1400469e0
movzx eax, byte [0x14005c0c8]
mov ecx, 0x240
call fcn.140042720
test rax, rax
je 0x140047ebf
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 0x14004699c
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.1400488b0
cmp dword [rsp + 0x2c0], 3
je 0x1400469ce
cmp rsi, qword [rsp + 0x530]
jne 0x140046978
mov r8d, 1
mov rcx, r13
mov rdx, rsi
call fcn.140048700
jmp 0x140046970
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.140046620
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 0x140046bc9
js 0x140047e75
mov r15, qword [r13 + 0x60]
movzx eax, byte [0x14005c0c8]
mov rcx, rsi
call fcn.140042720
test rax, rax
je 0x140047e7a
mov r14, rax
mov rcx, rax
mov rdx, r15
mov r8, rsi
call sub.msvcrt.dll_memcpy
movzx eax, byte [0x14005c0c8]
mov rcx, rsi
call fcn.140042720
test rax, rax
je 0x140047e87
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_n
lea rcx, [rsp + 0x2c0]
mov r8d, 1
call fcn.140040370
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.14003df50
mov rax, qword [rsp + 0x530]
mov rbp, qword [rsp + 0x538]
movabs rcx, 0x8000000000000000
cmp rax, rcx
je 0x140046b57
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]
call fcn.14003e260
mov r13, qword [rsp + 0xe0]
mov rbp, qword [rsp + 0xe8]
movabs rax, 0x8000000000000000
cmp r13, rax
jne 0x140046ec4
mov r13, qword [rsp + 0x48]
cmp qword [rsp + 0x28], 0
je 0x140046b70
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapFree
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapFree
mov r14, qword [r13 + 0x68]
test r14, r14
js 0x140046bdc
mov rax, qword [r12 + 0xb0]
mov qword [rsp + 0x38], rax
mov rbx, qword [r13 + 0x60]
mov r15, rbp
je 0x140046be9
movzx eax, byte [0x14005c0c8]
mov rcx, r14
call fcn.140042720
mov rsi, rax
test rax, rax
jne 0x140046bee
mov ecx, 1
mov rdx, r14
call fcn.1400078d0
jmp 0x140047efc
movabs rbp, 0x300000002
mov r14, qword [r13 + 0x68]
test r14, r14
jns 0x140046b8a
mov r15, rbp
call fcn.1400078f0
jmp 0x140047efc
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 0x140047a67
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 0x140046dbe
mov rdx, qword [rsp + 0xc88]
cmp rdx, qword [rsp + 0xc98]
je 0x14004702a
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 0x1400470bc
jmp 0x1400472cd
cmp eax, 2
jne 0x140046e0a
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0xc80], 2
cmp rax, 2
jne 0x140047053
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
jmp 0x140047103
mov rsi, qword [rsp + 0xed0]
lea rcx, [rsp + 0x2c0]
lea rdx, [rsp + 0xc68]
call fcn.1400400c0
test byte [rsp + 0x2c0], 1
je 0x1400470ad
mov rcx, qword [rsp + 0x2c8]
mov rax, qword [rsp + 0x2d0]
test rcx, rcx
je 0x1400471eb
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.140049d10
mov rax, qword [rsp + 0x790]
lock dec qword [rax]
jne 0x140046eaf
mov rcx, qword [rsp + 0x790]
call fcn.140048d00
mov rcx, qword [rsp + 0x530]
mov rax, qword [rsp + 0x538]
jmp 0x140047223
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 0x140047154
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r15
movzx eax, byte [0x14005c0c8]
mov ecx, 0x30
call fcn.140042720
test rax, rax
je 0x140047ed0
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 0x140047001
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapFree
cmp qword [rsp + 0x28], 0
je 0x1400471e1
mov ebp, 1
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, qword [rsp + 0x40]
call sub.kernel32.dll_HeapFree
jmp 0x140047d9d
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
jmp 0x1400470f1
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 0x1400472cd
mov ecx, 3
cmp rcx, 3
jne 0x1400472cd
mov eax, dword [rsp + 0xc78]
mov qword [rsp + 0x790], 0
mov qword [rsp + 0x798], 8
mov qword [rsp + 0x7a0], 0
cmp eax, 2
je 0x140047103
cmp eax, 3
jne 0x140047123
lea rcx, [rsp + 0xc80]
call fcn.140049a50
jmp 0x1400477f4
cmp dword [rsp + 0xc80], 2
je 0x1400477f4
lea rcx, [rsp + 0xc80]
call fcn.140048560
jmp 0x1400477f4
mov rcx, qword [rsp + 0xc70]
call sub.kernel32.dll_FindClose
mov rax, qword [rsp + 0xc68]
lock dec qword [rax]
jne 0x1400477f4
mov rcx, qword [rsp + 0xc68]
call fcn.140048d00
jmp 0x1400477f4
call sub.kernel32.dll_GetLastError
cmp eax, 2
jne 0x140047d32
movzx eax, byte [0x14005c0c8]
mov ecx, 0x30
call fcn.140042720
test rax, rax
je 0x140047ee8
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 0x1400471b4
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapFree
mov qword [rsp + 0x30], 0xffffffffffffffff
cmp qword [rsp + 0x28], 0
je 0x140047d96
mov rcx, qword [0x14005c0b0]
xor ebp, ebp
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapFree
jmp 0x140047d98
mov ebp, 1
jmp 0x140047d9d
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 0x1400470bc
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 [0x14005c0c8]
mov ecx, 0x240
call fcn.140042720
test rax, rax
je 0x140047eae
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 0x140047436
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 0x1400474f0
mov rcx, qword [rsp + 0x2e0]
cmp rcx, qword [rsp + 0x2f0]
je 0x140047787
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 0x1400476c0
cmp eax, 2
jne 0x140047560
mov rdi, qword [rsp + 0x2d8]
mov qword [rsp + 0x2d8], 2
cmp rdi, 2
je 0x140047796
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 0x1400476d2
mov rsi, qword [rsp + 0x528]
mov rcx, r12
mov rdx, r14
call fcn.1400400c0
mov eax, 3
test byte [rsp + 0x790], 1
je 0x1400476c0
mov rcx, qword [rsp + 0x798]
mov rax, qword [rsp + 0x7a0]
test rcx, rcx
je 0x14004760e
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.140049d10
mov rax, qword [rsp + 0x530]
lock dec qword [rax]
jne 0x1400475fc
mov rcx, qword [rsp + 0x530]
call fcn.140048d00
mov rax, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
jmp 0x140047646
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 0x140047776
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 0x140047410
mov r8d, 1
mov rcx, rbp
mov rdx, rsi
call fcn.140048700
jmp 0x140047410
mov eax, dword [rsp + 0x2d0]
cmp eax, 2
je 0x140047796
cmp eax, 3
jne 0x1400477af
lea rcx, [rsp + 0x2d8]
call fcn.140049a50
jmp 0x1400477d7
cmp dword [rsp + 0x2d8], 2
je 0x1400477d7
lea rcx, [rsp + 0x2d8]
call fcn.140048560
jmp 0x1400477d7
mov rcx, qword [rsp + 0x2c8]
call sub.kernel32.dll_FindClose
mov rax, qword [rsp + 0x2c0]
lock dec qword [rax]
jne 0x1400477d7
mov rcx, qword [rsp + 0x2c0]
call fcn.140048d00
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 0x140047a1f
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x15
jae 0x140047a0f
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 0x1400478b2
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 0x140047a1f
lea rsi, [r12 - 0x90]
cmp dword [r12], 2
mov rax, qword [r12 - 0x90]
jne 0x1400478d0
cmp eax, 2
je 0x14004788d
jmp 0x1400478f4
cmp eax, 2
je 0x14004788d
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 0x14004788d
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 0x14004787a
cmp dword [rsp + 0x2c0], 2
mov rdi, r14
mov rbp, r15
jne 0x1400479be
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 0x14004787a
lea rdx, [rdi + rsi]
add rdx, 0xffffffffffffff70
mov r8d, 0x90
call sub.msvcrt.dll_memcpy
add rsi, 0xffffffffffffff70
jne 0x140047950
mov rcx, rdi
jmp 0x14004787a
cmp eax, 2
je 0x140047a05
add rsi, 0xffffffffffffff70
mov r8d, 0x90
mov rdx, rbp
call sub.msvcrt.dll_memcpy
add rbp, 0xffffffffffffff70
add rdi, 0x90
je 0x14004786d
lea rcx, [rbp + 0x90]
cmp dword [rsp + 0x2c0], 2
mov rax, qword [rbp]
je 0x140047990
cmp eax, 2
je 0x140047a02
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 0x140047995
mov rcx, rsi
mov rdi, qword [rsp + 0x28]
jmp 0x140047875
lea r8, [rsp + 0x530]
mov rcx, rdi
call fcn.140048bf0
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 0x140047ca3
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.14003dbc0
test rax, rax
jne 0x140047b12
lea rcx, [rsp + 0x2c0]
mov rbx, rdx
call fcn.140048d50
cmp dword [rsp + 0x2c0], 1
jne 0x140047b51
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.140046620
jmp 0x140047d1e
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 0x140047ee1
je 0x140047bd1
movzx eax, byte [0x14005c0c8]
mov rcx, rsi
call fcn.140042720
mov rbx, rax
test rax, rax
jne 0x140047bd6
mov ecx, 1
mov rdx, rsi
call fcn.1400078d0
jmp 0x140047efc
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 0x140047c52
lea rcx, [r12 + 0x28]
call fcn.1400483d0
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 0x140047cb9
lea rcx, [r12 + 0x10]
call fcn.1400484a0
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 0x140047d0f
mov rax, qword [r12 + 0xa8]
cmp rax, 0xffffffffffffffff
je 0x140047ea2
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 0x140047d4a
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, rbp
call sub.kernel32.dll_HeapFree
shl rdi, 0x20
cmp qword [rsp + 0x28], 0
mov r13, qword [rsp + 0x48]
je 0x140047d6c
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, r15
call sub.kernel32.dll_HeapFree
or rdi, 2
mov rcx, qword [0x14005c0b0]
xor edx, edx
mov r8, r14
call sub.kernel32.dll_HeapFree
mov rbp, rdi
mov r14, qword [r13 + 0x68]
test r14, r14
jns 0x140046b8a
jmp 0x140046bdc
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 0x140046c0d
lea rcx, [0x140054ef8]
call fcn.140009ed0
call fcn.1400078f0
mov ecx, 1
mov rdx, rsi
call fcn.1400078d0
mov ecx, 1
mov rdx, rsi
call fcn.1400078d0
jmp 0x140047efc
lea r8, [0x140054ec8]
call fcn.140008000
lea rcx, [0x140054ee0]
call fcn.140009ed0
mov ecx, 8
mov edx, 0x240
call fcn.1400078d0
jmp 0x140047efc
mov ecx, 8
mov edx, 0x240
call fcn.1400078d0
jmp 0x140047efc
mov ecx, 8
mov edx, 0x30
call fcn.140007930
jmp 0x140047efc
call fcn.1400078f0
jmp 0x140047efc
mov qword [rsp + 0x40], r15
mov ecx, 8
mov edx, 0x30
call fcn.140007930
ud2