Function at 0x47562c
Capabilities:
Copy file
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x16
push 0
push 0
dec ecx
jne 0x475634
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov esi, eax
xor eax, eax
push ebp
push 0x475b17
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 8]
mov eax, esi
call fcn.0040df6c
push dword [ebp - 8]
push 0x475b30
push 0x475b40
lea eax, [ebp - 4]
mov edx, 3
call fcn.004053e4
push dword [ebp - 8]
push 0x475b4c
push 0x475b40
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004053e4
mov eax, dword [ebp - 8]
call fcn.00409d64
test al, al
je 0x475adf
mov eax, dword [ebp - 4]
call fcn.00409d64
test al, al
je 0x475adf
mov eax, dword [ebp - 8]
call fcn.00409d64
test al, al
jne 0x4756ce
mov eax, dword [ebp - 8]
call fcn.00409d88
test al, al
je 0x475adf
mov eax, dword [ebp - 0xc]
call fcn.00409d64
test al, al
jne 0x4756ea
mov eax, dword [ebp - 0xc]
call fcn.00409d88
test al, al
je 0x475adf
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4757d3
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00405368
mov eax, dword [ebp - 0x1c]
call fcn.00409d40
test al, al
je 0x4757c7
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0xc]
call fcn.00405368
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
call fcn.004054e0
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4757c7
push 1
push dword [ebp - 0xc]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x34]
push 0x475b5c
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004053e4
mov eax, dword [ebp - 0x30]
call fcn.004054e0
push eax
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0xc]
call fcn.00405368
mov eax, dword [ebp - 0x38]
call fcn.004054e0
push eax
call sub.kernel32.dll_MoveFileExA
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x475706
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x475add
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
xor edx, edx
push ebp
push 0x475ac7
push dword fs:[edx]
mov dword fs:[edx], esp
lea ecx, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 4]
call fcn.00405368
mov eax, dword [ebp - 0x40]
call fcn.00409d40
test al, al
jne 0x475832
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475ad1
lea ecx, [ebp - 0x50]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, dword [ebp - 8]
call fcn.00405368
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x48]
call fcn.00409f08
mov eax, dword [ebp - 0x48]
call fcn.00409d64
test al, al
jne 0x4758a5
lea ecx, [ebp - 0x5c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 8]
call fcn.00405368
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00409f08
mov eax, dword [ebp - 0x54]
call fcn.00409d88
test al, al
jne 0x4758a5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475ad1
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0xc]
call fcn.00405368
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x60]
call fcn.00409f08
mov eax, dword [ebp - 0x60]
call fcn.00409d64
test al, al
jne 0x475918
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0xc]
call fcn.00405368
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x6c]
call fcn.00409f08
mov eax, dword [ebp - 0x6c]
call fcn.00409d88
test al, al
jne 0x475918
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475ad1
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 8]
call fcn.00405368
mov eax, dword [ebp - 0x78]
call fcn.00409d40
test al, al
je 0x4759a3
push 1
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, dword [ebp - 0xc]
call fcn.00405368
mov eax, dword [ebp - 0x80]
call fcn.004054e0
push eax
lea ecx, [ebp - 0x8c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 8]
call fcn.00405368
mov eax, dword [ebp - 0x88]
call fcn.004054e0
push eax
call sub.kernel32.dll_MoveFileExA
push 0
lea ecx, [ebp - 0x94]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x94]
lea eax, [ebp - 0x90]
mov edx, dword [ebp - 8]
call fcn.00405368
mov eax, dword [ebp - 0x90]
call fcn.004054e0
push eax
lea ecx, [ebp - 0x9c]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, dword [ebp - 4]
call fcn.00405368
mov eax, dword [ebp - 0x98]
call fcn.004054e0
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x475a54
lea ecx, [ebp - 0xa4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov edx, dword [ebp - 4]
call fcn.00405368
mov ebx, dword [ebp - 0xa0]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x2c]
call fcn.004054e0
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x475abd
push 1
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 8]
call fcn.00405368
mov eax, dword [ebp - 0xa8]
call fcn.004054e0
push eax
lea ecx, [ebp - 0xb4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ecx, dword [ebp - 0xb4]
lea eax, [ebp - 0xb0]
mov edx, dword [ebp - 4]
call fcn.00405368
mov eax, dword [ebp - 0xb0]
call fcn.004054e0
push eax
call sub.kernel32.dll_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x475ad1
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x4757ef
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475b1e
lea eax, [ebp - 0xb4]
mov edx, 0x22
call fcn.00405074
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00405074
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405074
ret