Function at 0x440c20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7146
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x52a0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov byte [esi + 0xc8], 0
call dword [eax + 4]
mov byte [ebp - 4], 1
test eax, eax
je 0x440c86
add eax, 4
jmp 0x440c88
xor eax, eax
lea ecx, [esi + 8]
cmp ecx, eax
je 0x440c99
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404c20
cmp dword [esi + 0x18], 0
jne 0x440cb3
or esi, 0xffffffff
jmp 0x4413f4
push 0
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xa0], 0x4e81b4
push eax
push str.SoftwareInstallShieldSuiteInstallers
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 4
lea eax, [esi + 4]
push 0x5c
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xb0], esp
mov dword [ebp - 0xac], ecx
push 0
push eax
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00406fd0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.004092d0
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 7
test eax, eax
je 0x440d37
add eax, 4
jmp 0x440d39
xor eax, eax
lea ecx, [esi + 0x98]
cmp ecx, eax
je 0x440d4d
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404c20
lea ecx, [esi + 0x38]
lea eax, [ebp - 0x9c]
cmp ecx, eax
je 0x440d70
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
cmp dword [esi + 0x4c], 8
lea edi, [esi + 0x38]
jb 0x440d7d
mov eax, dword [edi]
jmp 0x440d7f
mov eax, edi
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0xc0]
call fcn.00413a60
cmp eax, 2
jne 0x440f8e
cmp byte [0x52aaa4], 0
jne 0x440db0
cmp byte [0x530565], 0
je 0x440e19
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0xa
push 0
push ecx
push str.State_manager:_no_existing_state_information_found__creating_new_state
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x40]
push 0x26
lea ecx, [ebp - 0x70]
call fcn.0048e8b0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00404850
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404850
mov edx, dword [esi]
sub esp, 0x30
mov eax, esp
mov dword [ebp - 0xac], esp
mov ecx, esi
push eax
call dword [edx + 8]
mov byte [ebp - 4], 0xf
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xa8], ecx
push 0
push eax
push 0x4e23a8
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.00498868
add esp, 0x68
mov byte [ebp - 4], 0x12
test eax, eax
je 0x440e84
add eax, 4
jmp 0x440e86
xor eax, eax
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x440e97
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404c20
sub esp, 0x30
lea eax, [ebp - 0xa1]
mov ecx, esp
mov dword [ebp - 0xa8], esp
mov dword [ebp - 0xac], ecx
push 0
push eax
push 0x4eec9c
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x15
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xac], esp
lea eax, [esi + 0x64]
mov dword [ebp - 0xb0], ecx
push 0
push eax
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00406fd0
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0xdc]
mov eax, dword [ecx]
mov byte [ebp - 4], 4
call dword [eax]
cmp dword [edi + 0x14], 8
jb 0x440f1b
mov edi, dword [edi]
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push SysReAllocString
lea ecx, [ebp - 0xc0]
call fcn.00443070
add esi, 0x68
cmp dword [esi + 0x14], 8
jb 0x440f44
mov esi, dword [esi]
test esi, esi
je 0x440f83
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440f50
mov edi, dword [ebp - 0xc0]
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push str.InfoPath
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x4413e3
mov edi, dword [ebp - 0xc0]
jmp 0x4413e3
cmp byte [0x52aaa4], 0
jne 0x440fa0
cmp byte [0x530565], 0
je 0x441009
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0x19
push 0
push ecx
push str.State_manager:_registry_indicates_existing_state_info
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x70]
push 0x35
lea ecx, [ebp - 0x40]
call fcn.0048e8b0
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
call fcn.00404850
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404850
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
mov byte [ebp - 4], 0x1e
lea eax, [ebp - 0xa1]
push 0x20019
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xa8], esp
mov dword [ebp - 0xac], ecx
push 0
push eax
push 0x4e23a8
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x20
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xac], esp
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xb0], ecx
push 0
push eax
push str.InfoPath
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x22
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xb4], ecx
push 0
push eax
push 0x4e23a8
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0x40]
mov edi, dword [ebp - 0xc0]
push edi
push eax
mov byte [ebp - 4], 0x1e
call fcn.0049a1ce
add esp, 0x9c
mov byte [ebp - 4], 0x25
test eax, eax
je 0x4410f6
add eax, 4
jmp 0x4410f8
xor eax, eax
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x441109
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00404c20
push 4
sub esp, 0x30
lea ebx, [esi + 0x64]
mov ecx, esp
mov dword [ebp - 0xb4], esp
mov dword [ebp - 0xa8], ecx
push 0
push ebx
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00406fd0
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x1e
call fcn.004969e5
add esp, 0x34
test al, al
jne 0x441243
cmp byte [0x52aaa4], al
jne 0x441168
cmp byte [0x530565], al
je 0x4411d1
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0x2a
push 0
push ecx
push str.State_manager:_state_info_not_found
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0x2c
lea edx, [ebp - 0x70]
push 0x43
lea ecx, [ebp - 0x40]
call fcn.0048e8b0
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x40]
call fcn.00404850
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x70]
call fcn.00404850
sub esp, 0x30
lea eax, [ebp - 0xa1]
mov ecx, esp
mov dword [ebp - 0xb4], esp
mov dword [ebp - 0xa8], ecx
push 0
push eax
push 0x4eec9c
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x30
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xa8], esp
mov dword [ebp - 0xac], ecx
push 0
push ebx
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00406fd0
mov byte [ebp - 4], 0x32
lea ecx, [esi + 0xdc]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1e
call dword [eax]
jmp 0x4413d4
push 0
sub esp, 0x30
lea eax, [ebp - 0xa1]
mov ecx, esp
mov dword [ebp - 0xb4], esp
mov dword [ebp - 0xa8], ecx
push 0
push eax
push 0x4eec9c
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x35
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xa8], esp
mov dword [ebp - 0xac], ecx
push 0
push ebx
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00406fd0
mov byte [ebp - 4], 0x37
lea ecx, [esi + 0xdc]
mov eax, dword [ecx]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 0x1e
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x44138f
cmp byte [0x52aaa4], al
jne 0x4412d3
cmp byte [0x530565], al
je 0x441320
sub esp, 8
lea ecx, [ebp - 0x70]
push str.StateManager.cpp
call fcn.00406dd0
mov byte [ebp - 4], 0x38
sub esp, 8
lea ecx, [ebp - 0x40]
push str.State_manager:_invalid_or_corrupted_state_info
call fcn.00406dd0
mov byte [ebp - 4], 0x39
lea edx, [ebp - 0x70]
push 0x4f
lea ecx, [ebp - 0x40]
call fcn.0048e8b0
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x40]
call fcn.00404850
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x70]
call fcn.00404850
sub esp, 0x30
lea eax, [ebp - 0xa1]
mov ecx, esp
mov dword [ebp - 0xb4], esp
mov dword [ebp - 0xa8], ecx
push 0
push eax
push 0x4eec9c
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00404190
mov byte [ebp - 4], 0x3d
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xa8], esp
mov dword [ebp - 0xac], ecx
push 0
push ebx
mov dword [ecx], 0x4e81b4
mov dword [ecx + 0x28], 0x4e8f38
call fcn.00406fd0
mov byte [ebp - 4], 0x3f
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1e
call dword [eax]
jmp 0x4413d4
push 0
push 1
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00438940
mov byte [ebp - 4], 0x41
test eax, eax
je 0x4413ab
add eax, 4
jmp 0x4413ad
xor eax, eax
lea ecx, [esi + 0x98]
cmp ecx, eax
je 0x4413c1
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov byte [esi + 0xc8], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.00408a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00404c20
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x441410
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0xc0], 0
mov eax, esi
mov dword [ebp - 0xbc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a14ba
mov esp, ebp
pop ebp
ret