Function at 0x10070130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov esi, dword [ebp + 8]
mov eax, dword [0x1009a00c]
xor eax, ebp
mov dword [esp + 0x30], eax
cmp byte [0x1009b608], 0
je 0x10070633
lea edi, [esp + 0x18]
mov ecx, edi
call fcn.1000ce80
cmp byte [edi + 4], 0
jne 0x10070659
lea ebx, [esp + 0x18]
mov edi, dword [ebx]
mov ecx, ebx
call fcn.1000cdd0
cmp byte [ebx + 4], 0
jne 0x10070665
mov dword [esp + 4], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov edi, dword [ecx]
xor esi, esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], 0
mov ecx, ebx
mov dword [esp], eax
push eax
call fcn.1000f240
mov ecx, ebx
push 8
push str.ScreenX
call fcn.1000d0f0
mov dword [esp + 0x10], edi
cmp dword [esp + 0x2c], 8
mov eax, ebx
jb 0x100701cf
mov eax, dword [esp + 0x18]
mov ecx, 4
lea edx, [esp + 0x10]
push ecx
push edx
push ecx
push esi
push eax
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, ebx
call fcn.1000f1e0
test esi, esi
jne 0x1007063f
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
xor esi, esi
lea ebx, [esp + 0x18]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 8
push str.ScreenY
call fcn.1000d0f0
mov dword [esp + 0x10], edi
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1007023c
mov eax, dword [esp + 0x18]
mov ecx, 4
push ecx
lea edx, [esp + 0x14]
push edx
push ecx
push esi
push eax
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, ebx
call fcn.1000f1e0
test esi, esi
jne 0x1007063f
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
xor esi, esi
lea ebx, [esp + 0x18]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 6
push str.Width
call fcn.1000d0f0
mov dword [esp + 0x10], edi
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100702a9
mov eax, dword [esp + 0x18]
mov ecx, 4
push ecx
lea edx, [esp + 0x14]
push edx
push ecx
push esi
push eax
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, ebx
call fcn.1000f1e0
test esi, esi
jne 0x1007063f
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0xc]
xor eax, eax
lea ebx, [esp + 0x18]
mov dword [ebx + 0x10], eax
mov esi, 7
mov dword [ebx + 0x14], esi
mov word [ebx], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push esi
push str.Height
call fcn.1000d0f0
mov dword [esp + 0x10], edi
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x10070316
mov eax, dword [esp + 0x18]
mov ecx, 4
push ecx
lea edx, [esp + 0x14]
push edx
push ecx
xor ecx, ecx
push ecx
push eax
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, ebx
call fcn.1000f1e0
test esi, esi
jne 0x1007063f
mov eax, dword [ebp + 0xc]
movzx edi, byte [eax + 0x44]
xor esi, esi
lea ebx, [esp + 0x18]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 0xa
push str.Maximized
call fcn.1000d0f0
mov dword [esp + 0x10], edi
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x10070386
mov eax, dword [esp + 0x18]
mov edi, 4
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
push esi
push eax
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, ebx
call fcn.1000f1e0
test esi, esi
jne 0x10070671
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 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 esi, edx
or esi, 0x10
cmp ecx, 2
cmovne esi, edx
xor eax, eax
lea ebx, [esp + 0x18]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 7
mov word [ebx], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 6
push str.Flags
call fcn.1000d0f0
mov dword [esp + 0x10], esi
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x10070423
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x14]
push ecx
push edi
xor ecx, ecx
push ecx
push eax
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, ebx
call fcn.1000f1e0
test esi, esi
jne 0x1007063f
mov eax, dword [ebp + 0xc]
movsd xmm0, qword [eax + 0x30]
movsd qword [esp + 8], xmm0
xor esi, esi
lea ebx, [esp + 0x18]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 0x15
push str.CssToDevPixelScaling
call fcn.1000d0f0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x10], xmm0
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x1007049d
mov eax, dword [esp + 0x18]
push 8
lea ecx, [esp + 0x14]
push ecx
push 3
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, ebx
call fcn.1000f1e0
test esi, esi
jne 0x1007063f
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
lea ebx, [esp + 0x18]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 0xe
push str.UrlbarCSSSpan
call fcn.1000d0f0
lea esi, [esp + 0x10]
mov ecx, esi
mov edx, edi
push 1
push dword [esp + 0xc]
push ebx
call fcn.10070680
add esp, 0xc
mov edi, dword [esi]
mov al, byte [esi + 4]
mov byte [esp + 8], al
mov ecx, ebx
call fcn.1000f1e0
cmp byte [esp + 8], 0
jne 0x1007064e
mov eax, dword [ebp + 0xc]
lea edi, [eax + 0x20]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 0x11
push str.SearchbarCSSSpan
call fcn.1000d0f0
lea esi, [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 4]
push 1
push edi
push ebx
call fcn.10070680
add esp, 0xc
mov edi, dword [esi]
mov al, byte [esi + 4]
mov byte [esp + 8], al
mov ecx, ebx
call fcn.1000f1e0
cmp byte [esp + 8], 0
jne 0x1007064e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [esp + 8], ecx
mov edi, dword [eax + 0x3c]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], 0
mov ecx, ebx
push dword [esp]
call fcn.1000f240
mov ecx, ebx
push 0xf
push str.SpringsCSSSpan
call fcn.1000d0f0
lea esi, [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 4]
push edi
push dword [esp + 0xc]
push ebx
call fcn.10070680
add esp, 0xc
mov edi, dword [esi]
mov al, byte [esi + 4]
mov byte [esp + 8], al
mov ecx, ebx
call fcn.1000f1e0
cmp byte [esp + 8], 0
jne 0x1007064e
mov esi, dword [ebp + 8]
mov byte [esi + 4], 0
mov edi, dword [esp + 4]
mov eax, dword [esp]
test eax, eax
je 0x10070617
push eax
call sym.mozglue.dll__aligned_free
add esp, 4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.100468e0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 4], 1
mov dword [esi], 2
jmp 0x1007061e
mov esi, dword [ebp + 8]
mov byte [esi + 4], 1
mov dword [esi], 8
jmp 0x10070607
mov esi, dword [ebp + 8]
mov byte [esi + 4], 1
mov dword [esi], edi
jmp 0x10070603
mov eax, dword [esp + 0x18]
mov byte [esi + 4], 1
mov dword [esi], eax
jmp 0x1007061e
mov eax, dword [esp + 0x18]
mov byte [esi + 4], 1
mov dword [esi], eax
jmp 0x10070617
mov esi, dword [ebp + 8]
mov byte [esi + 4], 1
mov dword [esi], 8
jmp 0x10070603