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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8b9d
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.0043a350
add esp, 4
mov dword [ebp - 4], 0
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x4217d6
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004388e0
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.004388e0
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 0x4218ab
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4218a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
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 0x421906
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4218fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
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 0x421aa2
push str.Restore_Your_Files.txt
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.0043a350
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004a9190
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432790
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421a1f
push 0xc0
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004a9190
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x238]
call fcn.004324e0
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.0043f9e0
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.00437c60
test eax, eax
jne 0x421a10
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.00421540
lea ecx, [ebp - 0x2e0]
call fcn.00437c60
test eax, eax
jne 0x421a59
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.00421670
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x421aa2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421a98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
add esp, 8
push str.:Documents_and_Settings_
mov edx, 0x520088
lea ecx, [ebp - 0x28]
call fcn.0043a350
add esp, 4
mov byte [ebp - 4], 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x421ac5
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.004388e0
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.004388e0
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 0x421b9a
mov ecx, dword [ebp - 0x320]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421b90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
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 0x421bf5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
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 0x421d91
push str.Restore_Your_Files.txt
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0043a350
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0xd
push 0
push eax
call fcn.004a9190
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432790
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421d0e
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9190
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x178]
call fcn.004324e0
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.0043f9e0
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437c60
test eax, eax
jne 0x421cff
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.00421540
lea ecx, [ebp - 0x2e0]
call fcn.00437c60
test eax, eax
jne 0x421d48
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.00421670
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x421d91
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421d87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x421dcf
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421dc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
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 0x421e24
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421e1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
add esp, 8
inc edi
add esi, 0x18
cmp edi, dword [0x529518]
jbe 0x4217b0
push str.:Documents_and_Settings_
mov edx, 0x520088
lea ecx, [ebp - 0xb8]
call fcn.0043a350
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 0x421fe9
push str.Restore_Your_Files.txt
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x28]
call fcn.0043a350
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x11
push 0
push eax
call fcn.004a9190
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432790
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421f66
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9190
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.004324e0
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.0043f9e0
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437c60
test eax, eax
jne 0x421f57
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.00421540
lea ecx, [ebp - 0x2e0]
call fcn.00437c60
test eax, eax
jne 0x421fa0
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.00421670
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x421fe9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421fdf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422442
push edx
push ecx
call fcn.0049143c
add esp, 8
push str.:Users_
mov edx, 0x520088
lea ecx, [ebp - 0xa0]
call fcn.0043a350
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 0x422195
push str.Restore_Your_Files.txt
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.0043a350
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x15
push 0
push eax
call fcn.004a9190
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432790
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x422112
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9190
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.004324e0
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.0043f9e0
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437c60
test eax, eax
jne 0x422103
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.00421540
lea ecx, [ebp - 0x2e0]
call fcn.00437c60
test eax, eax
jne 0x42214c
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.00421670
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x422195
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42218b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422447
push edx
push ecx
call fcn.0049143c
add esp, 8
push 0x5003ac
mov edx, 0x520088
lea ecx, [ebp - 0x88]
call fcn.0043a350
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 0x42233a
push str.Check_It.txt
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.0043a350
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x19
push 0
push eax
call fcn.004a9190
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432790
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x4222bb
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9190
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.004324e0
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.0043f9e0
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437c60
test eax, eax
jne 0x4222ac
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.00421540
lea ecx, [ebp - 0x2e0]
call fcn.00437c60
test eax, eax
jne 0x4222f5
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.00421670
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x42233a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422330
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42244c
push edx
push ecx
call fcn.0049143c
add esp, 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x422377
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42236d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422451
push edx
push ecx
call fcn.0049143c
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 0x4223ce
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4223c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422451
push edx
push ecx
call fcn.0049143c
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 0x422427
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42241d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422451
push edx
push ecx
call fcn.0049143c
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.00490dbb
mov esp, ebp
pop ebp
ret
call fcn.004b5942
call fcn.004b5942
call fcn.004b5942
call fcn.004b5942
int3