Function at 0x5af330
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f5269
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x766480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x77b988]
mov esi, 0x700992
mov edi, dword [0x77ae94]
mov ecx, dword [ecx + 0x2d8]
call fcn.0047b0d0
nop dword [eax]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x5af3a0
test cl, cl
je 0x5af39c
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x5af3a0
add eax, 2
add esi, 2
test cl, cl
jne 0x5af380
xor eax, eax
jmp 0x5af3a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5af3f2
push 0x7f4
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x5af3d2
mov ecx, eax
call fcn.00486c20
mov esi, eax
jmp 0x5af3d4
xor esi, esi
sub esp, 8
mov dword [esp + 4], 0x43480000
mov dword [esp], 0x43780000
push 0
push 0x783dc8
jmp 0x5af475
mov ecx, dword [0x77b988]
mov esi, 0x700992
mov ecx, dword [ecx + 0x2dc]
call fcn.0047b0d0
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x5af428
test cl, cl
je 0x5af424
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x5af428
add eax, 2
add esi, 2
test cl, cl
jne 0x5af408
xor eax, eax
jmp 0x5af42d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5af492
push 0x7f4
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x5af45a
mov ecx, eax
call fcn.00486c20
mov esi, eax
jmp 0x5af45c
xor esi, esi
sub esp, 8
mov dword [esp + 4], 0x43480000
mov dword [esp], 0x43780000
push 0
push 0x7841c8
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.004871c0
mov dword [esi + 0x5ac], 0x3e8
jmp 0x5af746
cmp dword [edi + 0x178], 0
jne 0x5af581
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2dc]
call fcn.0047b0d0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5af4b3
sub eax, edx
add eax, 0xfffffffa
cmp eax, 6
ja 0x5af538
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2d8]
call fcn.0047b0d0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5af4d8
sub eax, edx
cmp eax, 6
jl 0x5af4ef
cmp eax, 0xc
jle 0x5af581
push 0x7f4
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x5af518
mov ecx, eax
call fcn.00486c20
mov esi, eax
jmp 0x5af51a
xor esi, esi
sub esp, 8
mov dword [esp + 4], 0x43480000
mov dword [esp], 0x43780000
push 0
push 0xb449c8
jmp 0x5af475
push 0x7f4
call fcn.006df8c3
add esp, 4
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x5af561
mov ecx, eax
call fcn.00486c20
mov esi, eax
jmp 0x5af563
xor esi, esi
sub esp, 8
mov dword [esp + 4], 0x43480000
mov dword [esp], 0x43780000
push 0
push 0xb445c8
jmp 0x5af475
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2d8]
call fcn.0047b0d0
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strlwr]
lea esi, [edi + 0x11c]
add esp, 4
mov edx, esi
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0x5af5a6
lea eax, [ebp - 0x114]
push str.SoftwareROWLIBERATION
push eax
call fcn.0044f6e0
mov ecx, dword [0x77b988]
add esp, 8
mov ecx, dword [ecx + 0x2e0]
call fcn.00477af0
test eax, eax
je 0x5af656
lea eax, [ebp - 0x118]
push eax
push 0x20006
push 0
lea eax, [ebp - 0x114]
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5af656
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2d8]
call fcn.0047b0d0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5af618
mov ecx, dword [0x77b988]
sub eax, edx
inc eax
push eax
mov ecx, dword [ecx + 0x2d8]
call fcn.0047b0d0
push eax
push 1
push 0
push str.UserID
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x77b1c4]
push 1
call fcn.004db360
cmp dword [eax + 0x40], 0
jne 0x5af746
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2d8]
call fcn.0047b0d0
sub esi, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x5af680
mov eax, dword [edi + 0x178]
test eax, eax
je 0x5af6c3
cmp eax, 1
je 0x5af6c3
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2dc]
call fcn.0047b0d0
mov edx, edi
sub edx, eax
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax + 0x133], cl
test cl, cl
jne 0x5af6b1
jmp 0x5af6f0
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2dc]
call fcn.0047b0d0
mov edx, edi
sub edx, eax
nop dword [eax + eax]
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax + 0x133], cl
test cl, cl
jne 0x5af6e0
mov ecx, dword [0x77ae98]
push 0x18
call fcn.006ac120
mov ecx, dword [0x77b988]
mov ecx, dword [ecx + 0x2d8]
call fcn.0047b0d0
push eax
mov ecx, edi
call fcn.00478060
movzx eax, word [0x779344]
push eax
push dword [0x77933c]
lea eax, [edi + 0x134]
push dword [0x779340]
push eax
lea eax, [edi + 0x11c]
push eax
push dword [0x77ae98]
call fcn.006aed00
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006dfb52
mov esp, ebp
pop ebp
ret