Function at 0x54f610
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x652840
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6a9fa4]
xor eax, esp
mov dword [esp + 0x84], eax
push ebp
push esi
push edi
mov eax, dword [0x6a9fa4]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa8]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x90]
test eax, eax
je 0x54f8dd
cmp byte [ebp + 0x511], 0
je 0x54f6a8
cmp byte [ebp + 0x512], 0
jne 0x54f9a7
mov edi, ebp
call fcn.00554e20
push 0
push 1
lea esi, [ebp + 0x54c]
mov byte [ebp + 0x57c], 1
call fcn.005de280
neg eax
sbb eax, eax
neg eax
jmp 0x54f9a9
lea ecx, [ebp + 0x7c]
push ecx
mov edi, str.SOFTWARE_
lea esi, [esp + 0x28]
call fcn.00447340
add esp, 4
mov edi, eax
lea eax, [esp + 0x78]
mov dword [esp + 0xa0], 0
call fcn.005b7100
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jb 0x54f6eb
mov edx, dword [esp + 0x28]
push edx
call fcn.0062414c
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
lea eax, [esp + 0x14]
mov byte [esp + 0xa0], 3
push eax
mov edi, ebx
mov byte [esp + 0x18], 0x5c
call fcn.0045f240
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
je 0x54f8e4
push eax
xor ecx, ecx
lea esi, [esp + 0x44]
mov edx, ebx
call fcn.00446c30
push eax
mov edi, 0x67d788
lea esi, [esp + 0x28]
mov byte [esp + 0xa4], 4
call fcn.00447340
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 5
call fcn.00420020
mov edi, 0x10
cmp dword [esp + 0x3c], edi
jb 0x54f77f
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0062414c
add esp, 4
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x58], edi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x54f7af
mov edx, dword [esp + 0x44]
push edx
call fcn.0062414c
add esp, 4
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
add ecx, 1
lea esi, [esp + 0x44]
mov edx, ebx
call fcn.00446c30
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 6
call fcn.00405660
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x58], edi
jb 0x54f7f4
mov eax, dword [esp + 0x44]
push eax
call fcn.0062414c
add esp, 4
mov esi, 0x10
cmp dword [esp + 0x90], esi
mov eax, dword [esp + 0x7c]
jae 0x54f80a
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x18]
push ecx
push 0x20006
push 0
push eax
push 0x80000001
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x54f8f7
cmp dword [esp + 0x90], esi
mov eax, dword [esp + 0x7c]
jae 0x54f83b
lea eax, [esp + 0x7c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0xf003f
push 0
push 0x67f160
push 0
push eax
push 0x80000001
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
je 0x54f8f7
cmp byte [ebp + 0x510], 0
je 0x54f89f
mov edi, ebp
call fcn.00554d90
push 1
lea esi, [ebp + 0x54c]
push 0
call fcn.005dde80
push 5
push 0xc
call fcn.005dde80
push 1
push 0
call fcn.005dde80
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x54f8b2
mov edx, dword [esp + 0x60]
push edx
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x54f8dd
mov eax, dword [esp + 0x7c]
push eax
call fcn.0062414c
add esp, 4
xor al, al
jmp 0x54f9a9
push 0xffffffffffffffff
push 0
push ebx
lea ecx, [esp + 0x68]
call fcn.00405660
jmp 0x54f7f9
cmp dword [esp + 0x74], esi
mov eax, dword [esp + 0x60]
jae 0x54f905
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x20]
push ecx
push 0
push eax
push edx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp byte [ebp + 0x510], 0
je 0x54f969
mov edi, ebp
call fcn.00554d90
push 1
lea esi, [ebp + 0x54c]
push 0
call fcn.005dde80
push 5
push 0xc
call fcn.005dde80
push 1
push 1
call fcn.005dde80
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x54f97c
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0062414c
add esp, 4
cmp dword [esp + 0x90], esi
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
jb 0x54f9a7
mov edx, dword [esp + 0x7c]
push edx
call fcn.0062414c
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00626d59
add esp, 0x94
ret 0x10