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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2e0
mov qword [rbp + 0x140], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rbx, r9
mov r14, r8
mov r13, rdx
xor edi, edi
mov dword [rbp + 0xf0], edi
mov rax, qword [r9]
mov qword [rbp + 0x118], rax
add rcx, 0x18
lea r8, [rbp + 0x118]
lea rdx, [rsp + 0x28]
call fcn.140183580
nop
mov rax, qword [rsp + 0x28]
cmp byte [rax], dil
je 0x1400ae771
lea rdx, [rsp + 0x28]
lea rcx, [rbp + 0x168]
call fcn.140040d80
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x1400ae771
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x58], edi
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.1401809c0
nop
mov rax, qword [rax]
mov qword [rbp + 0x120], rax
lea rdx, [rbp + 0x120]
lea rcx, [rsp + 0x48]
call fcn.140174940
nop
mov rcx, qword [rbp + 0x50]
add rcx, 0xfffffffffffffff0
lea r15, [0x1402901c8]
or esi, 0xffffffff
cmp rcx, r15
je 0x1400adde8
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400adde8
call fcn.1400bd658
mov ebx, edi
cmp dword [r14 + 0x10], ebx
jle 0x1400ade0a
movsxd rax, ebx
imul rcx, rax, 0xa8
add rcx, qword [r14]
call fcn.1400aeb10
inc ebx
cmp ebx, dword [r14 + 0x10]
jl 0x1400addf0
cmp dword [r14 + 8], 0
je 0x1400ade20
mov rcx, qword [r14]
call fcn.1400c1bd0
mov qword [r14], rdi
mov dword [r14 + 8], edi
mov dword [r14 + 0x10], edi
lea rax, [0x1402901d8]
mov qword [rbp - 0x60], rax
movss xmm0, dword [0x140437280]
movss dword [rbp - 0x1c], xmm0
xorps xmm1, xmm1
movss dword [rbp - 0x18], xmm1
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rdi
mov dword [rbp + 0x18], edi
mov dword [rbp + 0x20], edi
mov qword [rbp + 0x28], rdi
mov dword [rbp + 0x30], edi
mov dword [rbp + 0x38], edi
mov byte [rbp + 0x40], 1
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov dword [rbp - 0x20], eax
mov r12d, edi
cmp dword [rsp + 0x58], edi
jle 0x1400ae705
lea rbx, [0x14028a20a]
lea r13, [0x1404345cc]
cmp edi, dword [rsp + 0x58]
setb al
test al, al
je 0x1400adec1
movsxd rcx, r12d
mov rax, qword [rsp + 0x48]
lea rdx, [rax + rcx*8]
jmp 0x1400adec8
lea rdx, [0x1404b1f80]
mov rdx, qword [rdx]
mov qword [rsp + 0x30], rdx
lea rcx, [rsp + 0x30]
call fcn.140007280
test al, al
je 0x1400adf21
nop
movzx ecx, byte [rdx]
inc rdx
mov qword [rsp + 0x30], rdx
test cl, cl
jns 0x1400adf13
mov eax, 0x40
movsx ecx, cl
test al, cl
je 0x1400adf13
nop dword [rax + rax]
cmp eax, 8
jbe 0x1400adf0e
inc rdx
shr eax, 1
test eax, ecx
jne 0x1400adf00
mov qword [rsp + 0x30], rdx
lea rcx, [rsp + 0x30]
call fcn.140007280
test al, al
jne 0x1400adee0
mov qword [rbp + 0x220], rdx
lea rdx, str.newmtl
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae00e
mov eax, dword [r14 + 0x10]
inc eax
cmp eax, dword [r14 + 8]
jle 0x1400adf6a
mov ecx, eax
test eax, eax
jns 0x1400adf58
lea ecx, [rax + 1]
sar ecx, 1
lea edx, [rax + 8]
add edx, ecx
and edx, 0xfffffff8
mov rcx, r14
call fcn.1400af8e0
movsxd rcx, dword [r14 + 0x10]
lea eax, [rcx + 1]
mov dword [r14 + 0x10], eax
imul rcx, rcx, 0xa8
add rcx, qword [r14]
je 0x1400adf8a
lea rdx, [rbp - 0x60]
call fcn.1400af620
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x58], rax
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x60]
call fcn.140046410
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.14018a2f0
mov rcx, qword [rbp - 0x60]
mov qword [rbp + 0x170], rcx
mov rdx, qword [rax]
mov qword [rbp - 0x60], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0x60]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400adfe4
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400adfe4
call fcn.1400bd658
nop
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae6f0
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae6f0
call fcn.1400bd658
jmp 0x1400ae6f0
lea rdx, [0x1404345f8]
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae0f0
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x238], rax
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x238]
call fcn.1400072a0
mov rcx, qword [rax]
mov qword [rbp + 0x238], rcx
lea rcx, [rbp + 0x238]
call fcn.140045b40
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
lea rdx, [rbp + 0x180]
lea rcx, [rbp + 0x238]
call fcn.1400072a0
mov rcx, qword [rax]
mov qword [rbp + 0x238], rcx
lea rcx, [rbp + 0x238]
call fcn.140045b40
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x238]
call fcn.1400072a0
mov rcx, qword [rax]
mov qword [rbp + 0x238], rcx
lea rcx, [rbp + 0x238]
call fcn.140045b40
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rbp + 0x100], xmm1
movaps xmm0, xmm7
unpcklps xmm0, xmm6
movsd qword [rbp + 0xf8], xmm0
movsd qword [rbp - 0x58], xmm0
mov eax, dword [rbp + 0x100]
mov dword [rbp - 0x50], eax
jmp 0x1400ae6f0
lea rdx, [0x1404345f4]
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae1be
mov rax, qword [rbp + 0x220]
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x20]
call fcn.1400072a0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.140045b40
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm0
lea rdx, [rbp + 0x138]
lea rcx, [rsp + 0x20]
call fcn.1400072a0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.140045b40
xorps xmm6, xmm6
cvtsd2ss xmm6, xmm0
lea rdx, [rbp + 0x188]
lea rcx, [rsp + 0x20]
call fcn.1400072a0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x20]
call fcn.140045b40
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rbp + 0x110], xmm1
movaps xmm0, xmm7
unpcklps xmm0, xmm6
movsd qword [rbp + 0x108], xmm0
movsd qword [rbp - 0x4c], xmm0
mov eax, dword [rbp + 0x110]
mov dword [rbp - 0x44], eax
jmp 0x1400ae6f0
lea rdx, [0x140434600]
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae204
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x68], rax
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x190]
call fcn.1400acaa0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x40], xmm0
mov eax, dword [rax + 8]
mov dword [rbp - 0x38], eax
jmp 0x1400ae6f0
lea rdx, [0x1404345fc]
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae24a
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x70], rax
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x1a0]
call fcn.1400acaa0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x34], xmm0
mov eax, dword [rax + 8]
mov dword [rbp - 0x2c], eax
jmp 0x1400ae6f0
lea rdx, [0x140434608]
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae290
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x78], rax
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x1b0]
call fcn.1400acaa0
movsd xmm0, qword [rax]
movsd qword [rbp - 0x28], xmm0
mov eax, dword [rax + 8]
mov dword [rbp - 0x20], eax
jmp 0x1400ae6f0
lea rdx, [0x140434604]
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae335
mov rdx, qword [rbp + 0x220]
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x38]
call fcn.140007280
test al, al
je 0x1400ae311
nop word [rax + rax]
movzx ecx, byte [rdx]
inc rdx
mov qword [rsp + 0x38], rdx
test cl, cl
jns 0x1400ae303
mov eax, 0x40
movsx ecx, cl
test al, cl
je 0x1400ae303
nop dword [rax + rax]
cmp eax, 8
jbe 0x1400ae2fe
inc rdx
shr eax, 1
test eax, ecx
jne 0x1400ae2f0
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x38]
call fcn.140007280
test al, al
jne 0x1400ae2d0
mov qword [rbp + 0x220], rdx
lea rcx, [rbp + 0x220]
call fcn.140045b40
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rbp - 0x18], xmm1
jmp 0x1400ae6f0
lea rdx, [0x140434614]
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae3d5
mov rdx, qword [rbp + 0x220]
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x40]
call fcn.140007280
test al, al
je 0x1400ae3b1
nop word [rax + rax]
movzx ecx, byte [rdx]
inc rdx
mov qword [rsp + 0x40], rdx
test cl, cl
jns 0x1400ae3a3
mov eax, 0x40
movsx ecx, cl
test al, cl
je 0x1400ae3a3
nop dword [rax + rax]
cmp eax, 8
jbe 0x1400ae39e
inc rdx
shr eax, 1
test eax, ecx
jne 0x1400ae390
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x40]
call fcn.140007280
test al, al
jne 0x1400ae370
mov qword [rbp + 0x220], rdx
lea rcx, [rbp + 0x220]
call fcn.140045b40
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss dword [rbp - 0x1c], xmm1
jmp 0x1400ae6f0
lea rdx, str.map_Ka
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae45c
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x80], rax
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.140046410
nop
lea rdx, [rbp + 0x88]
lea rcx, [rsp + 0x70]
call fcn.14018a2f0
mov rcx, qword [rbp - 0x10]
mov qword [rbp + 0x148], rcx
mov rdx, qword [rax]
mov qword [rbp - 0x10], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0x88]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae452
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae452
call fcn.1400bd658
nop
mov rcx, qword [rsp + 0x70]
jmp 0x1400adfe9
lea rdx, str.map_Kd
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae4e3
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0x90], rax
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x78]
call fcn.140046410
nop
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x78]
call fcn.14018a2f0
mov rcx, qword [rbp - 8]
mov qword [rbp + 0x150], rcx
mov rdx, qword [rax]
mov qword [rbp - 8], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0x98]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae4d9
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae4d9
call fcn.1400bd658
nop
mov rcx, qword [rsp + 0x78]
jmp 0x1400adfe9
lea rdx, str.map_Ks
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae567
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0xa0], rax
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x80]
call fcn.140046410
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp - 0x80]
call fcn.14018a2f0
mov rcx, qword [rbp]
mov qword [rbp + 0x158], rcx
mov rdx, qword [rax]
mov qword [rbp], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0xa8]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae55e
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae55e
call fcn.1400bd658
nop
mov rcx, qword [rbp - 0x80]
jmp 0x1400adfe9
lea rdx, str.map_Ns
lea rcx, [rbp + 0x220]
call fcn.1400acb40
test al, al
je 0x1400ae5ee
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0xb0], rax
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x68]
call fcn.140046410
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x68]
call fcn.14018a2f0
mov rcx, qword [rbp + 8]
mov qword [rbp + 0x160], rcx
mov rdx, qword [rax]
mov qword [rbp + 8], rdx
mov qword [rax], rcx
mov rcx, qword [rbp + 0xb8]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae5e4
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae5e4
call fcn.1400bd658
nop
mov rcx, qword [rsp + 0x68]
jmp 0x1400adfe9
mov qword [rbp - 0x78], rdi
mov dword [rbp - 0x70], edi
mov dword [rbp - 0x68], edi
mov qword [rbp + 0xc0], rbx
mov qword [rbp + 0xc8], r13
mov rax, qword [rbp + 0x220]
mov qword [rbp + 0xd0], rax
lea r9, [rbp + 0xc0]
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0xd0]
lea rcx, [rbp - 0x78]
call fcn.14018c230
mov edi, dword [rbp - 0x68]
cmp edi, 2
jl 0x1400ae6dc
cmp edi, 1
seta al
test al, al
je 0x1400ae652
mov rcx, qword [rbp - 0x78]
add rcx, 8
jmp 0x1400ae659
lea rcx, [0x1404b1f80]
lea rdx, [rbp + 0xe0]
call fcn.14018a2f0
mov rbx, rax
test edi, edi
setne dl
lea rcx, [0x1404b1f80]
test dl, dl
cmovne rcx, qword [rbp - 0x78]
lea rdx, [rbp + 0xd8]
call fcn.14018a2f0
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.1401741f0
mov rcx, qword [rbp + 0xd8]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae6b6
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae6b6
call fcn.1400bd658
nop
mov rcx, qword [rbp + 0xe0]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae6d5
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae6d5
call fcn.1400bd658
lea rbx, [0x14028a20a]
lea rcx, [rbp - 0x78]
call fcn.140031aa0
mov rcx, qword [rbp - 0x78]
call fcn.1400c1bd0
xor edi, edi
inc r12d
cmp r12d, dword [rsp + 0x58]
jl 0x1400adeac
mov r13, qword [rbp + 0x228]
mov ecx, dword [r14 + 0x10]
inc ecx
cmp ecx, dword [r14 + 8]
jle 0x1400ae728
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edx, [rcx + 8]
add edx, eax
and edx, 0xfffffff8
mov rcx, r14
call fcn.1400af8e0
movsxd rcx, dword [r14 + 0x10]
lea eax, [rcx + 1]
mov dword [r14 + 0x10], eax
imul rcx, rcx, 0xa8
add rcx, qword [r14]
je 0x1400ae748
lea rdx, [rbp - 0x60]
call fcn.1400af620
mov rcx, r13
call fcn.140037850
nop
lea rcx, [rbp - 0x60]
call fcn.1400aeb10
nop
lea rcx, [rsp + 0x48]
call fcn.140031aa0
mov rcx, qword [rsp + 0x48]
call fcn.1400c1bd0
jmp 0x1400ae7bc
mov r8, rbx
lea rdx, str.Cannot_open_file:
lea rcx, [rbp + 0xe8]
call fcn.14018d730
mov rdx, rax
mov rcx, r13
call fcn.14017b010
mov rcx, qword [rbp + 0xe8]
add rcx, 0xfffffffffffffff0
lea r15, [0x1402901c8]
or esi, 0xffffffff
cmp rcx, r15
je 0x1400ae7bc
mov eax, esi
lock xadd dword [rcx], eax
test eax, eax
jne 0x1400ae7bc
call fcn.1400bd658
nop
mov rcx, qword [rsp + 0x28]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1400ae7d7
lock xadd dword [rcx], esi
test esi, esi
jne 0x1400ae7d7
call fcn.1400bd658
mov rax, r13
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret