Function at 0x4ef64d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x606c40]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, str.SQLite_format_3
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x38], 0x623e60
cmp edx, 0x100
je 0x4ef691
mov dword [ebp - 0x38], 0x623d78
mov eax, dword [ebp - 0x38]
call fcn.004eebba
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x120089
push dword [ebp - 0x3c]
call dword [0x5b1260]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x4ef6c3
xor eax, eax
jmp 0x4ef8d4
push ebx
push eax
call dword [0x5b1114]
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jne 0x4ef6e5
xor esi, esi
inc esi
push dword [ebp - 0x24]
call dword [0x5b13a0]
mov eax, esi
jmp 0x4ef8d4
cmp eax, 0x20
jae 0x4ef6ef
push 2
pop esi
jmp 0x4ef6d5
mov esi, dword [0x5b1254]
push 4
push 0x1000
push 0x20
push ebx
call esi
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jne 0x4ef70e
push 4
jmp 0x4ef6ec
push ebx
lea eax, [ebp - 0x40]
push eax
push 0x20
push edi
push dword [ebp - 0x24]
call dword [0x5b1118]
test eax, eax
jne 0x4ef727
push 0x10
jmp 0x4ef6ec
mov al, byte [edi + 0x10]
mov byte [ebp - 0x1f], al
mov al, byte [edi + 0x11]
mov byte [ebp - 0x20], al
movzx edi, word [ebp - 0x20]
mov eax, edi
and eax, 0x800003ff
jns 0x4ef747
dec eax
or eax, 0xfffffc00
inc eax
je 0x4ef74d
push 0x12
jmp 0x4ef6ec
mov eax, dword [ebp - 0x1c]
mov cl, byte [eax + 0x14]
push 0x4000
push 0x20
push eax
mov byte [ebp - 0x15], cl
call dword [0x5b11e0]
push ebx
push ebx
push ebx
push dword [ebp - 0x24]
call dword [0x5b1180]
push 4
push 0x1000
push edi
push ebx
call esi
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x4ef70a
push 4
push 0x1000
push edi
push ebx
call esi
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0x4ef70a
push ebx
push 0x80
push 2
push ebx
xor esi, esi
inc esi
push esi
push 0x12019f
push dword [ebp - 0x30]
call dword [0x5b1260]
mov dword [ebp - 0x34], eax
cmp eax, 0xffffffff
jne 0x4ef7c2
push 8
jmp 0x4ef6ec
push ebx
push ebx
push ebx
push eax
call dword [0x5b1180]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
cmp edi, dword [ebp - 0x3c]
ja 0x4ef899
push ebx
lea eax, [ebp - 0x40]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call dword [0x5b1118]
test eax, eax
je 0x4ef8e3
push edi
push ebx
push dword [ebp - 0x28]
call fcn.005847c0
movsx esi, byte [ebp - 0x15]
mov edx, dword [ebp - 0x38]
add esp, 0xc
cmp dword [ebp + 0x10], 0x100
mov ecx, edi
jne 0x4ef818
push 6
jmp 0x4ef81a
push 4
push esi
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.004ef587
add esp, 0x14
push esi
mov esi, dword [ebp - 0x1c]
push dword [ebp - 0x28]
mov eax, edi
mov edi, esi
call fcn.004ef60d
cmp dword [ebp - 0x2c], 1
pop ecx
pop ecx
jne 0x4ef86b
push 0xf
pop ecx
lea edi, [ebp - 0x14]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x4ef8fa
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
push 8
lea eax, [ecx + 0x10]
sub esi, ecx
pop edi
mov cl, byte [esi + eax]
xor byte [eax], cl
inc eax
dec edi
jne 0x4ef862
movzx edi, word [ebp - 0x20]
push ebx
lea eax, [ebp - 0x40]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
call dword [0x5b1184]
test eax, eax
je 0x4ef8ff
add dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
inc dword [ebp - 0x2c]
add eax, edi
cmp eax, dword [ebp - 0x3c]
jbe 0x4ef7db
mov esi, dword [0x5b11e0]
push 0x4000
push edi
push dword [ebp - 0x1c]
call esi
push 0x4000
push edi
push dword [ebp - 0x28]
call esi
mov esi, dword [0x5b13a0]
cmp dword [ebp - 0x24], ebx
je 0x4ef8c5
push dword [ebp - 0x24]
call esi
cmp dword [ebp - 0x34], ebx
je 0x4ef8cf
push dword [ebp - 0x34]
call esi
mov eax, 0x10000
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057d6ce
leave
ret
push 0x10
pop edi
push dword [ebp - 0x24]
mov esi, dword [0x5b13a0]
call esi
push dword [ebp - 0x34]
call esi
mov eax, edi
jmp 0x4ef8d4
or edi, 0xffffffff
jmp 0x4ef8e6
push 0x11
jmp 0x4ef8e5