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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x630490]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov ecx, 0x6319e8
cmp dword [0x6319fc], 0x10
mov edx, 0x602695
push 0
cmovae ecx, dword [0x6319e8]
mov byte [ebp - 0x59], 1
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x41cf5a
cmp dword [0x6319f8], eax
setne al
test eax, eax
sete al
test al, al
jne 0x41d2ba
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 8]
mov edx, 0x602695
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x41cf8b
cmp dword [ebp + 0x18], eax
setne al
test eax, eax
sete al
test al, al
jne 0x41d2ba
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41d2ba
test al, 0x10
je 0x41d2ba
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push 0x60591c
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00404490
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x58]
mov ecx, 0x6319e8
call fcn.004251a0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
xor esi, esi
movq qword [ebp - 0x1c], xmm0
xor edi, edi
mov dword [ebp - 0x1c], esi
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x28]
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
je 0x41d08f
mov esi, dword [ebp - 0x28]
add esi, 0x10
cmp dword [esi + 4], 0x10
lea edi, [esi - 0x10]
jb 0x41d052
mov ecx, dword [edi]
jmp 0x41d054
mov ecx, edi
push 0
mov edx, 0x602695
call fcn.00405ee0
add esp, 4
test eax, eax
jne 0x41d06e
cmp dword [esi], eax
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x41d083
push edi
lea ecx, [ebp - 0x1c]
call fcn.00414fd0
add esi, 0x18
dec ebx
jne 0x41d045
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov ecx, edi
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov dword [ebp - 0x60], ebx
jne 0x41d0b3
xor al, al
mov byte [ebp - 0x59], al
jmp 0x41d211
push 0
push 0x602695
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.00404c00
xor edi, edi
mov byte [ebp - 4], 4
test ebx, ebx
je 0x41d1ee
mov ebx, esi
jmp 0x41d0f0
push 0x6056fc
lea edx, [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.004099a0
add esp, 4
push ebx
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x78]
call fcn.00405c50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x41d188
cmp dword [ebp - 0x2c], 0x10
jb 0x41d132
push dword [ebp - 0x40]
call fcn.0044f9f1
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
cmp dword [esi + 0x14], 0x10
jae 0x41d160
mov eax, dword [esi + 0x10]
inc eax
je 0x41d16b
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.00577ac0
add esp, 0xc
jmp 0x41d16b
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x2c], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp dword [ebp - 0x64], 0x10
jb 0x41d199
push dword [ebp - 0x78]
call fcn.0044f9f1
add esp, 4
mov byte [ebp - 4], 4
cmp dword [ebp - 0x7c], 0x10
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x78], 0
jb 0x41d1c3
push dword [ebp - 0x90]
call fcn.0044f9f1
add esp, 4
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x40]
call fcn.0042ffb0
test al, al
je 0x41d1e6
inc edi
add ebx, 0x18
cmp edi, dword [ebp - 0x60]
jb 0x41d0f0
jmp 0x41d1eb
xor al, al
mov byte [ebp - 0x59], al
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x2c], 0x10
jb 0x41d1ff
push dword [ebp - 0x40]
call fcn.0044f9f1
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
test esi, esi
je 0x41d251
mov edi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
cmp edi, ebx
je 0x41d248
nop
cmp dword [esi + 0x14], 0x10
jb 0x41d230
push dword [esi]
call fcn.0044f9f1
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, ebx
jne 0x41d220
push edi
call fcn.0044f9f1
add esp, 4
cmp dword [ebp - 0x44], 0x10
jb 0x41d262
push dword [ebp - 0x58]
call fcn.0044f9f1
add esp, 4
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
test ebx, ebx
je 0x41d2b5
mov edi, dword [ebp - 0x24]
mov esi, ebx
cmp ebx, edi
je 0x41d2ac
cmp dword [esi + 0x14], 0x10
jb 0x41d294
push dword [esi]
call fcn.0044f9f1
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, edi
jne 0x41d284
push ebx
call fcn.0044f9f1
add esp, 4
mov bl, byte [ebp - 0x59]
jmp 0x41d2bc
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x41d2cd
push dword [ebp + 8]
call fcn.0044f9f1
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005778cb
mov esp, ebp
pop ebp
ret