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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x4419ec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405f54
xor eax, eax
push ebp
push 0x441ff0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x1c], 0
jne 0x441a41
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00440918
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x1c
call fcn.00405958
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.00441020
pop ecx
test al, al
je 0x441fb3
xor ecx, ecx
mov edx, 0x44200c
mov eax, dword [ebp - 0xc]
call fcn.004412d8
test al, al
je 0x441faa
lea eax, [ebp - 0xd]
push eax
lea eax, [ebp - 0x1c]
call fcn.00430a70
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x44201c
call fcn.00405cec
mov edx, dword [ebp - 0x18]
mov ecx, 0x442030
mov eax, dword [ebp - 0xc]
call fcn.004415ac
test al, al
jne 0x441ad5
push 0
lea eax, [ebp - 0x24]
call fcn.00430a70
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x442040
call fcn.00405cec
mov edx, dword [ebp - 0x20]
mov ecx, 0x442030
mov eax, dword [ebp - 0xc]
call fcn.004415ac
test al, al
je 0x441faa
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 0x441af9
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [ebp - 4]
call fcn.00405958
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
jne 0x441b0b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x441b81
cmp byte [ebp - 0xd], 0
je 0x441f87
push 0
mov ecx, 0x442054
mov edx, 0x442064
mov eax, dword [ebp - 0xc]
call fcn.004415ac
test al, al
je 0x441f87
push 0
lea edx, [ebp - 0x28]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
call fcn.0041892c
mov edx, dword [ebp - 0x28]
mov ecx, 0x442054
mov eax, dword [ebp - 0xc]
call fcn.004415ac
test al, al
je 0x441f87
push 0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
call fcn.0041892c
mov edx, dword [ebp - 0x2c]
mov ecx, 0x44207c
mov eax, dword [ebp - 0xc]
call fcn.004415ac
test al, al
je 0x441f87
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
cmp dword [0x580438], 0
je 0x441ba7
lea eax, [ebp - 8]
mov edx, dword [0x580438]
call fcn.00405958
jmp 0x441bb7
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.0043eaf0
push 0
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 8]
mov edx, 0x44208c
call fcn.00405cec
mov edx, dword [ebp - 0x30]
mov ecx, 0x442030
mov eax, dword [ebp - 0xc]
call fcn.004415ac
test al, al
je 0x441f87
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.0043eaa4
mov esi, eax
test esi, esi
jle 0x441c4e
mov edi, 1
push 0
lea eax, [ebp - 0x3c]
push eax
mov cl, 0x2c
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0040ded8
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
xor edx, edx
call fcn.0043eaf0
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x4420a4
call fcn.00405cec
mov edx, dword [ebp - 0x34]
mov ecx, 0x442030
mov eax, dword [ebp - 0xc]
call fcn.004415ac
or al, byte [ebp - 0xe]
mov byte [ebp - 0xe], al
inc edi
dec esi
jne 0x441c05
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 0x441f87
mov eax, dword [ebp + 8]
cmp dword [eax + 0x34], 0
jne 0x441c7b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
je 0x441f71
push 0
mov eax, dword [ebp + 8]
add eax, 0x30
mov ecx, 0x4420bc
mov edx, 0x4420d0
call fcn.0040bef0
cmp byte [0x58042c], 0
je 0x441cd0
push 0x4420e4
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
call fcn.00408b44
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x40]
call fcn.0041892c
push dword [ebp - 0x40]
push 0x4420fc
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405db8
jmp 0x441d00
push 0x44210c
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x34]
mov cl, 0x3d
mov edx, 0x580c64
call fcn.0043fa88
push dword [ebp - 0x48]
push 0x4420fc
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405db8
push 0
mov ecx, 0x442128
mov edx, 0x442138
mov eax, dword [ebp - 0xc]
call fcn.004415ac
test al, al
je 0x441f87
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
push 0x44214c
lea ecx, [ebp - 0x50]
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0043eaf0
push dword [ebp - 0x50]
push 0x442160
push 0x442170
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dl, 1
call fcn.0043eaf0
push dword [ebp - 0x54]
push 0x442160
push 0x442184
push dword [ebp - 8]
push 0x442160
push 0x44219c
lea eax, [ebp - 0x58]
call fcn.00441104
push dword [ebp - 0x58]
push 0x442160
push 0x4421b0
lea eax, [ebp - 0x5c]
call fcn.0044123c
push dword [ebp - 0x5c]
push 0x442160
lea eax, [ebp - 0x4c]
mov edx, 0xf
call fcn.00405db8
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
call fcn.00440ce0
mov ebx, eax
test bl, bl
je 0x441f4c
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 0x441f1f
push 0x4421cc
lea eax, [ebp - 0x64]
mov edx, dword [0x580c84]
mov ecx, 0
call fcn.00405b5c
push dword [ebp - 0x64]
push 0x442218
push 0x442160
push 0x442160
push 0x442228
push 0x442160
push 0x442160
push 0x442264
lea eax, [ebp - 0x68]
mov edx, dword [0x580c84]
mov ecx, 0
call fcn.00405b5c
push dword [ebp - 0x68]
push 0x442160
push 0x442274
push 0x442160
push 0x4422b0
push 0x442160
push 0x442160
mov eax, dword [ebp + 8]
push dword [eax + 0x30]
push 0x442160
lea eax, [ebp - 0x60]
mov edx, 0x12
call fcn.00405db8
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xc]
call fcn.00440ce0
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 0x441eda
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
call fcn.00407d10
mov esi, eax
test esi, esi
jl 0x441eda
inc esi
xor edi, edi
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + edi*4]
call fcn.00405f64
push eax
call fcn.004096d4
cmp eax, 0xffffffff
je 0x441ed6
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.00441658
pop ecx
test al, al
jne 0x441ed6
xor ebx, ebx
jmp 0x441eda
inc edi
dec esi
jne 0x441e8f
test bl, bl
je 0x441f4c
push 0x442264
lea eax, [ebp - 0x70]
mov edx, dword [0x580c84]
mov ecx, 0
call fcn.00405b5c
push dword [ebp - 0x70]
push 0x442264
push 0x442160
lea eax, [ebp - 0x6c]
mov edx, 4
call fcn.00405db8
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.00440ce0
mov ebx, eax
jmp 0x441f4c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
lea eax, [ebp - 0x74]
mov edx, 0x442160
call fcn.00405cec
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xc]
call fcn.00440ce0
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, 0x442030
mov edx, 0x4422dc
mov eax, dword [ebp - 0xc]
call fcn.004415ac
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 0x441f87
push 0
mov ecx, 0x442030
mov edx, 0x4422ec
mov eax, dword [ebp - 0xc]
call fcn.004415ac
mov ebx, eax
push 0
mov ecx, 0x442300
mov edx, 0x442310
mov eax, dword [ebp - 0xc]
call fcn.004415ac
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.0042f178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441ff7
lea eax, [ebp - 0x74]
mov edx, 0xc
call fcn.004058cc
lea eax, [ebp - 0x44]
call fcn.004058a8
lea eax, [ebp - 0x40]
mov edx, 0xc
call fcn.004058cc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004058cc
ret