Function at 0x55fc20
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x148]
sub esp, 0x148
push 0xffffffffffffffff
push 0x65d5e0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x755898]
xor eax, ebp
mov dword [ebp + 0x144], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
mov edi, dword [esi + 0x58]
cmp dword [esi + 0x68], 0
je 0x55fde0
mov dword [ebp - 0x14], 0x10
mov eax, dword [edi + 0x60]
push eax
push 0x676424
lea ecx, [ebp + 0x13c]
push ecx
call fcn.006201db
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x28]
push eax
push 0
push 0
lea ecx, [ebp + 0x13c]
push ecx
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x55fcd2
push eax
push str.Error_reading_registry__errCode___d._n
lea eax, [ebp]
push eax
call fcn.006201db
add esp, 0xc
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.0055f650
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x18], edx
lea eax, [ebp + 0x13c]
push eax
mov ecx, dword [esi + 0x68]
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
call ebx
lea edx, [ebp + 0x13c]
push edx
push str._skf
lea eax, [ebp + 0x134]
push eax
call fcn.006201db
add esp, 0xc
lea ecx, [ebp + 0x134]
push ecx
mov edx, dword [esi + 0x68]
push edx
call ebx
lea eax, [ebp + 0x13c]
push eax
push str.Deleting_record_with_num__s_n
lea ecx, [ebp]
push ecx
call fcn.006201db
add esp, 0xc
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.0055f650
mov eax, dword [esi + 0x60]
push eax
push 0x676424
lea ecx, [ebp + 0x13c]
push ecx
call fcn.006201db
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x28]
push eax
push 0
push 0
lea ecx, [ebp + 0x13c]
push ecx
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x55fd8c
push eax
push str.Error_reading_registry__errCode___d._n
lea eax, [ebp]
push eax
call fcn.006201db
add esp, 0xc
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.0055f650
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x24], edx
push 0x10
lea eax, [ebp - 0x28]
push eax
push 0
push 0
lea ecx, [ebp + 0x13c]
push ecx
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp + 0x13c]
push ecx
push str.Updating_record_with_num__s:_set_ID__d__startPos__I64d__nextID__d_n
lea edx, [ebp]
push edx
call fcn.006201db
add esp, 0x1c
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.0055f650
test edi, edi
je 0x55feb8
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x2c]
push edx
lea ecx, [esi + 0x2c]
call fcn.004017f0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
cmp dword [edi], 0
je 0x55fe1f
mov eax, dword [edi]
mov ecx, dword [esi]
mov edx, dword [eax + 0x70]
mov dword [ecx + 0x70], edx
mov eax, dword [eax + 0x74]
mov dword [ecx + 0x74], eax
mov ecx, dword [edi]
add ecx, 0x10
call fcn.005693f0
mov ecx, dword [edi + 0x10]
push ecx
call fcn.00620e63
add esp, 4
cmp eax, 0xffffffff
jne 0x55fe84
lea ecx, [ebp - 0x14]
call fcn.00402500
mov bl, 1
mov byte [ebp - 4], bl
mov edx, dword [edi + 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.00418200
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x18]
push eax
push str.Could_not_delete_temp_file__s_n
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f70
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
mov ecx, esi
call fcn.0055f650
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00402570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402570
cmp dword [edi], 0
je 0x55fea9
mov eax, dword [edi]
cmp dword [eax + 0xa0], edi
jne 0x55fea9
mov dword [eax + 0xa0], 0
push str.set_next__conn__lpListItem__NULL_n
mov ecx, esi
call fcn.0055f650
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
push 1
mov ecx, edi
call fcn.00553970
mov ecx, dword [esi]
call fcn.00560630
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x144]
xor ecx, ebp
call fcn.0061d2ff
add ebp, 0x148
mov esp, ebp
pop ebp
ret