Function at 0x54e5c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8418
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
mov esi, ecx
push edi
mov ebx, 2
xor edi, edi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edi
cmp dword [eax + 0xb4], ebx
jne 0x54e6a4
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.00565b70
mov ecx, dword [0x67da2c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [esi + 0x154]
mov ecx, dword [esi + 0x150]
mov eax, dword [esi + 0xc]
push 0
push edx
lea edx, [ebp - 0x2c]
mov edi, dword [eax + 0xa4]
push ecx
push edx
mov edx, dword [eax + 0x30]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
push ecx
push edx
push edi
lea ecx, [ebp - 0x24]
call fcn.00565bb0
mov edi, eax
cmp edi, 3
mov dword [ebp - 0x18], edi
je 0x54e665
cmp edi, 1
je 0x54e665
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
push 1
push eax
push ecx
push edi
mov ecx, esi
call fcn.0054e8e0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.005a0c5d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00565ba0
jmp 0x54e69d
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0xc]
cmp dword [eax + 0xb8], ebx
jne 0x54e8c9
mov ecx, dword [esi + 0xfc]
test ecx, ecx
je 0x54e8c9
mov eax, dword [eax + 0xa4]
mov ebx, 4
push str..zip
push eax
mov dword [ebp - 4], ebx
call fcn.0058dd90
add esp, 8
test eax, eax
jne 0x54e847
mov edx, dword [esi + 0x18]
cmp dword [edx], 0
je 0x54e7c0
mov eax, dword [esi + 0xc0]
test eax, eax
je 0x54e71a
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x54e8c9
mov eax, dword [eax + 0x38]
test eax, eax
je 0x54e728
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x54e8c9
jmp 0x54e706
mov al, byte [esi + 0xc4]
test al, al
jne 0x54e8c9
lea ecx, [ebp - 0x54]
call fcn.00566270
mov edx, dword [esi + 0xc0]
mov ecx, dword [esi + 0x154]
mov eax, 6
push edx
mov edx, dword [esi + 0xfc]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], al
mov eax, dword [esi + 0x150]
push edx
push ecx
push eax
mov eax, dword [esi + 0xc]
add eax, 0x3a4
lea ecx, [ebp - 0x54]
push eax
call fcn.00567a60
jmp 0x54e790
test eax, eax
mov dword [ebp - 4], 5
jne 0x54e808
mov ecx, dword [esi + 0x70]
mov edx, dword [esi + 0x18]
push ecx
push 0x13cb
mov eax, dword [edx]
push 0x111
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.005662c0
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0xb8], 3
mov eax, dword [esi + 0x1d4]
test eax, eax
je 0x54e8c9
mov edx, dword [esi + 0xc]
push ebx
add edx, 0xb8
push edx
push ebx
push 0
push str.fGDFE
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 7
jne 0x54e7b5
mov ecx, dword [esi + 0xc]
push 1
push 0
mov edx, dword [ecx + 0x3a4]
lea ecx, [esi + 0x48]
mov eax, dword [edx + 0xc]
push eax
call fcn.00507080
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.005662c0
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x28]
call fcn.00565b70
mov eax, dword [0x67da2c]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0xc]
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0xb
mov eax, dword [ecx + 0xa4]
mov ecx, dword [esi + 0xfc]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00566150
test eax, eax
jne 0x54e88a
mov edx, dword [ebp - 0x20]
push eax
push edx
push eax
push edi
mov ecx, esi
call fcn.0054e8e0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.005a0c5d
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00565ba0
jmp 0x54e8bc
mov eax, dword [esi + 0xc]
mov dword [eax + 0xb8], 3
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret