Function at 0x40ea30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x674b0e
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x71506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x168], 0
cmp dword [esi + 0x40], 0
je 0x40ed6c
cmp dword [esi + 0x44], 0x10
lea edi, [esi + 0x30]
mov eax, edi
jb 0x40ea82
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x40ed6c
cmp byte [esi + 0xac], 0
je 0x40eaa5
push esi
call fcn.0040eda0
jmp 0x40ed6e
call fcn.004d5ab1
test al, al
je 0x40eb6c
mov eax, dword [0x725d28]
test eax, eax
je 0x40eb6c
cmp dword [eax + 4], 5
jl 0x40eb6c
sub esp, 0xc
lea ecx, [ebp - 0x160]
push 0x21
push str.CDoOwerInstall::DoInstall
push 5
call fcn.0040e3c0
mov dword [ebp - 0x164], eax
lea ebx, [eax + 0x30]
mov dword [ebp - 4], 0
mov edx, str.ins_exe_ins:
mov ecx, ebx
call fcn.0040e230
cmp dword [esi + 0xc8], 0x10
lea edx, [esi + 0xb4]
jb 0x40eb0d
mov edx, dword [edx]
mov ecx, ebx
call fcn.0040e230
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x40eb1e
mov edx, dword [edi]
mov ecx, ebx
call fcn.0040e230
mov edx, str._param:
mov ecx, ebx
call fcn.0040e230
cmp dword [esi + 0x170], 0x10
lea edx, [esi + 0x15c]
jb 0x40eb42
mov edx, dword [edx]
mov ecx, ebx
call fcn.0040e230
push dword [ebp - 0x164]
mov ecx, dword [0x725d28]
call fcn.00410b00
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], 0xffffffff
call fcn.0040e7c0
push 0x75300
push 1
push 0x3a8
sub esp, 0x18
lea eax, [esi + 0x15c]
mov ecx, esp
push eax
call fcn.00405f50
lea eax, [ebp - 0x40]
push eax
call fcn.004d08fb
add esp, 0x20
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x40eba4
mov eax, dword [eax]
push eax
push 0x3a8
sub esp, 0x18
mov ecx, esp
push edi
call fcn.00405f50
lea eax, [ebp - 0x28]
push eax
call fcn.004d08fb
add esp, 0x20
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x40ebcd
mov eax, dword [eax]
push eax
call fcn.004d7447
mov byte [ebp - 4], 1
add esp, 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40ec14
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec0a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed8c
push edx
push ecx
call fcn.00430080
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40ec69
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed91
push edx
push ecx
call fcn.00430080
add esp, 8
lea ecx, [ebp - 0x17c]
call fcn.004d3eb6
mov dword [ebp - 4], 3
mov ebx, dword [esi + 0x1f0]
mov esi, dword [esi + 0x1ec]
cmp esi, ebx
je 0x40ed59
nop
push esi
lea ecx, [ebp - 0x28]
call fcn.00405f50
push 0
sub esp, 0x18
mov byte [ebp - 4], 4
mov edi, esp
lea eax, [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00405f50
push edi
call fcn.004d07b7
add esp, 0x1c
lea ecx, [ebp - 0x17c]
call fcn.004d423a
movzx eax, al
mov dword [ebp - 0x168], eax
test eax, eax
jne 0x40ed29
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ed0b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed8c
push edx
push ecx
call fcn.00430080
add esp, 8
add esi, 0x18
cmp esi, ebx
jne 0x40ec90
lea ecx, [ebp - 0x17c]
call fcn.004d405d
mov al, byte [ebp - 0x168]
jmp 0x40ed6e
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40ed59
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ed4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ed96
push edx
push ecx
call fcn.00430080
add esp, 8
lea ecx, [ebp - 0x17c]
call fcn.004d405d
mov al, byte [ebp - 0x168]
jmp 0x40ed6e
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042fa05
mov esp, ebp
pop ebp
ret 4
call fcn.0050c210
call fcn.0050c210
call fcn.0050c210
int3