Function at 0x412e90
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 0x5c76d5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x6540c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x412edb
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x412eed
xor al, al
jmp 0x4130b4
cmp dword [esi + 0x14], 7
jbe 0x412ef5
mov esi, dword [esi]
push 0x6479f4
push esi
call fcn.004a1d8c
mov esi, eax
add esp, 8
test esi, esi
jne 0x412f1f
xorps xmm0, xmm0
mov dword [ebp - 0x34], eax
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
jmp 0x412f44
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.00423c60
push esi
call fcn.004a1580
movups xmm0, xmmword [ebp - 0x74]
add esp, 4
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x34], xmm0
lea edx, [ebp - 0x44]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0040a620
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402580
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x2c]
lea esi, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x2c]
cmova ecx, edi
cmova esi, edi
cmova edx, edi
lea eax, [ecx + eax*2]
mov dword [ebp - 0x7c], eax
cmp esi, eax
je 0x412fab
sub edx, esi
mov edi, edx
movzx eax, word [esi]
push eax
call fcn.004a0f33
mov word [edi + esi], ax
add esp, 4
add esi, 2
cmp esi, dword [ebp - 0x7c]
jne 0x412f90
mov edi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
cmp ecx, 7
jbe 0x412fe8
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x412fdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130d4
push ecx
push edx
call fcn.004392c8
mov edi, dword [ebp - 0x2c]
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp ecx, 0xf
jbe 0x413033
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x413026
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130d4
push ecx
push edx
call fcn.004392c8
mov edi, dword [ebp - 0x2c]
add esp, 8
mov edx, dword [ebx + 0xc]
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
cmp eax, 7
cmova ecx, edi
cmp dword [edx + 0x44], 7
lea esi, [edx + 0x30]
jbe 0x41304e
mov esi, dword [edx + 0x30]
mov edx, dword [edx + 0x40]
cmp edx, dword [ebp - 0x1c]
jne 0x41307d
test edx, edx
je 0x413074
sub esi, ecx
nop dword [eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x41307a
add ecx, 2
sub edx, 1
jne 0x413060
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x75], 1
jmp 0x413081
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x75], 0
cmp eax, 7
jbe 0x4130b1
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x4130a7
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4130d9
push ecx
push edi
call fcn.004392c8
add esp, 8
mov al, byte [ebp - 0x75]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043928a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0049452a
call fcn.0049452a
int3