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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x44292c
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x442f21
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 0
push 0
push 0x64
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x2d0]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push 0x64
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x18]
call fcn.00405828
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x442a37
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x442a37
inc esi
xor ebx, ebx
push dword [ebp - 0x18]
push 0x442f40
push 0x442f50
lea eax, [ebp - 0x30]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x30]
push 0x442f40
push 0x442f60
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
push dword [ebp - 0x34]
push 0x442f94
push 0x442f40
push 0x442f40
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x18]
mov edx, dword [ebp - 0x3c]
lea ecx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov edi, dword [eax]
call dword [edi + 0x24]
push dword [ebp - 0x38]
lea eax, [ebp - 0x18]
mov edx, 0xb
call fcn.00405d38
inc ebx
dec esi
jne 0x4429af
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
add eax, 0x64
cdq
push edx
push eax
lea edx, [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x2e8]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x18]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
call fcn.00407c58
mov esi, eax
test esi, esi
jl 0x442b35
inc esi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ebx*4]
call fcn.00440c78
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jle 0x442b2d
lea eax, [ebp - 0x44]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
mov eax, dword [ebp - 0x44]
call fcn.00405bbc
mov edi, eax
mov eax, dword [ebp - 0x20]
add eax, 0x66
add edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ebx*4]
call fcn.00405bbc
add edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ebx*4]
call fcn.00405bbc
add edi, eax
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x20]
test eax, eax
jns 0x442b00
add eax, 0xf
sar eax, 4
cdq
push edx
push eax
lea edx, [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x2f0]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x24], eax
inc ebx
dec esi
jne 0x442a97
push 0
push 0x64
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0
push 0x1f4
lea edx, [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call dword [ecx + 0x2f8]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x24]
lea eax, [ebp - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
call fcn.004058d8
lea eax, [ebp - 0xc]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
call fcn.004058d8
lea eax, [ebp - 0xc]
call fcn.00442858
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
mov esi, eax
test esi, esi
jle 0x442bf0
mov ebx, 1
mov eax, dword [ebp - 0xc]
cmp byte [eax + ebx - 1], 0x2f
jne 0x442bec
lea eax, [ebp - 8]
push eax
mov esi, ebx
dec esi
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405f64
mov ecx, esi
lea eax, [ebp - 0xc]
mov edx, 1
call fcn.00405fc8
jmp 0x442bf0
inc ebx
dec esi
jne 0x442bbb
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x10]
lea eax, [ebp - 4]
call fcn.00442778
cmp dword [ebp - 4], 0
je 0x442c0e
lea eax, [ebp - 4]
call fcn.00442858
jmp 0x442c19
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.004058d8
lea eax, [ebp - 0x14]
push eax
mov cl, 0x3a
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.0040dde8
cmp dword [ebp - 0x14], 0
je 0x442c7f
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00405a38
call fcn.00405bbc
push eax
mov eax, dword [ebp - 0x14]
call fcn.00405ee4
mov edx, eax
xor eax, eax
pop ecx
call fcn.0040dad8
mov ebx, eax
cmp ebx, 0xffffffff
je 0x442c7f
lea eax, [ebp - 0x50]
push eax
mov cl, 0x3a
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040dde8
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 4]
call fcn.004058d8
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], ebx
mov eax, dword [ebp + 8]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00440f08
pop ecx
test al, al
je 0x442ef9
push 0x442fa4
push dword [ebp - 0xc]
push 0x442fb8
push 0x442f40
push 0x442fd0
push dword [ebp - 8]
push 0x442fe4
lea eax, [ebp - 0x54]
push eax
mov cl, 0x30
mov edx, 1
mov eax, esi
call fcn.0040d898
push dword [ebp - 0x54]
push 0x442f40
push 0x442ff4
push 0x442f40
push 0x443014
push 0x442f40
push 0x443034
push 0x442f40
push 0x44305c
lea eax, [ebp - 0x58]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x58]
push 0x442f40
push 0x443098
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
mov eax, dword [ebp - 0x60]
call fcn.00405bbc
mov edx, dword [ebp - 0x24]
add edx, 4
add eax, edx
add eax, 2
mov cl, 0x30
mov edx, 1
call fcn.0040d77c
push dword [ebp - 0x5c]
push 0x442f40
lea eax, [ebp - 0x10]
mov edx, 0x15
call fcn.00405d38
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x442d94
push dword [ebp - 0x10]
push 0x4430b8
lea ecx, [ebp - 0x64]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor edx, edx
call fcn.0043e9d8
push dword [ebp - 0x64]
push 0x442f40
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405d38
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0
jne 0x442da6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x442dec
push dword [ebp - 0x10]
push 0x4430cc
mov eax, dword [ebp + 8]
push dword [eax + 0x18]
push 0x442fe4
mov eax, dword [ebp + 8]
push dword [eax + 0x14]
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00405d38
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x68]
call fcn.0041883c
push dword [ebp - 0x68]
push 0x442f40
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405d38
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.00405bf0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
call fcn.00440bc8
test al, al
je 0x442ef0
mov byte [ebp - 0x19], 1
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]
mov eax, dword [eax + 0x2c]
call fcn.00407c58
mov esi, eax
test esi, esi
jl 0x442e7c
inc esi
xor ebx, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + ebx*4]
call fcn.00405ee4
push eax
call fcn.00409604
cmp eax, 0xffffffff
je 0x442e78
push ebp
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov eax, dword [eax + ebx*4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x2c]
mov edx, dword [eax + ebx*4]
mov eax, dword [ebp - 0x28]
call fcn.004424f0
pop ecx
test al, al
jne 0x442e78
mov byte [ebp - 0x19], 0
jmp 0x442e7c
inc ebx
dec esi
jne 0x442e2f
push 0x4430f0
lea eax, [ebp - 0x74]
mov edx, dword [0x548c80]
mov ecx, 0
call fcn.00405adc
push dword [ebp - 0x74]
push 0x442f50
push 0x442f40
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.00405d38
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x28]
call fcn.00440bc8
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 - 0x19], 0
je 0x442eda
push ebp
mov eax, dword [ebp - 0x28]
call fcn.00442350
pop ecx
test al, al
jne 0x442ede
xor eax, eax
jmp 0x442ee0
mov al, 1
mov byte [ebp - 0x19], 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 - 0x28]
push eax
call fcn.0042f088
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442f28
lea eax, [ebp - 0x74]
mov edx, 0x13
call fcn.0040584c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040584c
ret