Function at 0x10006b48
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a0
mov eax, dword [section..data]
push ebx
push esi
push edi
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
push str.src.dat
push 0x100123cc
lea eax, [ebp - 0x3c]
push str._s_s
push eax
call fcn.10003245
add esp, 0x10
lea eax, [ebp - 0x3c]
push 3
push 0x1000cd68
push 1
push ecx
mov ecx, esp
push eax
call fcn.100042f1
lea ecx, [ebp - 0x78]
call fcn.10002bb4
push ecx
mov esi, str.Version
mov ecx, esp
push esi
call fcn.1000260b
push ecx
mov ecx, esp
push esi
call fcn.1000260b
lea eax, [ebp - 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 0x2c]
call fcn.100026a0
lea ecx, [ebp - 4]
call fcn.100025df
push ecx
mov ecx, esp
push esi
call fcn.1000260b
push ecx
mov ecx, esp
push str.VerEx
call fcn.1000260b
lea eax, [ebp - 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 0x28]
call fcn.100026a0
lea ecx, [ebp - 4]
call fcn.100025df
push ecx
mov ecx, esp
push str.Source
call fcn.1000260b
push ecx
mov ecx, esp
push 0x1000dbb4
call fcn.1000260b
lea eax, [ebp - 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 0x20]
call fcn.100026a0
lea ecx, [ebp - 4]
call fcn.100025df
push ecx
mov ecx, esp
push str.Info
call fcn.1000260b
push ecx
mov ecx, esp
push str.KwPid
call fcn.1000260b
lea eax, [ebp - 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 0x24]
call fcn.100026a0
lea ecx, [ebp - 4]
call fcn.100025df
push ecx
mov esi, str.Domain
mov ecx, esp
push esi
call fcn.1000260b
push ecx
mov ecx, esp
push esi
call fcn.1000260b
lea eax, [ebp - 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 0x18]
call fcn.100026a0
lea ecx, [ebp - 4]
call fcn.100025df
push ecx
mov esi, 0x1000db90
mov ecx, esp
push esi
call fcn.1000260b
push ecx
mov ecx, esp
push esi
call fcn.1000260b
lea eax, [ebp - 4]
lea ecx, [ebp - 0x78]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 0x1c]
call fcn.100026a0
lea ecx, [ebp - 4]
call fcn.100025df
mov eax, dword [ebp - 0x2c]
xor edi, edi
cmp dword [eax - 8], edi
jne 0x10006d0c
mov esi, 0x1000cd6c
push str.2.0.0.0
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.10003245
add esp, 0xc
jmp 0x10006d11
mov esi, 0x1000cd6c
mov eax, dword [ebp - 0x28]
cmp dword [eax - 8], edi
jne 0x10006d2b
push str.cnnic
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.10003245
add esp, 0xc
mov eax, dword [ebp - 0x20]
mov ebx, str.default
cmp dword [eax - 8], edi
jne 0x10006d46
push ebx
lea eax, [ebp - 0x20]
push esi
push eax
call fcn.10003245
add esp, 0xc
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], edi
jne 0x10006d5c
push ebx
lea eax, [ebp - 0x24]
push esi
push eax
call fcn.10003245
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax - 8], edi
jne 0x10006d76
push str.cnnic
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.10003245
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], edi
jne 0x10006d90
push str.PARA
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.10003245
add esp, 0xc
lea eax, [ebp - 0x14]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWARECNNICCdnClientCommon
push 0x80000002
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, edi
jne 0x10006e88
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0x10], eax
call ebx
inc eax
push eax
push dword [ebp - 0x10]
push 1
push edi
push str.Version
push dword [ebp - 8]
call esi
mov eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x10], eax
call ebx
inc eax
push eax
push dword [ebp - 0x10]
push 1
push edi
push str.VersionEx
push dword [ebp - 8]
call esi
mov eax, dword [0x10011fa8]
push 4
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 4
push edi
push str.Mode
push dword [ebp - 8]
call esi
test eax, eax
je 0x10006e77
and byte [ebp - 0xc], 0
push dword [0x10011fa8]
xor eax, eax
lea edi, [ebp - 0xb]
stosw word es:[edi], ax
lea eax, [ebp - 0xc]
push 0x1000d2e8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
pop ecx
pop ecx
mov ecx, esp
push str.InstallMode
call fcn.1000260b
push ecx
mov ecx, esp
push str.Mode
call fcn.1000260b
push ecx
lea eax, [ebp - 0xc]
mov ecx, esp
push eax
call fcn.1000260b
lea ecx, [ebp - 0x78]
call fcn.10002f5f
xor edi, edi
cmp dword [ebp - 8], edi
je 0x10006e88
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], edi
mov eax, dword [section..data]
cmp dword [0x1000d2c4], 1
mov dword [ebp - 0x38], eax
jne 0x10006f3b
push 0x200
lea eax, [ebp - 0x4a0]
push edi
push eax
call fcn.1000a550
mov eax, dword [ebp - 0x18]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov eax, dword [eax - 8]
push eax
push eax
call fcn.10002869
push eax
lea eax, [ebp - 0x4a0]
push eax
call fcn.1000a5b0
add esp, 0xc
lea ecx, [ebp - 0x18]
push 0xffffffffffffffff
call fcn.100028d0
push dword [ebp - 0x1c]
lea eax, [ebp - 0x4a0]
lea ecx, [ebp - 0x2a0]
push eax
call fcn.10004324
lea ecx, [ebp - 0x2a0]
call fcn.10004381
test eax, eax
je 0x10006f22
lea ecx, [ebp - 0x2a0]
call fcn.100045d0
test eax, eax
je 0x10006f22
cmp dword [ebp - 0x80], edi
je 0x10006f22
push dword [ebp - 0x84]
lea ecx, [ebp - 0x38]
call fcn.100026a0
lea ecx, [ebp - 0x84]
call fcn.10002571
lea ecx, [ebp - 0x90]
call fcn.10002571
mov eax, dword [ebp - 0x38]
cmp dword [eax - 8], edi
je 0x10006f54
push eax
lea eax, [ebp - 0x30]
push 0x1000cd6c
push eax
call fcn.10003245
push dword [ebp - 0x38]
jmp 0x10006f68
push dword [ebp - 0x20]
lea eax, [ebp - 0x30]
push 0x1000cd6c
push eax
call fcn.10003245
push dword [ebp - 0x24]
lea eax, [ebp - 0x34]
push 0x1000cd6c
push eax
call fcn.10003245
add esp, 0x18
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWARECNNICCdnClientInstallInfo
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x10007064
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x14], eax
call ebx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push edi
push 0x1000db34
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp - 0x34]
push eax
mov dword [ebp - 0x14], eax
call ebx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push edi
push str.KwPid
push dword [ebp - 0xc]
call esi
cmp dword [0x10011d6c], 2
jne 0x10007008
mov eax, dword [0x10011f9c]
push 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 4
push edi
push 0x1000db30
push dword [ebp - 0xc]
call esi
mov eax, dword [section..data]
push 0x100126d8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push 0x1000cd6c
push eax
call fcn.10003245
add esp, 0xc
lea ecx, [ebp - 8]
push 0x5c
call fcn.100089d3
mov eax, dword [ebp - 8]
push eax
mov dword [ebp - 0x14], eax
call ebx
inc eax
push eax
push dword [ebp - 0x14]
push 1
push edi
push str.InstallPath
push dword [ebp - 0xc]
call esi
cmp dword [ebp - 0xc], edi
je 0x1000705c
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
lea ecx, [ebp - 8]
call fcn.100025df
call fcn.100071eb
call fcn.100070ea
cmp dword [ebp - 0x10], edi
je 0x1000707c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x38]
call fcn.100025df
cmp dword [ebp - 4], edi
je 0x10007092
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x78]
call fcn.10002d06
lea ecx, [ebp - 0x1c]
call fcn.100025df
lea ecx, [ebp - 0x18]
call fcn.100025df
lea ecx, [ebp - 0x24]
call fcn.100025df
lea ecx, [ebp - 0x20]
call fcn.100025df
lea ecx, [ebp - 0x28]
call fcn.100025df
lea ecx, [ebp - 0x2c]
call fcn.100025df
lea ecx, [ebp - 0x34]
call fcn.100025df
lea ecx, [ebp - 0x30]
call fcn.100025df
lea ecx, [ebp - 0x3c]
call fcn.100025df
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret