Function at 0x401010
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x442f10
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x450ae0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x40]
call fcn.0040a9e0
lea esi, [esp + 0x3c]
mov dword [esp + 0x2c], 0
call fcn.00402920
test al, al
jne 0x401232
mov eax, dword [esp + 0x3c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.0040a450
lea ecx, [esp + 0x14]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.00401f30
add esp, 8
lea esi, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.00402920
test al, al
je 0x4010b5
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x401226
push 0x44822c
lea ecx, [esp + 0x18]
call fcn.0040a900
push 0x44822c
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 2
call fcn.0040a900
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
mov byte [esp + 0x30], 3
mov eax, dword [esp + 0x10]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.0040a450
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00402620
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.0040a450
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x20]
add esp, 4
push eax
call fcn.00401cc0
mov byte [esp + 0x34], 4
mov eax, dword [esp + 0x44]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov edi, esp
push eax
call fcn.0040a450
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x34], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.0040a450
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x34], 4
call fcn.00401270
add esp, 8
test esi, esi
jle 0x40119e
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [esp + 0x2c], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4011c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4011e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40120d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x401232
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40125a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret 0x10