Function at 0x46c460
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ca14
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x5917ec]
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 ebx, ecx
mov dword [ebp - 0x444], ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004c0d00
add esp, 0xc
lea eax, [ebp - 0x218]
push str.birdwp.exe
push dword [ebx]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.0040edf0
mov ecx, eax
test ecx, ecx
je 0x46c9a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x430], eax
lea esi, [ebp - 0x218]
mov dword [ebp - 4], 0
shr esi, 0x10
test esi, esi
jne 0x46c50e
lea eax, [ebp - 0x218]
movzx ebx, ax
lea ecx, [ebp - 0x430]
push ebx
mov dword [ebp - 0x42c], ebx
call fcn.0040cd90
jmp 0x46c548
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c517
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.0040dbe0
lea eax, [ebp - 0x218]
movzx ebx, ax
mov dword [ebp - 0x42c], ebx
mov eax, dword [ebp - 0x430]
mov dword [ebp - 4], 1
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.DisplayIcon
lea ecx, [ebp - 0x421]
call fcn.0046abe0
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
lea ecx, [ebp - 0x421]
call fcn.00469ee0
push eax
lea ecx, [ebp - 0x440]
call fcn.0040b980
mov ecx, dword [ebp - 0x440]
mov byte [ebp - 4], 2
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.DisplayName
lea ecx, [ebp - 0x421]
call fcn.004684c0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
call fcn.0040edf0
mov ecx, eax
test ecx, ecx
je 0x46c9aa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x434], eax
mov byte [ebp - 4], 3
call fcn.0040edf0
mov ecx, eax
test ecx, ecx
je 0x46c9b4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 4
test esi, esi
jne 0x46c612
push ebx
lea ecx, [ebp - 0x428]
call fcn.0040cd90
jmp 0x46c642
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c620
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0040dbe0
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0040c660
mov edx, dword [ebp - 0x428]
or ebx, 0xffffffff
add esp, 8
mov byte [ebp - 4], 3
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c680
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x434]
lea ecx, [ebp - 0x421]
mov eax, dword [edi - 0xc]
add eax, eax
push eax
push edi
push 1
push str.DisplayVersion
call fcn.0046a720
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push reloc.OLEAUT32.dll_SysReAllocString
call eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
call fcn.0040edf0
mov ecx, eax
test ecx, ecx
je 0x46c9be
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
mov byte [ebp - 4], 6
test esi, esi
jne 0x46c6f1
push dword [ebp - 0x42c]
lea ecx, [ebp - 0x428]
call fcn.0040cd90
jmp 0x46c722
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c700
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0040dbe0
mov eax, dword [ebp - 0x428]
mov byte [ebp - 4], 7
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push str.InstallLocation
lea ecx, [ebp - 0x421]
call fcn.00468c00
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea ecx, [ebp - 0x421]
call fcn.00469b00
push eax
lea ecx, [ebp - 0x43c]
call fcn.0040b980
mov ecx, dword [ebp - 0x43c]
mov byte [ebp - 4], 8
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.Publisher
lea ecx, [ebp - 0x421]
call fcn.0046b170
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004c0d00
mov eax, dword [ebp - 0x444]
add esp, 0xc
push str.Uninstall.exe
push dword [eax]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.0040edf0
mov ecx, eax
test ecx, ecx
je 0x46c9c8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x46c804
movzx eax, ax
lea ecx, [ebp - 0x42c]
push eax
call fcn.0040cd90
jmp 0x46c832
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46c810
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040dbe0
mov esi, dword [ebp - 0x42c]
lea ecx, [ebp - 0x421]
mov byte [ebp - 4], 0xa
mov eax, dword [esi - 0xc]
add eax, eax
push eax
push esi
push 1
push str.UninstallString
call fcn.0046aa20
push eax
mov eax, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push reloc.OLEAUT32.dll_SysReAllocString
call eax
lea ecx, [ebp - 0x421]
call fcn.0046a640
push eax
lea ecx, [ebp - 0x438]
call fcn.0040b980
mov ecx, dword [ebp - 0x438]
mov byte [ebp - 4], 0xb
mov eax, dword [ecx - 0xc]
add eax, eax
push eax
push ecx
push 1
push str.URLInfoAbout
lea ecx, [ebp - 0x421]
call fcn.004693c0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x438]
mov eax, ebx
mov byte [ebp - 4], 0xa
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c8c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46c8e4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x43c]
mov eax, ebx
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c905
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x428]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c926
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x46c941
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x440]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46c962
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x430]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x46c984
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.0049b8b8
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
push 0x80004005
call fcn.0040c3e0
int3