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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100da9d8
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10115770]
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, ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 4], 1
call fcn.100194c0
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.10028310
sub esp, 0x10
mov byte [ebp - 4], 3
mov ecx, esp
xor eax, eax
push 8
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.2C766F72
mov word [ecx], ax
call fcn.1001ac60
lea ecx, [ebp - 0x218]
call fcn.10022410
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.1001aab0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x204], 8
jb 0x1001e058
push dword [ebp - 0x218]
call fcn.1006269c
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10028930
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.1001aab0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x218]
call fcn.10028730
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1001e0bc
cmp dword [ebp - 0x14], 8
jb 0x1001e09f
push dword [ebp - 0x28]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.1001a560
cmp dword [ebp - 0x204], 8
jb 0x1001e0d3
push dword [ebp - 0x218]
call fcn.1006269c
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001e0ee
test al, 0x10
jne 0x1001e0fe
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.10028c90
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.1001f970
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.10021090
sub esp, 0x14
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x200], esp
lea eax, [ebp - 0x40]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1001a430
sub esp, 0x18
mov byte [ebp - 4], 8
mov ecx, esp
lea eax, [ebp + 8]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.1001a430
mov byte [ebp - 4], 7
call fcn.100231d0
add esp, 0x30
test eax, eax
je 0x1001e3f4
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x1f8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
xor esi, esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
push eax
cmovne esi, dword [ebp - 0x1d8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.10063bdd
lea ecx, [esi - 8]
add esp, 4
cmp ecx, eax
jne 0x1001e3f4
sub esp, 0x18
mov ecx, esp
push str.416465
call fcn.1001a160
lea ecx, [ebp - 0x70]
call fcn.10022410
mov ecx, esp
mov byte [ebp - 4], 9
push str.6E60
call fcn.1001a160
lea ecx, [ebp - 0x58]
call fcn.10022410
add esp, 0x18
push 0x1010655c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xa
call fcn.1001a160
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x230]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1001a160
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x248]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.1001a160
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x88]
push eax
call fcn.1001a610
lea ecx, [ebp - 0x218]
call fcn.100225f0
add esp, 0x18
mov esi, eax
call fcn.1001a2b0
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001e29f
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001e2a7
mov esi, dword [esi]
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
push edx
cmovae ecx, dword [ebp - 0x230]
lea eax, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
push esi
cmovae eax, dword [ebp - 0x248]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
cmp dword [ebp - 0x204], 8
jb 0x1001e2f0
push dword [ebp - 0x218]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x204], 7
cmp dword [ebp - 0x234], 8
mov dword [ebp - 0x208], 0
mov word [ebp - 0x218], ax
jb 0x1001e324
push dword [ebp - 0x248]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x234], 7
cmp dword [ebp - 0x21c], 8
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
jb 0x1001e358
push dword [ebp - 0x230]
call fcn.1006269c
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x24c], 8
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
jb 0x1001e390
push dword [ebp - 0x260]
call fcn.1006269c
add esp, 4
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x1001e3a3
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.1001a430
cmp dword [ebp - 0x44], 8
mov esi, 1
jb 0x1001e3b9
push dword [ebp - 0x58]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
jb 0x1001e3de
push dword [ebp - 0x70]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jmp 0x1001e3f6
xor esi, esi
cmp dword [ebp - 0x2c], 0x10
jb 0x1001e407
push dword [ebp - 0x40]
call fcn.1006269c
add esp, 4
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x1001e42d
push dword [ebp - 0x88]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
jb 0x1001e455
push dword [ebp - 0x28]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x8c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
jb 0x1001e480
push dword [ebp - 0xa0]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0x8c], 7
cmp dword [ebp - 0xa4], 8
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], ax
jb 0x1001e4b4
push dword [ebp - 0xb8]
call fcn.1006269c
add esp, 4
xor eax, eax
mov dword [ebp - 0xa4], 7
cmp dword [ebp + 0x1c], 0x10
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
jb 0x1001e4e2
push dword [ebp + 8]
call fcn.1006269c
add esp, 4
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1001e505
push dword [ebp + 0x20]
call fcn.1006269c
add esp, 4
mov eax, esi
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.100626a1
mov esp, ebp
pop ebp
ret