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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d9878
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x10114770]
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.10026f30
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.1001ab20
lea ecx, [ebp - 0x218]
call fcn.10021ff0
add esp, 0x18
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 4
call fcn.1001a970
mov byte [ebp - 4], 3
cmp dword [ebp - 0x204], 8
jb 0x1001dd88
push dword [ebp - 0x218]
call fcn.1006157c
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.10027550
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.1001a970
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x218]
call fcn.10027350
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x1001ddec
cmp dword [ebp - 0x14], 8
jb 0x1001ddcf
push dword [ebp - 0x28]
call fcn.1006157c
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.1001a420
cmp dword [ebp - 0x204], 8
jb 0x1001de03
push dword [ebp - 0x218]
call fcn.1006157c
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 0x1001de1e
test al, 0x10
jne 0x1001de2e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.100276d0
lea eax, [ebp - 0xa0]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x88]
call fcn.1001f4a0
lea edx, [ebp - 0x88]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call fcn.10020c70
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.1001a2f0
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.1001a2f0
mov byte [ebp - 4], 7
call fcn.100227f0
add esp, 0x30
test eax, eax
je 0x1001e124
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.10062abd
lea ecx, [esi - 8]
add esp, 4
cmp ecx, eax
jne 0x1001e124
sub esp, 0x18
mov ecx, esp
push str.416465
call fcn.1001a020
lea ecx, [ebp - 0x70]
call fcn.10021ff0
mov ecx, esp
mov byte [ebp - 4], 9
push str.6E60
call fcn.1001a020
lea ecx, [ebp - 0x58]
call fcn.10021ff0
add esp, 0x18
push 0x1010554c
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xa
call fcn.1001a020
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.1001a020
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.1001a020
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.1001a4d0
lea ecx, [ebp - 0x218]
call fcn.100221d0
add esp, 0x18
mov esi, eax
call fcn.1001a170
cmp dword [eax + 0x18], 8
lea edx, [eax + 4]
jb 0x1001dfcf
mov edx, dword [edx]
cmp dword [esi + 0x14], 8
jb 0x1001dfd7
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 0x1001e020
push dword [ebp - 0x218]
call fcn.1006157c
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 0x1001e054
push dword [ebp - 0x248]
call fcn.1006157c
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 0x1001e088
push dword [ebp - 0x230]
call fcn.1006157c
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 0x1001e0c0
push dword [ebp - 0x260]
call fcn.1006157c
add esp, 4
lea eax, [ebp - 0x40]
cmp edi, eax
je 0x1001e0d3
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.1001a2f0
cmp dword [ebp - 0x44], 8
mov esi, 1
jb 0x1001e0e9
push dword [ebp - 0x58]
call fcn.1006157c
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 0x1001e10e
push dword [ebp - 0x70]
call fcn.1006157c
add esp, 4
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
jmp 0x1001e126
xor esi, esi
cmp dword [ebp - 0x2c], 0x10
jb 0x1001e137
push dword [ebp - 0x40]
call fcn.1006157c
add esp, 4
cmp dword [ebp - 0x74], 8
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jb 0x1001e15d
push dword [ebp - 0x88]
call fcn.1006157c
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 0x1001e185
push dword [ebp - 0x28]
call fcn.1006157c
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 0x1001e1b0
push dword [ebp - 0xa0]
call fcn.1006157c
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 0x1001e1e4
push dword [ebp - 0xb8]
call fcn.1006157c
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 0x1001e212
push dword [ebp + 8]
call fcn.1006157c
add esp, 4
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x1001e235
push dword [ebp + 0x20]
call fcn.1006157c
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.10061581
mov esp, ebp
pop ebp
ret