Function at 0x403c20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x41b024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea edx, [eax + 1]
xor ebx, ebx
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x403c40
sub eax, edx
jne 0x403c5d
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004084de
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0xd4]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall
push 0x80000002
call esi
test eax, eax
jne 0x403ea5
lea ecx, [ebp - 0xd8]
push ecx
lea edx, [ebp - 0xd4]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea eax, [ebp - 0xd4]
push eax
push 0x20006
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
push 0x80000002
call esi
test eax, eax
jne 0x403ea5
mov edx, dword [0x41cf30]
mov eax, dword [edx + 0xc]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [edi]
push eax
push ecx
push str._s_s
lea edi, [ebp - 0x8c]
mov byte [ebp - 0x88], bl
call fcn.00402790
mov edx, dword [0x41cf30]
mov ecx, dword [edx]
add esp, 0xc
lea eax, [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], bl
mov edi, ecx
cmp ecx, ebx
jne 0x403d1b
mov edi, 0x417378
mov ecx, edi
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x403d20
sub ecx, esi
mov esi, ecx
cmp esi, 0x3f
jl 0x403d43
lea eax, [esi + 1]
push eax
push ebx
mov dword [ebp - 0x48], ebx
call fcn.00408f11
add esp, 8
mov dword [ebp - 0x48], eax
push esi
push edi
push eax
call fcn.00408c27
mov ecx, dword [ebp - 0x48]
lea edx, [ebp - 0xcc]
push 3
mov eax, edx
mov byte [esi + ecx], bl
push 0x4176d8
push eax
mov dword [ebp - 0xd0], edx
mov byte [ebp - 0xcc], bl
call fcn.00408c27
mov ecx, dword [ebp - 0xd0]
mov byte [ecx + 3], bl
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
add esp, 0x18
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403d90
mov edx, dword [ebp - 0xd4]
sub eax, esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push ecx
push 1
push ebx
push str.DisplayIcon
push edx
call esi
mov ecx, dword [ebp - 0x48]
mov eax, ecx
lea edi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403dc0
sub eax, edi
push eax
mov eax, dword [ebp - 0xd4]
push ecx
push 1
push ebx
push str.DisplayName
push eax
call esi
mov ecx, dword [ebp - 0xd0]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403de7
sub eax, edi
push eax
push ecx
mov ecx, dword [ebp - 0xd4]
push 1
push ebx
push str.DisplayVersion
push ecx
call esi
mov ecx, dword [ebp - 0x48]
mov eax, ecx
lea edi, [eax + 1]
jmp 0x403e10
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403e10
mov edx, dword [ebp - 0xd4]
sub eax, edi
push eax
push ecx
push 1
push ebx
push str.Publisher
push edx
call esi
mov ecx, dword [ebp - 0x8c]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x403e37
sub eax, edi
push eax
mov eax, dword [ebp - 0xd4]
push ecx
push 1
push ebx
push str.UninstallString
push eax
call esi
mov ecx, dword [ebp - 0xd4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
cmp eax, edx
je 0x403e79
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
cmp eax, ecx
je 0x403e8c
push eax
call fcn.00408c41
add esp, 4
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
cmp eax, edx
je 0x403ea5
push eax
call fcn.00408c41
add esp, 4
mov ecx, dword [ebp - 4]
pop esi
pop edi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004084de
mov esp, ebp
pop ebp
ret