Function at 0x466060
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f77e
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x62cf50]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x64]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
xor eax, eax
push 0xc
push str.IMEPADSV.EXE
mov dword [ebp - 0xb4], esi
mov byte [ebp - 0xad], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.00409db0
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x44], eax
jb 0x4660ef
mov edi, dword [edi]
cmp eax, 8
jae 0x466104
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x466145
mov esi, eax
lea ecx, [ebp - 0x28]
mov eax, 0x7ffffffe
or esi, 7
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00409eb0
mov ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], ecx
lea eax, [eax*2 + 2]
push eax
push edi
push ecx
call fcn.0056a3d0
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0xb4]
mov dword [ebp - 0x18], eax
push 1
push 0x5c0584
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040f730
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push dword [ebp - 0x54]
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x28]
push eax
call fcn.0040f730
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.00431160
add esp, 8
test al, al
jne 0x46622a
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4661c5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x4661bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4669f6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x46690b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x46621b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4669f6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
jmp 0x46690b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4662e7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x466282
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x466278
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4669f6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x46690b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 5
cmp edx, 0x1000
jb 0x4662d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4669f6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
jmp 0x46690b
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 6
push eax
push esi
call fcn.00431160
add esp, 8
test al, al
jne 0x466403
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x466352
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x466348
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4669f6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x4663a4
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 8
cmp edx, 0x1000
jb 0x46639a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4669f6
push edx
push ecx
call fcn.0040a1a2
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
cmp edx, 8
jb 0x46690b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 9
cmp edx, 0x1000
jb 0x46621b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4669f6
jmp 0x46621b
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00461390
add esp, 8
test al, al
jne 0x4664a0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x4664a0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x466445
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0xb
cmp eax, 8
jb 0x466472
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0xc
cmp eax, 8
jb 0x46690b
inc eax
push eax
jmp 0x466900
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0056aed0
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.004091d0
mov eax, dword [ebp + 0x10]
sub esp, 8
mov byte [ebp - 4], 0xd
mov edx, esp
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4664d6
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [ebp - 0xac]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.00409450
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xac]
call fcn.0040d4f0
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov edi, edx
shr edi, 0x1f
add edi, edx
mov ecx, dword [ebp - 0x4c]
mov byte [ebp - 4], 0xe
test ecx, ecx
je 0x466552
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
push ecx
call fcn.00409390
mov ecx, dword [ebp - 0x44]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x4c]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0x4c]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.0040a130
mov esi, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xac]
test edi, edi
je 0x4665d9
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x46657e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x10
cmp eax, 8
jb 0x4665ab
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x11
cmp eax, 8
jb 0x46690b
inc eax
push eax
jmp 0x466900
lea eax, [ebp - 0xd0]
push eax
call fcn.00419dc0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
call fcn.0040b170
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x14
call fcn.0040a580
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x4666da
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00461390
add esp, 8
test al, al
jne 0x4666da
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x466647
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x16
cmp eax, 8
jb 0x46667f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x17
cmp eax, 8
jb 0x4666ac
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x18
cmp eax, 8
jb 0x46690b
inc eax
push eax
jmp 0x466900
mov eax, dword [ebp - 0x84]
cmp eax, 1
jbe 0x466795
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x19
cmp eax, 8
jb 0x466702
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
cmp eax, 8
jb 0x46673a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x1b
cmp eax, 8
jb 0x466767
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x1c
cmp eax, 8
jb 0x46690b
inc eax
push eax
jmp 0x466900
test eax, eax
je 0x466838
lea eax, [ebp - 0x88]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x48], xmm0
call fcn.004b6fd0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1d
mov esi, dword [eax]
mov dword [ebp - 0xb4], esi
cmp esi, eax
je 0x466819
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x4667d2
mov eax, dword [eax]
push str.Embedding
push eax
call fcn.00575689
add esp, 8
test eax, eax
jne 0x46692c
push 0x5b6ea8
add esi, 0x28
push esi
call fcn.0042e1d0
add esp, 8
test al, al
je 0x46692c
lea ecx, [ebp - 0xb4]
call fcn.0048ff80
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x48]
cmp esi, eax
jne 0x4667c7
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
mov ecx, eax
call fcn.0040a1d0
push 0x40
push dword [ebp - 0x48]
call fcn.0040a1a2
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x466856
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00409db0
mov byte [ebp - 0xad], 1
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x24
cmp eax, 8
jb 0x466876
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x25
cmp eax, 8
jb 0x4668ae
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x26
cmp eax, 8
jb 0x4668db
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 4], 0x27
cmp ecx, 8
jb 0x46690b
inc ecx
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x64]
call fcn.0040a5e0
mov al, byte [ebp - 0xad]
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 int.004016cd
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x48]
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
mov ecx, eax
call fcn.0040a1d0
push 0x40
push dword [ebp - 0x48]
call fcn.0040a1a2
add esp, 8
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x466963
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.0045be30
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x20
cmp eax, 8
jb 0x46699b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x21
cmp eax, 8
jb 0x4669c8
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a5e0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 4], 0x22
cmp eax, 8
jb 0x46690b
inc eax
push eax
jmp 0x466900
call fcn.0056e2db
int3