Function at 0x300062e6
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x30001dbc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ebx, ebx
push ebx
mov dword [ebp - 0x21c], eax
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.3000dcde
call fcn.3000dd4b
mov esi, 0x190003
push esi
call sub.MSPGIMME.dll_EPLoadMSO
test eax, eax
jne 0x30006332
call fcn.3000ac79
xor eax, eax
jmp 0x3000650d
push esi
call sub.MSPGIMME.dll_SetupGimme
push ebx
call dword [sym.imp.MSO.dll_Ordinal_1378]
push eax
push 0x190002
call dword [sym.imp.MSO.dll_Ordinal_1835]
cmp eax, ebx
mov dword [0x300115cc], eax
je 0x3000632b
push edi
push 0x300030e3
call dword [sym.imp.MSO.dll_Ordinal_8119]
push 0x104
lea eax, [ebp - 0x214]
push eax
push 0x4655
push dword [0x300115cc]
call dword [sym.imp.USER32.dll_LoadStringW]
xor eax, eax
cmp dword [0x300115c4], ebx
push ebx
sete al
push eax
lea eax, [ebp - 0x214]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.3000bfb1
push ebx
push dword [ebp + 8]
mov ecx, 0x300115d4
push 0x30011048
call fcn.30002fc8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x30011604], eax
mov esi, 0x30001b44
lea edi, [ebp - 0xc]
lea eax, [ebp - 0x220]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x21c]
movsw word es:[edi], word [esi]
mov esi, dword [sym.imp.MSVCR80.dll_wcstok_s]
jmp 0x30006419
push 0x30001b2c
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x3000648e
push 0x30001b18
push edi
call dword [sym.imp.MSVCR80.dll__wcsicmp]
test eax, eax
pop ecx
pop ecx
je 0x3000649c
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0xc]
push eax
push ebx
call esi
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x300063e1
push 1
mov esi, 0x300115d4
push 4
mov ecx, esi
call fcn.30003aaa
push ebx
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push 0x30001580
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp dword [ebp - 0x218], ebx
je 0x30006486
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 4
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
push eax
push 4
push ebx
push 0x300015f8
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x300064b7
push ebx
push ebx
mov ecx, 0x300115d4
call fcn.30006281
jmp 0x3000650c
push ebx
push ebx
mov ecx, 0x300115d4
call fcn.3000621c
jmp 0x3000650c
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x23c]
push eax
call edi
test eax, eax
jne 0x300064aa
mov ecx, esi
call fcn.30003aec
push dword [0x300115cc]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x218], ebx
je 0x300064ff
push 0x300015f8
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.3000bdda
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.3000adb6
leave
ret 0x10