Function at 0x41b0e0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd520
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x532ab0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
xor eax, eax
mov dword [ebp - 4], 1
cmp byte [0x53b870], al
mov ecx, 0x5326d8
sete al
add eax, 0x80000001
mov dword [ebp - 0x3c], eax
mov eax, dword [0x5326d8]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 4
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, str.Software_
shr eax, 0x10
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], eax
mov ecx, str.Software_
test eax, eax
jne 0x41b1ad
movzx ebx, cx
mov ecx, ebx
call fcn.00401140
test eax, eax
je 0x41b1ba
push ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401f80
jmp 0x41b1ba
push str.Software_
lea ecx, [ebp - 0x14]
call fcn.00404640
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.00404430
push 0x53b9b4
mov edx, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.00404430
push 0x519224
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00419e30
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.00404430
add esp, 0x10
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
lea ecx, [esi - 0x10]
lea eax, [edx - 0x10]
or ebx, 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
cmp eax, ecx
je 0x41b26b
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x41b25c
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x41b25c
mov ecx, dword [ebp - 0x20]
call fcn.00401d10
mov dword [ebp - 0x20], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x41b254
mov esi, dword [ebp - 0x24]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x20]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
jmp 0x41b26b
push dword [edx - 0xc]
lea ecx, [ebp - 0x18]
push edx
call fcn.00401be0
mov esi, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b28b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b2ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b2cb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b2eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b30b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x5326d8]
mov ecx, 0x5326d8
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x38], 0
mov byte [ebp - 4], 0xc
jne 0x41b34d
mov eax, str.Software_
movzx ecx, ax
call fcn.00401140
test eax, eax
je 0x41b35a
mov edx, str.Software_
movzx ecx, dx
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401f80
jmp 0x41b35a
push str.Software_
lea ecx, [ebp - 0x14]
call fcn.00404640
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00404430
push 0x53b9b4
mov edx, eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.00404430
push 0x519224
mov edx, eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xf
call fcn.00419e30
lea ecx, [ebp + 8]
push ecx
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x10
call fcn.00404430
add esp, 8
push 0x20006
push 0
push ecx
push dword [eax]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x3c]
call fcn.0041aaf0
mov edx, dword [ebp - 0x34]
test eax, eax
setne byte [ebp - 0xd]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b3df
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b3ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b41f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b43f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b45f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
jne 0x41b4a4
mov eax, dword [ebp - 0x40]
push 4
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x4c]
push 4
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov eax, dword [ebp - 0x4c]
je 0x41b546
test eax, eax
je 0x41b49d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 0xd], 0
add esi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b4c5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x41b4d3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b4f0
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41b510
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0xc]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x41b531
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x41b556
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
mov byte [ebp - 0xd], 1
jmp 0x41b4a8