Function at 0x1007ab70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ebx, dword [ebp + 8]
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [esp + 0x30], eax
cmp byte [0x100a5610], 0
je 0x1007ab15
lea esi, [esp + 0x18]
mov ecx, esi
call fcn.10015c60
cmp byte [esi + 4], 0
jne 0x1007ab44
lea esi, [esp + 0x18]
mov eax, dword [esi]
mov dword [esp + 4], eax
mov ecx, esi
call fcn.10015cf0
cmp byte [esi + 4], 0
jne 0x1007ab50
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
mov edi, dword [eax]
mov ecx, esi
mov dword [esp], edx
push str.ScreenX
call fcn.10015da0
add esp, 4
mov dword [esp + 0x10], edi
cmp dword [esp + 0x2c], 8
jb 0x1007a601
mov esi, dword [esp + 0x18]
mov eax, 4
lea ecx, [esp + 0x10]
push eax
push ecx
push eax
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 7
jbe 0x1007a64e
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a645
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test esi, esi
jne 0x1007ab21
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
lea esi, [esp + 0x18]
mov ecx, esi
mov edx, dword [esp]
push 0x1009a838
call fcn.10015da0
add esp, 4
mov dword [esp + 0x10], edi
cmp dword [esi + 0x14], 8
jb 0x1007a680
mov esi, dword [esp + 0x18]
mov eax, 4
push eax
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1007a6cd
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a6c4
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test esi, esi
jne 0x1007ab21
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
lea esi, [esp + 0x18]
mov ecx, esi
mov edx, dword [esp]
push str.Width
call fcn.10015da0
add esp, 4
mov dword [esp + 0x10], edi
cmp dword [esi + 0x14], 8
jb 0x1007a6ff
mov esi, dword [esp + 0x18]
mov eax, 4
push eax
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1007a74c
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a743
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test esi, esi
jne 0x1007ab21
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
lea esi, [esp + 0x18]
mov ecx, esi
mov edx, dword [esp]
push str.Height
call fcn.10015da0
add esp, 4
mov dword [esp + 0x10], edi
cmp dword [esi + 0x14], 8
jb 0x1007a77e
mov esi, dword [esp + 0x18]
mov eax, 4
push eax
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1007a7cb
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a7c2
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test esi, esi
jne 0x1007ab21
mov eax, dword [ebp + 0xc]
movzx edi, byte [eax + 0x44]
lea esi, [esp + 0x18]
mov ecx, esi
mov edx, dword [esp]
push str.Maximized
call fcn.10015da0
add esp, 4
mov dword [esp + 0x10], edi
cmp dword [esi + 0x14], 8
jb 0x1007a7fe
mov esi, dword [esp + 0x18]
mov eax, 4
push eax
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1007a84b
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a842
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test esi, esi
jne 0x1007ab21
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0x45]
mov ecx, eax
or ecx, 2
cmp byte [edx + 0x46], 0
cmove ecx, eax
mov edi, 4
mov eax, ecx
or eax, edi
cmp byte [edx + 0x47], 0
cmove eax, ecx
mov ecx, dword [edx + 0x48]
mov edx, eax
or edx, 8
cmp ecx, 1
cmovne edx, eax
mov ebx, edx
or ebx, 0x10
cmp ecx, 2
cmovne ebx, edx
lea esi, [esp + 0x18]
mov ecx, esi
mov edx, dword [esp]
push str.Flags
call fcn.10015da0
add esp, 4
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x14], 8
jb 0x1007a8b3
mov esi, dword [esp + 0x18]
push edi
lea eax, [esp + 0x14]
push eax
push edi
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
mov ebx, dword [ebp + 8]
mov edi, dword [esp]
jb 0x1007a901
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a8f8
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test esi, esi
jne 0x1007ab2d
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 8], xmm0
lea esi, [esp + 0x18]
mov ecx, esi
mov edx, edi
push str.CssToDevPixelScaling
call fcn.10015da0
add esp, 4
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x10], xmm0
cmp dword [esi + 0x14], 8
jb 0x1007a942
mov esi, dword [esp + 0x18]
push 8
lea eax, [esp + 0x14]
push eax
push 3
push 0
push esi
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1007a98c
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a983
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test esi, esi
jne 0x1007ab2d
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 0x10]
lea esi, [esp + 0x18]
mov ecx, esi
mov edx, edi
push str.UrlbarCSSSpan
call fcn.10015da0
add esp, 4
lea edi, [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 4]
push 1
push ebx
push esi
call 0x1007ab70
add esp, 0xc
mov bl, byte [edi + 4]
mov edi, dword [edi]
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x1007a9fb
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007a9f2
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test bl, bl
jne 0x1007ab39
mov eax, dword [ebp + 0xc]
lea ebx, [eax + 0x20]
mov ecx, esi
mov edx, dword [esp]
push str.SearchbarCSSSpan
call fcn.10015da0
add esp, 4
lea edi, [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 4]
push 1
push ebx
push esi
call 0x1007ab70
add esp, 0xc
mov bl, byte [edi + 4]
mov edi, dword [edi]
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1007aa68
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007aa5f
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test bl, bl
jne 0x1007ab39
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x38]
mov ecx, esi
mov esi, dword [eax + 0x3c]
mov edx, dword [esp]
push str.SpringsCSSSpan
call fcn.10015da0
add esp, 4
lea edi, [esp + 0x10]
mov ecx, edi
mov edx, dword [esp + 4]
push esi
push ebx
lea eax, [esp + 0x20]
push eax
call 0x1007ab70
add esp, 0xc
mov bl, byte [edi + 4]
mov esi, dword [edi]
mov ecx, dword [esp + 0x2c]
cmp ecx, 8
jb 0x1007aadb
mov eax, dword [esp + 0x18]
inc ecx
test ecx, 0x7ffff800
je 0x1007aad2
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007ab6a
mov eax, ecx
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
test bl, bl
jne 0x1007ab5c
mov ebx, dword [ebp + 8]
mov byte [ebx + 4], 0
mov edi, dword [esp]
test edi, edi
je 0x1007aaf6
push edi
call sym.mozglue.dll__aligned_free
add esp, 4
push dword [esp + 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.1004f020
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [ebx + 4], 1
mov dword [ebx], 1
jmp 0x1007ab00
mov byte [ebx + 4], 1
mov dword [ebx], 7
jmp 0x1007aae6
mov byte [ebx + 4], 1
mov dword [ebx], 7
jmp 0x1007aae9
mov ebx, dword [ebp + 8]
mov byte [ebx + 4], 1
mov dword [ebx], edi
jmp 0x1007aae6
mov eax, dword [esp + 0x18]
mov byte [ebx + 4], 1
mov dword [ebx], eax
jmp 0x1007ab00
mov eax, dword [esp + 0x18]
mov byte [ebx + 4], 1
mov dword [ebx], eax
jmp 0x1007aaf6
mov ebx, dword [ebp + 8]
mov byte [ebx + 4], 1
mov dword [ebx], esi
jmp 0x1007aae6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov ebx, dword [ebp + 0x10]
mov eax, ebx
and eax, 0x70000000
mov ecx, ebx
shl ecx, 4
xor esi, esi
neg eax
sbb esi, esi
mov dword [ebp - 0x10], ecx
or esi, ecx
push esi
call sym.mozglue.dll_moz_xmalloc
add esp, 4
mov edi, eax
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test ebx, ebx
jle 0x1007abd8
mov eax, dword [ebp + 0xc]
mov ecx, 8
movsd xmm0, qword [eax + ecx - 8]
movsd qword [edi + ecx - 8], xmm0
movsd xmm0, qword [eax + ecx]
movsd qword [edi + ecx], xmm0
add ecx, 0x10
dec ebx
jne 0x1007abbc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 8
jb 0x1007abe3
mov edx, dword [edx]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push ecx
push edi
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1007ac1c
mov dword [esi], 7
mov al, 1
mov byte [esi + 4], al
push edi
call sym.mozglue.dll__aligned_free
add esp, 4
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x1007ac06