Function at 0x5b638f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
push ebx
push esi
push edi
xorps xmm0, xmm0
mov dword [esp + 0x4c], edx
lea eax, [esp + 0x28]
movlpd qword [esp + 0x50], xmm0
mov edi, ecx
movlpd qword [esp + 0x58], xmm0
push 0
push eax
mov edx, 0x1b
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], 0
call fcn.05b6c3a0
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
test esi, esi
jne 0x5b63d25
mov eax, dword [edi + 0x118]
mov ebx, dword [esp + 0x28]
cdq
push edx
push eax
push 1
push ebx
call sym.SQLite.Interop.dll_SI35b071367928739e
mov eax, dword [edi + 0x100]
cdq
push edx
push eax
push 2
push ebx
call sym.SQLite.Interop.dll_SI35b071367928739e
mov eax, dword [esp + 0x74]
add esp, 0x20
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x34], eax
push ebx
call sym.SQLite.Interop.dll_SI5d045c2b9d9b73fa
add esp, 4
cmp eax, 0x64
jne 0x5b639d4
push 0
push ebx
call sym.SQLite.Interop.dll_SI02ba66995d97a90f
mov ebx, eax
xor edi, edi
mov eax, dword [esp + 0x18]
add esp, 8
cmp dword [eax + 0x100], edi
jle 0x5b639cc
lea ecx, [esp + 0x30]
mov edx, ebx
push ecx
push edi
mov ecx, eax
call fcn.05b63d40
xor dword [esp + 0x3c], eax
inc edi
mov eax, dword [esp + 0x18]
add esp, 8
xor dword [esp + 0x38], edx
cmp edi, dword [eax + 0x100]
jl 0x5b639a1
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
test esi, esi
je 0x5b63978
push ebx
call fcn.05bf3e00
add esp, 4
test esi, esi
jne 0x5b63cfe
mov esi, eax
test eax, eax
jne 0x5b63cfe
mov esi, dword [esp + 0x10]
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0x24]
push dword [esi + 0xe0]
push str.SELECT__s
mov eax, dword [eax]
mov dword [esp + 0x50], eax
call sym.SQLite.Interop.dll_SI5ea70b9767a9e9ce
mov edi, eax
add esp, 8
test edi, edi
jne 0x5b63a39
push dword [esp + 0x28]
mov edi, dword [esp + 0x60]
lea esi, [eax + 7]
mov ebx, dword [esp + 0x5c]
call fcn.05bf3ed0
add esp, 4
jmp 0x5b63d06
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x28]
push 0
push eax
push 0
push 0x80
push 0xffffffffffffffff
mov edx, edi
call fcn.05bb1a30
add esp, 0x14
mov esi, eax
push edi
call sym.SQLite.Interop.dll_SI9edfb98001bcad06
mov edi, dword [esp + 0x60]
add esp, 4
mov ebx, dword [esp + 0x58]
test esi, esi
jne 0x5b63cf0
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x10]
push edi
call sym.SQLite.Interop.dll_SI5d045c2b9d9b73fa
add esp, 4
cmp eax, 0x64
jne 0x5b63ce8
test edi, edi
je 0x5b63acf
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5b63aaa
push eax
call dword [0x5c52638]
add esp, 4
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x5b63abc
xor eax, eax
cmp ax, word [edi + 0x90]
jb 0x5b63ad4
mov ecx, dword [edi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.05c1c900
mov ecx, 0x5c47850
call fcn.05bfb760
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
test edi, edi
je 0x5b63b13
mov ecx, dword [edi]
mov edx, dword [edi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x5b63af8
test edx, edx
jne 0x5b63af8
xor eax, eax
jmp 0x5b63afd
call fcn.05c20250
mov dword [edi + 0x24], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x5b63b13
push eax
call dword [0x5c52640]
add esp, 4
cmp dword [ebx + 0x2c], 0
mov dword [esp + 0x20], 0
je 0x5b63b33
mov eax, dword [ebx + 0x18]
inc eax
push eax
push edi
call sym.SQLite.Interop.dll_SI02ba66995d97a90f
add esp, 8
mov dword [esp + 0x20], eax
xor ecx, ecx
mov dword [esp + 0x1c], ecx
nop dword [eax]
cmp ecx, dword [ebx + 0x18]
jge 0x5b63a81
mov eax, dword [ebx + 0x20]
cmp byte [ecx + eax], 0
jne 0x5b63cdb
lea eax, [ecx + 1]
push eax
push edi
call fcn.05bf2270
mov ebx, dword [ebx + 0x24]
lea ecx, [esp + 0x14]
push ecx
push 0xffffffffffffffff
push eax
mov edi, dword [ebx]
mov dword [esp + 0x20], 0
push ebx
mov eax, dword [edi + 0xc]
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x5b63bb9
mov eax, dword [esp + 0xc]
mov dword [eax], ebx
cmp dword [edi], 1
jl 0x5b63bb9
push dword [esp + 0x20]
mov eax, dword [edi + 0x18]
push dword [esp + 0x10]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x5b63bb9
push dword [esp + 0xc]
mov eax, dword [edi + 0x10]
call eax
add esp, 4
xor ecx, ecx
mov dword [esp + 0xc], ecx
jmp 0x5b63bbd
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
test esi, esi
jne 0x5b63cb2
mov edi, dword [esp + 0x1c]
nop dword [eax]
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x30], 0
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x60], 0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x5c], 0
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x40], 0
push eax
mov eax, dword [ebx + 0x14]
push ecx
call eax
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x5b63cb6
push dword [esp + 0x30]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
push edi
push dword [esp + 0x44]
push dword [esp + 0x4c]
push eax
push dword [esp + 0x34]
call fcn.05b63f10
xor dword [esp + 0x30], eax
mov esi, 1
mov eax, dword [esp + 0x28]
add esp, 0x18
xor dword [esp + 0x14], edx
mov ecx, dword [esp + 0x24]
mov ebx, dword [eax + 0x100]
cmp ebx, esi
jle 0x5b63bd0
mov edi, dword [eax + 0x104]
add edi, 0x18
nop
mov edx, dword [edi]
cmp edx, dword [esp + 0x2c]
jg 0x5b63ca1
push dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
push dword [esp + 0x20]
push dword [esp + 0x44]
push dword [esp + 0x4c]
push esi
push dword [esp + 0x34]
call fcn.05b63f10
xor dword [esp + 0x30], eax
add esp, 0x18
xor dword [esp + 0x14], edx
inc esi
add edi, 0x18
cmp esi, ebx
jl 0x5b63c70
mov ecx, dword [esp + 0x24]
jmp 0x5b63bc9
mov ebx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5b63cc7
push eax
mov eax, dword [ebx + 0x10]
call eax
add esp, 4
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov ebx, dword [esp + 0x10]
cmp esi, 0x65
mov edi, dword [esp + 0x28]
cmove esi, eax
inc ecx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x5b63b40
mov ebx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push dword [esp + 0x28]
call fcn.05bf3ed0
add esp, 4
jmp 0x5b63d06
mov edi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x34], ebx
jne 0x5b63d12
cmp dword [esp + 0x38], edi
je 0x5b63d25
mov eax, dword [esp + 0x4c]
mov dword [eax], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x4c]
pop edi
mov dword [eax], 1
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret