Function at 0x407b20
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x449314]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, ParseURLW
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x10]
sub eax, ecx
mov dword [ebp - 0x2c], ecx
cmp eax, 0x13
jb 0x407e12
cmp dword [ebx + 0x14], 8
jb 0x407b5c
mov ebx, dword [ebx]
push esi
lea edx, [ecx + 0x13]
mov dword [ebp - 0x1c], 0
mov esi, 7
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], eax
cmp edx, esi
jbe 0x407bbd
mov esi, edx
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x407b9b
mov esi, ParseURLW
jmp 0x407ba5
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403d10
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], esi
lea esi, [ecx + ecx]
push esi
push ebx
mov ebx, dword [ebp - 0x20]
push ebx
mov dword [ebp - 0xc], edx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.CtxBrowserInt.json]
xor ecx, ecx
add esp, 0xc
movups xmmword [esi + ebx], xmm0
movups xmm0, xmmword [0x43d5cc]
movups xmmword [esi + ebx + 0x10], xmm0
mov eax, dword [0x43d5dc]
mov dword [esi + ebx + 0x20], eax
mov ax, word [0x43d5e0]
mov word [esi + ebx + 0x24], ax
mov eax, dword [ebp - 0x28]
mov word [ebx + eax*2], cx
lea ecx, [ebp - 0x1c]
cmp dword [ebp - 8], 8
mov eax, edi
cmovae ecx, dword [ebp - 0x1c]
cmp dword [edi + 0x14], 8
jb 0x407c1d
mov eax, dword [edi]
mov esi, dword [ebp - 0x24]
push 0x43d38c
push esi
push ecx
push 0
push eax
call fcn.00408b70
mov ebx, eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
js 0x407d02
mov ecx, dword [0x449ff8]
test ecx, ecx
je 0x407dc1
mov esi, dword [ecx]
mov eax, esi
mov ebx, dword [ecx + 4]
or eax, ebx
je 0x407dbe
test byte [ecx + 8], 2
je 0x407dbe
cmp byte [ecx + 0xf], 9
jb 0x407dbe
cmp dword [edi + 0x14], 8
jb 0x407c75
mov edi, dword [edi]
test edi, edi
je 0x407ce6
movzx edx, word [edi]
test dx, dx
je 0x407cc4
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407c90
sub ecx, dword [ebp - 0x24]
mov eax, str._NULL_
sar ecx, 1
test dx, dx
push 0
cmovne eax, edi
lea ecx, [ecx*2 + 2]
push ecx
push eax
push 0x16
push str.RegisterNativeMsgHost
push 0x19
jmp 0x407dad
push 0
test dx, dx
mov ecx, 0xe
push ecx
mov eax, str._NULL_
cmovne eax, edi
push eax
push 0x16
push str.RegisterNativeMsgHost
push 0x19
jmp 0x407dad
push 0
mov ecx, 0xa
mov eax, str.NULL
push ecx
push eax
push 0x16
push str.RegisterNativeMsgHost
push 0x19
jmp 0x407dad
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x407d0c
mov eax, dword [edi]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [0x449ff8]
test ecx, ecx
je 0x407dc1
mov esi, dword [ecx]
mov eax, esi
mov ebx, dword [ecx + 4]
or eax, ebx
je 0x407dbe
test byte [ecx + 8], 2
je 0x407dbe
cmp byte [ecx + 0xf], 9
jb 0x407dbe
cmp dword [edi + 0x14], 8
jb 0x407d49
mov edi, dword [edi]
test edi, edi
je 0x407d96
movzx edx, word [edi]
test dx, dx
je 0x407d84
mov ecx, edi
lea eax, [ecx + 2]
mov dword [ebp - 0x24], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407d60
sub ecx, dword [ebp - 0x24]
mov eax, str._NULL_
sar ecx, 1
test dx, dx
cmovne eax, edi
lea ecx, [ecx*2 + 2]
jmp 0x407da0
test dx, dx
mov eax, str._NULL_
mov ecx, 0xe
cmovne eax, edi
jmp 0x407da0
mov ecx, 0xa
mov eax, str.NULL
push 0
push ecx
push eax
push 0x18
push str.UnregisterNativeMsgHost
push 0x1a
push 0x43d36c
push 0x2b
push ebx
push esi
call fcn.0041bd20
add esp, 0x28
mov ebx, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
pop esi
cmp edx, 8
jb 0x407dfe
mov ecx, dword [ebp - 0x1c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x407df4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x407df4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00435eb6
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0043624e
mov esp, ebp
pop ebp
ret 0xc
call fcn.00402390
int3