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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018c78d
mov eax, dword fs:[0]
push eax
sub esp, 0xd88
mov eax, dword [0x10207514]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xd4c], eax
mov dword [edi], 0xffffffff
mov dword [edi + 4], 0xffffffff
cmp dword [esi + 0x10], 0
je 0x100f97eb
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100f9500
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x100f97eb
cmp dword [ebx + 0x18], 0
jne 0x100f9522
mov dword [edi + 4], 0xa8003c
jmp 0x100f97f1
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movlpd qword [ebp - 0xd78], xmm0
mov dword [ebp - 0xd6c], 0
movlpd qword [ebp - 0xd5c], xmm0
mov dword [ebp - 0xd50], 0
movlpd qword [ebp - 0xd88], xmm0
mov dword [ebp - 0xc24], 0xaac56b
mov dword [ebp - 0xc20], 0x11d0cd44
mov dword [ebp - 0xc1c], 0xc000c28c
mov dword [ebp - 0xc18], 0xee95c24f
mov dword [ebp - 0xd90], 0x10
jb 0x100f958b
mov esi, dword [esi]
lea eax, [ebp - 0xd90]
mov dword [ebp - 0xd8c], esi
mov ecx, 0x1021277c
mov dword [ebp - 0xd7c], 0x30
mov dword [ebp - 0xd70], 2
mov dword [ebp - 0xd54], 0x100
mov dword [ebp - 0xd68], 1
mov dword [ebp - 0xd60], 1
mov dword [ebp - 0xd64], eax
mov dword [ebp - 0xd48], 0x1021277c
call fcn.10003430
mov dword [ebp - 4], 0
cmp dword [0x10212778], 0
jne 0x100f9621
push 0x34
call fcn.10161f74
mov esi, eax
add esp, 4
mov dword [ebp - 0xd80], esi
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10003fa0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 0
mov dword [0x10212778], esi
lea ecx, [ebp - 0xd48]
mov dword [ebp - 4], 0xffffffff
call fcn.100077d0
lea eax, [ebp - 0xd44]
push eax
call fcn.100f7e70
test al, al
je 0x100f9658
cmp dword [ebp - 0xd40], 6
jb 0x100f9658
or dword [ebp - 0xd54], 0x1200
jmp 0x100f965f
or dword [ebp - 0xd54], 0x10
lea eax, [ebp - 0xd7c]
push eax
lea eax, [ebp - 0xc24]
push eax
mov eax, dword [ebx + 0x18]
push 0xffffffffffffffff
call eax
push 0x800
mov esi, eax
lea eax, [ebp - 0xc14]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp esi, 0x800b0100
je 0x100f97b9
mov eax, dword [ebp - 0xd5c]
test eax, eax
je 0x100f97e0
push eax
mov eax, dword [ebx + 0x1c]
call eax
test eax, eax
je 0x100f97e0
push 0
push 0
push 0
push eax
mov eax, dword [ebx + 0x20]
call eax
test eax, eax
je 0x100f97e0
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x100f97e0
cmp dword [eax + 0xc], 0
je 0x100f97e0
mov eax, dword [ecx + 4]
test eax, eax
je 0x100f97e0
mov esi, dword [eax + 0xc]
test esi, esi
je 0x100f97e0
push 0x400
lea eax, [ebp - 0x414]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x24]
add esp, 0xc
add esi, 0x30
test eax, eax
je 0x100f97e0
push 0
push 0
push 3
push esi
push 1
call eax
cmp eax, 0x200
ja 0x100f97e0
push 0x200
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebx + 0x24]
push 3
push esi
push 1
call eax
cmp eax, 0x200
jae 0x100f9754
xor ecx, ecx
mov word [ebp + eax*2 - 0x414], cx
push ecx
lea eax, [ebp - 0xc14]
push eax
push 0x101c5f9c
lea eax, [ebp - 0x414]
push eax
call fcn.100f9310
test al, al
jne 0x100f978e
push ecx
lea eax, [ebp - 0xc14]
push eax
push 0x101c5fa4
lea eax, [ebp - 0x414]
push eax
call fcn.100f9310
test al, al
je 0x100f97e0
lea edx, [ebp - 0xc14]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100f9797
mov ecx, dword [ebp - 0xd4c]
lea eax, [ebp - 0xc14]
sub edx, esi
sar edx, 1
push edx
push eax
call fcn.100094b0
mov dword [edi], 0
lea eax, [ebp - 0xd7c]
mov dword [ebp - 0xd60], 2
push eax
lea eax, [ebp - 0xc24]
push eax
mov eax, dword [ebx + 0x18]
push 0xffffffffffffffff
call eax
jmp 0x100f97f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
jmp 0x100f97bf
mov dword [edi], 0xa80038
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10161f63
mov esp, ebp
pop ebp
ret 0xc