Function at 0x407af0
Capabilities:
Check if file exists
Copy file
Create directory
Create process on windows
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf02d
mov eax, dword fs:[0]
push eax
sub esp, 0x344
mov eax, dword [0x4f7458]
xor eax, ebp
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2e8], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x24]
call fcn.00449fa0
mov byte [ebp - 4], 2
push 0x4ca748
lea ecx, [ebp - 0x94]
call fcn.00411370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0040f890
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x94]
sub eax, 0x10
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
call fcn.00403de0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xfc], ecx
push 0
mov edx, dword [ebp - 0xfc]
push edx
lea ecx, [ebp - 0x24]
call fcn.0044a05d
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x407c23
mov dword [ebp - 0x98], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
sub eax, 0x10
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
call fcn.00403de0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00449fc9
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0x104], ecx
mov ecx, dword [ebp - 0x104]
call fcn.00403de0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0x108], edx
mov ecx, dword [ebp - 0x108]
call fcn.00403de0
mov eax, dword [ebp - 0x98]
jmp 0x408ead
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x407c49
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.00447437
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411850
mov byte [ebp - 4], 6
call fcn.00447437
push eax
lea ecx, [ebp - 0x34]
call fcn.00411850
mov byte [ebp - 4], 7
call fcn.00447437
push eax
lea ecx, [ebp - 0x48]
call fcn.00411850
mov byte [ebp - 4], 8
call fcn.00447437
push eax
lea ecx, [ebp - 0x28]
call fcn.00411850
mov byte [ebp - 4], 9
mov ecx, 0x4f89c8
call fcn.00434fb0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x44], 0
je 0x408e33
lea ecx, [ebp - 0x24]
call fcn.00449bbe
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x24]
call fcn.00449f61
test eax, eax
je 0x407cc1
jmp 0x407c9e
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044a349
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x2ec]
mov dword [ebp - 0x110], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x110]
push edx
lea ecx, [ebp - 0x48]
call fcn.004118e0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x9c]
sub eax, 0x10
mov dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x114]
call fcn.00403de0
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004118e0
push 1
lea edx, [ebp - 0xa4]
push edx
lea ecx, [ebp - 0x3c]
call fcn.0040f740
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x118], 1
jne 0x407d78
push 0
mov ecx, dword [ebp - 0x11c]
call fcn.0040ff20
movzx eax, ax
mov ecx, 0x5c
movzx edx, cx
cmp eax, edx
jne 0x407d78
mov dword [ebp - 0x2f0], 0
jmp 0x407d82
mov dword [ebp - 0x2f0], 1
mov al, byte [ebp - 0x2f0]
mov byte [ebp - 0x9d], al
mov ecx, dword [ebp - 0xa4]
sub ecx, 0x10
mov dword [ebp - 0x120], ecx
mov ecx, dword [ebp - 0x120]
call fcn.00403de0
movzx edx, byte [ebp - 0x9d]
test edx, edx
je 0x407dc3
mov ax, 0x5c
movzx ecx, ax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004119a0
mov edx, dword [ebp - 0x48]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x3c]
call fcn.00410800
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004118e0
push 1
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f740
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x12c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x128], ecx
cmp dword [ebp - 0x128], 1
jne 0x407e47
push 0
mov ecx, dword [ebp - 0x12c]
call fcn.0040ff20
movzx edx, ax
mov eax, 0x5c
movzx ecx, ax
cmp edx, ecx
jne 0x407e47
mov dword [ebp - 0x2f4], 0
jmp 0x407e51
mov dword [ebp - 0x2f4], 1
mov dl, byte [ebp - 0x2f4]
mov byte [ebp - 0xa5], dl
lea ecx, [ebp - 0xac]
call fcn.00402470
movzx eax, byte [ebp - 0xa5]
test eax, eax
je 0x407e83
mov cx, 0x5c
movzx edx, cx
push edx
lea ecx, [ebp - 0x34]
call fcn.004119a0
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x34]
call fcn.00410800
push 0x10
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
mov eax, dword [edx + 0x38]
call eax
test eax, eax
je 0x407f6d
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0xb0], esp
mov dword [ebp - 0x140], edx
mov eax, dword [ebp - 0x3c]
sub eax, 0x10
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x138]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp - 0x13c]
add edx, 0x10
mov eax, dword [ebp - 0x140]
mov dword [eax], edx
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x2f8], ecx
mov byte [ebp - 4], 0xb
push ecx
mov edx, esp
mov dword [ebp - 0xb4], esp
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x10
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
add edx, 0x10
mov eax, dword [ebp - 0x14c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x2fc], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x2e8]
call fcn.00407af0
jmp 0x408e2e
cmp dword [ebp - 0x38], 0
jne 0x407f94
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
push eax
call fcn.004079e0
add esp, 4
test eax, eax
je 0x407f94
jmp 0x407c9e
cmp dword [ebp - 0x38], 0
je 0x408137
mov ecx, 0x4ca728
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x154], ecx
jne 0x407fc1
push 0x80004005
call fcn.00402430
xor edx, edx
jne 0x407f9e
xor eax, eax
jne 0x407fc5
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x158], ecx
push 0x4ca728
mov edx, dword [ebp - 0x158]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x407fff
jmp 0x407c9e
mov eax, str.CDGRegedit64.exe
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x160], eax
jne 0x408022
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x407fff
xor edx, edx
jne 0x408026
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x164], eax
push str.CDGRegedit64.exe
mov ecx, dword [ebp - 0x164]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x168], eax
cmp dword [ebp - 0x168], 0
jne 0x408137
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004118e0
push 1
lea eax, [ebp - 0xbc]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040f740
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 1
jne 0x4080bf
push 0
mov ecx, dword [ebp - 0x170]
call fcn.0040ff20
movzx ecx, ax
mov edx, 0x5c
movzx eax, dx
cmp ecx, eax
jne 0x4080bf
mov dword [ebp - 0x300], 0
jmp 0x4080c9
mov dword [ebp - 0x300], 1
mov cl, byte [ebp - 0x300]
mov byte [ebp - 0xb5], cl
lea ecx, [ebp - 0xbc]
call fcn.00402470
movzx edx, byte [ebp - 0xb5]
test edx, edx
je 0x4080fb
mov ax, 0x5c
movzx ecx, ax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004119a0
mov edx, 0x4ca728
test edx, edx
jne 0x408110
mov dword [ebp - 0x178], 0
jmp 0x408123
push 0x4ca728
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
push eax
push 0x4ca728
lea ecx, [ebp - 0x3c]
call fcn.00410800
mov ecx, str.UpdatePatch.exe
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x17c], ecx
jne 0x40815a
push 0x80004005
call fcn.00402430
xor edx, edx
jne 0x408137
xor eax, eax
jne 0x40815e
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x180], ecx
push str.UpdatePatch.exe
mov edx, dword [ebp - 0x180]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x184], eax
cmp dword [ebp - 0x184], 0
jne 0x408193
jmp 0x407c9e
mov eax, str.CDGMenu64.dll
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x188], eax
jne 0x4081b6
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x408193
xor edx, edx
jne 0x4081ba
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18c], eax
push str.CDGMenu64.dll
mov ecx, dword [ebp - 0x18c]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
je 0x408245
mov edx, str.CDGMenu.dll
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x194], edx
jne 0x40820d
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x4081ea
xor ecx, ecx
jne 0x408211
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x198], edx
push str.CDGMenu.dll
mov eax, dword [ebp - 0x198]
push eax
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x408674
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x1a0], edx
push 0
mov eax, dword [ebp - 0x1a0]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040f610
cmp eax, 0xffffffff
je 0x408674
call fcn.00447437
push eax
lea ecx, [ebp - 0x50]
call fcn.00411850
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x3c]
push ecx
push str._u___s____
lea edx, [ebp - 0xc0]
push edx
call fcn.0040fa50
add esp, 0xc
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x308], eax
mov byte [ebp - 4], 0xd
push 0x4ca690
mov ecx, dword [ebp - 0x308]
push ecx
lea edx, [ebp - 0xc4]
push edx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x30c]
mov dword [ebp - 0x1b0], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1b0]
push ecx
lea ecx, [ebp - 0x50]
call fcn.004118e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc4]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc0]
call fcn.00402470
push 0
push 0
mov edx, dword [ebp - 0x50]
push edx
push str.regsvr32.exe
push 0x4ca668
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1bc], eax
mov ecx, dword [ebp - 0x1bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
je 0x40835e
mov edx, dword [ebp - 0x4c]
and edx, 1
je 0x40835e
mov eax, dword [ebp - 0x4c]
and eax, 0xfffffffe
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.update_
mov edx, dword [ebp - 0x2e8]
push edx
lea eax, [ebp - 0xc8]
push eax
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x310], eax
mov ecx, dword [ebp - 0x310]
mov dword [ebp - 0x314], ecx
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x314]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x318], eax
mov edx, dword [ebp - 0x318]
mov dword [ebp - 0x31c], edx
mov byte [ebp - 4], 0x10
push str..tmp
mov eax, dword [ebp - 0x31c]
push eax
lea ecx, [ebp - 0xd0]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x320], eax
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x1c0], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x1c0]
push eax
lea ecx, [ebp - 0x50]
call fcn.004118e0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xd0]
call fcn.00402470
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xcc]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc8]
call fcn.00402470
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1d0]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1d4], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1d8], edx
push 0
mov eax, dword [ebp - 0x1d4]
push eax
mov ecx, dword [ebp - 0x1d8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40847e
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x2c], 0
je 0x4084a2
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory111_CopyFile_Succeed___s_____s.
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x10
jmp 0x4084c5
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyDriectory111_CopyFile_Fail__LastError__d___s_____s.
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x14
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4084e1
mov edx, dword [ebp - 0x4c]
and edx, 1
je 0x4084e1
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x3c]
push edx
push str._s____
lea eax, [ebp - 0xd4]
push eax
call fcn.0040fa50
add esp, 0xc
mov dword [ebp - 0x324], eax
mov ecx, dword [ebp - 0x324]
mov dword [ebp - 0x328], ecx
mov byte [ebp - 4], 0x12
push 0x4ca564
mov edx, dword [ebp - 0x328]
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp - 0x32c]
mov dword [ebp - 0x1dc], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x1dc]
push edx
lea ecx, [ebp - 0x50]
call fcn.004118e0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xd8]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xd4]
call fcn.00402470
push 0
push 0
mov eax, dword [ebp - 0x50]
push eax
push str.regsvr32.exe
push 0x4ca668
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.update_
mov ecx, dword [ebp - 0x2e8]
push ecx
lea edx, [ebp - 0xdc]
push edx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x330], eax
mov eax, dword [ebp - 0x330]
mov dword [ebp - 0x334], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x334]
push edx
lea eax, [ebp - 0xe0]
push eax
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x338], eax
mov ecx, dword [ebp - 0x338]
mov dword [ebp - 0x33c], ecx
mov byte [ebp - 4], 0x15
push str..tmp
mov edx, dword [ebp - 0x33c]
push edx
lea eax, [ebp - 0xe4]
push eax
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x1e8]
push edx
lea ecx, [ebp - 0x50]
call fcn.004118e0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xe4]
call fcn.00402470
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xe0]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xdc]
call fcn.00402470
push 4
push 0
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x50]
call fcn.00402470
jmp 0x407c9e
cmp dword [ebp + 0x10], 0
je 0x408812
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x1fc], ecx
mov edx, dword [ebp - 0x1fc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xffffffff
je 0x4086ee
mov eax, dword [ebp - 0x54]
and eax, 1
je 0x4086ee
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x200], ecx
mov edx, dword [ebp - 0x54]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp - 0x200]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jne 0x4086ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push str.CopyDriectory222_Set_SetFileAttributes_Fail___s_____s.ErrorCode:_d
mov eax, dword [ebp - 0x2e8]
push eax
call fcn.004028d0
add esp, 0x14
push 0x10000000
push str.EveryOne
mov ecx, dword [ebp - 0x34]
push ecx
call section..text
add esp, 0xc
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x204], edx
push 0x10000000
push str.EveryOne
mov eax, dword [ebp - 0x204]
push eax
call section..text
add esp, 0xc
test eax, eax
je 0x408748
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push str.CopyDriectory222_Set_EveryOneAccess_Ok___s_____s.
mov eax, dword [ebp - 0x2e8]
push eax
call fcn.004028d0
add esp, 0x10
jmp 0x40876b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push str.CopyDriectory222_Set_EveryOneAccess_Ok___s_____s.ErrorCode:_d
mov eax, dword [ebp - 0x2e8]
push eax
call fcn.004028d0
add esp, 0x14
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x208], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20c], edx
push 5
mov eax, dword [ebp - 0x208]
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4087c6
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyDriectory2224444_MoveFileEx_Fail__LastError__d___s_____s.
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x14
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x2c], 0
je 0x4087ea
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory222_MoveFileEx_Succeed___s_____s.
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x10
jmp 0x40880d
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyDriectory222_MoveFileEx_Fail__LastError__d___s_____s.
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x14
jmp 0x408e2e
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x210], edx
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0xffffffff
je 0x40884a
mov ecx, dword [ebp - 0x5c]
and ecx, 1
je 0x40884a
mov edx, dword [ebp - 0x5c]
and edx, 0xfffffffe
push edx
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ecx, 0x4ca260
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x214], ecx
jne 0x40886d
push 0x80004005
call fcn.00402430
xor edx, edx
jne 0x40884a
xor eax, eax
jne 0x408871
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x218], ecx
push 0x4ca260
mov edx, dword [ebp - 0x218]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x408a5c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x408a5c
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x228], eax
push 0
mov ecx, dword [ebp - 0x224]
push ecx
mov edx, dword [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x408a57
mov dword [ebp - 0x88], 3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x40891d
mov dword [ebp - 0x344], 0
jmp 0x4089de
mov ecx, dword [ebp - 0x64]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x3fffffff
jle 0x408945
mov dword [ebp - 0x348], 0
jmp 0x4089d2
mov eax, dword [ebp - 0x60]
shl eax, 1
call fcn.0048bb30
mov dword [ebp - 0x230], esp
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x348], edx
cmp dword [ebp - 0x230], 0
je 0x408970
cmp dword [ebp - 0x64], 0
jne 0x40897c
mov dword [ebp - 0x348], 0
jmp 0x4089d2
mov eax, dword [ebp - 0x230]
mov byte [eax], 0
push 0
push 0
mov ecx, dword [ebp - 0x60]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x230]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x64]
push eax
push 0
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x4089c6
mov dword [ebp - 0x348], 0
jmp 0x4089d2
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x348], edx
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x344], eax
mov ecx, dword [ebp - 0x344]
push ecx
lea ecx, [ebp - 0x84]
call fcn.0040fb90
mov byte [ebp - 4], 0x17
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0xe8], esp
mov dword [ebp - 0x254], edx
push 0
push 0
mov ecx, dword [ebp - 0x254]
call fcn.004101f0
mov eax, dword [0x4ca25c]
push eax
push 0
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x254]
call fcn.004100c0
mov edx, dword [ebp - 0x254]
mov dword [ebp - 0x34c], edx
mov ecx, 0x4f89c8
call fcn.0042b170
mov byte [ebp - 4], 9
push 0
push 1
lea ecx, [ebp - 0x84]
call fcn.004101f0
jmp 0x408e05
mov eax, str.PackageInfo.ini
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x258], eax
jne 0x408a7f
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x408a5c
xor edx, edx
jne 0x408a83
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x25c], eax
push str.PackageInfo.ini
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x408ae3
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x264], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x268], eax
push 0
mov ecx, dword [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x268]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x2c], eax
jmp 0x408e05
lea ecx, [ebp - 0x90]
call fcn.004023d0
mov byte [ebp - 4], 0x18
mov ecx, 0x4f89c8
call fcn.00434fb0
test eax, eax
je 0x408b41
mov eax, str.maillock64.sys
test eax, eax
jne 0x408b15
mov dword [ebp - 0x278], 0
jmp 0x408b28
push str.maillock64.sys
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
push ecx
push str.maillock64.sys
lea ecx, [ebp - 0x90]
call fcn.00411b20
jmp 0x408b80
mov edx, str.maillock.sys
test edx, edx
jne 0x408b56
mov dword [ebp - 0x27c], 0
jmp 0x408b69
push str.maillock.sys
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x27c], eax
mov eax, dword [ebp - 0x27c]
push eax
push str.maillock.sys
lea ecx, [ebp - 0x90]
call fcn.00411b20
mov ecx, dword [ebp - 0x90]
mov dword [ebp - 0x280], ecx
xor edx, edx
cmp dword [ebp - 0x280], 0
setne dl
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x284], edx
jne 0x408bb0
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x408b8c
xor ecx, ecx
jne 0x408bb4
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x288], edx
mov eax, dword [ebp - 0x280]
push eax
mov ecx, dword [ebp - 0x288]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 0
jne 0x408c3e
push ecx
mov edx, esp
mov dword [ebp - 0xec], esp
mov dword [ebp - 0x298], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x10
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x294], eax
mov edx, dword [ebp - 0x294]
add edx, 0x10
mov eax, dword [ebp - 0x298]
mov dword [eax], edx
mov ecx, dword [ebp - 0x298]
mov dword [ebp - 0x350], ecx
mov ecx, dword [ebp - 0x2e8]
call fcn.00407270
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x28]
call fcn.004118e0
mov eax, 0x4ca214
test eax, eax
jne 0x408c5f
mov dword [ebp - 0x2ac], 0
jmp 0x408c72
push 0x4ca214
call fcn.0048bb5c
add esp, 4
mov dword [ebp - 0x2ac], eax
mov ecx, dword [ebp - 0x2ac]
push ecx
push 0x4ca214
lea ecx, [ebp - 0x3c]
call fcn.00410800
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2b0], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2b4], eax
push 0
mov ecx, dword [ebp - 0x2b0]
push ecx
mov edx, dword [ebp - 0x2b4]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x408dd3
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push str.CopyDriectory333_CopyFile_failed:__s______s___d___will_use_RebootCopy
mov edx, dword [ebp - 0x2e8]
push edx
call fcn.004028d0
add esp, 0x14
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x2bc], ecx
push 0
mov edx, dword [ebp - 0x2b8]
push edx
mov eax, dword [ebp - 0x2bc]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x408dae
mov dword [ebp - 0x2c], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x34]
push edx
push str.CopyDriectory333_RebootCopy__CopyFile_succeed:__s______s
mov eax, dword [ebp - 0x2e8]
push eax
call fcn.004028d0
add esp, 0x14
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x2c4], edx
push 5
mov eax, dword [ebp - 0x2c0]
push eax
mov ecx, dword [ebp - 0x2c4]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x408d89
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3c]
push eax
push str.CopyDriectory333_RebootCopy__MoveFileEx_succeed:__s______s
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x10
jmp 0x408dac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x3c]
push eax
push str.CopyDriectory333_RebootCopy__MoveFileEx_failed:__s______s___d_
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x14
jmp 0x408dd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory333_RebootCopy__CopyFile_failed:__s______s___d_
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x14
jmp 0x408df6
mov dword [ebp - 0x2c], 1
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory333_CopyFile_succeed:__s______s
mov ecx, dword [ebp - 0x2e8]
push ecx
call fcn.004028d0
add esp, 0x10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x90]
call fcn.00402470
cmp dword [ebp - 0x2c], 0
jne 0x408e12
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x5c], 0xffffffff
je 0x408e2e
mov edx, dword [ebp - 0x5c]
and edx, 1
je 0x408e2e
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x407c9e
lea ecx, [ebp - 0x24]
call fcn.00449ad8
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0xf0], edx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00402470
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x48]
call fcn.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00402470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.00402470
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.00402470
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00449fc9
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00402470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00402470
mov eax, dword [ebp - 0xf0]
lea esp, [ebp - 0x354]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x68]
xor ecx, ebp
call fcn.0048abfc
mov esp, ebp
pop ebp
ret 0xc