Function at 0x4480a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5447e0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5868f4]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], 0
push str.PatchInstall:_Retriving_CloudProvider_value_from_config_DB.
push 0x58ba20
mov dword [ebp - 4], 0
call fcn.00437400
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.004027b0
mov ebx, eax
test ebx, ebx
je 0x448117
push ebx
push str.PatchInstall:_Failed_to_open_config_DB__error____d
push 0x58ba20
call fcn.004372e0
add esp, 0xc
jmp 0x4482cf
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 1
xor esi, esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x448151
push str.Bad_pointer_to_config_db
push 0x58ba20
call fcn.004372e0
mov esi, 0x57
add esp, 8
mov ebx, esi
jmp 0x4481a5
lea ecx, [ebp - 0x30]
push ecx
push str.SELECT_Value_FROM_Settings_WHERE__Group_AGENT_AND__item_CLOUD_PROVIDER
push eax
call fcn.004025c0
test al, al
jne 0x44819c
push str.Unable_to_get_Cloud_provider_value
push 0x58ba20
call fcn.004372e0
push dword [ebp - 0x18]
call fcn.004602d0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44819c
push eax
push str.Failed_to_read_CLOUD_PROVIDER_record__SQLite_error____d
push 0x58ba20
call fcn.004372e0
add esp, 0xc
mov esi, 0x54f
mov ebx, esi
mov dword [ebp - 0x3c], ebx
test esi, esi
je 0x4481d6
push esi
push str.PatchInstall:_Failed_to_read_CloudProvider_from_config_DB__error____d
push 0x58ba20
call fcn.004372e0
mov eax, dword [ebp - 0x1c]
add esp, 0xc
cmp eax, 0x10
jb 0x4482cf
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00403980
jmp 0x4482cf
mov ecx, dword [ebp - 0x1c]
cmp ecx, 0x10
jb 0x4481e7
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x44823e
jmp 0x4481ea
lea ebx, [ebp - 0x30]
xor edi, edi
nop dword [eax]
lea eax, [ebx + edi]
mov dword [ebp - 0x34], eax
movsx eax, byte [edi + str.ORACLE]
push eax
call fcn.0051ee5a
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x34]
movsx ecx, byte [eax]
push ecx
call fcn.0051ee5a
add esp, 4
cmp eax, esi
jne 0x448238
mov eax, dword [ebp - 0x34]
inc edi
cmp byte [eax], 0
jne 0x4481f0
mov ecx, dword [ebp - 0x38]
push 6
push 0x571bf4
call fcn.00403fe0
jmp 0x4482b7
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
cmp ecx, 0x10
jb 0x448249
test ebx, ebx
je 0x44829b
jmp 0x44824c
lea ebx, [ebp - 0x30]
xor edi, edi
nop
lea eax, [ebx + edi]
mov dword [ebp - 0x34], eax
movsx eax, byte [edi + str.AZURE]
push eax
call fcn.0051ee5a
mov esi, eax
add esp, 4
mov eax, dword [ebp - 0x34]
movsx ecx, byte [eax]
push ecx
call fcn.0051ee5a
add esp, 4
cmp eax, esi
jne 0x448295
mov eax, dword [ebp - 0x34]
inc edi
cmp byte [eax], 0
jne 0x448250
mov ecx, dword [ebp - 0x38]
push 5
push 0x571320
call fcn.00403fe0
jmp 0x4482b7
mov ecx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x30]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
cmovae eax, ebx
push eax
push str.PatchInstall:_CloudProvider_value_present_in_config_DB:__S
push 0x58ba20
call fcn.00437400
add esp, 0xc
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x4482cc
inc eax
lea ecx, [ebp - 0x30]
push eax
push dword [ebp - 0x30]
call fcn.00403980
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4482df
push eax
call fcn.00457130
add esp, 4
mov eax, ebx
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.004fdf3d
mov esp, ebp
pop ebp
ret 4