Function at 0x5451a0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x64d816
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6af168]
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 edi, ecx
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x90]
xor ebx, ebx
cmp eax, ebx
je 0x545459
cmp byte [edi + 0x511], bl
je 0x545238
cmp byte [edi + 0x512], bl
jne 0x545501
call fcn.0054aa80
push ebx
push 1
lea esi, [edi + 0x54c]
mov byte [edi + 0x57c], 1
call fcn.00565a00
neg eax
sbb eax, eax
neg eax
jmp 0x545503
lea ecx, [edi + 0x7c]
push ecx
lea edx, [esp + 0x24]
push str.SOFTWARE_
push edx
call fcn.0044cec0
add esp, 0xc
lea ecx, [esp + 0x78]
push ecx
mov esi, eax
mov dword [esp + 0xa4], ebx
call fcn.004e7770
add esp, 4
cmp dword [esp + 0x38], 0x10
jb 0x545278
mov edx, dword [esp + 0x24]
push edx
call fcn.0062493b
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
push 1
push 0xffffffffffffffff
lea eax, [esp + 0x1c]
mov byte [esp + 0xa8], 3
push eax
mov ecx, ebp
mov byte [esp + 0x20], 0x5c
call fcn.00443940
mov esi, eax
cmp esi, 0xffffffff
je 0x54537a
push esi
push ebx
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebp
call fcn.00440e80
push eax
lea edx, [esp + 0x24]
push 0x679af8
push edx
mov byte [esp + 0xac], 4
call fcn.0044cec0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x84]
mov byte [esp + 0xac], 5
call fcn.00446020
cmp dword [esp + 0x38], 0x10
jb 0x545305
mov eax, dword [esp + 0x24]
push eax
call fcn.0062493b
add esp, 4
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
jb 0x545331
mov ecx, dword [esp + 0x44]
push ecx
call fcn.0062493b
add esp, 4
push 0xffffffffffffffff
add esi, 1
push esi
lea edx, [esp + 0x48]
push edx
mov ecx, ebp
call fcn.00440e80
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 6
call fcn.00401d10
mov ebp, 0x10
mov byte [esp + 0xa0], 3
cmp dword [esp + 0x58], ebp
jb 0x54538c
mov eax, dword [esp + 0x44]
push eax
call fcn.0062493b
add esp, 4
jmp 0x54538c
push 0xffffffffffffffff
push ebx
push ebp
lea ecx, [esp + 0x68]
call fcn.00401d10
mov ebp, 0x10
cmp dword [esp + 0x90], ebp
mov eax, dword [esp + 0x7c]
jae 0x54539d
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x18]
push ecx
push 0x20006
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x545460
cmp dword [esp + 0x90], ebp
mov eax, dword [esp + 0x7c]
jae 0x5453cd
lea eax, [esp + 0x7c]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push ebx
push 0xf003f
push ebx
push 0x672aa4
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
je 0x545460
cmp byte [edi + 0x510], bl
je 0x545420
call fcn.0054a9f0
push 1
lea esi, [edi + 0x54c]
push ebx
call fcn.00565600
push 5
push 0xc
call fcn.00565600
push 1
push ebx
call fcn.00565600
cmp dword [esp + 0x74], ebp
jb 0x545433
mov edx, dword [esp + 0x60]
push edx
call fcn.0062493b
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x545459
mov eax, dword [esp + 0x7c]
push eax
call fcn.0062493b
add esp, 4
xor al, al
jmp 0x545503
cmp dword [esp + 0x74], ebp
mov eax, dword [esp + 0x60]
jae 0x54546e
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x20]
push ecx
push ebx
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 [edi + 0x510], bl
je 0x5454c8
call fcn.0054a9f0
push 1
lea esi, [edi + 0x54c]
push ebx
call fcn.00565600
push 5
push 0xc
call fcn.00565600
push 1
push 1
call fcn.00565600
cmp dword [esp + 0x74], ebp
jb 0x5454db
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0062493b
add esp, 4
cmp dword [esp + 0x90], ebp
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], ebx
mov byte [esp + 0x60], bl
jb 0x545501
mov edx, dword [esp + 0x7c]
push edx
call fcn.0062493b
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00624940
add esp, 0x90
ret 0x10