Function at 0x439410
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc376
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x51c0b0]
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
lea ebx, [esi + 4]
test eax, eax
je 0x439479
add eax, 4
jmp 0x43947b
xor eax, eax
lea ecx, [ebx + 4]
cmp ecx, eax
je 0x43948c
push 0xffffffffffffffff
push 0
push eax
call fcn.004046f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404db0
cmp dword [esi + 0x18], 0
jne 0x4394a6
or esi, 0xffffffff
jmp 0x439bd5
push 0
lea eax, [ebp - 0xa1]
mov dword [ebp - 0xa0], 0x4dd804
push eax
push str.SoftwareInstallShieldSuiteInstallers
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4dcac4
call fcn.004042c0
mov byte [ebp - 4], 4
push 0x5c
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xb0], esp
mov dword [ebp - 0xac], ecx
push 0
push ebx
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 6
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.00408d90
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call dword [eax + 8]
mov byte [ebp - 4], 7
lea ecx, [esi + 0x98]
test eax, eax
je 0x43952d
add eax, 4
jmp 0x43952f
xor eax, eax
cmp ecx, eax
je 0x43953d
push 0xffffffffffffffff
push 0
push eax
call fcn.004046f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404db0
lea ecx, [esi + 0x38]
lea eax, [ebp - 0x9c]
cmp ecx, eax
je 0x439560
push 0xffffffffffffffff
push 0
push eax
call fcn.004046f0
cmp dword [esi + 0x4c], 8
lea edi, [esi + 0x38]
jb 0x43956d
mov eax, dword [edi]
jmp 0x43956f
mov eax, edi
push 0x2001f
push eax
push SysReAllocStringLen
lea ecx, [ebp - 0xc0]
call fcn.00413a20
cmp eax, 2
jne 0x439782
cmp byte [0x51caa5], 0
jne 0x4395a0
cmp byte [0x522582], 0
je 0x439609
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
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], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x40]
push 0x26
lea ecx, [ebp - 0x70]
call fcn.00486f90
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.004049f0
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 0x4d7438
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x40]
push 1
push eax
mov byte [ebp - 4], 4
call fcn.00490aab
add esp, 0x68
mov byte [ebp - 4], 0x12
lea ebx, [esi + 0x64]
test eax, eax
je 0x439677
add eax, 4
jmp 0x439679
xor eax, eax
lea ecx, [ebx + 4]
cmp ecx, eax
je 0x43968a
push 0xffffffffffffffff
push 0
push eax
call fcn.004046f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00404db0
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 0x4e2fac
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
mov byte [ebp - 4], 0x15
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xac], esp
mov dword [ebp - 0xb0], ecx
push 0
push ebx
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
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 0x43970b
mov edi, dword [edi]
push 0
push 0
push 0x2001f
push 0
push 0
push edi
push SysReAllocStringLen
lea ecx, [ebp - 0xc0]
call fcn.0043b860
add esi, 0x68
cmp dword [esi + 0x14], 8
jb 0x439734
mov esi, dword [esi]
xor eax, eax
test esi, esi
setne al
test eax, eax
je 0x439777
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439744
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 0x439bc4
mov edi, dword [ebp - 0xc0]
jmp 0x439bc4
cmp byte [0x51caa5], 0
jne 0x439794
cmp byte [0x522582], 0
je 0x4397fd
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
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], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 0x1b
lea edx, [ebp - 0x70]
push 0x35
lea ecx, [ebp - 0x40]
call fcn.00486f90
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x70]
call fcn.004049f0
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 0x4d7438
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
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], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
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 0x4d7438
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
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.004923ae
add esp, 0x9c
mov byte [ebp - 4], 0x25
lea ebx, [esi + 0x64]
test eax, eax
je 0x4398ed
add eax, 4
jmp 0x4398ef
xor eax, eax
lea ecx, [ebx + 4]
cmp ecx, eax
je 0x439900
push 0xffffffffffffffff
push 0
push eax
call fcn.004046f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00404db0
push 4
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0xb4], esp
mov dword [ebp - 0xa8], ecx
push 0
push ebx
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x28
mov byte [ebp - 4], 0x1e
call fcn.0048ec8c
add esp, 0x34
test al, al
jne 0x439a37
cmp byte [0x51caa5], al
jne 0x43995c
cmp byte [0x522582], al
je 0x4399c5
push 0
push ecx
push str.StateManager.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
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], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 0x2c
lea edx, [ebp - 0x70]
push 0x43
lea ecx, [ebp - 0x40]
call fcn.00486f90
mov byte [ebp - 4], 0x2a
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x70]
call fcn.004049f0
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 0x4e2fac
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
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], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x32
lea ecx, [esi + 0xdc]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1e
call dword [eax]
jmp 0x439bb5
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 0x4e2fac
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
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], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
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 0x439b83
cmp byte [0x51caa5], al
jne 0x439ac7
cmp byte [0x522582], al
je 0x439b14
sub esp, 8
lea ecx, [ebp - 0x70]
push str.StateManager.cpp
call fcn.00406f50
mov byte [ebp - 4], 0x38
sub esp, 8
lea ecx, [ebp - 0x40]
push str.State_manager:_invalid_or_corrupted_state_info
call fcn.00406f50
mov byte [ebp - 4], 0x39
lea edx, [ebp - 0x70]
push 0x4f
lea ecx, [ebp - 0x40]
call fcn.00486f90
mov byte [ebp - 4], 0x38
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x70]
call fcn.004049f0
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 0x4e2fac
mov dword [ecx], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.004042c0
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], 0x4dd804
mov dword [ecx + 0x28], 0x4dcac4
call fcn.00407160
mov byte [ebp - 4], 0x3f
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ecx]
mov byte [ebp - 4], 0x1e
call dword [eax]
jmp 0x439bb5
push 0
push 1
lea eax, [ebp - 0x40]
mov ecx, ebx
push eax
call fcn.00409550
mov byte [ebp - 4], 0x41
lea ecx, [esi + 0x94]
push eax
call fcn.00404140
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x40]
call fcn.00404db0
mov byte [esi + 0xc8], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xcc]
call fcn.00408c90
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa0]
call fcn.00404db0
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x439bf1
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.004996ca
mov esp, ebp
pop ebp
ret