Function at 0x5554f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652bc8
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x7496c8]
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.00402500
mov byte [ebp - 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 0x98]
push ecx
mov edx, dword [esi + 0x98]
push edx
push str.Add_alternative_connection___d__for_connection__d_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.0054b1b0
lea edx, [ebp - 0x78]
push edx
mov ecx, dword [ebx]
add ecx, 0x10
call fcn.005611f0
test eax, eax
jne 0x5555ca
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.0054b1b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402570
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.00613241
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x74], 0
jl 0x555662
jg 0x5555e0
cmp dword [ebp - 0x78], 0
jbe 0x555662
mov ecx, dword [ebx]
add ecx, 0x10
call fcn.00560b50
mov dword [ebx + 0x14], 1
push 0
mov ecx, dword [ebx]
call fcn.00559d60
mov ecx, dword [ebx]
push ecx
lea edx, [ebp - 0x60]
push edx
mov ecx, edi
call fcn.0054ff70
test eax, eax
jne 0x55559e
mov eax, dword [ebx]
mov edi, dword [ebp - 0x60]
mov dword [edi], eax
mov ecx, dword [eax + 0x78]
add dword [eax + 0x60], ecx
mov edx, dword [eax + 0x7c]
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 + 0x68], ecx
mov edx, dword [eax + 0x64]
mov dword [eax + 0x6c], edx
mov eax, dword [edi]
xor ecx, ecx
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], ecx
push edi
push ebx
mov ecx, dword [ebp - 0x5c]
call fcn.0054c370
mov eax, dword [ebx + 0x58]
mov dword [edi + 0x58], eax
mov dword [ebx + 0x58], edi
mov ecx, dword [edi]
mov dword [ecx + 0xa0], edi
jmp 0x555664
mov edi, ebx
push esi
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [ebp - 0x5c]
call fcn.0054ff70
xor ecx, ecx
cmp eax, ecx
je 0x55567f
mov byte [ebp - 4], cl
jmp 0x5555a2
mov ebx, dword [ebp - 0x60]
mov dword [ebx], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x70]
mov dword [esi + 0x70], edx
mov eax, dword [eax + 0x74]
mov dword [esi + 0x74], 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 + 0x78], ecx
mov dword [esi + 0x7c], 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 + 0xa0], 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 + 0x68], ecx
mov edx, dword [esi + 0x64]
mov dword [esi + 0x6c], edx
mov ecx, esi
call fcn.00557cd0
mov esi, dword [ebp - 0x5c]
cmp dword [esi + 0xdc], 0
je 0x555781
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 0x55571a
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x60]
mov dword [ebp - 0x6c], ecx
jmp 0x555721
mov dword [ebp - 0x6c], 0xffffffff
mov edx, dword [edi + 0x60]
push edx
push 0x69dfa0
lea eax, [ebp - 0x54]
push eax
call fcn.0061611b
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__d__startPos__I64d__nextID__d_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.0054b1b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402570
mov eax, 1
jmp 0x5555ac