Function at 0x406890
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee922
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x53e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x58]
movq qword [ebp - 0x58], xmm0
call fcn.00402ad0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x58]
cmp esi, edi
je 0x406e34
nop dword [eax]
mov edx, esi
lea ecx, [ebp - 0x34]
call fcn.00402da0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x24], 0
je 0x406e1d
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
mov edx, 0x7c
lea ecx, [ebp - 0x34]
call fcn.004a7d50
mov eax, dword [ebp - 0x1c]
add esp, 4
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x14c], eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jb 0x406e11
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x150], ecx
jb 0x406997
mov eax, dword [eax]
mov dword [ebp - 0x14c], eax
cmp ecx, 8
jae 0x4069b2
movups xmm0, xmmword [eax]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 7
movups xmmword [ebp - 0x4c], xmm0
jmp 0x406a51
mov eax, ecx
mov ecx, 0x7ffffffe
or eax, 7
cmp eax, 0x7ffffffe
cmova eax, ecx
mov dword [ebp - 0x154], eax
inc eax
lea ecx, [eax + eax]
cmp eax, 0x7fffffff
jbe 0x4069da
or ecx, 0xffffffff
jmp 0x4069e2
cmp ecx, 0x1000
jb 0x406a0b
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.004ec162
add esp, 4
test eax, eax
je 0x406eeb
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x406a1e
test ecx, ecx
je 0x406a1c
push ecx
call fcn.004ec162
add esp, 4
mov ecx, eax
jmp 0x406a1e
xor ecx, ecx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x4c], ecx
lea eax, [eax*2 + 2]
push eax
mov eax, dword [ebp - 0x14c]
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x150]
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
xor ecx, ecx
call fcn.004b6f90
test al, al
je 0x406df9
push 0x50d190
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x178]
call fcn.0040d190
mov byte [ebp - 4], 5
lea edx, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x88]
call fcn.004b6a20
add esp, 8
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x178]
call fcn.00403780
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x406de3
xor eax, eax
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 7
mov word [ebp - 0x130], ax
mov byte [ebp - 4], 8
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x108], eax
mov dword [ebp - 0x104], 7
mov word [ebp - 0x118], ax
mov byte [ebp - 4], 9
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], 7
mov word [ebp - 0x100], ax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
mov byte [ebp - 4], 0xc
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 7
mov word [ebp - 0xb8], ax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x158]
call fcn.004bc040
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 2
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.0043efa0
test al, al
jne 0x406cbf
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x158]
call fcn.004bc130
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0xa0]
call fcn.00403780
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0xb8]
call fcn.00403780
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0xd0]
call fcn.00403780
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe8]
call fcn.00403780
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x100]
call fcn.00403780
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x118]
call fcn.00403780
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x130]
call fcn.00403780
jmp 0x406dea
cmp dword [ebp - 0x11c], 8
lea eax, [ebp - 0x130]
push str.2345InstDll.exe
cmovae eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x406d60
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x158]
call fcn.004bc130
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xa0]
call fcn.00403780
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0xb8]
call fcn.00403780
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0xd0]
call fcn.00403780
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xe8]
call fcn.00403780
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x100]
call fcn.00403780
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x118]
call fcn.00403780
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x130]
call fcn.00403780
jmp 0x406dea
lea ecx, [ebp - 0x88]
call fcn.004cfb90
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x158]
call fcn.004bc130
mov byte [ebp - 4], 0x28
lea ecx, [ebp - 0xa0]
call fcn.00403780
mov byte [ebp - 4], 0x27
lea ecx, [ebp - 0xb8]
call fcn.00403780
mov byte [ebp - 4], 0x26
lea ecx, [ebp - 0xd0]
call fcn.00403780
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0xe8]
call fcn.00403780
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x100]
call fcn.00403780
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x118]
call fcn.00403780
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x130]
call fcn.00403780
mov ecx, esi
call fcn.00402fb0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00403780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00403780
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00403780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00403700
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00403780
add esi, 0x18
cmp esi, edi
jne 0x4068f0
push 5
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x34]
push str.icons
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
call fcn.004037f0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x178]
call fcn.00437670
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x34]
push ecx
mov edx, eax
lea ecx, [ebp - 0x148]
call fcn.004b6a20
add esp, 4
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x178]
call fcn.00403780
mov byte [ebp - 4], 0x2e
lea ecx, [ebp - 0x34]
call fcn.00403780
lea ecx, [ebp - 0x148]
call fcn.004b2ec0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x148]
call fcn.00403780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00403700
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.004ec151
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3