Function at 0x410500
Capabilities:
Copy file
Create directory
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x42a20b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
lea eax, [esp + 0x14c]
push str..
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x150], 1
call fcn.0042022f
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00420027
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ebp, ebx
mov byte [esp + ecx + 0x39], bl
jne 0x41058f
mov dword [esp + 0x18], ebx
jmp 0x410596
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x150]
mov ebp, dword [sym.imp.SHELL32.dll_SHFileOperationA]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x38]
push ecx
mov dword [esp + 0x20], 2
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], 0x214
mov dword [esp + 0x2e], ebx
mov dword [esp + 0x32], ebx
mov dword [esp + 0x36], str.Copy_files
call ebp
lea edx, [esp + 0x14c]
push 0x4343ac
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0042022f
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.00420027
cmp esi, ebx
je 0x41063f
lea ecx, [esp + 0x14c]
push 0x4343ac
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0042022f
mov eax, dword [eax]
mov byte [esp + 0x144], 2
push eax
call fcn.0040bfe0
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x144], 1
call fcn.00420027
mov eax, dword [esp + 0x14c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0x150]
push str.config.ini
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0042022f
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x38]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00420027
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x4343ac
lea eax, [esp + 0x14]
push edx
mov byte [esp + ecx + 0x41], bl
lea ecx, [esp + 0x40]
push eax
mov dword [esp + 0x2c], ecx
call fcn.0042022f
mov eax, dword [eax]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
call fcn.00420027
lea ecx, [esp + 0x18]
push ecx
call ebp
lea edx, [esp + 0x150]
push str.config.ini
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0042022f
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x14]
call fcn.00420027
lea ecx, [esp + 0x14c]
mov byte [esp + 0x144], bl
call fcn.00420027
lea ecx, [esp + 0x150]
mov dword [esp + 0x144], 0xffffffff
call fcn.00420027
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 8