Function at 0x43c780
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfc46
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5210b0]
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 0x43c7e6
add eax, 4
jmp 0x43c7e8
xor eax, eax
lea ecx, [esi + 8]
cmp ecx, eax
je 0x43c7f9
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404be0
cmp dword [esi + 0x18], 0
jne 0x43c813
or esi, 0xffffffff
jmp 0x43cf54
push 0
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xa0], 0x4e1680
push eax
push str.SoftwareInstallShieldSuiteInstallers
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4e1670
call fcn.00404150
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], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00409290
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 0x43c897
add eax, 4
jmp 0x43c899
xor eax, eax
lea ecx, [esi + 0x98]
cmp ecx, eax
je 0x43c8ad
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404be0
lea ecx, [esi + 0x38]
lea eax, [ebp - 0x9c]
cmp ecx, eax
je 0x43c8d0
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
cmp dword [esi + 0x4c], 8
lea edi, [esi + 0x38]
jb 0x43c8dd
mov eax, dword [edi]
jmp 0x43c8df
mov eax, edi
push 0x2001f
push eax
push SysReAllocString
lea ecx, [ebp - 0xc0]
call fcn.004139e0
cmp eax, 2
jne 0x43caee
cmp byte [0x521aa4], 0
jne 0x43c910
cmp byte [0x52753d], 0
je 0x43c979
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x40]
push 0x26
lea ecx, [ebp - 0x70]
call fcn.00489790
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.00404810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404810
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 0x4db368
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.0049353e
add esp, 0x68
mov byte [ebp - 4], 0x12
test eax, eax
je 0x43c9e4
add eax, 4
jmp 0x43c9e6
xor eax, eax
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x43c9f7
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404be0
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 0x4e6f7c
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
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], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00406f90
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 0x43ca7b
mov edi, dword [edi]
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push SysReAllocString
lea ecx, [ebp - 0xc0]
call fcn.0043ebe0
add esi, 0x68
cmp dword [esi + 0x14], 8
jb 0x43caa4
mov esi, dword [esi]
test esi, esi
je 0x43cae3
mov ecx, esi
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43cab0
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 0x43cf43
mov edi, dword [ebp - 0xc0]
jmp 0x43cf43
cmp byte [0x521aa4], 0
jne 0x43cb00
cmp byte [0x52753d], 0
je 0x43cb69
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x70]
push 0x35
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
call fcn.00404810
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.00404810
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 0x4db368
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
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], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
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 0x4db368
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
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.00494eac
add esp, 0x9c
mov byte [ebp - 4], 0x25
test eax, eax
je 0x43cc56
add eax, 4
jmp 0x43cc58
xor eax, eax
lea ecx, [esi + 0x68]
cmp ecx, eax
je 0x43cc69
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00404be0
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], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x1e
call fcn.004916bb
add esp, 0x34
test al, al
jne 0x43cda3
cmp byte [0x521aa4], al
jne 0x43ccc8
cmp byte [0x52753d], al
je 0x43cd31
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 0x2c
lea edx, [ebp - 0x70]
push 0x43
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x40]
call fcn.00404810
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x70]
call fcn.00404810
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 0x4e6f7c
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
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], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 0x32
lea ecx, [esi + 0xdc]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1e
call dword [eax]
jmp 0x43cf34
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 0x4e6f7c
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
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], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00406f90
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 0x43ceef
cmp byte [0x521aa4], al
jne 0x43ce33
cmp byte [0x52753d], al
je 0x43ce80
sub esp, 8
lea ecx, [ebp - 0x70]
push str.StateManager.cpp
call fcn.00406d90
mov byte [ebp - 4], 0x38
sub esp, 8
lea ecx, [ebp - 0x40]
push str.State_manager:_invalid_or_corrupted_state_info
call fcn.00406d90
mov byte [ebp - 4], 0x39
lea edx, [ebp - 0x70]
push 0x4f
lea ecx, [ebp - 0x40]
call fcn.00489790
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x40]
call fcn.00404810
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x70]
call fcn.00404810
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 0x4e6f7c
mov dword [ecx], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00404150
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], 0x4e1680
mov dword [ecx + 0x28], 0x4e1670
call fcn.00406f90
mov byte [ebp - 4], 0x3f
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1e
call dword [eax]
jmp 0x43cf34
push 0
push 1
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00436130
mov byte [ebp - 4], 0x41
test eax, eax
je 0x43cf0b
add eax, 4
jmp 0x43cf0d
xor eax, eax
lea ecx, [esi + 0x98]
cmp ecx, eax
je 0x43cf21
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00404be0
mov byte [esi + 0xc8], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.004089c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00404be0
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x43cf70
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.0049c22a
mov esp, ebp
pop ebp
ret