Function at 0x4409c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c6b16
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 0x440a26
add eax, 4
jmp 0x440a28
xor eax, eax
lea ecx, [esi + 8]
cmp ecx, eax
je 0x440a39
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 0x440a53
or esi, 0xffffffff
jmp 0x441194
push 0
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xa0], 0x4e7a18
push eax
push str.SoftwareInstallShieldSuiteInstallers
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4e86a8
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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 0x440ad7
add eax, 4
jmp 0x440ad9
xor eax, eax
lea ecx, [esi + 0x98]
cmp ecx, eax
je 0x440aed
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 0x440b10
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
cmp dword [esi + 0x4c], 8
lea edi, [esi + 0x38]
jb 0x440b1d
mov eax, dword [edi]
jmp 0x440b1f
mov eax, edi
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0xc0]
call fcn.00413a40
cmp eax, 2
jne 0x440d2e
cmp byte [0x52aaa4], 0
jne 0x440b50
cmp byte [0x530561], 0
je 0x440bb9
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x40]
push 0x26
lea ecx, [ebp - 0x70]
call fcn.0048e5f0
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 0x4e2398
mov dword [ecx], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
call fcn.00404190
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.00498348
add esp, 0x68
mov byte [ebp - 4], 0x12
test eax, eax
je 0x440c24
add eax, 4
jmp 0x440c26
xor eax, eax
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x440c37
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 0x4ee3ac
mov dword [ecx], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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 0x440cbb
mov edi, dword [edi]
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push SysReAllocString
lea ecx, [ebp - 0xc0]
call fcn.00442e10
add esi, 0x68
cmp dword [esi + 0x14], 8
jb 0x440ce4
mov esi, dword [esi]
test esi, esi
je 0x440d23
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x440cf0
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 0x441183
mov edi, dword [ebp - 0xc0]
jmp 0x441183
cmp byte [0x52aaa4], 0
jne 0x440d40
cmp byte [0x530561], 0
je 0x440da9
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x70]
push 0x35
lea ecx, [ebp - 0x40]
call fcn.0048e5f0
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 0x4e2398
mov dword [ecx], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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 0x4e2398
mov dword [ecx], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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.00499bdd
add esp, 0x9c
mov byte [ebp - 4], 0x25
test eax, eax
je 0x440e96
add eax, 4
jmp 0x440e98
xor eax, eax
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x440ea9
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
call fcn.00406fd0
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x1e
call fcn.004964c5
add esp, 0x34
test al, al
jne 0x440fe3
cmp byte [0x52aaa4], al
jne 0x440f08
cmp byte [0x530561], al
je 0x440f71
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
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], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 0x2c
lea edx, [ebp - 0x70]
push 0x43
lea ecx, [ebp - 0x40]
call fcn.0048e5f0
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 0x4ee3ac
mov dword [ecx], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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 0x441174
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 0x4ee3ac
mov dword [ecx], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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 0x44112f
cmp byte [0x52aaa4], al
jne 0x441073
cmp byte [0x530561], al
je 0x4410c0
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.0048e5f0
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 0x4ee3ac
mov dword [ecx], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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], 0x4e7a18
mov dword [ecx + 0x28], 0x4e86a8
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 0x441174
push 0
push 1
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00438800
mov byte [ebp - 4], 0x41
test eax, eax
je 0x44114b
add eax, 4
jmp 0x44114d
xor eax, eax
lea ecx, [esi + 0x98]
cmp ecx, eax
je 0x441161
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 0x4411b0
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.004a0eca
mov esp, ebp
pop ebp
ret