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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41bd24
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x424018]
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 - 0xc4], eax
xor eax, eax
xor ebx, ebx
mov word [ebp - 0x2c], ax
push ebx
mov eax, 0x41e43c
lea esi, [ebp - 0x2c]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
call fcn.00404250
mov dword [ebp - 4], ebx
xor ecx, ecx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], cx
mov ebx, 1
mov byte [ebp - 4], bl
test byte [0x424c0c], bl
jne 0x402b58
or dword [0x424c0c], ebx
mov byte [ebp - 4], 2
call fcn.0040dbc0
push 0x41cdb0
call fcn.00419b1d
add esp, 4
mov byte [ebp - 4], bl
xor ebx, ebx
cmp dword [0x424c44], ebx
je 0x402bb3
mov edx, dword [0x424c10]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x424c34
or eax, 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00401cc0
mov eax, dword [0x424c10]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
mov eax, edi
call fcn.00401e90
push eax
call dword [sym.imp.MSVCR100.dll__waccess_s]
add esp, 8
test eax, eax
je 0x402bf4
mov dword [ebp - 0xbc], 0x101
jmp 0x402e40
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov edi, 8
cmp dword [ebp - 0x34], edi
jb 0x402bcc
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 0x402bea
mov eax, dword [ebp - 0x2c]
push eax
call esi
add esp, 4
mov eax, 0x300
jmp 0x402ed0
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0xc8], esp
mov byte [ecx], bl
push 0x424098
or eax, 0xffffffff
xor ebx, ebx
call fcn.00401ea0
mov ecx, edi
call fcn.00402ef0
test al, al
jne 0x402c34
mov dword [ebp - 0xbc], 0x1007
jmp 0x402e40
mov ecx, dword [ebp - 0xc0]
push ecx
lea edx, [ebp - 0xb8]
push edx
call fcn.00404c20
add esp, 8
mov ecx, eax
mov eax, 0x424098
lea ebx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.00404ce0
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.00404d20
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x402cec
cmp dword [ebp - 0x18], 8
jb 0x402c99
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
xor edx, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [esi + 0x14], 8
jae 0x402cc8
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x2c]
push esi
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
jmp 0x402ccf
mov edx, dword [esi]
mov dword [ebp - 0x2c], edx
mov dword [esi], ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x18], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov word [esi], dx
jmp 0x402cee
xor ebx, ebx
cmp dword [ebp - 0x50], 8
jb 0x402d01
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ecx, ecx
cmp dword [ebp - 0x88], 8
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
jb 0x402d2a
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov esi, 0x10
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], ax
cmp dword [ebp - 0x6c], esi
jb 0x402d5a
mov ecx, dword [ebp - 0x80]
push ecx
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 0x402d83
mov edx, dword [ebp - 0xb8]
push edx
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 0x402d8f
lea eax, [ebp - 0x2c]
push ebx
push eax
mov eax, edi
call fcn.00401e90
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, ebx
je 0x402e36
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402db3
lea eax, [ebp - 0x2c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x402e36
mov eax, dword [ebp - 0xbc]
mov esi, dword [ebp - 0xc4]
push eax
lea edx, [ebp - 0x2c]
mov ecx, esi
call fcn.004038c0
mov dword [ebp - 0xbc], eax
cmp eax, ebx
jne 0x402e40
mov edi, dword [ebp - 0xc0]
push esi
call fcn.00403a20
test eax, eax
jne 0x402e8d
xor edx, edx
mov byte [ebp - 0xc8], dl
mov ecx, dword [ebp - 0xc8]
push ecx
mov eax, 1
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xc8], esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], edx
push edi
or eax, 0xffffffff
xor ebx, ebx
mov byte [ecx], dl
call fcn.00401ea0
call fcn.004030d0
jmp 0x402e8d
mov dword [ebp - 0xbc], 0x103
cmp dword [ebp - 0x1c], 0
je 0x402e8d
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x402e52
lea eax, [ebp - 0x2c]
push 0
push eax
call dword [sym.imp.MSVCR100.dll__waccess_s]
add esp, 8
test eax, eax
jne 0x402e8d
lea ebx, [ebp - 0x2c]
lea eax, [ebp - 0xb8]
call fcn.004018b0
cmp dword [eax + 0x14], 0x10
jb 0x402e78
mov eax, dword [eax]
push eax
call dword [sym.imp.MSVCR100.dll_remove]
add esp, 4
lea esi, [ebp - 0xb8]
call fcn.004031a0
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x402ea4
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], 0
mov word [ebp - 0x48], ax
cmp dword [ebp - 0x18], esi
jb 0x402eca
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.004199f6
mov esp, ebp
pop ebp
ret 8