Function at 0x561b90
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 0x660f00
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x758898]
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 0x561d50
mov dword [ebp - 0x14], 0x10
mov eax, dword [edi + 0x60]
push eax
push 0x67942c
lea ecx, [ebp + 0x13c]
push ecx
call fcn.00623a6b
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 0x561c42
push eax
push str.Error_reading_registry__errCode___d._n
lea eax, [ebp]
push eax
call fcn.00623a6b
add esp, 0xc
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.005615c0
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.00623a6b
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.00623a6b
add esp, 0xc
lea edx, [ebp]
push edx
mov ecx, esi
call fcn.005615c0
mov eax, dword [esi + 0x60]
push eax
push 0x67942c
lea ecx, [ebp + 0x13c]
push ecx
call fcn.00623a6b
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 0x561cfc
push eax
push str.Error_reading_registry__errCode___d._n
lea eax, [ebp]
push eax
call fcn.00623a6b
add esp, 0xc
lea ecx, [ebp]
push ecx
mov ecx, esi
call fcn.005615c0
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.00623a6b
add esp, 0x1c
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.005615c0
test edi, edi
je 0x561e28
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x2c]
push edx
lea ecx, [esi + 0x2c]
call fcn.004017e0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
cmp dword [edi], 0
je 0x561d8f
mov eax, dword [edi]
mov ecx, dword [esi]
mov edx, dword [eax + 0x78]
mov dword [ecx + 0x78], edx
mov eax, dword [eax + 0x7c]
mov dword [ecx + 0x7c], eax
mov ecx, dword [edi]
add ecx, 0x10
call fcn.0056b4c0
mov ecx, dword [edi + 0x10]
push ecx
call fcn.006246f3
add esp, 4
cmp eax, 0xffffffff
jne 0x561df4
lea ecx, [ebp - 0x14]
call fcn.004024f0
mov bl, 1
mov byte [ebp - 4], bl
mov edx, dword [edi + 0x10]
push edx
lea ecx, [ebp - 0x18]
call fcn.00418220
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.00402f60
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
mov ecx, esi
call fcn.005615c0
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402560
cmp dword [edi], 0
je 0x561e19
mov eax, dword [edi]
cmp dword [eax + 0xa8], edi
jne 0x561e19
mov dword [eax + 0xa8], 0
push str.set_next__conn__lpListItem__NULL_n
mov ecx, esi
call fcn.005615c0
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
push 1
mov ecx, edi
call fcn.005550f0
mov ecx, dword [esi]
call fcn.005625b0
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.00620b8d
add ebp, 0x148
mov esp, ebp
pop ebp
ret