Function at 0x47f534
Capabilities:
Delete file
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x8e
push 0
push 0
dec ecx
jne 0x47f53c
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x47f84c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x226]
call fcn.0047ec64
test al, al
je 0x47f82e
mov word [ebp - 0x430], 0x5c
mov word [ebp - 0x42e], 0x3f
mov word [ebp - 0x42c], 0x3f
mov word [ebp - 0x42a], 0x5c
mov word [ebp - 0x428], 0
lea eax, [ebp - 0x226]
push eax
lea eax, [ebp - 0x430]
push eax
call sub.KERNEL32.DLL_lstrcatW
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
lea edx, [ebp - 0x448]
mov eax, 0x47f864
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
mov eax, dword [ebp - 0x448]
call fcn.0046c0c0
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x47f822
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x44c]
mov eax, 0x47f890
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
mov eax, dword [ebp - 0x44c]
call fcn.0046c0c0
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegCreateKeyExA
test eax, eax
jne 0x47f819
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0x444]
push eax
lea edx, [ebp - 0x450]
mov eax, 0x47f8a4
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
mov eax, dword [ebp - 0x450]
call fcn.0046c0c0
push eax
call sym.D3DWindower.exe__Madcodehook_AnsiToWide_qqspcpb
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
lea edx, [ebp - 0x454]
mov eax, 0x47f8b8
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
mov eax, dword [ebp - 0x454]
call fcn.0046c0c0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
jne 0x47f7e1
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
lea edx, [ebp - 0x458]
mov eax, 0x47f8c8
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
mov eax, dword [ebp - 0x458]
call fcn.0046c0c0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
jne 0x47f7e1
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
lea edx, [ebp - 0x45c]
mov eax, 0x47f8e0
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
mov eax, dword [ebp - 0x45c]
call fcn.0046c0c0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
jne 0x47f7e1
lea eax, [ebp - 0x430]
push eax
call sub.KERNEL32.DLL_lstrlenW
add eax, eax
add eax, 2
push eax
lea eax, [ebp - 0x430]
push eax
push 1
push 0
lea eax, [ebp - 0x444]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
test eax, eax
jne 0x47f7e1
lea eax, [ebp - 0x430]
push eax
push 0x47f8f0
lea edx, [ebp - 0x464]
mov eax, 0x47f8fc
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
push dword [ebp - 0x464]
push 0x47f8f0
lea edx, [ebp - 0x468]
mov eax, 0x47f864
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
push dword [ebp - 0x468]
push 0x47f8f0
lea eax, [ebp - 0x46c]
push eax
mov eax, 0x47f890
pop edx
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
push dword [ebp - 0x46c]
lea eax, [ebp - 0x460]
mov edx, 6
call fcn.0046bfbc
mov eax, dword [ebp - 0x460]
call fcn.0046c0c0
push eax
call sym.D3DWindower.exe__Madcodehook_AnsiToWide_qqspcpb
lea esi, [ebp - 0x430]
mov dword [ebp - 0x18], esi
push esi
call sub.KERNEL32.DLL_lstrlenW
mov edi, eax
add edi, edi
mov word [ebp - 0x1c], di
add di, 2
mov word [ebp - 0x1a], di
mov eax, 0x47f918
call sym.D3DWindower.exe__Maddisasm_NtProc_qqr17System_AnsiString
lea edx, [ebp - 0x1c]
push edx
call eax
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
lea edx, [ebp - 0x470]
mov eax, 0x47f930
call sym.D3DWindower.exe__Madstrings_DecryptStr_qqr17System_AnsiString
mov eax, dword [ebp - 0x470]
call fcn.0046c0c0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov eax, dword [ebp - 0x14]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
lea eax, [ebp - 0x226]
push eax
call sub.KERNEL32.DLL_DeleteFileW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f853
lea eax, [ebp - 0x470]
mov edx, 0xb
call fcn.0046bca4
ret