Function at 0x407fb0
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525199
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x56e00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x118], eax
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.00410f40
push 1
push 0x558400
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00410ae0
test edi, edi
jne 0x408027
push 0x449
push str.C:Program_Files__x86_Microsoft_Visual_Studio_14.0VCincludexstring
push str.invalid_null_pointer
call fcn.00490290
add esp, 0xc
cmp byte [edi], 0
jne 0x408030
xor ecx, ecx
jmp 0x40803e
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408035
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00410ae0
push 0x5589dc
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x80]
call fcn.00418690
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 2
push eax
mov edx, 0x55895c
lea ecx, [ebp - 0xd8]
call fcn.00418930
add esp, 8
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004151a0
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x40809f
inc eax
push eax
push dword [ebp - 0xd4]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 5
call fcn.00416a30
lea ecx, [ebp - 0xd8]
call fcn.00415cd0
mov byte [ebp - 4], 2
mov eax, dword [0x573c0c]
inc eax
push eax
call fcn.0048da00
sub esp, 8
mov ebx, eax
mov ecx, 0x573bf8
mov dword [ebp - 0x114], ebx
push esp
call fcn.004109c0
sub esp, 0xc
mov ecx, 0x573bf8
push esp
call fcn.00410a20
mov ecx, ebx
call fcn.00418a10
mov eax, dword [0x573c0c]
lea ecx, [ebp - 0xbc]
add esp, 0x18
mov byte [eax + ebx], 0
push 0x5589e4
call fcn.00410f40
push eax
mov edx, ebx
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd8]
call fcn.004188c0
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x40814b
mov esi, dword [eax + 4]
jmp 0x40814e
lea esi, [eax + 4]
push 0
push esi
call fcn.004b5f60
add esp, 8
test eax, eax
jne 0x40816c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x408187
inc eax
push eax
push dword [ebp - 0xd4]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00416a30
lea ecx, [ebp - 0xd8]
call fcn.00415cd0
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x4081d7
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
call fcn.00416a30
lea ecx, [ebp - 0xbc]
call fcn.00415cd0
push 0x5589e4
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 2
call fcn.00410f40
push eax
mov edx, ebx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
call fcn.004188c0
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x408240
mov ecx, dword [eax + 4]
jmp 0x408243
lea ecx, [eax + 4]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 1
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x408273
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0xd
call fcn.00416a30
lea ecx, [ebp - 0xbc]
call fcn.00415cd0
mov eax, dword [ebp - 0xc0]
cmp eax, 0x10
jb 0x4082c3
inc eax
push eax
push dword [ebp - 0xd4]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xf
call fcn.00416a30
lea ecx, [ebp - 0xd8]
call fcn.00415cd0
push 0x573bf8
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.00411180
push str.AuditPolicyGP.exe
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x64]
call fcn.00418620
add esp, 4
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x40833d
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x14
call fcn.00416a30
lea ecx, [ebp - 0xbc]
call fcn.00415cd0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x50]
inc eax
push eax
call fcn.0048da00
sub esp, 8
lea ecx, [ebp - 0x64]
mov ebx, eax
push esp
call fcn.004109c0
sub esp, 0xc
lea ecx, [ebp - 0x64]
push esp
call fcn.00410a20
mov ecx, ebx
call fcn.00418a10
mov eax, dword [ebp - 0x50]
mov edx, str.MangeFile
mov ecx, dword [ebp - 0x114]
push ebx
mov byte [eax + ebx], 0
call fcn.00407630
add esp, 0x1c
lea ecx, [ebp - 0x134]
push 0x573bf8
call fcn.00411180
push str._file_Name.txt
mov edx, eax
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0xd8]
call fcn.00418620
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x4083f0
mov eax, dword [eax + 4]
jmp 0x4083f3
add eax, 4
push 0x558a10
push eax
call fcn.004b12d0
add esp, 8
mov esi, eax
mov ecx, dword [ebp - 0xc0]
cmp ecx, 0x10
jb 0x40841e
inc ecx
push ecx
push dword [ebp - 0xd4]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xc0], 0xf
mov dword [ebp - 0xc4], 0
mov byte [ebp - 0xd4], 0
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x17
call fcn.00416a30
lea ecx, [ebp - 0xd8]
call fcn.00415cd0
mov eax, dword [ebp - 0x11c]
cmp eax, 0x10
jb 0x40846e
inc eax
push eax
push dword [ebp - 0x130]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x11c], 0xf
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x130], 0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0x19
call fcn.00416a30
lea ecx, [ebp - 0x134]
call fcn.00415cd0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x12
call fcn.0040aca0
push 0x558a24
lea edx, [ebp - 0x9c]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0xbc]
call fcn.00418690
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x4084da
mov eax, dword [eax + 4]
jmp 0x4084dd
add eax, 4
push esi
push eax
call fcn.004b9860
add esp, 8
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x408502
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x1c
call fcn.00416a30
lea ecx, [ebp - 0xbc]
call fcn.00415cd0
push edi
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x1a
call fcn.00410f40
push 0x55895c
mov edx, eax
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0xf4]
call fcn.00418620
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x1e
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.004187e0
add esp, 8
cmp dword [eax + 0x18], 0x10
jb 0x408580
mov eax, dword [eax + 4]
jmp 0x408583
add eax, 4
push esi
push eax
call fcn.004b9860
add esp, 8
mov eax, dword [ebp - 0xa4]
cmp eax, 0x10
jb 0x4085a8
inc eax
push eax
push dword [ebp - 0xb8]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xb8], 0
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 0x20
call fcn.00416a30
lea ecx, [ebp - 0xbc]
call fcn.00415cd0
mov eax, dword [ebp - 0xdc]
cmp eax, 0x10
jb 0x4085f8
inc eax
push eax
push dword [ebp - 0xf0]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x22
call fcn.00416a30
lea ecx, [ebp - 0xf4]
call fcn.00415cd0
mov eax, dword [ebp - 0xf8]
cmp eax, 0x10
jb 0x408648
inc eax
push eax
push dword [ebp - 0x10c]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x24
call fcn.00416a30
lea ecx, [ebp - 0x110]
call fcn.00415cd0
push esi
mov byte [ebp - 4], 0x1a
call fcn.004b20a0
mov ecx, dword [ebp - 0x114]
mov edx, str.file_Name.txt
push ebx
call fcn.00407630
add esp, 8
lea ecx, [ebp - 0xf4]
push 0x573bf8
call fcn.00411180
push str._file_Name.txt
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x110]
call fcn.00418620
add esp, 4
cmp dword [eax + 0x18], 0x10
jb 0x4086cf
mov esi, dword [eax + 4]
jmp 0x4086d2
lea esi, [eax + 4]
push 0
push esi
call fcn.004b5f60
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 8
test eax, eax
jne 0x4086f2
push eax
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0xf8]
cmp eax, 0x10
jb 0x40870d
inc eax
push eax
push dword [ebp - 0x10c]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x27
call fcn.00416a30
lea ecx, [ebp - 0x110]
call fcn.00415cd0
mov eax, dword [ebp - 0xdc]
cmp eax, 0x10
jb 0x40875d
inc eax
push eax
push dword [ebp - 0xf0]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x29
call fcn.00416a30
lea ecx, [ebp - 0xf4]
call fcn.00415cd0
push dword [ebp - 0x118]
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x1a
call fcn.00410f40
mov esi, eax
push 0x558400
mov edx, 0x573bf8
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x110]
call fcn.00418690
push esi
mov edx, eax
mov byte [ebp - 4], 0x2b
lea ecx, [ebp - 0x48]
call fcn.00418770
add esp, 8
mov eax, dword [ebp - 0xf8]
cmp eax, 0x10
jb 0x4087ef
inc eax
push eax
push dword [ebp - 0x10c]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xf8], 0xf
mov dword [ebp - 0xfc], 0
mov byte [ebp - 0x10c], 0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x2f
call fcn.00416a30
lea ecx, [ebp - 0x110]
call fcn.00415cd0
mov eax, dword [ebp - 0xdc]
cmp eax, 0x10
jb 0x40883f
inc eax
push eax
push dword [ebp - 0xf0]
call fcn.00419260
add esp, 8
mov dword [ebp - 0xdc], 0xf
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xf0], 0
lea ecx, [ebp - 0xf4]
mov byte [ebp - 4], 0x32
call fcn.00416a30
lea ecx, [ebp - 0xf4]
call fcn.00415cd0
mov byte [ebp - 4], 0x30
mov eax, dword [ebp - 0x34]
inc eax
push eax
call fcn.0048da00
sub esp, 8
lea ecx, [ebp - 0x48]
mov esi, eax
push esp
call fcn.004109c0
sub esp, 0xc
lea ecx, [ebp - 0x48]
push esp
call fcn.00410a20
mov ecx, esi
call fcn.00418a10
mov eax, dword [ebp - 0x34]
add esp, 0x18
mov ecx, dword [ebp - 0x118]
mov byte [eax + esi], 0
call fcn.00407e50
mov edx, esi
mov ecx, ebx
call fcn.00407910
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
push 1
cmovae eax, dword [ebp - 0x7c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push ebx
call fcn.004b5f60
add esp, 8
test eax, eax
jne 0x4088f0
push eax
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x408905
inc eax
push eax
push dword [ebp - 0x44]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x34
call fcn.00416a30
lea ecx, [ebp - 0x48]
call fcn.00415cd0
mov eax, dword [ebp - 0x84]
cmp eax, 0x10
jb 0x408946
inc eax
push eax
push dword [ebp - 0x98]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x84], 0xf
mov dword [ebp - 0x88], 0
mov byte [ebp - 0x98], 0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 0x36
call fcn.00416a30
lea ecx, [ebp - 0x9c]
call fcn.00415cd0
mov eax, dword [ebp - 0x4c]
cmp eax, 0x10
jb 0x408990
inc eax
push eax
push dword [ebp - 0x60]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x4c], 0xf
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x60], 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x38
call fcn.00416a30
lea ecx, [ebp - 0x64]
call fcn.00415cd0
mov eax, dword [ebp - 0x68]
cmp eax, 0x10
jb 0x4089cb
inc eax
push eax
push dword [ebp - 0x7c]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x3a
call fcn.00416a30
lea ecx, [ebp - 0x80]
call fcn.00415cd0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x408a06
inc eax
push eax
push dword [ebp - 0x28]
call fcn.00419260
add esp, 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x3c
call fcn.00416a30
lea ecx, [ebp - 0x2c]
call fcn.00415cd0
mov dword [ebp - 4], 0x3d
mov eax, dword [ebp + 0x24]
cmp eax, 0x10
jb 0x408a48
inc eax
push eax
push dword [ebp + 0x10]
call fcn.00419260
add esp, 8
mov dword [ebp + 0x24], 0xf
mov dword [ebp + 0x20], 0
mov byte [ebp + 0x10], 0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x3e
call fcn.00416a30
lea ecx, [ebp + 0xc]
call fcn.00415cd0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048cd50
mov esp, ebp
pop ebp
ret