Function at 0x623090
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6780cd
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x73bb00]
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 eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x2f8], ecx
push eax
call fcn.00626220
lea eax, [ebp - 0x2b0]
mov dword [ebp - 4], 0
push esi
push eax
call fcn.00626220
add esp, 0x10
lea eax, [ebp - 0x2ec]
mov byte [ebp - 4], 1
push eax
push 0xf003f
push 0
push str.SOFTWAREClasses
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x623120
mov eax, str.Error_opening_registry_key
jmp 0x623172
cmp dword [ebp - 0x23c], 7
lea ecx, [ebp - 0x2e4]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [ebp - 0x2ec]
call ebx
push dword [ebp - 0x2ec]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
call edi
test esi, esi
je 0x623188
mov eax, str.Error_creating_registry_key
push esi
push eax
push str.shell_register_protocol
call fcn.00626170
add esp, 0xc
xor bl, bl
jmp 0x6234f0
mov ecx, dword [ebp - 0x240]
mov eax, bind
sub eax, ecx
cmp eax, 4
jb 0x623586
cmp dword [ebp - 0x23c], 7
lea eax, [ebp - 0x250]
push ecx
cmova eax, dword [ebp - 0x250]
lea ecx, [ebp - 0x2c8]
push eax
push 4
push str.URL:
lea eax, [ebp - 0x250]
push eax
push dword [ebp - 0x2f8]
call fcn.0061ba50
push str._Protocol
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.0061a890
add esp, 0xc
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 4
call fcn.0042a0e0
mov eax, dword [ebp - 0x288]
cmp dword [ebp - 0x284], 7
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x298]
cmova eax, dword [ebp - 0x298]
push eax
push 1
push 0
push 0x6ec030
push dword [ebp - 0x2e4]
call esi
test eax, eax
je 0x623247
push eax
push str.Error_setting_registry_value
jmp 0x623298
push 2
push 0x6ec030
push 1
push 0
push str.URL_Protocol
push dword [ebp - 0x2e4]
call esi
test eax, eax
je 0x62326b
push eax
push str.Error_setting_registry_value
jmp 0x623298
push 0
lea eax, [ebp - 0x2f0]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.DefaultIcon
push dword [ebp - 0x2e4]
call ebx
test eax, eax
je 0x6232b4
push eax
push str.Error_creating_registry_key
push str.shell_register_protocol
call fcn.00626170
add esp, 0xc
push dword [ebp - 0x2e4]
call edi
xor bl, bl
jmp 0x6234e5
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2e0]
push 0x6ec19c
push eax
call fcn.0061a900
push 0x6ec194
push eax
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 5
push eax
call fcn.0061a890
add esp, 0x18
lea ecx, [ebp - 0x2e0]
mov byte [ebp - 4], 7
call fcn.0042a0e0
mov eax, dword [ebp - 0x270]
cmp dword [ebp - 0x26c], 7
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x280]
cmova eax, dword [ebp - 0x280]
push eax
push 1
push 0
push 0x6ec030
push dword [ebp - 0x2f0]
call esi
push dword [ebp - 0x2f0]
mov esi, eax
call edi
test esi, esi
je 0x623358
push esi
push str.Error_setting_registry_value
push str.shell_register_protocol
call fcn.00626170
add esp, 0xc
push dword [ebp - 0x2e4]
call edi
xor bl, bl
jmp 0x6234da
push 0
lea eax, [ebp - 0x2e8]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x6ec1a0
push dword [ebp - 0x2e4]
call ebx
push dword [ebp - 0x2e4]
mov esi, eax
call edi
test esi, esi
je 0x6233a3
push esi
push str.Error_creating_registry_key
push str.shell_register_protocol
call fcn.00626170
add esp, 0xc
xor bl, bl
jmp 0x6234da
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x2f4], 0x228
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push 2
push 0x6ec030
push 0
push dword [ebp - 0x2e8]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2c8]
push 0x6ec19c
push eax
call fcn.0061a900
push str.____1_
push eax
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 8
push eax
call fcn.0061a890
add esp, 0x18
lea ecx, [ebp - 0x2c8]
mov byte [ebp - 4], 0xa
call fcn.0042a0e0
mov ebx, dword [ebp - 0x268]
test esi, esi
mov esi, dword [ebp - 0x254]
jne 0x62346f
cmp esi, 7
lea eax, [ebp - 0x268]
lea ecx, [ebp - 0x238]
cmova eax, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x62345c
test dx, dx
je 0x623458
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x62345c
add ecx, 4
add eax, 4
test dx, dx
jne 0x623436
xor eax, eax
jmp 0x623461
sbb eax, eax
or eax, 1
test eax, eax
jne 0x62346f
push dword [ebp - 0x2e8]
call edi
jmp 0x6234cd
mov eax, dword [ebp - 0x258]
cmp esi, 7
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x268]
cmova eax, ebx
push eax
push 1
push 0
push 0x6ec030
push dword [ebp - 0x2e8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x2e8]
mov esi, eax
call edi
test esi, esi
je 0x6234c4
push esi
push str.Error_setting_registry_value
push str.shell_register_protocol
call fcn.00626170
add esp, 0xc
xor bl, bl
jmp 0x6234cf
mov eax, dword [ebp - 0x2f8]
mov byte [eax], 1
mov bl, 1
lea ecx, [ebp - 0x268]
call fcn.0042a0e0
lea ecx, [ebp - 0x280]
call fcn.0042a0e0
lea ecx, [ebp - 0x298]
call fcn.0042a0e0
mov ecx, dword [ebp - 0x29c]
cmp ecx, 7
jbe 0x62352c
mov edx, dword [ebp - 0x2b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x623522
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x62358b
push ecx
push edx
call fcn.00632721
add esp, 8
mov ecx, dword [ebp - 0x23c]
cmp ecx, 7
jbe 0x623568
mov edx, dword [ebp - 0x250]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x62355e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x62358b
push ecx
push edx
call fcn.00632721
add esp, 8
mov al, bl
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.0063292f
mov esp, ebp
pop ebp
ret
call fcn.00418610
call fcn.0063f01f
int3