Function at 0x52e690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6085c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
sub ecx, edx
lea eax, [ebx + 0x30]
je 0x52e89e
mov cl, byte [ebx + 0x41d]
test cl, cl
je 0x52e70d
mov al, byte [ebx + 0x41e]
test al, al
jne 0x52e91f
push 1
mov ecx, ebx
call fcn.00524f60
push 0
push 1
lea ecx, [ebx + 0x438]
mov byte [ebx + 0x464], 1
call fcn.005116e0
neg eax
sbb eax, eax
neg eax
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push esi
push edi
push eax
lea edx, [ebp - 0x34]
push str.SOFTWARE_
push edx
call fcn.00418830
push eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 0
call fcn.00518a60
add esp, 0x14
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041d780
lea ecx, [ebp - 0x1c]
call fcn.00402680
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push 0x5c
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.00509580
mov esi, eax
cmp esi, 0xffffffff
je 0x52e7ed
push esi
push 0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call fcn.0050cd80
push eax
lea edx, [ebp - 0x34]
push 0x60cb74
push edx
mov byte [ebp - 4], 4
call fcn.00418830
add esp, 0xc
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp + 0xb]
push edx
push ecx
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00402c10
lea ecx, [ebp - 0x34]
call fcn.0041d780
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0041d780
push 0xffffffffffffffff
inc esi
push esi
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.0050cd80
lea ecx, [ebp - 0x1c]
cmp eax, ecx
mov byte [ebp - 4], 6
je 0x52e7df
mov ecx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ebp + 0xb]
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c800
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0041d780
jmp 0x52e807
lea eax, [ebp - 0x1c]
cmp edi, eax
je 0x52e807
mov edx, dword [edi + 4]
mov eax, dword [edi]
lea ecx, [ebp + 0xb]
push ecx
push edx
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c800
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push ecx
push 0x20006
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
pop esi
je 0x52e8b1
mov edx, dword [ebp - 0x28]
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0x617264
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x52e8b1
mov al, byte [ebx + 0x41c]
test al, al
je 0x52e88e
mov ecx, ebx
call fcn.00524ec0
push 1
add ebx, 0x438
push 0
mov ecx, ebx
call fcn.00515cb0
push 5
push 0xc
mov ecx, ebx
call fcn.00515cb0
push 1
push 0
mov ecx, ebx
call fcn.00515cb0
lea ecx, [ebp - 0x1c]
call fcn.0041d780
lea ecx, [ebp - 0x28]
call fcn.0041d780
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x10]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebx + 0x41c]
test al, al
je 0x52e90f
mov ecx, ebx
call fcn.00524ec0
push 1
add ebx, 0x438
push 0
mov ecx, ebx
call fcn.00515cb0
push 5
push 0xc
mov ecx, ebx
call fcn.00515cb0
push 1
push 1
mov ecx, ebx
call fcn.00515cb0
lea ecx, [ebp - 0x1c]
call fcn.0041d780
lea ecx, [ebp - 0x28]
call fcn.0041d780
mov ecx, dword [ebp - 0xc]
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10