Function at 0x432cb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cacc7
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x524ee0]
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
xor eax, eax
cmp byte [0x526b68], al
mov ecx, 0x524ab0
sete al
mov dword [ebp - 4], 1
add eax, 0x80000001
mov dword [ebp - 0x70], eax
mov eax, dword [0x524ab0]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
mov esi, dword [0x526340]
or ebx, 0xffffffff
cmp byte [ebp + 0x14], 0
mov byte [ebp - 4], 2
je 0x432ddd
mov eax, esi
imul eax, esi
cdq
mov ecx, 0x16
idiv ecx
cmp edx, 6
jne 0x432d72
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x64
sub esi, ecx
xor ecx, ecx
lea eax, [esi + 0x7b]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
push eax
call fcn.004a98f0
mov esi, dword [0x526340]
add esp, 8
cmp byte [0x52024c], 0
jne 0x432ddd
mov eax, dword [0x526ce0]
cmp dword [eax - 0xc], 0
jne 0x432d8d
mov edi, SysReAllocStringLen
jmp 0x432de0
push 0x4dfbc0
lea eax, [ebp - 0x7c]
push 0x526ce0
push eax
mov edi, VariantInit
call fcn.0040b6c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.00402ab0
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432dd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [0x526340]
jmp 0x432de0
mov edi, dword [ebp - 0x70]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea eax, [esi + 1]
imul eax, esi
cdq
mov ecx, 0x11
idiv ecx
mov byte [ebp - 4], 4
cmp edx, 9
jne 0x432e31
mov esi, 1
mov eax, esi
mov edx, 0x58
dec edx
lea ecx, [eax + esi]
lea esi, [eax]
mov eax, ecx
jns 0x432e21
mov dword [0x526340], ecx
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7c], eax
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
mov byte [ebp - 4], 5
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov esi, str.Software_
shr esi, 0x10
mov byte [ebp - 4], 6
mov dword [ebp - 0x98], esi
mov eax, str.Software_
test esi, esi
jne 0x432fe3
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x432e96
push esi
push eax
lea ecx, [ebp - 0x70]
call fcn.004074c0
mov esi, dword [ebp - 0x98]
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 7
call fcn.0040b600
push 0x526ce4
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 8
call fcn.0040b600
push 0x4dfbc0
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 9
call fcn.0040b6c0
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0xa
call fcn.0040b600
add esp, 0x30
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xb
call fcn.00402ab0
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xa
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432f1f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
mov byte [ebp - 4], 9
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432f42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432f65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432f85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x432fa5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x524ab0]
mov ecx, 0x524ab0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 0xc
test esi, esi
jne 0x432ff5
mov eax, str.Software_
movzx esi, ax
push 0
push esi
call fcn.00403b10
add esp, 8
test eax, eax
je 0x433002
push esi
push eax
lea ecx, [ebp - 0x70]
call fcn.004074c0
jmp 0x433002
push str.Software_
lea ecx, [ebp - 0x70]
call fcn.0040b3b0
jmp 0x432e9c
push str.Software_
lea ecx, [ebp - 0x70]
call fcn.0040b3b0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x80]
push eax
mov byte [ebp - 4], 0xd
call fcn.0040b600
push 0x526ce4
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040b600
push 0x4dfbc0
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 0xf
call fcn.0040b6c0
lea ecx, [ebp + 8]
push ecx
push eax
lea eax, [ebp - 0x74]
push eax
mov byte [ebp - 4], 0x10
call fcn.0040b600
add esp, 0x30
lea ecx, [ebp - 0x94]
push 0
push 0
push 0x20006
push 0
push 0
push dword [eax]
push edi
call fcn.004315e0
mov edx, dword [ebp - 0x74]
test eax, eax
setne byte [ebp - 0x69]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x433095
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4330b8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4330db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xd
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4330fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43311b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x69], 0
mov edi, dword [ebp - 0x94]
jne 0x43318d
mov eax, dword [ebp + 0x10]
push 4
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
push 4
push 0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x43323c
call fcn.00433870
test al, al
jne 0x433170
mov ebx, dword [0x526340]
xor esi, esi
mov edi, ebx
lea esp, [esp]
inc esi
dec edi
cmp esi, 0x16
jb 0x433160
mov edi, dword [ebp - 0x94]
or ebx, 0xffffffff
test edi, edi
je 0x433183
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x69], 0
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4331b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4331bc
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4331dc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4331fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x43321d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0x69]
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.004a8b24
mov esp, ebp
pop ebp
ret
test edi, edi
je 0x43324f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x90], 0
mov byte [ebp - 0x69], 1
jmp 0x433191