Function at 0x41c630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3350
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4d6390]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov edi, dword [ebp + 8]
mov byte [ebp - 0x29], cl
test cl, cl
jne 0x41c675
cmp byte [esi + 0xf0], cl
je 0x41c845
mov eax, dword [esi + 0x1c]
mov edx, str.__x64_
mov dword [ebp - 0x30], eax
test eax, eax
je 0x41c6c7
test cl, cl
mov eax, str.__x86_
cmove eax, edx
push eax
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.00418870
add esp, 0xc
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push 1
push eax
lea eax, [esi + 4]
mov dword [ebp - 4], 0
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0xffffffff
call fcn.00405af0
mov cl, byte [ebp - 0x29]
movzx eax, cl
xor eax, 1
add eax, 0x18
add eax, edi
mov dword [ebp - 0x30], eax
test cl, cl
je 0x41c6e7
cmp byte [esi + 0xf0], 0
mov eax, 0xd8
jne 0x41c6ec
mov eax, 0xc0
add eax, esi
push 0x4ab60c
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00418870
add esp, 0xc
cmp dword [edi + 0x14], 8
mov ecx, edi
mov dword [ebp - 4], 1
jb 0x41c711
mov ecx, dword [edi]
push dword [edi + 0x10]
push ecx
mov ecx, eax
call fcn.00409f70
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x41c78c
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c782
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c862
push edx
push ecx
call fcn.0045801e
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x14], 8
mov word [ebp - 0x4c], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x38], 7
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x30]
test eax, eax
setne al
mov byte [ecx], al
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x41c80f
cmp byte [ebp - 0x29], 0
mov ecx, str.__x64_
mov eax, str.__x86_
cmove eax, ecx
push eax
lea eax, [ebp - 0x64]
push edi
push eax
call fcn.00418870
add esp, 0xc
mov edi, dword [ebp - 0x30]
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 4], 4
cmp byte [edi], al
mov edx, dword [ecx]
sete al
add eax, 2
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [esi + 4]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x64]
call fcn.00405af0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41c845
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41c83b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41c867
push edx
push ecx
call fcn.0045801e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004582e2
mov esp, ebp
pop ebp
ret 8
call fcn.0047cbf9
call fcn.0047cbf9
int3