Function at 0x4532d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x583f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [edi]
shl edx, 4
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], edi
mov esi, dword [edx + eax]
mov eax, 1
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x38], eax
lea ebx, [ebx]
push eax
push str.sqlite_stat_d
lea eax, [ebp - 0x1c]
push eax
push 0x18
call fcn.0040e2b0
mov ecx, dword [edi]
add esp, 0x10
lea ebx, [ebp - 0x1c]
mov dword [ebp - 0x28], ecx
xor edi, edi
mov dword [ebp - 0x24], ebx
cmp dword [ecx + 0x14], edi
jle 0x4533cc
lea ebx, [ebx]
mov ecx, edi
cmp edi, 2
jge 0x45334f
xor ecx, 1
mov dword [ebp - 0x34], ecx
jmp 0x453352
mov dword [ebp - 0x34], edi
test esi, esi
je 0x45343b
mov bl, byte [esi]
mov edx, ecx
mov ecx, dword [ebp - 0x28]
add edx, edx
mov ecx, dword [ecx + 0x10]
mov eax, esi
mov edx, dword [ecx + edx*8]
movzx ecx, bl
movzx esi, byte [ecx + 0x5624b8]
movzx ecx, byte [edx]
movzx ecx, byte [ecx + 0x5624b8]
sub esi, ecx
jne 0x4533b9
sub edx, dword [ebp - 0x20]
mov dword [ebp - 0x30], edx
lea esp, [esp]
test bl, bl
je 0x453431
movzx ecx, byte [edx + eax + 1]
mov bl, byte [eax + 1]
movzx edx, byte [ecx + 0x5624b8]
inc eax
movzx ecx, bl
movzx esi, byte [ecx + 0x5624b8]
sub esi, edx
mov edx, dword [ebp - 0x30]
je 0x453390
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
inc edi
cmp edi, dword [ecx + 0x14]
jl 0x453340
mov dl, byte [ebx]
movzx eax, dl
movzx eax, byte [eax + 0x5624b8]
sub eax, 0x73
jne 0x45340a
mov esi, str.sqlite_master
sub esi, ebx
test dl, dl
je 0x453482
movzx eax, byte [esi + ebx + 1]
mov dl, byte [ebx + 1]
movzx ecx, byte [eax + 0x5624b8]
inc ebx
movzx eax, dl
movzx eax, byte [eax + 0x5624b8]
sub eax, ecx
je 0x4533e4
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, 4
jle 0x453310
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fcf30
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x4533b9
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x10]
add ecx, ecx
push 0
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 8
mov edx, ebx
call fcn.00410920
mov eax, dword [eax + 8]
add esp, 4
test eax, eax
je 0x4533bc
push dword [ebp - 0x40]
mov edi, dword [ebp - 0x2c]
push dword [ebp - 0x3c]
lea eax, [ebp - 0x1c]
push eax
push esi
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edi
call fcn.0044f8e0
add esp, 0x18
jmp 0x45340d
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 0x10]
test esi, esi
jne 0x453498
neg edx
sbb edx, edx
jmp 0x4534e9
test edx, edx
je 0x45340a
movzx eax, byte [edx]
mov edi, esi
movzx ecx, byte [eax + 0x5624b8]
mov bl, byte [edi]
movzx eax, bl
movzx eax, byte [eax + 0x5624b8]
sub eax, ecx
jne 0x4534e2
sub edx, edi
mov edi, edi
test bl, bl
je 0x4534e2
movzx eax, byte [edx + esi + 1]
mov bl, byte [esi + 1]
movzx ecx, byte [eax + 0x5624b8]
inc esi
movzx eax, bl
movzx eax, byte [eax + 0x5624b8]
sub eax, ecx
je 0x4534c0
mov ecx, dword [ebp - 0x28]
mov edx, eax
mov esi, edi
test edx, edx
jne 0x45340a
mov ebx, str.sqlite_temp_master
jmp 0x45332c