Function at 0x4061ca
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
mov eax, 0x41ab8e
call fcn.004081d8
sub esp, 0xb4
mov eax, dword [0x422980]
mov ecx, dword [ebp + 0x14]
push ebx
xor eax, ebp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [edi + 0x14], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], ebx
je 0x40643e
cmp dword [eax + 0x14], ebx
je 0x40643e
cmp dword [esi + 0x14], ebx
je 0x40643e
push str.psnetwork.ini
push 0x41bfdc
push 0x41bfd8
push str.vodnet
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x9c]
push ebx
push str.http:__
call fcn.00403af2
cmp eax, ebx
jne 0x40643e
push ebx
lea ecx, [ebp - 0x98]
call fcn.0040218c
mov dword [ebp - 4], ebx
call fcn.00404d9a
push eax
lea ecx, [ebp - 0x30]
call fcn.00401cad
push esi
mov esi, 0x41b504
lea eax, [ebp - 0xc0]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00403c58
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00401a0d
push ebx
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00401615
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x4062bd
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.00403c58
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00401a0d
push ebx
push 1
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 1
call fcn.00401615
mov eax, dword [ebp - 0x2c]
push 0x10
pop edi
cmp dword [ebp - 0x18], edi
jae 0x406306
lea eax, [ebp - 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call esi
push str..tmp
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00401e59
add esp, 0xc
cmp dword [ebp - 0x34], edi
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 4
jae 0x406333
lea ecx, [ebp - 0x48]
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 0x18], edi
jb 0x406343
mov eax, dword [eax + 4]
jmp 0x406346
add eax, 4
push ecx
push eax
push ebx
push ebx
push ebx
call fcn.004033f9
add esp, 0x14
cmp eax, ebx
jne 0x406419
cmp dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x48]
jae 0x406366
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x98]
call fcn.00402265
test eax, eax
je 0x406419
cmp dword [ebp - 0x18], edi
mov ecx, dword [ebp - 0x2c]
jae 0x406385
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x48]
jae 0x406390
lea eax, [ebp - 0x48]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x4063ab
cmp dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x48]
jae 0x4063a8
lea eax, [ebp - 0x48]
push eax
call esi
mov esi, dword [ebp - 0xa4]
cmp dword [esi + 0x14], ebx
je 0x40640f
cmp dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
jae 0x4063c1
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x9c], eax
cmp dword [esi + 0x18], edi
jb 0x4063d8
mov esi, dword [esi + 4]
jmp 0x4063db
add esi, 4
push esi
lea ecx, [ebp - 0x9c]
call fcn.00405f71
cmp eax, ebx
mov byte [ebp - 4], 6
je 0x4063fb
call eax
jmp 0x4063fb
cmp dword [ebp - 0x9c], ebx
je 0x40640f
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0xa0], 1
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401615
push ebx
push 1
lea ecx, [ebp - 0x30]
call fcn.00401615
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.0040237f
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xa0]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408280
leave
ret 0x10