Function at 0x549190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d65ad
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6229a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x7c], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], eax
jne 0x5491d8
xor al, al
jmp 0x54951d
cmp byte [edi + 0x4ed], 0
je 0x54921a
cmp byte [edi + 0x4ee], 0
je 0x5491f1
mov al, 1
jmp 0x54951d
push 1
mov ecx, edi
call fcn.00546060
push 0
push 1
lea ecx, [edi + 0x520]
mov byte [edi + 0x54c], 1
call fcn.004f5940
test eax, eax
setne al
jmp 0x54951d
mov edx, dword [edi + 0x7c]
lea ecx, [edi + 0x6c]
mov eax, closesocket
sub eax, edx
cmp eax, 9
jb 0x54953a
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x54923a
mov eax, dword [ecx]
push edx
push eax
push 9
push str.SOFTWARE_
push ecx
push dword [ebp - 0x84]
lea ecx, [ebp - 0x58]
call fcn.004deda0
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004f5ac0
add esp, 8
lea ecx, [ebp - 0x58]
call fcn.00402f60
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov ecx, dword [ebp - 0x80]
mov edx, ecx
mov byte [ebp - 4], 3
cmp dword [ecx + 0x14], 0x10
jb 0x54929b
mov edx, dword [ecx]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x5492c3
or esi, 0xffffffff
dec eax
cmp eax, esi
cmovb esi, eax
add esi, edx
cmp byte [esi], 0x5c
je 0x5492bf
cmp esi, edx
je 0x5492c3
dec esi
cmp byte [esi], 0x5c
jne 0x5492b5
sub esi, edx
jmp 0x5492c6
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x5493ac
push esi
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.004d7ee0
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push 0x5e4f6c
push eax
call fcn.004dc800
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov byte [ebp - 4], 5
jb 0x5492ff
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00404bf0
lea ecx, [ebp - 0x58]
call fcn.00402f60
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00402f60
mov ecx, dword [ebp - 0x80]
lea eax, [esi + 1]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.004d7ee0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5493a2
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x54936e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x549364
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x54953f
push ecx
push edx
call fcn.0059b718
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x70]
call fcn.00402f60
jmp 0x5493c7
lea eax, [ebp - 0x28]
cmp eax, ecx
je 0x5493c7
cmp dword [ecx + 0x14], 0x10
jb 0x5493bb
mov ecx, dword [ecx]
push dword [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040c5a0
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x78]
push ecx
push 0x20006
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x549463
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x78]
push ecx
push 0
push 0xf003f
push 0
push 0x5e78c4
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x549463
cmp byte [edi + 0x4ec], 0
je 0x54945d
mov ecx, edi
call fcn.0054d240
push 1
push 0
lea ecx, [edi + 0x520]
call fcn.004fac60
push 5
push 0xc
lea ecx, [edi + 0x520]
call fcn.004fac60
push 1
push 0
lea ecx, [edi + 0x520]
call fcn.004fac60
mov byte [ebp - 0x71], 0
jmp 0x5494d0
push dword [ebp + 0x14]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x84]
cmovae eax, dword [ebp - 0x28]
push dword [ebp + 0xc]
push 0
push eax
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [edi + 0x4ec], 0
je 0x5494cc
mov ecx, edi
call fcn.0054d240
push 1
push 0
lea ecx, [edi + 0x520]
call fcn.004fac60
push 5
push 0xc
lea ecx, [edi + 0x520]
call fcn.004fac60
push 1
push 1
lea ecx, [edi + 0x520]
call fcn.004fac60
mov byte [ebp - 0x71], 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x549500
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5494f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x549544
push ecx
push edx
call fcn.0059b718
add esp, 8
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00402f60
mov al, byte [ebp - 0x71]
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.0059b734
mov esp, ebp
pop ebp
ret 0x10
call fcn.00404b20
call fcn.005a17d1
call fcn.005a17d1
int3