Function at 0x45dd70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57190e
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5edd38]
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 + 0x10]
lea ecx, [ebp - 0x64]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xbc], 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.00408f30
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 0x45de08
mov edi, dword [edi]
cmp eax, 8
jae 0x45de1d
movups xmm0, xmmword [edi]
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
jmp 0x45de5e
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.00409030
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.0053e840
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 0x58f23c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040ddb0
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.0040ddb0
lea eax, [ebp - 0x28]
push eax
push eax
call fcn.0042c5d0
add esp, 8
test al, al
jne 0x45df43
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45dede
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 2
cmp edx, 0x1000
jb 0x45ded4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6ff
push edx
push ecx
call fcn.00409f25
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 0x45e614
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 3
cmp edx, 0x1000
jb 0x45df34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6ff
push edx
push ecx
call fcn.00409f25
add esp, 8
jmp 0x45e614
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 0x45e000
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x45df9b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x45df91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6ff
push edx
push ecx
call fcn.00409f25
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 0x45e614
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 5
cmp edx, 0x1000
jb 0x45dff1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6ff
push edx
push ecx
call fcn.00409f25
add esp, 8
jmp 0x45e614
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.0042c5d0
add esp, 8
test al, al
jne 0x45e11c
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x45e06b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 7
cmp edx, 0x1000
jb 0x45e061
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6ff
push edx
push ecx
call fcn.00409f25
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 0x45e0bd
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
mov byte [ebp - 4], 8
cmp edx, 0x1000
jb 0x45e0b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6ff
push edx
push ecx
call fcn.00409f25
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 0x45e614
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
mov dword [ebp - 4], 9
cmp edx, 0x1000
jb 0x45df34
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45e6ff
jmp 0x45df34
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00459270
add esp, 8
test al, al
jne 0x45e1b9
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45e1b9
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
cmp eax, 8
jb 0x45e15e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
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 0x45e18b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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 0x45e614
inc eax
push eax
jmp 0x45e609
push 0x30
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0053f340
add esp, 0xc
lea ecx, [ebp - 0xac]
push 0
call fcn.00408cb0
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xd
call fcn.004090a0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xac]
call fcn.0040c060
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 0x45e257
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x48]
push ecx
call fcn.00408e70
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.0040a140
mov esi, dword [ebp - 0xb4]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xac]
test edi, edi
je 0x45e2de
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xf
cmp eax, 8
jb 0x45e283
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
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 0x45e2b0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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 0x45e614
inc eax
push eax
jmp 0x45e609
lea eax, [ebp - 0xd4]
push eax
call fcn.004172f0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x12
call fcn.0040a1e0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0x14
call fcn.0040a280
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45e3df
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00459270
add esp, 8
test al, al
jne 0x45e3df
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x15
cmp eax, 8
jb 0x45e34c
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x16
cmp eax, 8
jb 0x45e384
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
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 0x45e3b1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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 0x45e614
inc eax
push eax
jmp 0x45e609
mov eax, dword [ebp - 0x84]
cmp eax, 1
jbe 0x45e49a
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x19
cmp eax, 8
jb 0x45e407
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
cmp eax, 8
jb 0x45e43f
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
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 0x45e46c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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 0x45e614
inc eax
push eax
jmp 0x45e609
test eax, eax
je 0x45e541
lea eax, [ebp - 0x88]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x48]
movlpd qword [ebp - 0x48], xmm0
call fcn.004a7ce0
mov eax, dword [ebp - 0x48]
mov byte [ebp - 4], 0x1d
mov esi, dword [eax]
mov dword [ebp - 0xb4], esi
cmp esi, eax
je 0x45e522
nop dword [eax]
cmp dword [esi + 0x24], 0x10
lea eax, [esi + 0x10]
jb 0x45e4db
mov eax, dword [eax]
push str.Embedding
push eax
call fcn.0054a1d2
add esp, 8
test eax, eax
jne 0x45e635
push 0x586454
add esi, 0x28
push esi
call fcn.00429c00
add esp, 8
test al, al
je 0x45e635
lea ecx, [ebp - 0xb4]
call fcn.0048ac00
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x48]
cmp esi, eax
jne 0x45e4d0
push dword [eax + 4]
lea eax, [ebp - 0x48]
push eax
mov ecx, eax
call fcn.00453cb0
push 0x40
push dword [ebp - 0x48]
call fcn.00409f25
add esp, 8
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0xbc]
lea eax, [ebp - 0x28]
cmp ecx, eax
je 0x45e55f
cmp dword [ebp - 0x14], 8
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00408f30
mov byte [ebp - 0xad], 1
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x24
cmp eax, 8
jb 0x45e57f
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x25
cmp eax, 8
jb 0x45e5b7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
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 0x45e5e4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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 0x45e614
inc ecx
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x64]
call fcn.0040a2e0
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 fcn.00401682
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.00453cb0
push 0x40
push dword [ebp - 0x48]
call fcn.00409f25
add esp, 8
mov eax, dword [ebp - 0x68]
mov byte [ebp - 4], 0x1f
cmp eax, 8
jb 0x45e66c
inc eax
lea ecx, [ebp - 0x7c]
push eax
push dword [ebp - 0x7c]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
call fcn.00453bd0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x20
cmp eax, 8
jb 0x45e6a4
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.0040a2e0
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 0x45e6d1
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.0040a2e0
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 0x45e614
inc eax
push eax
jmp 0x45e609
call fcn.0054223b
int3