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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6898
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10111770]
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.10018ef0
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.10025230
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.1001a6a0
lea ecx, [ebp - 0x218]
call fcn.100210b0
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.1001a4f0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x204], 8
jb 0x1001d298
push dword [ebp - 0x218]
call fcn.1005f2ec
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10025850
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a4f0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x218]
call fcn.10025650
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1001d2fc
cmp dword [ebp - 0x14], 8
jb 0x1001d2df
push dword [ebp - 0x28]
call fcn.1005f2ec
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.10019ff0
cmp dword [ebp - 0x204], 8
jb 0x1001d313
push dword [ebp - 0x218]
call fcn.1005f2ec
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 0x1001d32e
test al, 0x10
jne 0x1001d33e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.100259d0
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.1001e9b0
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.1001ff30
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.10019ec0
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.10019ec0
mov byte [ebp - 4], 7
call fcn.10021790
add esp, 0x30
test eax, eax
je 0x1001d634
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.1006079b
lea ecx, [esi - 8]
add esp, 4
cmp ecx, eax
jne 0x1001d634
sub esp, 0x18
mov ecx, esp
push str.416465
call fcn.10019cb0
lea ecx, [ebp - 0x70]
call fcn.100210b0
mov ecx, esp
mov byte [ebp - 4], 9
push str.6E60
call fcn.10019cb0
lea ecx, [ebp - 0x58]
call fcn.100210b0
add esp, 0x18
push 0x1010251c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xa
call fcn.10019cb0
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.10019cb0
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.10019cb0
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.1001a050
lea ecx, [ebp - 0x218]
call fcn.10021290
add esp, 0x18
mov esi, eax
call fcn.10019d40
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001d4df
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001d4e7
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 0x1001d530
push dword [ebp - 0x218]
call fcn.1005f2ec
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 0x1001d564
push dword [ebp - 0x248]
call fcn.1005f2ec
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 0x1001d598
push dword [ebp - 0x230]
call fcn.1005f2ec
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 0x1001d5d0
push dword [ebp - 0x260]
call fcn.1005f2ec
add esp, 4
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x1001d5e3
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.10019ec0
cmp dword [ebp - 0x44], 8
mov esi, 1
jb 0x1001d5f9
push dword [ebp - 0x58]
call fcn.1005f2ec
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 0x1001d61e
push dword [ebp - 0x70]
call fcn.1005f2ec
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jmp 0x1001d636
xor esi, esi
cmp dword [ebp - 0x2c], 0x10
jb 0x1001d647
push dword [ebp - 0x40]
call fcn.1005f2ec
add esp, 4
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x1001d66d
push dword [ebp - 0x88]
call fcn.1005f2ec
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 0x1001d695
push dword [ebp - 0x28]
call fcn.1005f2ec
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 0x1001d6c0
push dword [ebp - 0xa0]
call fcn.1005f2ec
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 0x1001d6f4
push dword [ebp - 0xb8]
call fcn.1005f2ec
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 0x1001d722
push dword [ebp + 8]
call fcn.1005f2ec
add esp, 4
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1001d745
push dword [ebp + 0x20]
call fcn.1005f2ec
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.1005f2f1
mov esp, ebp
pop ebp
ret