Function at 0x481e30
Capabilities:
Check if file exists
Delete file
Move file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x559249
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5c5244]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x34], 0
mov eax, dword [esi + 4]
cmp eax, 1
je 0x482454
test eax, eax
je 0x482454
mov eax, dword [ebp + 0xc]
cmp eax, dword [edi + 0x18]
jne 0x481eda
push dword [esi + 0x10]
mov ecx, edi
call fcn.00482e00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x574f44
push eax
mov dword [ebp - 0x28], vtable.mf_bind_t_class_CNetGadget__class_CNetGadget___void_.0
mov dword [ebp - 0x20], 0x481ad0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x34], 1
call fcn.0042f550
mov eax, 1
add esp, 4
mov dword [ebp - 0x34], eax
and eax, 0xfffffffe
mov dword [ebp - 0x34], eax
jmp 0x4822c2
cmp eax, dword [edi + 0x4c]
jne 0x481f0c
push dword [esi + 0x10]
mov ecx, edi
call fcn.00483100
push edi
push 0
mov dword [edi + 0x80], eax
lea eax, [ebp - 0x28]
push 0x482490
push eax
call fcn.0047fa20
mov dword [ebp - 4], 1
jmp 0x4822b9
cmp eax, dword [edi + 0xb8]
jne 0x481f38
mov ecx, dword [edi + 0xe4]
test ecx, ecx
je 0x481f2d
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
add edi, 0xc0
jmp 0x482438
cmp eax, dword [edi + 0xe8]
jne 0x481f4d
push esi
mov ecx, edi
call fcn.00482530
jmp 0x482454
cmp eax, dword [edi + 0x120]
jne 0x481fe4
push dword [esi + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0042b850
mov dword [ebp - 4], 2
xor ebx, ebx
cmp dword [esi + 4], 2
jne 0x481f89
push 1
push dword [edi + 0x150]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, 1
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x481f9f
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [edi + 0x154], ebx
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x481fc7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push 0
lea eax, [ebp - 0x28]
push 0x481b20
push eax
call fcn.0047fa20
mov dword [ebp - 4], 4
jmp 0x4822b9
cmp eax, dword [edi + 0x158]
jne 0x4820c3
push dword [esi + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0042b850
mov dword [ebp - 4], 5
xor ebx, ebx
cmp dword [esi + 4], 2
jne 0x482020
push 1
push dword [edi + 0x188]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, 1
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482036
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [edi + 0x184], 0
je 0x482073
push ecx
mov esi, esp
mov dword [ebp - 0x30], esp
mov dword [ebp - 0x38], esi
mov eax, dword [edi + 0x188]
sub eax, 0x10
push eax
call fcn.00428580
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 7
lea ecx, [edi + 0x160]
push ebx
mov byte [ebp - 4], 5
call fcn.00480d80
mov ecx, dword [edi + 0x184]
add edi, 0x160
test ecx, ecx
je 0x482098
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x482454
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x482454
cmp eax, dword [edi + 0x18c]
jne 0x4821cf
push dword [esi + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0042b850
mov dword [ebp - 4], 9
xor ebx, ebx
cmp dword [esi + 4], 2
jne 0x482153
mov eax, dword [edi + 0x1c0]
cmp dword [eax - 0xc], ebx
je 0x482153
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00493c10
add esp, 8
mov byte [ebp - 4], 0xa
mov eax, dword [edi + 0x1c0]
test eax, eax
je 0x482472
push eax
push dword [ebp - 0x30]
call fcn.0051070a
add esp, 8
mov ecx, 1
test eax, eax
cmove ebx, ecx
mov byte [ebp - 4], 9
or esi, 0xffffffff
mov edx, dword [ebp - 0x30]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48214d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x48216c
jmp 0x482156
or esi, 0xffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48216c
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x1bc]
test ecx, ecx
je 0x482182
mov dword [ebp - 0x30], ebx
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [edi + 0x1bc]
add edi, 0x198
test ecx, ecx
je 0x4821a7
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x482454
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x482454
cmp eax, dword [edi + 0x84]
jne 0x4821fb
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x4821f0
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
add edi, 0x90
jmp 0x482438
cmp eax, dword [edi + 0x1c4]
jne 0x482227
mov ecx, dword [edi + 0x1f4]
test ecx, ecx
je 0x48221c
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
add edi, 0x1d0
jmp 0x482438
cmp eax, dword [edi + 0x258]
jne 0x4822ea
push dword [esi + 0x14]
lea ecx, [ebp - 0x2c]
call fcn.0042b850
mov dword [ebp - 4], 0xd
xor ebx, ebx
cmp dword [esi + 4], 2
jne 0x482263
push 1
push dword [edi + 0x288]
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, 1
push dword [ebp - 0x2c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482279
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [edi + 0x28c], ebx
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4822a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
push 0
lea eax, [ebp - 0x28]
push 0x481bd0
push eax
call fcn.0047fa20
mov dword [ebp - 4], 0xf
push eax
call fcn.0042f550
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], vtable.mf_bind_t_class_CNetGadget__class_CNetGadget___void_.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
jmp 0x482454
cmp eax, dword [edi + 0x1f8]
jne 0x482301
push dword [esi + 0x10]
mov ecx, edi
call fcn.00482b00
jmp 0x482454
cmp eax, dword [edi + 0x228]
jne 0x48232d
mov ecx, dword [edi + 0x254]
test ecx, ecx
je 0x482322
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
add edi, 0x230
jmp 0x482438
cmp eax, dword [edi + 0x290]
jne 0x482411
push dword [esi + 0x10]
call fcn.004eadc0
mov esi, eax
add esp, 4
test esi, esi
je 0x482454
push 4
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push 0x578cdc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00420e20
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x28]
push 0
push eax
push esi
call fcn.004ec4d0
add esp, 0xc
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4823d0
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4823c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48247c
push edx
push ecx
call fcn.004d9fad
add esp, 8
push esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004eaad0
add esp, 4
test edi, edi
jne 0x482454
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
push 4
push str.lds_show
push str.SOFTWAREQiLu_Inc.mininews
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x482454
cmp eax, dword [edi + 0x298]
jne 0x482454
mov ecx, dword [edi + 0x2c4]
test ecx, ecx
je 0x482432
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
add edi, 0x2a0
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x482454
mov edx, dword [ecx]
cmp ecx, edi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi + 0x24], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004da3bd
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.004225f0
call fcn.004fe4a8
int3