Function at 0x55f840
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x660228
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402510
mov byte [ebp - 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa0]
push ecx
mov edx, dword [esi + 0xa0]
push edx
push str.Add_alternative_connection___ld__for_connection__ld_n
lea eax, [ebp - 0x58]
push eax
call fcn.00402f80
add esp, 0x10
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, edi
call fcn.00554bc0
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebx]
add ecx, 0x10
call fcn.0056b600
test eax, eax
jne 0x55f91a
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
push str.Error_in_GetFileSize____errcode___ld._n
lea edx, [ebp - 0x58]
push edx
call fcn.00402f80
add esp, 0x10
mov eax, dword [ebp - 0x58]
push eax
mov ecx, edi
call fcn.00554bc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402580
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0062023e
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x74], 0
jl 0x55f9be
jg 0x55f930
cmp dword [ebp - 0x78], 0
jbe 0x55f9be
mov ecx, dword [ebx]
add ecx, 0x10
call fcn.0056af30
mov dword [ebx + 0x14], 1
push 0
mov ecx, dword [ebx]
call fcn.005640e0
mov ecx, dword [ebx]
push ecx
lea edx, [ebp - 0x60]
push edx
mov ecx, edi
call fcn.00559f30
test eax, eax
jne 0x55f8ee
mov eax, dword [ebx]
mov edi, dword [ebp - 0x60]
mov dword [edi], eax
mov ecx, dword [eax + 0x80]
add dword [eax + 0x60], ecx
mov edx, dword [eax + 0x84]
adc dword [eax + 0x64], edx
mov eax, dword [edi]
mov ecx, dword [eax + 0x60]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0x64]
mov dword [edi + 0xc], edx
mov eax, dword [edi]
mov ecx, dword [eax + 0x60]
mov dword [eax + 0x70], ecx
mov edx, dword [eax + 0x64]
mov dword [eax + 0x74], edx
mov eax, dword [edi]
xor ecx, ecx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], ecx
push edi
push ebx
mov ecx, dword [ebp - 0x5c]
call fcn.00556220
mov eax, dword [ebx + 0x58]
mov dword [edi + 0x58], eax
mov dword [ebx + 0x58], edi
mov ecx, dword [edi]
mov dword [ecx + 0xa8], edi
jmp 0x55f9c0
mov edi, ebx
push esi
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.00559f30
xor ecx, ecx
cmp eax, ecx
je 0x55f9db
mov byte [ebp - 4], cl
jmp 0x55f8f2
mov ebx, dword [ebp - 0x60]
mov dword [ebx], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov dword [esi + 0x78], edx
mov eax, dword [eax + 0x7c]
mov dword [esi + 0x7c], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x60]
mov dword [esi + 0x60], edx
mov eax, dword [eax + 0x64]
mov dword [esi + 0x64], eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
mov dword [ebx + 0x5c], edi
mov dword [edi + 0x5c], ebx
mov dword [ebx + 0x18], 2
mov dword [edi + 0x18], 1
mov ecx, dword [edi + 0x58]
mov dword [ebx + 0x58], ecx
mov dword [esi + 0xa8], ebx
mov edx, dword [esi + 0x60]
mov dword [ebx + 8], edx
mov eax, dword [esi + 0x64]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x70], ecx
mov edx, dword [esi + 0x64]
mov dword [esi + 0x74], edx
mov ecx, esi
call fcn.00562040
mov esi, dword [ebp - 0x5c]
cmp dword [esi + 0xdc], 0
je 0x55fae3
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x70], eax
mov ebx, dword [ebx]
mov ecx, dword [ebx + 0x60]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebx + 0x64]
mov dword [ebp - 0x64], edx
cmp dword [edi + 0x58], 0
je 0x55fa7c
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x6c], ecx
jmp 0x55fa83
mov dword [ebp - 0x6c], 0xffffffff
mov edx, dword [edi + 0x60]
push edx
push str._lda
lea eax, [ebp - 0x54]
push eax
call fcn.0062311b
add esp, 0xc
push 0x10
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
lea edx, [ebp - 0x54]
push edx
mov eax, dword [esi + 0xdc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x70]
push ecx
lea edx, [ebp - 0x54]
push edx
push str.Adding_record__s_to_registry_with_ID__ld__startPos__I64d__nextID__ld_n
lea eax, [ebp - 0x58]
push eax
call fcn.00402f80
add esp, 0x1c
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, esi
call fcn.00554bc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402580
mov eax, 1
jmp 0x55f8fc