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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7e48
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10112770]
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.10019220
sub esp, 8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa0]
call fcn.10025bb0
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.1001a9d0
lea ecx, [ebp - 0x218]
call fcn.10021430
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.1001a820
mov byte [ebp - 4], 3
cmp dword [ebp - 0x204], 8
jb 0x1001d418
push dword [ebp - 0x218]
call fcn.1005fb8c
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10025720
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a820
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x218]
call fcn.10025520
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1001d47c
cmp dword [ebp - 0x14], 8
jb 0x1001d45f
push dword [ebp - 0x28]
call fcn.1005fb8c
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.1001a320
cmp dword [ebp - 0x204], 8
jb 0x1001d493
push dword [ebp - 0x218]
call fcn.1005fb8c
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 0x1001d4ae
test al, 0x10
jne 0x1001d4be
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.100258a0
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.1001eb30
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.100200b0
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.1001a1f0
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.1001a1f0
mov byte [ebp - 4], 7
call fcn.10021b10
add esp, 0x30
test eax, eax
je 0x1001d7b4
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.100610cd
lea ecx, [esi - 8]
add esp, 4
cmp ecx, eax
jne 0x1001d7b4
sub esp, 0x18
mov ecx, esp
push str.416465
call fcn.10019fe0
lea ecx, [ebp - 0x70]
call fcn.10021430
mov ecx, esp
mov byte [ebp - 4], 9
push str.6E60
call fcn.10019fe0
lea ecx, [ebp - 0x58]
call fcn.10021430
add esp, 0x18
push 0x1010354c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xa
call fcn.10019fe0
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.10019fe0
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.10019fe0
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.1001a380
lea ecx, [ebp - 0x218]
call fcn.10021610
add esp, 0x18
mov esi, eax
call fcn.1001a070
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001d65f
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001d667
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 0x1001d6b0
push dword [ebp - 0x218]
call fcn.1005fb8c
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 0x1001d6e4
push dword [ebp - 0x248]
call fcn.1005fb8c
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 0x1001d718
push dword [ebp - 0x230]
call fcn.1005fb8c
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 0x1001d750
push dword [ebp - 0x260]
call fcn.1005fb8c
add esp, 4
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x1001d763
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.1001a1f0
cmp dword [ebp - 0x44], 8
mov esi, 1
jb 0x1001d779
push dword [ebp - 0x58]
call fcn.1005fb8c
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 0x1001d79e
push dword [ebp - 0x70]
call fcn.1005fb8c
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jmp 0x1001d7b6
xor esi, esi
cmp dword [ebp - 0x2c], 0x10
jb 0x1001d7c7
push dword [ebp - 0x40]
call fcn.1005fb8c
add esp, 4
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x1001d7ed
push dword [ebp - 0x88]
call fcn.1005fb8c
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 0x1001d815
push dword [ebp - 0x28]
call fcn.1005fb8c
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 0x1001d840
push dword [ebp - 0xa0]
call fcn.1005fb8c
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 0x1001d874
push dword [ebp - 0xb8]
call fcn.1005fb8c
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 0x1001d8a2
push dword [ebp + 8]
call fcn.1005fb8c
add esp, 4
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1001d8c5
push dword [ebp + 0x20]
call fcn.1005fb8c
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.1005fb91
mov esp, ebp
pop ebp
ret