Function at 0x550a70
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56dcbd
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5b3480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [edi]
mov dword [ebp - 0x30], ebx
call dword [eax + 0x88]
push eax
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0054e810
add esp, 0xc
cmp dword [ebp - 0x14], 7
lea esi, [ebp - 0x28]
mov eax, dword [edi]
mov ecx, edi
cmova esi, dword [ebp - 0x28]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], esi
call dword [eax + 0x88]
dec eax
cmp eax, 5
ja case.default.0x550ae9
jmp dword [eax*4 + 0x550cb8]
mov eax, dword [edi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, edi
call dword [eax + 0x50]
mov dword [ebp - 0x30], 4
mov edi, 4
jmp 0x550c04
mov eax, dword [edi]
lea ecx, [ebp - 0x48]
push ecx
mov ecx, edi
call dword [eax + 0x4c]
mov dword [ebp - 0x30], 8
mov edi, 0xb
jmp 0x550c04
mov eax, dword [edi]
lea ecx, [ebp - 0x29]
push ecx
mov ecx, edi
call dword [eax + 0x54]
test eax, eax
je 0x550b3b
mov al, byte [eax]
jmp 0x550b3d
xor al, al
movzx eax, al
lea esi, [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov edi, 4
mov dword [ebp - 0x30], 4
jmp 0x550c0a
mov eax, dword [edi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, edi
call dword [eax + 0x48]
mov dword [ebp - 0x30], 8
mov edi, 0xb
jmp 0x550c04
mov ecx, edi
call fcn.00547200
mov esi, 0x570fe0
mov ecx, edi
mov eax, dword [eax]
test eax, eax
cmovne esi, eax
call fcn.00547200
mov edi, 1
mov eax, dword [eax + 4]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x30], eax
jmp 0x550c06
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x40]
mov esi, eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x30], eax
mov ecx, esi
mov eax, dword [esi]
mov edi, 3
call dword [eax + 0x4c]
cmp eax, edi
je 0x550bfd
push dword [ebp - 0x30]
call fcn.004958af
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x550c39
mov edx, dword [esi]
mov ecx, esi
push 0
push 0
push 0
call dword [edx + 0x14]
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push dword [ebp - 0x30]
mov ecx, esi
push ebx
call dword [eax + 0x18]
test eax, eax
js 0x550c39
mov esi, ebx
jmp 0x550c0a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x38]
mov esi, eax
test esi, esi
je 0x550c39
push dword [ebp - 0x30]
push esi
mov esi, dword [ebp - 0x34]
mov ecx, esi
push edi
push 0
push dword [ebp - 0x3c]
call fcn.0054e450
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x550c33
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov byte [esi + 0xc], 1
sete byte [ebp - 0x29]
jmp 0x550c3d
mov byte [ebp - 0x29], 1
test ebx, ebx
je 0x550c4a
push ebx
call fcn.004957c3
add esp, 4
mov bl, byte [ebp - 0x29]
jmp 0x550c5e
push esi
push dword [ebp - 0x34]
push edi
call 0x550cd0
add esp, 0xc
mov bl, al
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x550c94
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x550c8a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x550cb2
push ecx
push edx
call fcn.00491173
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004913e0
mov esp, ebp
pop ebp
ret
call fcn.004956fe
nop
sub byte [ebx], cl
push ebp
add al, dh
or dl, byte [ebp]
or al, 0xb
push ebp
add byte [edi + 0xb], dl
push ebp
add byte [ebx + 0xb], dh
push ebp
add byte [ecx + 0x5500550b], ah
mov ebp, esp
push 0xffffffffffffffff
push 0x56dcfd
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5b3480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x88]
sub eax, 1
je 0x550eb6
sub eax, 3
je 0x550d48
xor bl, bl
jmp 0x55111a
mov eax, dword [esi]
lea ecx, [ebp - 0x64]
push ecx
mov ecx, esi
mov dword [ebp - 0x48], str.:double
call dword [eax + 0x48]
test eax, eax
je 0x550d62
fld qword [eax]
jmp 0x550d64
fldz
sub esp, 8
fst qword [ebp - 0x5c]
fstp qword [esp]
push 0x5a2334
call fcn.00552480
mov esi, eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
cmp esi, 0x7ffffffe
ja 0x55116e
cmp esi, 7
ja 0x550dc6
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
test esi, esi
je 0x550dbd
mov ecx, esi
lea edi, [ebp - 0x40]
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [ebp + esi*2 - 0x40], ax
jmp 0x550e30
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x550df0
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], SysReAllocStringLen
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00410a20
mov ecx, dword [ebp - 0x44]
mov edx, eax
mov dword [ebp - 0x2c], ecx
jmp 0x550e12
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00410a20
mov edx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], esi
add esp, 8
mov dword [ebp - 0x40], edx
mov ecx, esi
mov edi, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
xor eax, eax
mov word [edx + esi*2], ax
cmp dword [ebp - 0x2c], 7
lea ecx, [ebp - 0x40]
fld qword [ebp - 0x5c]
lea eax, [esi + 1]
cmova ecx, dword [ebp - 0x40]
sub esp, 8
fstp qword [esp]
push 0x5a2334
push eax
push ecx
call fcn.005524b0
mov ecx, dword [ebp - 0x14]
add esp, 0x14
cmp ecx, 7
jbe 0x550e90
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x550e86
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x551173
push ecx
push edx
call fcn.00491173
add esp, 8
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
jmp 0x550f08
mov eax, dword [esi]
lea ecx, [ebp - 0x49]
push ecx
mov ecx, esi
mov dword [ebp - 0x48], str.:bool
call dword [eax + 0x54]
test eax, eax
je 0x550ed0
mov al, byte [eax]
jmp 0x550ed2
xor al, al
mov ecx, str.false
test al, al
mov edx, str.true
cmove edx, ecx
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x550ee6
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0043bfe0
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov edx, SysReAllocString
cmp esi, ebx
jae 0x550f2a
lea eax, [esi + 1]
cmp ebx, 7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, ecx
xor ecx, ecx
mov dword [eax + esi*2], ecx
jmp 0x550fe7
mov eax, edx
sub eax, esi
cmp eax, 1
jb 0x55116e
lea ecx, [esi + 1]
or ecx, 7
cmp ecx, edx
jbe 0x550f45
mov ecx, edx
jmp 0x550f5d
mov edi, ebx
mov eax, edx
shr edi, 1
sub eax, edi
cmp ebx, eax
jbe 0x550f55
mov ecx, edx
jmp 0x550f5d
lea eax, [ebx + edi]
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410a20
mov ecx, dword [ebp - 0x44]
mov edi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x14], ecx
add esi, esi
mov dword [ebp - 0x18], eax
add esp, 8
mov dword [ebp - 0x44], esi
cmp ebx, 7
jbe 0x550fd1
push dword [ebp - 0x44]
mov esi, dword [ebp - 0x28]
push esi
push edi
call fcn.004930c0
mov eax, dword [ebp - 0x44]
lea ebx, [ebx*2 + 2]
xor ecx, ecx
add esp, 0xc
mov dword [eax + edi], ecx
cmp ebx, 0x1000
jb 0x550fc5
mov ecx, dword [esi - 4]
add ebx, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x551178
mov esi, ecx
push ebx
push esi
call fcn.00491173
add esp, 8
jmp 0x550fe4
push esi
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.004930c0
add esp, 0xc
xor eax, eax
mov dword [esi + edi], eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.00552400
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
cmp edi, ebx
jae 0x551019
lea eax, [edi + 1]
cmp ebx, 7
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [eax + edi*2], ecx
mov esi, dword [ebp - 0x28]
jmp 0x5510db
mov edx, SysReAllocString
mov eax, edx
sub eax, edi
cmp eax, 1
jb 0x55116e
lea ecx, [edi + 1]
or ecx, 7
cmp ecx, edx
jbe 0x551039
mov ecx, edx
jmp 0x551051
mov eax, ebx
shr eax, 1
sub edx, eax
cmp ebx, edx
jbe 0x55104a
mov ecx, SysReAllocString
jmp 0x551051
add eax, ebx
cmp ecx, eax
cmovb ecx, eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00410a20
mov ecx, dword [ebp - 0x48]
mov esi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], ecx
add edi, edi
mov dword [ebp - 0x18], eax
add esp, 8
mov dword [ebp - 0x48], edi
cmp ebx, 7
jbe 0x5510c5
push dword [ebp - 0x48]
mov edi, dword [ebp - 0x28]
push edi
push esi
call fcn.004930c0
mov eax, dword [ebp - 0x48]
lea ebx, [ebx*2 + 2]
xor ecx, ecx
add esp, 0xc
mov dword [eax + esi], ecx
cmp ebx, 0x1000
jb 0x5510b9
mov ecx, dword [edi - 4]
add ebx, 0x23
sub edi, ecx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x551178
mov edi, ecx
push ebx
push edi
call fcn.00491173
add esp, 8
jmp 0x5510d8
push edi
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004930c0
add esp, 0xc
xor eax, eax
mov dword [edi + esi], eax
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
mov ebx, dword [ebp - 0x54]
lea ecx, [eax*2 + 2]
push ecx
lea eax, [ebp - 0x28]
mov ecx, ebx
cmova eax, esi
push eax
push 7
push 0
push dword [ebp - 0x50]
call fcn.0054e450
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x551117
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov byte [ebx + 0xc], 1
sete bl
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x551150
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x551146
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x551178
push ecx
push edx
call fcn.00491173
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004913e0
mov esp, ebp
pop ebp
ret
call fcn.00413ee0
call fcn.004956fe
call fcn.004956fe
int3