Function at 0x55a510
Capabilities:
Delete registry value
Move file
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x454]
sub esp, 0x454
push 0xffffffffffffffff
push 0x65fd98
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x758898]
xor eax, ebp
mov dword [ebp + 0x450], 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 - 0x1c], esi
mov eax, dword [ebp + 0x460]
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 0xdc], ebx
je 0x55a660
mov dword [ebp - 0x20], 0x10
mov edi, dword [ebp + 0x45c]
push edi
push str._lda
lea ecx, [ebp + 0x410]
push ecx
call fcn.0062311b
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
lea ecx, [ebp + 0x410]
push ecx
mov edx, dword [esi + 0xdc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x55a660
lea ecx, [ebp - 0x14]
call fcn.00402510
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push str._s_ld
lea edx, [ebp + 0x208]
push edx
call fcn.0040f8d0
add esp, 0x10
cmp edi, ebx
je 0x55a5f7
push edi
mov eax, dword [ebp - 0x18]
push eax
push str._s_ld
lea ecx, [ebp]
push ecx
call fcn.0040f8d0
add esp, 0x10
jmp 0x55a60c
mov edx, dword [ebp - 0x18]
push edx
push 0x6ac8fc
lea eax, [ebp]
push eax
call fcn.0040f8d0
add esp, 0xc
lea ecx, [ebp - 0x58]
call fcn.0056af00
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x208]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0056b7d0
cmp eax, ebx
je 0x55a687
push eax
push edi
push str.Opening_file_error_during_check_alternative_for_record__ld__errcode___ld_n
lea edx, [ebp - 0x14]
push edx
call fcn.00402f80
add esp, 0x10
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00554bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0056b670
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402580
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x450]
xor ecx, ebp
call fcn.0062023e
add ebp, 0x454
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0056b600
test eax, eax
jne 0x55a6a0
push ebx
push edi
push str.Getting_file_size_error_during_check_alternative_for_record__ld__errcode___ld_n
jmp 0x55a632
lea ecx, [ebp - 0x58]
call fcn.0056af30
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0056b7d0
cmp eax, ebx
jne 0x55a62b
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x58]
call fcn.0056b600
test eax, eax
je 0x55a697
lea ecx, [ebp - 0x58]
call fcn.0056af30
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x24]
jl 0x55a78f
jg 0x55a6ee
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x28]
jbe 0x55a78f
lea eax, [ebp]
push eax
call fcn.00623da3
add esp, 4
cmp eax, 0xffffffff
jne 0x55a740
lea ecx, [ebp]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417be0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18]
push edx
push str.Could_not_delete_temp_file__s_n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0xc
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00554bc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402580
jmp 0x55a649
lea edx, [ebp]
push edx
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
neg eax
sbb eax, eax
inc eax
cmp eax, ebx
je 0x55a7e2
lea ecx, [ebp + 0x208]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00417be0
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x18]
push edx
push str.Could_not_rename_temp_file__s__errcode___ld_n
lea eax, [ebp - 0x14]
push eax
call fcn.00402f80
add esp, 0x10
jmp 0x55a724
lea edx, [ebp + 0x208]
push edx
call fcn.00623da3
add esp, 4
cmp eax, 0xffffffff
jne 0x55a7e2
lea eax, [ebp + 0x208]
push eax
lea ecx, [ebp - 0x18]
call fcn.00417be0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
push ecx
push str.Could_not_delete_temp_file__s_n
lea edx, [ebp - 0x14]
push edx
call fcn.00402f80
add esp, 0xc
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00554bc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.00402580
lea ecx, [ebp + 0x410]
push ecx
mov edx, dword [esi + 0xdc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp eax, ebx
je 0x55a81e
push eax
lea eax, [ebp + 0x410]
push eax
push str.Error_during_deleting_record_with_num__s__errcode___ld_n
lea ecx, [ebp - 0x14]
push ecx
call fcn.00402f80
add esp, 0x10
mov edx, dword [ebp - 0x14]
push edx
mov ecx, esi
call fcn.00554bc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0056b670
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x14]
call fcn.00402580
mov dword [ebp - 4], 0xffffffff
jmp 0x55a660