Function at 0x43b8b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dccd
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push dword [0x61309c]
mov dword [ebp - 0x10], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43b913
xor ebx, ebx
jmp 0x43bb36
mov eax, dword [ebp - 0x10]
xor esi, esi
mov edi, dword [0x641b8c]
test eax, eax
je 0x43b95c
mov edx, edi
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43b927
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.InstallRoot
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove esi, eax
mov eax, dword [ebp - 0x10]
mov edi, dword [0x641b90]
xor ebx, ebx
test eax, eax
je 0x43b9a3
mov edx, edi
lea ecx, [edx + 2]
mov dword [ebp - 0x14], ecx
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43b970
sub edx, dword [ebp - 0x14]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push edi
push 1
push 0
push str.Version
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove ebx, eax
and ebx, esi
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x43bb58
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, str.ProfessionalVersionNumber
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x43b9dd
movzx eax, ax
push eax
call fcn.00429d90
jmp 0x43b9e9
push 0x19
push str.ProfessionalVersionNumber
call fcn.0042a060
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test eax, eax
je 0x43ba38
mov ecx, dword [0x641b90]
mov edi, ecx
lea edx, [edi + 2]
mov dword [ebp - 0x18], edx
mov dx, word [edi]
add edi, 2
test dx, dx
jne 0x43ba07
sub edi, dword [ebp - 0x18]
sar edi, 1
lea edx, [edi*2 + 2]
push edx
push ecx
push 1
push 0
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
mov eax, 1
cmove ecx, eax
lea eax, [ebp - 0x1c]
and ebx, ecx
push eax
call fcn.004417d0
add esp, 4
xor edi, edi
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x43ba95
mov edx, ecx
lea ecx, [edx + 2]
mov dword [ebp - 0x18], ecx
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43ba60
sub edx, dword [ebp - 0x18]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x14]
push 1
push 0
push str.DisplayName
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, 1
cmove edi, eax
mov edx, dword [ebp - 0x1c]
and ebx, edi
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43bab4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
test eax, eax
je 0x43bb0d
mov edx, dword [0x641bb0]
lea ecx, [edx + 2]
mov dword [ebp - 0x1c], ecx
lea esp, [esp]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x43bad0
sub edx, dword [ebp - 0x1c]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [0x641bb0]
push 1
push 0
push str.hostprocname
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
mov eax, 1
cmove ecx, eax
mov eax, dword [ebp - 0x10]
and ebx, ecx
test eax, eax
je 0x43bb1a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x43bb36
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x43bb44
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3