Function at 0x416240
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a715e
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x4d1480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x68]
push 0x30
push 0
push eax
mov dword [ebp - 0x6c], esi
call fcn.00482730
add esp, 4
lea ecx, [ebp - 0x68]
call fcn.00405560
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 7
jbe 0x41629e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4162c9
lea ecx, [ebp - 0x68]
call fcn.004056c0
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 3
movq qword [ebp - 0x68], xmm0
mov dword [ebp - 0x60], 0
jmp 0x416328
push esi
lea ecx, [ebp - 0x84]
call fcn.00413240
lea edx, [ebp - 0x84]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004134f0
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x70]
cmp ecx, 7
jbe 0x416328
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41631e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41651d
push ecx
push edx
call fcn.004804a9
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0x100005
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0041e2a0
mov byte [ebp - 4], 3
mov edx, eax
cmp dword [eax + 0x14], 7
jbe 0x41635e
mov edx, dword [eax]
push 0xfde9
push dword [eax + 0x10]
lea ecx, [ebp - 0x38]
call fcn.00423590
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x70]
cmp ecx, 7
jbe 0x4163b2
mov edx, dword [ebp - 0x84]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4163a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416522
push ecx
push edx
call fcn.004804a9
add esp, 8
xor eax, eax
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x24], 0xf
lea edi, [ebp - 0x38]
mov dword [ebp - 0x70], 7
cmova edi, dword [ebp - 0x38]
mov word [ebp - 0x84], ax
mov esi, edi
cmp byte [edi], al
je 0x4163e5
nop word [eax + eax]
inc esi
cmp byte [esi], al
jne 0x4163e0
lea ecx, [ebp - 0x20]
call fcn.004056c0
push ecx
sub esi, edi
mov dword [ebp - 0x14], 0x100005
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], esi
call fcn.0041ed60
push ecx
lea ecx, [ebp - 0x68]
test eax, eax
jne 0x41641d
lea eax, [ebp - 0x20]
push eax
push str.language
call fcn.00405610
jmp 0x416439
call fcn.0041ebb0
mov esi, eax
mov ecx, esi
call fcn.004056c0
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [esi], xmm0
mov dword [ebp - 0x14], 0
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xa0]
call fcn.00413240
lea edx, [ebp - 0xa0]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call fcn.004136a0
mov ecx, dword [ebp - 0x8c]
cmp ecx, 7
jbe 0x416499
mov edx, dword [ebp - 0xa0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41648f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416527
push ecx
push edx
call fcn.004804a9
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x4164c9
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4164bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41652c
push ecx
push edx
call fcn.004804a9
add esp, 8
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.004056c0
push dword [ebp - 0x50]
call fcn.00485ac4
push 1
push dword [ebp - 0x54]
call fcn.004804a9
add esp, 0xc
lea ecx, [ebp - 0x68]
call fcn.004056c0
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.0048049b
mov esp, ebp
pop ebp
ret 4
call fcn.00485a5d
call fcn.00485a5d
call fcn.00485a5d
call fcn.00485a5d
int3