Function at 0x40e3c0
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 0x4bf7db
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x4f7458]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x24]
call fcn.00449fa0
mov byte [ebp - 4], 2
push 0x4ca748
lea ecx, [ebp - 0x5c]
call fcn.00411370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x5c]
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 - 0x5c]
sub eax, 0x10
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
call fcn.00403de0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xb4], ecx
push 0
mov edx, dword [ebp - 0xb4]
push edx
lea ecx, [ebp - 0x24]
call fcn.0044a05d
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x40e4e1
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x30]
sub eax, 0x10
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
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 - 0xbc], ecx
mov ecx, dword [ebp - 0xbc]
call fcn.00403de0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
sub edx, 0x10
mov dword [ebp - 0xc0], edx
mov ecx, dword [ebp - 0xc0]
call fcn.00403de0
mov eax, dword [ebp - 0x60]
jmp 0x40f035
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40e507
push 0
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.00447437
push eax
lea ecx, [ebp - 0x38]
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 - 0x44]
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
cmp dword [ebp - 0x40], 0
je 0x40efbb
lea ecx, [ebp - 0x24]
call fcn.00449bbe
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x24]
call fcn.00449f61
test eax, eax
je 0x40e572
jmp 0x40e54f
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x24]
call fcn.0044a349
mov dword [ebp - 0x1d8], eax
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp - 0xc8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x44]
call fcn.004118e0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x64]
sub eax, 0x10
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0xcc]
call fcn.00403de0
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004118e0
push 1
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x38]
call fcn.0040f740
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov ecx, dword [eax]
mov edx, dword [ecx - 0xc]
mov dword [ebp - 0xd0], edx
cmp dword [ebp - 0xd0], 1
jne 0x40e620
push 0
mov ecx, dword [ebp - 0xd4]
call fcn.0040ff20
movzx eax, ax
mov ecx, 0x5c
movzx edx, cx
cmp eax, edx
jne 0x40e620
mov dword [ebp - 0x1dc], 0
jmp 0x40e62a
mov dword [ebp - 0x1dc], 1
mov al, byte [ebp - 0x1dc]
mov byte [ebp - 0x65], al
mov ecx, dword [ebp - 0x6c]
sub ecx, 0x10
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0xd8]
call fcn.00403de0
movzx edx, byte [ebp - 0x65]
test edx, edx
je 0x40e662
mov ax, 0x5c
movzx ecx, ax
push ecx
lea ecx, [ebp - 0x38]
call fcn.004119a0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x38]
call fcn.00410800
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x34]
call fcn.004118e0
push 1
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f740
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0xe0], ecx
cmp dword [ebp - 0xe0], 1
jne 0x40e6e3
push 0
mov ecx, dword [ebp - 0xe4]
call fcn.0040ff20
movzx edx, ax
mov eax, 0x5c
movzx ecx, ax
cmp edx, ecx
jne 0x40e6e3
mov dword [ebp - 0x1e0], 0
jmp 0x40e6ed
mov dword [ebp - 0x1e0], 1
mov dl, byte [ebp - 0x1e0]
mov byte [ebp - 0x6d], dl
lea ecx, [ebp - 0x74]
call fcn.00402470
movzx eax, byte [ebp - 0x6d]
test eax, eax
je 0x40e716
mov cx, 0x5c
movzx edx, cx
push edx
lea ecx, [ebp - 0x34]
call fcn.004119a0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0xec], ecx
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp - 0x44]
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 0x40e7fa
mov ecx, dword [ebp + 0x10]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x78], esp
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x38]
sub eax, 0x10
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
add edx, 0x10
mov eax, dword [ebp - 0xf8]
mov dword [eax], edx
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x1e4], ecx
mov byte [ebp - 4], 0xb
push ecx
mov edx, esp
mov dword [ebp - 0x7c], esp
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x34]
sub eax, 0x10
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0xfc]
push ecx
call fcn.00411c60
add esp, 4
mov dword [ebp - 0x100], eax
mov edx, dword [ebp - 0x100]
add edx, 0x10
mov eax, dword [ebp - 0x104]
mov dword [eax], edx
mov ecx, dword [ebp - 0x104]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x1d4]
call fcn.0040e3c0
jmp 0x40efb6
mov edx, str.UpdatePatch.exe
neg edx
sbb edx, edx
neg edx
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x108], edx
jne 0x40e81d
push 0x80004005
call fcn.00402430
xor eax, eax
jne 0x40e7fa
xor ecx, ecx
jne 0x40e821
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x10c], edx
push str.UpdatePatch.exe
mov eax, dword [ebp - 0x10c]
push eax
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x40e856
jmp 0x40e54f
mov ecx, str.CDGMenu64.dll
neg ecx
sbb ecx, ecx
neg ecx
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x114], ecx
jne 0x40e879
push 0x80004005
call fcn.00402430
xor edx, edx
jne 0x40e856
xor eax, eax
jne 0x40e87d
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x118], ecx
push str.CDGMenu64.dll
mov edx, dword [ebp - 0x118]
push edx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x40e908
mov eax, str.CDGMenu.dll
neg eax
sbb eax, eax
neg eax
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x120], eax
jne 0x40e8d0
push 0x80004005
call fcn.00402430
xor ecx, ecx
jne 0x40e8ad
xor edx, edx
jne 0x40e8d4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x124], eax
push str.CDGMenu.dll
mov ecx, dword [ebp - 0x124]
push ecx
call fcn.0048c808
add esp, 8
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x40ed31
mov edx, dword [ebp - 0x1d4]
mov eax, dword [edx + 4]
mov dword [ebp - 0x12c], eax
push 0
mov ecx, dword [ebp - 0x12c]
push ecx
lea ecx, [ebp - 0x34]
call fcn.0040f610
cmp eax, 0xffffffff
je 0x40ed31
call fcn.00447437
push eax
lea ecx, [ebp - 0x4c]
call fcn.00411850
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x38]
push edx
push str._u___s____
lea eax, [ebp - 0x80]
push eax
call fcn.0040fa50
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], ecx
mov byte [ebp - 4], 0xd
push 0x4ca690
mov edx, dword [ebp - 0x1f0]
push edx
lea eax, [ebp - 0x84]
push eax
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x13c], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x13c]
push edx
lea ecx, [ebp - 0x4c]
call fcn.004118e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x84]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x80]
call fcn.00402470
push 0
push 0
mov eax, dword [ebp - 0x4c]
push eax
push str.regsvr32.exe
push 0x4ca668
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x148], ecx
mov edx, dword [ebp - 0x148]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0xffffffff
je 0x40ea1b
mov eax, dword [ebp - 0x48]
and eax, 1
je 0x40ea1b
mov ecx, dword [ebp - 0x48]
and ecx, 0xfffffffe
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push str.update_
mov eax, dword [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x1f8], eax
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], edx
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x1fc]
push ecx
lea edx, [ebp - 0x8c]
push edx
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x200], eax
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x204], eax
mov byte [ebp - 4], 0x10
push str..tmp
mov ecx, dword [ebp - 0x204]
push ecx
lea edx, [ebp - 0x90]
push edx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x14c], eax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004118e0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x90]
call fcn.00402470
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x8c]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x88]
call fcn.00402470
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x160], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x164], eax
push 0
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x164]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40eb3b
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x2c], 0
je 0x40eb5f
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push str.CopyDriectory111_CopyFile_Succeed___s_____s.
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.004028d0
add esp, 0x10
jmp 0x40eb82
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyDriectory111_CopyFile_Fail__LastError__d___s_____s.
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.004028d0
add esp, 0x14
cmp dword [ebp - 0x48], 0xffffffff
je 0x40eb9e
mov eax, dword [ebp - 0x48]
and eax, 1
je 0x40eb9e
mov ecx, dword [ebp - 0x48]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x38]
push eax
push str._s____
lea ecx, [ebp - 0x94]
push ecx
call fcn.0040fa50
add esp, 0xc
mov dword [ebp - 0x20c], eax
mov edx, dword [ebp - 0x20c]
mov dword [ebp - 0x210], edx
mov byte [ebp - 4], 0x12
push 0x4ca564
mov eax, dword [ebp - 0x210]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x214], eax
mov edx, dword [ebp - 0x214]
mov dword [ebp - 0x168], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004118e0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x98]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x94]
call fcn.00402470
push 0
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
push str.regsvr32.exe
push 0x4ca668
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push str.update_
mov edx, dword [ebp - 0x1d4]
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x21c], ecx
mov byte [ebp - 4], 0x14
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0040f890
add esp, 0xc
mov dword [ebp - 0x220], eax
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 0x15
push str..tmp
mov eax, dword [ebp - 0x224]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call fcn.0040f970
add esp, 0xc
mov dword [ebp - 0x228], eax
mov edx, dword [ebp - 0x228]
mov dword [ebp - 0x174], edx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp - 0x174]
push eax
lea ecx, [ebp - 0x4c]
call fcn.004118e0
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xa4]
call fcn.00402470
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xa0]
call fcn.00402470
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x9c]
call fcn.00402470
push 4
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4c]
call fcn.00402470
jmp 0x40e54f
cmp dword [ebp + 0x10], 0
je 0x40eecf
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x188], edx
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
je 0x40edab
mov ecx, dword [ebp - 0x50]
and ecx, 1
je 0x40edab
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x18c], edx
mov eax, dword [ebp - 0x50]
and eax, 0xfffffffe
push eax
mov ecx, dword [ebp - 0x18c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x40edab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory222_Set_SetFileAttributes_Fail___s_____s.ErrorCode:_d
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.004028d0
add esp, 0x14
push 0x10000000
push str.EveryOne
mov edx, dword [ebp - 0x34]
push edx
call section..text
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x190], eax
push 0x10000000
push str.EveryOne
mov ecx, dword [ebp - 0x190]
push ecx
call section..text
add esp, 0xc
test eax, eax
je 0x40ee05
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory222_Set_EveryOneAccess_Ok___s_____s.
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.004028d0
add esp, 0x10
jmp 0x40ee28
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory222_Set_EveryOneAccess_Ok___s_____s.ErrorCode:_d
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.004028d0
add esp, 0x14
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x194], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x198], eax
push 5
mov ecx, dword [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40ee83
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyDriectory2224444_MoveFileEx_Fail__LastError__d___s_____s.
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.004028d0
add esp, 0x14
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x2c], 0
je 0x40eea7
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
push str.CopyDriectory222_MoveFileEx_Succeed___s_____s.
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.004028d0
add esp, 0x10
jmp 0x40eeca
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyDriectory222_MoveFileEx_Fail__LastError__d___s_____s.
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.004028d0
add esp, 0x14
jmp 0x40efb6
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x19c], eax
mov ecx, dword [ebp - 0x19c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
je 0x40ef07
mov edx, dword [ebp - 0x58]
and edx, 1
je 0x40ef07
mov eax, dword [ebp - 0x58]
and eax, 0xfffffffe
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x38]
push edx
lea ecx, [ebp - 0x28]
call fcn.004118e0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1b4], ecx
push 0
mov edx, dword [ebp - 0x1b0]
push edx
mov eax, dword [ebp - 0x1b4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40ef4b
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x2c], 0
je 0x40ef73
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x34]
push eax
push str.CopyDriectory333_CopyFile_Succeed___s_____s.strTemp:_s
mov ecx, dword [ebp - 0x1d4]
push ecx
call fcn.004028d0
add esp, 0x14
jmp 0x40ef9a
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CopyDriectory333_CopyFile_Fail__LastError__d___s_____s.strTemp:_s
mov edx, dword [ebp - 0x1d4]
push edx
call fcn.004028d0
add esp, 0x18
cmp dword [ebp - 0x58], 0xffffffff
je 0x40efb6
mov eax, dword [ebp - 0x58]
and eax, 1
je 0x40efb6
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x40e54f
lea ecx, [ebp - 0x24]
call fcn.00449ad8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xa8], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
call fcn.00402470
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x44]
call fcn.00402470
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x34]
call fcn.00402470
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
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 - 0xa8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc