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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bf04
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x425018]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc0], eax
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x2c], ax
push ebx
mov eax, 0x41e46c
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00404220
mov dword [ebp - 4], ebx
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov byte [ebp - 4], 1
test byte [0x425c0c], 1
jne 0x402c67
or dword [0x425c0c], 1
mov byte [ebp - 4], 2
call fcn.0040d580
push 0x41cf70
call fcn.00419c3d
add esp, 4
mov byte [ebp - 4], 1
cmp dword [0x425c44], ebx
je 0x402d32
mov edx, dword [0x425c10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x425c34
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401d50
mov eax, dword [0x425c10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea ecx, [ebp - 0xb8]
push edi
push ecx
call fcn.00404bf0
add esp, 8
mov ecx, eax
mov eax, 0x425098
lea ebx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.00404cb0
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.00401840
mov ecx, eax
lea eax, [ebp - 0x48]
lea ebx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.00404cf0
mov esi, eax
lea edx, [ebp - 0x2c]
cmp edx, esi
je 0x402d97
cmp dword [ebp - 0x18], 8
jb 0x402d02
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [esi + 0x14], 8
jae 0x402d73
mov eax, dword [esi + 0x10]
lea edx, [eax + eax + 2]
push edx
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x402d7a
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x402d4b
mov ecx, dword [ebp - 0x48]
push ecx
call esi
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], edi
jb 0x402d69
mov eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
mov eax, 0x300
jmp 0x402f84
mov ecx, dword [esi]
mov dword [ebp - 0x2c], ecx
mov dword [esi], ebx
mov edx, dword [esi + 0x10]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x18], eax
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], cx
jmp 0x402d99
xor ebx, ebx
cmp dword [ebp - 0x50], 8
jb 0x402dac
mov edx, dword [ebp - 0x64]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
jb 0x402dd5
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor edx, edx
mov esi, 0x10
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], dx
cmp dword [ebp - 0x6c], esi
jb 0x402e05
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], 1
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0xa4], esi
jb 0x402e2e
mov ecx, dword [ebp - 0xb8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402e3a
lea eax, [ebp - 0x2c]
push ebx
push eax
mov eax, dword [ebp - 0xbc]
call fcn.00403e00
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
jne 0x402e61
mov dword [ebp - 0xbc], 0x103
jmp 0x402ef9
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402e6d
lea eax, [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x402e89
mov dword [ebp - 0xbc], 0x103
jmp 0x402ef9
mov edx, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xc0]
push edx
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.00403980
mov dword [ebp - 0xbc], eax
cmp eax, ebx
jne 0x402ef4
push esi
call fcn.00403ae0
test eax, eax
jne 0x402f45
mov byte [ebp - 0xc4], bl
mov ecx, dword [ebp - 0xc4]
push ecx
mov eax, 1
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0xc4], esp
mov byte [ecx], bl
push edi
or eax, 0xffffffff
xor ebx, ebx
call fcn.00401f20
call fcn.00403190
jmp 0x402f43
mov esi, 0x10
cmp dword [ebp - 0x1c], ebx
je 0x402f45
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402f0a
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.MSVCR100.dll__waccess_s]
add esp, 8
test eax, eax
jne 0x402f45
lea ebx, [ebp - 0x2c]
lea eax, [ebp - 0xb8]
call fcn.004018b0
cmp dword [eax + 0x14], esi
jb 0x402f2e
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
lea esi, [ebp - 0xb8]
call fcn.00403260
xor ebx, ebx
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x402f5c
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x402f7e
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0xbc]
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.00419b16
mov esp, ebp
pop ebp
ret 8