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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4418d4
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405ed4
xor eax, eax
push ebp
push 0x441ed8
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x441929
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00440800
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x1c
call fcn.004058d8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
call fcn.00440f08
pop ecx
test al, al
je 0x441e9b
xor ecx, ecx
mov edx, 0x441ef4
mov eax, dword [ebp - 0xc]
call fcn.004411c0
test al, al
je 0x441e92
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x1c]
call fcn.00430958
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x441f04
call fcn.00405c6c
mov edx, dword [ebp - 0x18]
mov ecx, 0x441f18
mov eax, dword [ebp - 0xc]
call fcn.00441494
test al, al
jne 0x4419bd
push 0
lea eax, [ebp - 0x24]
call fcn.00430958
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x441f28
call fcn.00405c6c
mov edx, dword [ebp - 0x20]
mov ecx, 0x441f18
mov eax, dword [ebp - 0xc]
call fcn.00441494
test al, al
je 0x441e92
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x4419e1
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [ebp - 4]
call fcn.004058d8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
jne 0x4419f3
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x441a69
cmp byte [ebp - 0xd], 0
je 0x441e6f
push 0
mov ecx, 0x441f3c
mov edx, 0x441f4c
mov eax, dword [ebp - 0xc]
call fcn.00441494
test al, al
je 0x441e6f
push 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
call fcn.0041883c
mov edx, dword [ebp - 0x28]
mov ecx, 0x441f3c
mov eax, dword [ebp - 0xc]
call fcn.00441494
test al, al
je 0x441e6f
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call fcn.0041883c
mov edx, dword [ebp - 0x2c]
mov ecx, 0x441f64
mov eax, dword [ebp - 0xc]
call fcn.00441494
test al, al
je 0x441e6f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp dword [0x548434], 0
je 0x441a8f
lea eax, [ebp - 8]
mov edx, dword [0x548434]
call fcn.004058d8
jmp 0x441a9f
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.0043e9d8
push 0
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov edx, 0x441f74
call fcn.00405c6c
mov edx, dword [ebp - 0x30]
mov ecx, 0x441f18
mov eax, dword [ebp - 0xc]
call fcn.00441494
test al, al
je 0x441e6f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov byte [ebp - 0xe], 0
lea eax, [ebp - 4]
call fcn.0043e98c
mov esi, eax
test esi, esi
jle 0x441b36
mov edi, 1
push 0
lea eax, [ebp - 0x3c]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0040dde8
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
xor edx, edx
call fcn.0043e9d8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x441f8c
call fcn.00405c6c
mov edx, dword [ebp - 0x34]
mov ecx, 0x441f18
mov eax, dword [ebp - 0xc]
call fcn.00441494
or al, byte [ebp - 0xe]
mov byte [ebp - 0xe], al
inc edi
dec esi
jne 0x441aed
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp byte [ebp - 0xe], 0
je 0x441e6f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
jne 0x441b63
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
je 0x441e59
push 0
mov eax, dword [ebp + 8]
add eax, 0x30
mov ecx, 0x441fa4
mov edx, 0x441fb8
call fcn.0040be00
cmp byte [0x548428], 0
je 0x441bb8
push 0x441fcc
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
call fcn.00408a8c
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0041883c
push dword [ebp - 0x40]
push 0x441fe4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405d38
jmp 0x441be8
push 0x441ff4
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
mov cl, 0x3d
mov edx, 0x548c60
call fcn.0043f970
push dword [ebp - 0x48]
push 0x441fe4
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405d38
push 0
mov ecx, 0x442010
mov edx, 0x442020
mov eax, dword [ebp - 0xc]
call fcn.00441494
test al, al
je 0x441e6f
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push 0x442034
lea ecx, [ebp - 0x50]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043e9d8
push dword [ebp - 0x50]
push 0x442048
push 0x442058
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 1
call fcn.0043e9d8
push dword [ebp - 0x54]
push 0x442048
push 0x44206c
push dword [ebp - 8]
push 0x442048
push 0x442084
lea eax, [ebp - 0x58]
call fcn.00440fec
push dword [ebp - 0x58]
push 0x442048
push 0x442098
lea eax, [ebp - 0x5c]
call fcn.00441124
push dword [ebp - 0x5c]
push 0x442048
lea eax, [ebp - 0x4c]
mov edx, 0xf
call fcn.00405d38
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.00440bc8
mov ebx, eax
test bl, bl
je 0x441e34
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x2c], 0
je 0x441e07
push 0x4420b4
lea eax, [ebp - 0x64]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x64]
push 0x442100
push 0x442048
push 0x442048
push 0x442110
push 0x442048
push 0x442048
push 0x44214c
lea eax, [ebp - 0x68]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x68]
push 0x442048
push 0x44215c
push 0x442048
push 0x442198
push 0x442048
push 0x442048
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
push 0x442048
lea eax, [ebp - 0x60]
mov edx, 0x12
call fcn.00405d38
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call fcn.00440bc8
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
test bl, bl
je 0x441dc2
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
call fcn.00407c58
mov esi, eax
test esi, esi
jl 0x441dc2
inc esi
xor edi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + edi*4]
call fcn.00405ee4
push eax
call fcn.00409604
cmp eax, 0xffffffff
je 0x441dbe
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + edi*4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp - 0xc]
call fcn.00441540
pop ecx
test al, al
jne 0x441dbe
xor ebx, ebx
jmp 0x441dc2
inc edi
dec esi
jne 0x441d77
test bl, bl
je 0x441e34
push 0x44214c
lea eax, [ebp - 0x70]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x70]
push 0x44214c
push 0x442048
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00405d38
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.00440bc8
mov ebx, eax
jmp 0x441e34
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
lea eax, [ebp - 0x74]
mov edx, 0x442048
call fcn.00405c6c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xc]
call fcn.00440bc8
mov ebx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push 0
mov ecx, 0x441f18
mov edx, 0x4421c4
mov eax, dword [ebp - 0xc]
call fcn.00441494
and bl, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
jmp 0x441e6f
push 0
mov ecx, 0x441f18
mov edx, 0x4421d4
mov eax, dword [ebp - 0xc]
call fcn.00441494
mov ebx, eax
push 0
mov ecx, 0x4421e8
mov edx, 0x4421f8
mov eax, dword [ebp - 0xc]
call fcn.00441494
and bl, al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebp - 0xc]
push eax
call fcn.0042f088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441edf
lea eax, [ebp - 0x74]
mov edx, 0xc
call fcn.0040584c
lea eax, [ebp - 0x44]
call fcn.00405828
lea eax, [ebp - 0x40]
mov edx, 0xc
call fcn.0040584c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040584c
ret