Function at 0x403f14
Capabilities:
Copy file
Delete file
Move file
Query or enumerate registry value

Disassembly:
mov eax, 0x4737bb
call fcn.00467ed8
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x60], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x1d]
push ebx
push eax
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0x104
mov dword [ebp - 0x88], 0x47e4b8
mov dword [ebp - 0x68], 0x47e4b0
call fcn.0040590e
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x403f63
push dword [esi + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov dword [ebp - 0x1c], ebx
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x40402c
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push 0x495440
push 0x47f620
push eax
call dword [ecx + 0xc]
cmp eax, ebx
jl 0x40402c
lea eax, [ebp - 0x1e]
push 1
push eax
lea ecx, [ebp - 0x58]
call fcn.0040562c
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 4], 8
call fcn.0040582c
mov ecx, dword [eax]
mov byte [ebp - 4], 9
mov byte [eax + 4], 1
call fcn.004065c2
push 0x495314
mov edi, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
push edi
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
push dword [ebp - 0x18]
test eax, eax
setge byte [ebp - 0xd]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [ebp - 0x24], bl
mov byte [ebp - 4], 8
je 0x404002
mov ecx, dword [ebp - 0x28]
push dword [ecx + 0x1c]
call fcn.004057ef
cmp byte [ebp - 0xd], bl
je 0x404020
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x54]
neg eax
sbb eax, eax
push 0x495334
and eax, ecx
push eax
call fcn.0040a6c0
pop ecx
pop ecx
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
call fcn.00407d51
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 1
push ebx
call fcn.0040654b
push eax
push dword [esi + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4041c2
lea eax, [ebp - 0x2c]
push 0x104
push eax
lea ecx, [ebp - 0x88]
call fcn.00406c57
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 0xb
call fcn.00406617
lea ecx, [ebp - 0x30]
mov dword [edi + 8], eax
push ecx
push eax
lea eax, [ebp - 0x5c]
push eax
push ebx
push 0x4954a0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb al, al
lea ecx, [ebp - 0x2c]
inc al
mov byte [ebp - 4], 7
mov byte [ebp - 0xd], al
call fcn.00405d74
cmp byte [ebp - 0xd], bl
je 0x4041c2
push 0x18
xor eax, eax
pop ecx
lea edi, [ebp - 0xeb]
mov byte [ebp - 0xec], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi + 0x38]
cmp eax, ebx
mov dword [ebp - 0x24], eax
jne 0x4040ca
xor edi, edi
jmp 0x4040f9
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x18], eax
add eax, 3
and al, 0xfc
call fcn.00468060
mov edi, esp
push ebx
push ebx
push dword [ebp - 0x18]
mov byte [edi], bl
push edi
push 0xffffffffffffffff
push dword [ebp - 0x24]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push edi
lea eax, [ebp - 0xec]
push 0x495910
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0xec]
push eax
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edi, eax
cmp edi, ebx
jne 0x4041b4
cmp byte [esi + 0x8c], bl
lea eax, [esi + 0x64]
jne 0x40413e
lea eax, [esi + 0x3c]
push ebx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], 0x47e4b8
mov dword [ebp - 0x38], 0x47e4b0
call fcn.00405983
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
call fcn.00406617
lea ecx, [ebp - 0x88]
mov edi, eax
call fcn.00406617
push eax
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x404199
lea ecx, [ebp - 0x58]
call fcn.00406617
push ebx
lea ecx, [ebp - 0x88]
mov edi, eax
call fcn.00406617
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x88]
push eax
call fcn.00404260
pop ecx
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call fcn.00407d51
jmp 0x4041c2
push edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x3c]
call fcn.00406617
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call edi
lea ecx, [esi + 0x64]
call fcn.00406617
push eax
call edi
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x4041ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 5
call fcn.00407d51
cmp dword [ebp - 0x14], ebx
je 0x40420f
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 3
call fcn.00407d51
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 2
call fcn.00407d51
push dword [esi + 0x38]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x404240
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00407d51
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0xf8]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret