Function at 0x41f6a0
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b5b08
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x114
mov eax, dword [0x4e71c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dl, byte [ebx + 0xc]
and esi, 0xffffff01
or esi, 1
xor dl, 1
push ecx
mov ecx, esi
call fcn.0041e390
add esp, 4
test al, al
je 0x41fa12
mov eax, esi
mov ecx, esi
shr eax, 0x12
and ecx, 0xfffbffff
and eax, 0xffffff01
test al, al
mov dword [ebp - 0x120], eax
cmove ecx, esi
mov dword [ebp - 0x11c], ecx
lea ecx, [ebp - 0x118]
call fcn.0041f3b0
mov esi, dword [ebp - 0x11c]
mov edx, ecx
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041ecd0
add esp, 4
lea eax, [ebp - 0x118]
push eax
push esi
call fcn.00467280
add esp, 8
cmp byte [ebp - 0x120], 0
je 0x41f89c
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
movups xmmword [ebp - 0x2c], xmm0
mov word [ebp - 0x2c], ax
push esi
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
push 0
call fcn.0046aa80
add esp, 0xc
call fcn.0041db40
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.0041dd00
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00464180
add esp, 8
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
call fcn.0040a4e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x41f802
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f7f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa34
push ecx
push edx
call fcn.0045c945
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp ecx, 0xf
jbe 0x41f84c
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f842
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa34
push ecx
push edx
call fcn.0045c945
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 7
jbe 0x41f89c
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f892
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa34
push ecx
push edx
call fcn.0045c945
add esp, 8
mov eax, esi
shr eax, 0x10
test al, 1
je 0x41f937
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 5
call fcn.0041db40
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.004345d0
call fcn.0041db40
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.00434f60
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00466480
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00422800
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.00422800
mov eax, esi
shr eax, 0x17
test al, 1
je 0x41f94f
call fcn.004258b0
call fcn.00425f70
call fcn.004274b0
mov eax, dword [ebp - 0x11c]
shr eax, 0x14
test al, 1
je 0x41fa05
call fcn.00426b00
lea ecx, [ebp - 0x2c]
call fcn.00425300
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x41f97c
test ecx, ecx
je 0x41f9d5
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
cmp word [eax], 0
je 0x41f9d5
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41f9cf
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x41fa05
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41f9cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa39
push ecx
push edx
jmp 0x41f9fd
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x41fa05
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f9fb
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa39
push edx
push ecx
call fcn.0045c945
add esp, 8
lea ecx, [ebp - 0x118]
call fcn.0041f470
jmp 0x41fa17
call fcn.00467410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045c4df
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00483c3a
call fcn.00483c3a
int3