Function at 0x100dd1c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103495a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x1040706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov edi, dword [edi]
mov esi, dword [edi]
cmp esi, edi
je 0x100dd499
nop dword [eax]
cmp dword [esi + 0x128], 0
ja 0x100dd455
lea eax, [esi + 0xe8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100dd4c0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0
jbe 0x100dd2a2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100dd2a2
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
sub esp, 0x18
mov eax, esp
xor ecx, ecx
mov dword [ebp - 0x44], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x4c], eax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100dd270
sub ecx, dword [ebp - 0x4c]
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x44]
push edx
call fcn.10002560
call fcn.1019f94c
add esp, 0x18
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
call fcn.1024a8d1
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], 0
ja 0x100dd3ee
lea eax, [esi + 0x100]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100dd4c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], eax
cmp ecx, eax
je 0x100dd2f2
call fcn.100028d0
mov eax, dword [ebp - 0x44]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x40]
call fcn.100028d0
cmp dword [ebp - 0x18], 0
jbe 0x100dd348
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100dd348
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
sub esp, 0x18
mov eax, esp
push ecx
push eax
call fcn.10196f7f
add esp, 8
call fcn.1019f94c
add esp, 0x18
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
call fcn.1024a8d1
mov dword [esi + 0x34], eax
cmp dword [esi + 0x34], 0
ja 0x100dd3ee
lea eax, [esi + 0x88]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100dd4c0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], eax
cmp ecx, eax
je 0x100dd398
call fcn.100028d0
mov eax, dword [ebp - 0x44]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x40]
call fcn.100028d0
cmp dword [ebp - 0x18], 0
jbe 0x100dd3ee
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100dd3ee
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
sub esp, 0x18
mov eax, esp
push ecx
push eax
call fcn.10196f7f
add esp, 8
call fcn.1019f94c
add esp, 0x18
fstp qword [ebp - 0x48]
movsd xmm0, qword [ebp - 0x48]
call fcn.1024a8d1
mov dword [esi + 0x34], eax
push 0
push dword [esi + 0x34]
lea eax, [ebp - 0x40]
push eax
call fcn.10197298
lea ecx, [esi + 0x118]
mov dword [ebp - 0x44], eax
add esp, 0xc
cmp ecx, eax
je 0x100dd43e
call fcn.100028d0
mov eax, dword [ebp - 0x44]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x118], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x128], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x40]
call fcn.100028d0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.100028d0
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x100dd47b
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x100dd477
cmp esi, dword [eax + 8]
jne 0x100dd477
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x100dd467
mov esi, eax
jmp 0x100dd491
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x100dd491
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x100dd485
cmp esi, edi
jne 0x100dd200
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f99ca
mov esp, ebp
pop ebp
ret 4