Function at 0x55a110
Capabilities:
Delete registry value
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6606c8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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 ebx, ecx
mov dword [ebp - 0x64], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004024f0
mov byte [ebp - 4], 1
mov eax, dword [esi]
mov ecx, dword [eax + 0xa0]
push ecx
push str.Apply_alternative_for_connection__ld_n
lea edx, [ebp - 0x58]
push edx
call fcn.00402f60
add esp, 0xc
mov eax, dword [ebp - 0x58]
push eax
mov ecx, ebx
call fcn.00555140
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x55a1aa
mov ecx, dword [esi + 0x60]
push ecx
push str.Error_in_ApplyAlternative__:_item__altervative__0__itemID___ld_n
lea edx, [ebp - 0x58]
push edx
call fcn.00402f60
add esp, 0xc
mov eax, dword [ebp - 0x58]
push eax
mov ecx, ebx
call fcn.00555140
jmp 0x55a309
mov eax, dword [ebx + 0xe0]
cmp edi, eax
jne 0x55a1be
test eax, eax
je 0x55a1be
mov dword [ebx + 0xe0], esi
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 0x55a215
mov edx, dword [edi + 0x10]
push edx
lea ecx, [ebp - 0x5c]
call fcn.00418220
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x5c]
push eax
push str.Could_not_delete_temp_file__s_n
lea ecx, [ebp - 0x58]
push ecx
call fcn.00402f60
add esp, 0xc
mov edx, dword [ebp - 0x58]
push edx
mov ecx, ebx
call fcn.00555140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00402560
cmp dword [ebx + 0xdc], 0
je 0x55a274
cmp dword [esi + 0x18], 1
jne 0x55a229
mov eax, dword [esi + 0x60]
jmp 0x55a22c
mov eax, dword [edi + 0x60]
push eax
push str._lda
lea eax, [ebp - 0x54]
push eax
call fcn.00623a6b
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebx + 0xdc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x55a274
push eax
lea eax, [ebp - 0x54]
push eax
push str.Error_during_deleting_record_with_num__s__errcode___ld_n
lea ecx, [ebp - 0x58]
push ecx
call fcn.00402f60
add esp, 0x10
mov edx, dword [ebp - 0x58]
push edx
mov ecx, ebx
call fcn.00555140
mov eax, dword [esi + 0x18]
cmp eax, 2
jne 0x55a452
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ecx, dword [esi]
add ecx, 0x10
call fcn.0056b4c0
mov ecx, dword [edi + 0x10]
push ecx
mov edx, dword [esi + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x55a338
mov eax, dword [esi + 0x10]
push eax
lea ecx, [ebp - 0x60]
call fcn.00418220
mov byte [ebp - 4], 3
mov ecx, dword [edi + 0x10]
push ecx
lea ecx, [ebp - 0x5c]
call fcn.00418220
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x60]
push eax
push str.Can_not_rename_temp_file__s_to__s__errno___ld_n
lea ecx, [ebp - 0x58]
push ecx
call fcn.00402f60
add esp, 0x14
mov edx, dword [ebp - 0x58]
push edx
mov ecx, ebx
call fcn.00555140
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00402560
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00402560
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402560
mov eax, 1
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.00620b8d
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 0x10]
push eax
mov ecx, esi
call fcn.005615d0
test eax, eax
je 0x55a355
push str.Set_filename_error_in_ApplyAlternative___n
mov ecx, ebx
call fcn.00555140
jmp 0x55a309
mov ecx, dword [esi + 0x10]
push ecx
mov ecx, dword [esi]
add ecx, 0x10
call fcn.0056bd60
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x55a3a3
mov edx, dword [esi + 0x10]
push edx
lea ecx, [ebp - 0x60]
call fcn.00418220
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
push str.Error_opening_file__s__errcode___ld._n
lea edx, [ebp - 0x58]
push edx
call fcn.00402f60
add esp, 0x10
mov eax, dword [ebp - 0x58]
push eax
mov ecx, ebx
call fcn.00555140
jmp 0x55a2fd
mov ecx, dword [edi + 0x58]
mov dword [esi + 0x58], ecx
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 eax, dword [ebx + 0x88]
cmp edi, eax
jne 0x55a430
mov dword [ebx + 0x88], esi
test edi, edi
je 0x55a3d6
push 1
mov ecx, edi
call fcn.005550f0
xor eax, eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x18], eax
mov esi, dword [esi]
mov ecx, dword [esi + 0x7c]
push ecx
mov edx, dword [esi + 0x78]
push edx
mov eax, dword [esi + 0x64]
push eax
mov ecx, dword [esi + 0x60]
push ecx
mov edx, dword [esi + 0xa0]
push edx
push str.resc_ld__st_I64d__e_I64d_n
lea eax, [ebp - 0x58]
push eax
call fcn.00402f60
add esp, 0x1c
mov ecx, dword [ebp - 0x58]
push ecx
mov ecx, ebx
call fcn.00555140
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402560
mov dword [ebp - 4], 0xffffffff
xor eax, eax
jmp 0x55a31a
cmp edi, dword [eax + 0x58]
je 0x55a44a
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x55a430
mov ecx, dword [esi + 0x60]
push ecx
push str.Error_in_ApplyAlternative__:_ptrAlt_not_found_in_list__itemID___ld_n
jmp 0x55a18e
mov dword [eax + 0x58], esi
jmp 0x55a3c9
cmp eax, 1
je 0x55a3c9
mov ecx, dword [esi + 0x60]
push ecx
push str.Error_in_ApplyAlternative__:_altN___1__itemID___ld_n
jmp 0x55a18e