Function at 0x550360
Capabilities:
Delete registry key
Set registry value

Disassembly:
sub esp, 0x48
mov eax, dword [0x5b3480]
xor eax, esp
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
push ebx
push ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x20], ebp
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x28], esi
push edi
mov edi, dword [esp + 0x64]
mov byte [esi + 1], 0
mov byte [edi + 0xc], 0
test al, 1
je 0x5504bb
test al, 2
je 0x5503c8
mov eax, dword [ebp]
mov ecx, ebp
mov eax, dword [eax + 0x20]
call eax
or eax, edx
je 0x5503c8
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xbc]
mov ebx, eax
mov word [esp + 0x12], 0x100
shr ebx, 5
and bl, 1
jmp 0x55042c
movzx ecx, word [edi + 0xd]
mov eax, ecx
shr eax, 8
neg al
sbb al, al
test cl, al
jne 0x5504b2
push 0
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.0054f2f0
test al, al
je 0x5504b2
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xbc]
shr eax, 5
mov ecx, ebp
and al, 1
mov bl, al
mov eax, dword [ebp]
mov eax, dword [eax + 0x20]
call eax
cmp eax, dword [esp + 0x20]
jne 0x55041f
cmp edx, dword [esp + 0x24]
jne 0x55041f
xor al, al
jmp 0x550421
mov al, 1
or bl, al
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 1
mov ax, word [esp + 0x12]
mov word [edi + 0xf], ax
test bl, bl
je 0x5504b2
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x88]
sub eax, 0x1001
je 0x5504a2
sub eax, 1
je 0x550468
mov word [esp + 0x12], 0x100
mov ax, word [esp + 0x12]
mov word [esi], ax
lea eax, [edi + 0xd]
mov dword [esp + 0x20], eax
jmp 0x5504db
sub esp, 0x28
mov eax, esp
push edi
mov dword [eax], 0x5a23f0
mov dword [eax + 4], ebp
mov dword [eax + 0x24], eax
call fcn.0054ff30
add esp, 4
mov eax, esp
push edi
mov dword [eax], 0x5a2408
mov dword [eax + 4], ebp
mov dword [eax + 0x24], eax
call fcn.005501f0
lea eax, [edi + 0xd]
add esp, 0x2c
mov dword [esp + 0x20], eax
jmp 0x5504db
mov ecx, edi
call fcn.0054e450
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
lea eax, [edi + 0xd]
mov dword [esp + 0x20], eax
jmp 0x5504db
cmp byte [edi + 0xe], 0
lea ebx, [edi + 0xd]
mov dword [esp + 0x20], ebx
jne 0x5504db
mov word [esp + 0x12], 0x101
mov ax, word [esp + 0x12]
mov word [ebx], ax
mov dword [esp + 0x20], ebx
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x88]
sub eax, 0x1001
je 0x550595
sub eax, 1
je 0x550502
mov word [esp + 0x12], 0x100
jmp 0x55063e
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax + 0x38]
mov ecx, eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x55063e
mov esi, dword [esp + 0x6c]
xor ebp, ebp
cmp ebx, ecx
jae 0x550585
mov eax, dword [eax + 4]
mov ecx, dword [eax + ebp + 8]
test ecx, ecx
je 0x550581
push esi
push 1
push dword [eax + ebp]
lea eax, [esp + 0x28]
push edi
push ecx
push eax
call fcn.00550750
mov ax, word [esp + 0x34]
add esp, 0x18
test ah, ah
je 0x550581
test al, al
je 0x550570
cmp byte [esp + 0x13], 0
jne 0x550581
mov word [esp + 0x14], 0x101
mov ax, word [esp + 0x14]
jmp 0x55057c
mov word [esp + 0x16], 0x100
mov ax, word [esp + 0x16]
mov word [esp + 0x12], ax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
inc ebx
add ebp, 0xc
cmp ebx, ecx
jb 0x55052e
jmp 0x550636
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax + 0x3c]
mov ecx, eax
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], ecx
xor ebx, ebx
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x55063e
mov esi, dword [esp + 0x6c]
mov ebp, eax
cmp ebx, ecx
jae 0x55062e
mov eax, dword [ebp + 4]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x55062e
push ebx
push str._06d
lea eax, [esp + 0x3c]
push 0x10
push eax
call fcn.005524b0
push esi
push 0
lea eax, [esp + 0x4c]
push eax
push edi
push dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
call fcn.00550750
mov ax, word [esp + 0x44]
add esp, 0x28
test ah, ah
je 0x55062e
test al, al
je 0x55061d
cmp byte [esp + 0x13], 0
jne 0x55062e
mov word [esp + 0x16], 0x101
mov ax, word [esp + 0x16]
jmp 0x550629
mov word [esp + 0x14], 0x100
mov ax, word [esp + 0x14]
mov word [esp + 0x12], ax
mov ecx, dword [ebp + 8]
inc ebx
cmp ebx, ecx
jb 0x5505c1
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
cmp byte [esp + 0x68], 0
mov ax, word [esp + 0x12]
mov ebx, dword [esp + 0x20]
mov word [esi], ax
jne 0x55067e
mov ecx, edi
call fcn.0054e450
movzx ecx, word [ebx]
mov eax, ecx
shr eax, 8
test al, al
je 0x55073b
test cl, cl
je 0x55067e
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov byte [edi + 0xc], 1
cmp byte [edi + 0xc], 0
jne 0x550694
movzx ecx, word [ebx]
mov eax, ecx
shr eax, 8
neg al
sbb al, al
test cl, al
je 0x5506cd
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x88]
sub eax, 0x1001
jne 0x5506cd
push 4
push 0x57634c
push 1
push eax
push eax
mov ecx, edi
call fcn.0054e450
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x5506cd
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov byte [edi + 0xc], 1
cmp byte [edi + 0xc], 0
jne 0x5506e2
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0xbc]
test al, 0x10
je 0x550717
test byte [esp + 0x6c], 4
push 0
je 0x5506f7
mov eax, dword [ebp]
mov ecx, ebp
push 0
call dword [eax + 0x24]
jmp 0x550717
lea eax, [esp + 0x30]
mov ecx, edi
push eax
call fcn.0054f2f0
test al, al
je 0x550717
push dword [esp + 0x30]
mov edx, dword [ebp]
mov ecx, ebp
push dword [esp + 0x30]
call dword [edx + 0x24]
mov edx, dword [ebp]
mov ecx, ebp
push 0x20
push 0
call dword [edx + 0xc0]
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004913e0
add esp, 0x48
ret
call fcn.005522d0
int3