Function at 0x420fa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d80dd
mov eax, dword fs:[0]
push eax
sub esp, 0x314
mov eax, dword [0x51f164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, 0x5296c0
nop dword [eax]
nop dword [eax + eax]
push str.:Users_
mov edx, 0x520088
lea ecx, [ebp - 0x58]
call fcn.00439b60
add esp, 4
mov dword [ebp - 4], 0
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x421006
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004380f0
mov dword [ebp - 0x2f8], 0
xor ecx, ecx
mov dword [ebp - 0x2f4], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x308], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2f8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x3f
push str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup_
lea ecx, [ebp - 0x308]
mov byte [ebp - 4], 1
call fcn.004380f0
mov dword [ebp - 0x60], 0
xor ecx, ecx
mov dword [ebp - 0x5c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2f4]
cmp edx, 8
jb 0x4210db
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4210d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
xor eax, eax
mov dword [ebp - 0x2f8], 0
mov dword [ebp - 0x2f4], 7
mov word [ebp - 0x308], ax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x421136
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42112c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x5c], 8
mov word [ebp - 0x58], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0x44], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4212d2
push 0x4ff890
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.00439b60
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004a89c0
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00431fa0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x42124f
push 0xc0
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004a89c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x238]
call fcn.00431cf0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x228]
cmp dword [0x51fd14], 8
mov edx, 0x51fd00
push dword [0x51fd10]
cmovae edx, dword [0x51fd00]
call fcn.0043f200
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.00437460
test eax, eax
jne 0x421240
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x238]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 6
call fcn.00420d70
lea ecx, [ebp - 0x2e0]
call fcn.00437460
test eax, eax
jne 0x421289
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x2f0]
call fcn.00420ea0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4212d2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4212c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
push str.:Documents_and_Settings_
mov edx, 0x520088
lea ecx, [ebp - 0x28]
call fcn.00439b60
add esp, 4
mov byte [ebp - 4], 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4212f5
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004380f0
mov dword [ebp - 0x310], 0
xor ecx, ecx
mov dword [ebp - 0x30c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x320], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x310], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 0x1d
push str.Start_MenuProgramsStartup_
lea ecx, [ebp - 0x320]
mov byte [ebp - 4], 9
call fcn.004380f0
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x30c]
cmp edx, 8
jb 0x4213ca
mov ecx, dword [ebp - 0x320]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4213c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
xor eax, eax
mov dword [ebp - 0x310], 0
mov dword [ebp - 0x30c], 7
mov word [ebp - 0x320], ax
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x421425
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42141b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x2c], 8
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
mov dword [ebp - 0x14], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4215c1
push 0x4ff890
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.00439b60
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0xd
push 0
push eax
call fcn.004a89c0
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00431fa0
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x42153e
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a89c0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x178]
call fcn.00431cf0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x168]
cmp dword [0x51fd14], 8
mov edx, 0x51fd00
push dword [0x51fd10]
cmovae edx, dword [0x51fd00]
call fcn.0043f200
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437460
test eax, eax
jne 0x42152f
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0xe
call fcn.00420d70
lea ecx, [ebp - 0x2e0]
call fcn.00437460
test eax, eax
jne 0x421578
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x2f0]
call fcn.00420ea0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4215c1
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4215b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4215ff
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4215f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x421654
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42164a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
inc edi
add esi, 0x18
cmp edi, dword [0x529518]
jbe 0x420fe0
push str.:Documents_and_Settings_
mov edx, 0x520088
lea ecx, [ebp - 0xb8]
call fcn.00439b60
add esp, 4
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0xa4], 8
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmovae eax, dword [ebp - 0xb8]
push eax
call esi
cmp eax, 0xffffffff
je 0x421819
push 0x4ff890
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x28]
call fcn.00439b60
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x11
push 0
push eax
call fcn.004a89c0
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00431fa0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421796
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a89c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.00431cf0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x168]
cmp dword [0x51fd14], 8
mov edx, 0x51fd00
push dword [0x51fd10]
cmovae edx, dword [0x51fd00]
call fcn.0043f200
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437460
test eax, eax
jne 0x421787
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x12
call fcn.00420d70
lea ecx, [ebp - 0x2e0]
call fcn.00437460
test eax, eax
jne 0x4217d0
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x2f0]
call fcn.00420ea0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x421819
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42180f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c72
push edx
push ecx
call fcn.00490c6c
add esp, 8
push str.:Users_
mov edx, 0x520088
lea ecx, [ebp - 0xa0]
call fcn.00439b60
add esp, 4
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xa0]
cmp dword [ebp - 0x8c], 8
cmovae eax, dword [ebp - 0xa0]
push eax
call esi
cmp eax, 0xffffffff
je 0x4219c5
push 0x4ff890
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.00439b60
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x15
push 0
push eax
call fcn.004a89c0
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00431fa0
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421942
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a89c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.00431cf0
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x168]
cmp dword [0x51fd14], 8
mov edx, 0x51fd00
push dword [0x51fd10]
cmovae edx, dword [0x51fd00]
call fcn.0043f200
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437460
test eax, eax
jne 0x421933
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x16
call fcn.00420d70
lea ecx, [ebp - 0x2e0]
call fcn.00437460
test eax, eax
jne 0x42197c
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x2f0]
call fcn.00420ea0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4219c5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4219bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c77
push edx
push ecx
call fcn.00490c6c
add esp, 8
push 0x50034c
mov edx, 0x520088
lea ecx, [ebp - 0x88]
call fcn.00439b60
add esp, 4
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x88]
cmp dword [ebp - 0x74], 8
cmovae eax, dword [ebp - 0x88]
push eax
call esi
cmp eax, 0xffffffff
je 0x421b6a
push str.Check_It.txt
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.00439b60
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x19
push 0
push eax
call fcn.004a89c0
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00431fa0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421aeb
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a89c0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.00431cf0
mov byte [ebp - 4], 0x1b
lea ecx, [ebp - 0x168]
cmp dword [0x51fd14], 8
mov edx, 0x51fd00
push dword [0x51fd10]
cmovae edx, dword [0x51fd00]
call fcn.0043f200
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437460
test eax, eax
jne 0x421adc
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0x178]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x1a
call fcn.00420d70
lea ecx, [ebp - 0x2e0]
call fcn.00437460
test eax, eax
jne 0x421b25
mov eax, dword [ebp - 0x2f0]
lea ecx, [ebp - 0x2f0]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00403740
lea ecx, [ebp - 0x2f0]
call fcn.00420ea0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x421b6a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421b60
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c7c
push edx
push ecx
call fcn.00490c6c
add esp, 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x421ba7
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421b9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c81
push edx
push ecx
call fcn.00490c6c
add esp, 8
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x421bfe
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421bf4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c81
push edx
push ecx
call fcn.00490c6c
add esp, 8
mov edx, dword [ebp - 0xa4]
xor eax, eax
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
cmp edx, 8
jb 0x421c57
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421c4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421c81
push edx
push ecx
call fcn.00490c6c
add esp, 8
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.004905eb
mov esp, ebp
pop ebp
ret
call fcn.004b5172
call fcn.004b5172
call fcn.004b5172
call fcn.004b5172
int3