Function at 0x45d820
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x515d38
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov edi, dword [ebp + 8]
push str.keyParent
mov ecx, edi
mov dword [esp + 0x6c], 0
call fcn.0043a040
cmp eax, 0x57c240
je 0x45e967
push str.keyParent
mov ecx, edi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x45e967
push str.keyParent
mov ecx, edi
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x45d8c9
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
add esp, 0xc
mov eax, dword [esi]
mov dword [esp + 0x38], eax
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
mov byte [esp + 0x68], 5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45d919
test eax, 0xffff0000
jne 0x45d919
movzx eax, ax
mov ecx, eax
mov dword [esp + 0x38], eax
call fcn.0041fcd0
test eax, eax
je 0x45d927
push dword [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00420bb0
jmp 0x45d923
push eax
lea ecx, [esp + 0x1c]
call fcn.00420650
mov esi, dword [esp + 0x18]
push str.keyName
mov ecx, edi
mov byte [esp + 0x6c], 6
call fcn.0043a040
cmp eax, 0x57c240
je 0x45e84e
push str.keyName
mov ecx, edi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x45e84e
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push str.keyName
mov ecx, edi
mov byte [esp + 0x6c], 0xb
call fcn.0043a040
cmp byte [eax + 8], 4
mov dword [esp + 0x38], eax
je 0x45d9a3
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
mov eax, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x45d9ad
xor ecx, ecx
jmp 0x45d9c1
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d9b6
sub ecx, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0042ca60
lea edx, [esp + 0x10]
lea ecx, [esp + 0x14]
call fcn.0042c120
push 0x54e17c
push 0x551ff0
lea ecx, [esp + 0x18]
call fcn.00421ef0
push str.valueName
mov ecx, edi
call fcn.0043a040
cmp eax, 0x57c240
je 0x45e70e
push str.valueName
mov ecx, edi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x45e70e
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
push str.valueName
mov ecx, edi
mov byte [esp + 0x6c], 0x10
call fcn.0043a040
cmp byte [eax + 8], 4
mov dword [esp + 0x38], eax
je 0x45da63
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
mov eax, dword [esp + 0x44]
add esp, 0xc
mov edx, dword [eax]
test edx, edx
jne 0x45da6d
xor ecx, ecx
jmp 0x45da81
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45da76
sub ecx, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0042ca60
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x14]
call fcn.0042c120
push str.value
mov ecx, edi
call fcn.0043a040
cmp eax, 0x57c240
jne 0x45dbb6
push str.value_error
lea ecx, [esp + 0x24]
call fcn.00420550
push str.writeRegistry
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0x11
call fcn.004204a0
mov byte [esp + 0x68], 0x12
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x38], edi
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0x13
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 0x14
cmp dword [ebx + 0xc], 0
je 0x45db20
push 2
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x68], 0x13
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45db43
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x68], 0x12
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45db64
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x11
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45db86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x10
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dba8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x1c]
jmp 0x45e7ed
lea ebx, [esi - 0x10]
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x3c], esp
mov eax, dword [ecx]
mov dword [esp + 0x28], ebx
call dword [eax + 0x10]
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
mov ecx, eax
jl 0x45dbe5
cmp ecx, dword [ebx]
jne 0x45dbe5
mov esi, ebx
mov eax, 1
lock xadd dword [edx], eax
jmp 0x45dc22
mov eax, dword [ecx]
push 2
push dword [ebx + 4]
call dword [eax]
mov esi, eax
test esi, esi
jne 0x45dbf9
call fcn.004208f0
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov ecx, dword [ebx + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebx + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
call fcn.004eb39f
add esp, 0x10
mov ecx, dword [esp + 0x3c]
lea eax, [esi + 0x10]
mov dword [ecx], eax
call fcn.0042b930
mov esi, eax
add esp, 4
test esi, esi
jne 0x45dda5
push str.undefined_keyParent_error
lea ecx, [esp + 0x2c]
call fcn.00420550
push str.writeRegistry
lea ecx, [esp + 0x28]
mov byte [esp + 0x6c], 0x15
call fcn.004204a0
mov byte [esp + 0x68], 0x16
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0x17
call fcn.00421890
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0x18
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x45dcb3
push 2
push ecx
lea ecx, [esp + 0x2c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x68], 0x17
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45dcd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x16
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dcf6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x15
mov edx, dword [esp + 0x24]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dd18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x10
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dd3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dd5c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 6
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dd7e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e846
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x45ea5e
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [esp + 0x28]
push eax
push 0x2001f
mov byte [esp + 0x70], 0x19
mov ebx, dword [esp + 0x18]
push 0
push ebx
push esi
mov dword [esp + 0x3c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x38], eax
test eax, eax
jne 0x45ddf8
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], esi
mov dword [esp + 0x50], esi
jmp 0x45de40
cmp eax, 2
jne 0x45e3be
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push ebx
push esi
mov dword [esp + 0x4c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x45e072
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
push str.value
mov ecx, edi
mov dword [esp + 0x58], 0
call fcn.0043a040
mov al, byte [eax + 8]
mov edi, dword [esp + 0x1c]
cmp al, 1
je 0x45de6b
cmp al, 2
je 0x45de6b
cmp al, 5
je 0x45de6b
cmp al, 3
jne 0x45dea5
mov esi, dword [ebp + 8]
push str.value
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 5
je 0x45dea8
push str.value
mov ecx, esi
call fcn.0043a040
mov ecx, eax
call fcn.00439800
mov dword [esp + 0x38], eax
push 4
lea eax, [esp + 0x3c]
push eax
push 4
jmp 0x45dfec
mov esi, dword [ebp + 8]
push str.value
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x45df8e
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
push str.value
mov ecx, esi
mov byte [esp + 0x6c], 0x36
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x45df02
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x45df0c
xor ecx, ecx
jmp 0x45df1a
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45df11
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.0042ca60
lea edx, [esp + 0x28]
lea ecx, [esp + 0x14]
call fcn.0042c120
mov esi, dword [esp + 0x28]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x45df6d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45df46
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x19
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45dff9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45dff9
push str.value
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 5
jne 0x45dff9
push str.value
mov ecx, esi
call fcn.0043a040
mov ecx, eax
call fcn.00439b00
test al, al
mov edx, str.true
mov ecx, str.false
cmove edx, ecx
xor eax, eax
test edx, edx
setne al
test eax, eax
je 0x45dff9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45dfd2
sub ecx, esi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push edi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45e008
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [edi - 0x10]
mov byte [esp + 0x68], 0xb
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e029
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov ecx, edi
lea eax, [ebx + 0xc]
mov byte [esp + 0x68], 6
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e047
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0
mov edx, dword [esp + 0x24]
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e846
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x45ea5e
push 0x54c724
lea ecx, [esp + 0x34]
call fcn.004204a0
push 0x54c724
lea ecx, [esp + 0x30]
mov byte [esp + 0x6c], 0x1a
call fcn.004204a0
push str.WriteRefCreateKey
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 0x1b
call fcn.004204a0
mov byte [esp + 0x68], 0x1c
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x38], esi
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0x50]
mov byte [esp + 0x6c], 0x1d
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0x1e
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x1f
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x20
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0x21
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 0x22
mov edx, dword [esp + 0x34]
mov ecx, eax
call fcn.00422960
mov byte [esp + 0x68], 0x21
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45e16e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x20
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e190
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1f
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e1b2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1e
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e1d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1d
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e1f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x1c
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e214
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1b
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e236
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x1a
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e258
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e27a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Create_error
lea ecx, [esp + 0x30]
call fcn.00420550
push str.writeRegistry
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x23
call fcn.004204a0
mov byte [esp + 0x68], 0x24
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x25
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 0x26
push dword [esp + 0x34]
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00421800
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0x27
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x45e307
push 2
push ecx
lea ecx, [esp + 0x38]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x68], 0x26
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e329
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x25
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e34b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x24
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e369
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x23
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e38b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e3ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
jmp 0x45e013
push 0x54c724
lea ecx, [esp + 0x30]
call fcn.004204a0
push 0x54c724
lea ecx, [esp + 0x34]
mov byte [esp + 0x6c], 0x28
call fcn.004204a0
push str.WriteRegOpenKey
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0x29
call fcn.004204a0
mov byte [esp + 0x68], 0x2a
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x6c], 0x2b
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 0x2c
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x6c], 0x2d
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x2e
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0x2f
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 0x30
mov edx, dword [esp + 0x38]
mov ecx, eax
call fcn.00422960
mov byte [esp + 0x68], 0x2f
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45e4ba
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2e
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e4dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2d
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e4fe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2c
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e520
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x2b
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e542
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x2a
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e560
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x29
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e582
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x28
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e5a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e5c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.Open_error
lea ecx, [esp + 0x34]
call fcn.00420550
push str.writeRegistry
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], 0x31
call fcn.004204a0
mov byte [esp + 0x68], 0x32
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x48]
mov byte [esp + 0x6c], 0x33
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 0x34
push dword [esp + 0x38]
mov edx, eax
lea ecx, [esp + 0x4c]
call fcn.00421800
add esp, 4
mov ecx, eax
mov byte [esp + 0x68], 0x35
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x45e653
push 2
push ecx
lea ecx, [esp + 0x3c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x68], 0x34
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e675
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x33
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e697
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0x32
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e6b5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x31
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e6d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0x19
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e3ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
jmp 0x45e013
push str.valueName_error
lea ecx, [esp + 0x38]
call fcn.00420550
push str.writeRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0xc
call fcn.004204a0
mov byte [esp + 0x68], 0xd
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 0xe
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 0xf
cmp dword [ebx + 0xc], 0
je 0x45e77e
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x68], 0xe
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45e7a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [edi - 0x10]
or edi, 0xffffffff
mov byte [esp + 0x68], 0xd
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e7c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xc
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e7e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0xb
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e806
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 6
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e828
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e846
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
or ebx, 0xffffffff
jmp 0x45ea5e
push str.keyName_error
lea ecx, [esp + 0x38]
call fcn.00420550
push str.writeRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 7
call fcn.004204a0
mov byte [esp + 0x68], 8
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x4c], edi
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 9
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 0xa
cmp dword [ebx + 0xc], 0
je 0x45e8be
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x68], 9
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45e8e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x68], 8
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e901
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 7
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e923
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 6
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45e945
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 0
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea5e
mov ecx, dword [esi]
push esi
jmp 0x45ea59
push str.keyParent_error
lea ecx, [esp + 0x38]
call fcn.00420550
push str.writeRegistry
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.004204a0
mov byte [esp + 0x68], 2
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x50]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 3
call fcn.00421890
add esp, 4
mov byte [esp + 0x68], 4
cmp dword [ebx + 0xc], 0
je 0x45e9d7
push 2
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [ebx + 8]
push eax
call fcn.004219a0
mov byte [esp + 0x68], 3
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45e9fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x68], 2
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea1a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 1
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea3c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x68], 0
mov edx, dword [esp + 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45ea5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x68], 0xffffffff
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x45ea81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4