Function at 0x10007bc0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10090065
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100bc0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.UserChoice
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 1
call fcn.10009ab0
mov byte [ebp - 4], 2
mov eax, SysReAllocString
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x10007e97
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 1
cmovae eax, dword [ebp + 8]
push 0x100ad74c
push ecx
push eax
push ecx
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x40]
call fcn.10009cf0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x48]
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.10009e10
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x10007cc2
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007cb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007e9c
push ecx
push edx
call fcn.10067e6b
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xf003f
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x34]
push eax
push SysReAllocString
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.10007910
test eax, eax
jne 0x10007d67
mov esi, dword [ebp - 0x34]
push 0x1a
push str.TSBrowserHTM
push 1
push eax
push str.ProgId
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp + 0x34], 8
lea edx, [ebp + 0x20]
jb 0x10007d22
mov edx, dword [ebp + 0x20]
test edx, edx
je 0x10007d59
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x5c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10007d30
sub ecx, dword [ebp - 0x5c]
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.Hash
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
test esi, esi
je 0x10007d75
push esi
jmp 0x10007d6f
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x10007d75
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x10007daf
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007da5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ea1
push ecx
push edx
call fcn.10067e6b
add esp, 8
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x10007dfd
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007df3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ea1
push ecx
push edx
call fcn.10067e6b
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x10007e33
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007e29
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ea1
push ecx
push edx
call fcn.10067e6b
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 8
jb 0x10007e7d
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10007e73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10007ea1
push ecx
push edx
call fcn.10067e6b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10067e5d
mov esp, ebp
pop ebp
ret
call fcn.100022a0
call fcn.1006f170
call fcn.1006f170
int3