Function at 0x41fb70
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 0x4aab78
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x12c
mov eax, dword [0x4d9180]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
and esi, 0xffffff01
xor dl, dl
or esi, 1
push ecx
mov ecx, esi
call fcn.0041e490
add esp, 4
test al, al
je 0x41ffe2
mov eax, esi
mov ecx, esi
shr eax, 0x12
and ecx, 0xfffbffff
and eax, 0xffffff01
test al, al
mov dword [ebp - 0x138], eax
cmove ecx, esi
mov dword [ebp - 0x134], ecx
lea ecx, [ebp - 0x130]
call fcn.0041f880
mov esi, dword [ebp - 0x134]
mov edx, ecx
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041efe0
add esp, 4
lea eax, [ebp - 0x130]
push eax
push esi
call fcn.0045ed40
add esp, 8
cmp byte [ebp - 0x138], 0
je 0x41fdcc
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.00461310
mov eax, dword [0x4df138]
add esp, 0xc
test eax, eax
jne 0x41fcb8
push 0x34
call fcn.00455423
add esp, 4
xorps xmm0, xmm0
xor ecx, ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov word [eax + 0x31], cx
mov byte [eax + 0x33], cl
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xf
mov byte [eax], cl
movups xmmword [eax + 0x18], xmm0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 0xf
mov byte [eax + 0x18], cl
mov byte [eax + 0x30], cl
mov dword [0x4df138], eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, eax
call fcn.0041dd60
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0045c2e0
add esp, 8
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.0040a410
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x41fd1e
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fd14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420004
push ecx
push edx
call fcn.004557b9
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x41fd68
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41fd5e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420004
push ecx
push edx
call fcn.004557b9
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp ecx, 7
jbe 0x41fdb8
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41fdae
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420004
push ecx
push edx
call fcn.004557b9
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, esi
shr eax, 0x10
test al, 1
je 0x41ff07
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movq qword [ebp - 0x44], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 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
mov eax, dword [0x4df138]
test eax, eax
jne 0x41fe77
push 0x34
call fcn.00455423
add esp, 4
xorps xmm0, xmm0
xor ecx, ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov word [eax + 0x31], cx
mov byte [eax + 0x33], cl
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xf
mov byte [eax], cl
movups xmmword [eax + 0x18], xmm0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 0xf
mov byte [eax + 0x18], cl
mov byte [eax + 0x30], cl
mov dword [0x4df138], eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, eax
call fcn.0042eba0
mov eax, dword [0x4df138]
test eax, eax
jne 0x41fed7
push 0x34
call fcn.00455423
add esp, 4
xorps xmm0, xmm0
xor ecx, ecx
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov word [eax + 0x31], cx
mov byte [eax + 0x33], cl
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], 0xf
mov byte [eax], cl
movups xmmword [eax + 0x18], xmm0
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 0xf
mov byte [eax + 0x18], cl
mov byte [eax + 0x30], cl
mov dword [0x4df138], eax
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.0042f530
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0045de50
add esp, 0xc
lea ecx, [ebp - 0x38]
call fcn.00420360
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.00420360
mov eax, esi
shr eax, 0x17
test al, 1
je 0x41ff1f
call fcn.00423bf0
call fcn.00424400
call fcn.00425c80
mov eax, dword [ebp - 0x134]
shr eax, 0x14
test al, 1
je 0x41ffd5
call fcn.00425190
lea ecx, [ebp - 0x2c]
call fcn.00423520
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x41ff4c
test ecx, ecx
je 0x41ffa5
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
cmp word [eax], 0
je 0x41ffa5
cmp edx, 7
lea eax, [ebp - 0x2c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ff9f
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x41ffd5
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ff9b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420009
push ecx
push edx
jmp 0x41ffcd
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
cmp edx, 7
jbe 0x41ffd5
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41ffcb
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420009
push edx
push ecx
call fcn.004557b9
add esp, 8
lea ecx, [ebp - 0x130]
call fcn.0041f940
jmp 0x41ffe7
call fcn.0045f160
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00455352
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.0047971a
call fcn.0047971a
int3