Function at 0x67c35d
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x224]
sub esp, 0x224
push 0xffffffffffffffff
push 0x6a16c7
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x79b544]
xor eax, ebp
mov dword [ebp + 0x220], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
xor edi, edi
lea eax, [ebp + 0x18]
push edi
push eax
mov dword [ebp - 0x1c], edi
call fcn.00506c70
push esi
lea ecx, [ebp]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0045ae92
add esp, 0x10
push 8
pop ebx
mov dword [ebp - 4], edi
lea eax, [ebp]
cmp dword [ebp + 0x14], ebx
jb 0x67c3d2
mov eax, dword [ebp]
push eax
push str._CreateCustomProtocol____subkey_to_chaeck__s
call fcn.006778de
lea eax, [ebp]
pop ecx
pop ecx
cmp dword [ebp + 0x14], ebx
jb 0x67c3ea
mov eax, dword [ebp]
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi + 0x48], eax
test eax, eax
je 0x67c5bd
push str._RegopenKey_failed.So_We_are_creating_the_key
call fcn.006778de
lea eax, [ebp]
pop ecx
cmp dword [ebp + 0x14], ebx
jb 0x67c421
mov eax, dword [ebp]
push edi
lea ecx, [ebp - 0x10]
push ecx
push edi
push 0xf003f
push edi
push edi
push edi
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [esi + 0x48], eax
test eax, eax
jne 0x67c5ed
push str._Regcreatekey_success_creating_subkeys__values
call fcn.006778de
mov eax, esi
pop ecx
cmp dword [esi + 0x14], ebx
jb 0x67c45a
mov eax, dword [esi]
push eax
push str.URL:_s_Protocol
lea eax, [ebp + 0x18]
push 0x104
push eax
call fcn.0045ae47
lea ecx, [ebp + 0x18]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x67c477
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp + 0x18]
push eax
push 1
push edi
push 0x750660
push dword [ebp - 0x10]
call ebx
mov dword [esi + 0x48], eax
test eax, eax
jne 0x67c5ed
push 4
push 0x7517d2
push 1
push edi
push str.URL_Protocol
push dword [ebp - 0x10]
call ebx
mov dword [esi + 0x48], eax
test eax, eax
jne 0x67c5ed
lea eax, [ebp - 0x18]
push eax
push str.DefaultIcon
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [esi + 0x48], eax
test eax, eax
jne 0x67c5ed
lea edi, [esi + 0x30]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x67c4f9
mov eax, dword [edi]
push eax
push 0x75734c
lea eax, [ebp + 0x18]
push 0x104
push eax
call fcn.0045ae47
lea ecx, [ebp + 0x18]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x1c]
jne 0x67c516
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp + 0x18]
push eax
push 1
xor eax, eax
push eax
push 0x750660
push dword [ebp - 0x18]
call ebx
mov dword [esi + 0x48], eax
test eax, eax
jne 0x67c5ed
lea eax, [ebp - 0x14]
push eax
push str.ShellOpencommand
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov dword [esi + 0x48], eax
test eax, eax
jne 0x67c5ed
cmp dword [edi + 0x14], 8
jb 0x67c571
mov edi, dword [edi]
push edi
push str.__s___LaunchAppArgs____1_
lea eax, [ebp + 0x18]
push 0x104
push eax
call fcn.0045ae47
lea ecx, [ebp + 0x18]
add esp, 0x10
lea edx, [ecx + 2]
xor edi, edi
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x67c590
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp + 0x18]
push eax
push 1
push edi
push 0x750660
push dword [ebp - 0x14]
call ebx
mov dword [esi + 0x48], eax
jmp 0x67c5ed
or dword [esi + 0x48], 0xffffffff
mov eax, esi
cmp dword [esi + 0x14], ebx
jb 0x67c5ca
mov eax, dword [esi]
push eax
push str._s_Key_is_already_present.
lea eax, [ebp + 0x18]
push 0x104
push eax
call fcn.0045ae47
add esp, 0x10
lea eax, [ebp + 0x18]
lea ecx, [esi + 0x4c]
push eax
call fcn.0045176e
xor ebx, ebx
cmp dword [esi + 0x48], ebx
je 0x67c5fb
mov ecx, esi
call fcn.0067c658
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], ebx
je 0x67c60e
push dword [ebp - 0x14]
call edi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
je 0x67c61b
push dword [ebp - 0x18]
call edi
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x10], ebx
je 0x67c628
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], ebx
mov esi, dword [esi + 0x48]
lea ecx, [ebp]
call fcn.00451740
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x220]
xor ecx, ebp
call fcn.0049b511
add ebp, 0x224
leave
ret