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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6628
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x1010f770]
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.10018ce0
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.100252c0
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.1001a3a0
lea ecx, [ebp - 0x218]
call fcn.100209c0
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.1001a1f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x204], 8
jb 0x1001cca8
push dword [ebp - 0x218]
call fcn.1005f16c
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.100257b0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a1f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x218]
call fcn.100256e0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1001cd0c
cmp dword [ebp - 0x14], 8
jb 0x1001ccef
push dword [ebp - 0x28]
call fcn.1005f16c
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.1001ed20
cmp dword [ebp - 0x204], 8
jb 0x1001cd23
push dword [ebp - 0x218]
call fcn.1005f16c
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 0x1001cd3e
test al, 0x10
jne 0x1001cd4e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.10025930
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.1001e3c0
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.1001fa10
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.10019c20
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.10019c20
mov byte [ebp - 4], 7
call fcn.100215e0
add esp, 0x30
test eax, eax
je 0x1001d044
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.1006061b
lea ecx, [esi - 8]
add esp, 4
cmp ecx, eax
jne 0x1001d044
sub esp, 0x18
mov ecx, esp
push str.416D6C646B65
call fcn.10019ac0
lea ecx, [ebp - 0x70]
call fcn.100209c0
mov ecx, esp
mov byte [ebp - 4], 9
push str.6E60
call fcn.10019ac0
lea ecx, [ebp - 0x58]
call fcn.100209c0
add esp, 0x18
push 0x1010154c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xa
call fcn.10019ac0
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.10019ac0
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.10019ac0
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.10019d50
lea ecx, [ebp - 0x218]
call fcn.10020ba0
add esp, 0x18
mov esi, eax
call fcn.1001dc20
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001ceef
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001cef7
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 0x1001cf40
push dword [ebp - 0x218]
call fcn.1005f16c
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 0x1001cf74
push dword [ebp - 0x248]
call fcn.1005f16c
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 0x1001cfa8
push dword [ebp - 0x230]
call fcn.1005f16c
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 0x1001cfe0
push dword [ebp - 0x260]
call fcn.1005f16c
add esp, 4
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x1001cff3
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10019c20
cmp dword [ebp - 0x44], 8
mov esi, 1
jb 0x1001d009
push dword [ebp - 0x58]
call fcn.1005f16c
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 0x1001d02e
push dword [ebp - 0x70]
call fcn.1005f16c
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jmp 0x1001d046
xor esi, esi
cmp dword [ebp - 0x2c], 0x10
jb 0x1001d057
push dword [ebp - 0x40]
call fcn.1005f16c
add esp, 4
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x1001d07d
push dword [ebp - 0x88]
call fcn.1005f16c
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 0x1001d0a5
push dword [ebp - 0x28]
call fcn.1005f16c
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 0x1001d0d0
push dword [ebp - 0xa0]
call fcn.1005f16c
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 0x1001d104
push dword [ebp - 0xb8]
call fcn.1005f16c
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 0x1001d132
push dword [ebp + 8]
call fcn.1005f16c
add esp, 4
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1001d155
push dword [ebp + 0x20]
call fcn.1005f16c
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.1005f171
mov esp, ebp
pop ebp
ret