Function at 0x5b42290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x5c51004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x138], eax
mov esi, ecx
mov dword [ebp - 0x134], 0
push edi
lea edx, [ebp - 0x120]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0
call fcn.05b45b70
mov edi, eax
test edi, edi
js 0x5b422fa
cmp edi, 1
je 0x5b422fa
mov edx, dword [ebp - 0x120]
call fcn.05b44e50
mov edi, eax
lea ecx, [ebp - 0x120]
call fcn.05b44d90
test edi, edi
jns 0x5b42370
push 0x105
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.05b02790
add esp, 0xc
lea eax, [ebp - 0x110]
push edi
push edi
push str.API_called_without_license:__ld__0x_lx_
push 0x104
push eax
call fcn.05b01010
add esp, 0x14
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x110]
push eax
push 0x5c38c48
push 0x15
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.05b011bc
mov esp, ebp
pop ebp
ret
cmp dword [0x5c5460c], 0
jne 0x5b423b0
push str.API_called_without_activation
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.API_called_without_activation
push 0x15
call sym.SQLite.Interop.dll_SI350ef657c32efd79
add esp, 8
mov dword [esi + 0x40], 0x15
mov eax, 0x15
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.05b011bc
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push str.PRAGMA_page_count
push esi
call sym.SQLite.Interop.dll_SIa2c646e1460e3d6a
mov eax, dword [esi + 0xc]
add esp, 0x14
test eax, eax
je 0x5b423d5
push eax
call dword [0x5c52638]
add esp, 4
cmp byte [esi + 0x5f], 0
jne 0x5b423e2
mov ecx, esi
call fcn.05c097a0
mov edx, ebx
mov ecx, esi
call fcn.05b42800
test eax, eax
jns 0x5b423f9
mov ebx, 1
jmp 0x5b425f1
mov ecx, dword [esi + 0x10]
add eax, eax
mov eax, dword [ecx + eax*8 + 4]
mov eax, dword [eax + 4]
mov edi, dword [eax]
mov dword [ebp - 0x128], edi
cmp byte [edi + 0xe], 0
je 0x5b4241d
mov ebx, 8
jmp 0x5b425f1
mov eax, dword [edi + 0xec]
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x5b4245a
cmp dword [ecx + 4], eax
je 0x5b42442
push ecx
xor edx, edx
mov ecx, 0x5c37db0
call fcn.05b42920
add esp, 4
mov eax, dword [edi + 0xec]
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x5b4245a
lea ebx, [eax + 7]
jmp 0x5b425f1
movzx eax, byte [edi + 0x11]
mov dword [ebp - 0x130], eax
test eax, eax
jne 0x5b42479
mov ecx, edi
call fcn.05c0eda0
mov ebx, eax
test ebx, ebx
jne 0x5b425f1
push 0
lea eax, [ebp - 0x134]
push eax
mov eax, dword [edi + 0xdc]
push 1
push edi
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x5b424c2
cmp dword [ebp - 0x130], 1
ja 0x5b424b7
push eax
lea edx, [eax + 1]
mov ecx, edi
call fcn.05c0e670
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5b425f1
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x114], eax
jmp 0x5b424cc
mov dword [ebp - 0x114], 0
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x118]
mov ecx, edi
mov edx, dword [ebp - 0x138]
call fcn.05b42a30
mov ecx, dword [ebp - 0x114]
add esp, 4
test ecx, ecx
je 0x5b42505
mov eax, dword [0x5c519e0]
xor edx, edx
div dword [edi + 0x444]
inc eax
mov dword [ebp - 0x124], eax
jmp 0x5b42507
xor eax, eax
mov edi, 1
cmp ecx, edi
jl 0x5b42576
test ebx, ebx
jne 0x5b425cb
cmp edi, eax
je 0x5b42571
push ebx
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x128]
push edi
push eax
mov eax, dword [eax + 0xdc]
call eax
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x5b425cb
cmp dword [esi + 0x138], eax
jne 0x5b425bc
mov ecx, dword [ebp - 0x12c]
call fcn.05c0e210
mov ecx, dword [ebp - 0x12c]
mov ebx, eax
test ecx, ecx
je 0x5b42565
call fcn.05c0e8c0
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x114]
inc edi
cmp edi, ecx
jle 0x5b42510
test ebx, ebx
jne 0x5b425cb
cmp dword [ebp - 0x130], 1
mov ecx, 0x88
mov eax, dword [ebp - 0x118]
mov esi, eax
lea edi, [eax + 0x220]
rep movsd dword es:[edi], dword [esi]
ja 0x5b425eb
mov esi, dword [ebp - 0x128]
xor edx, edx
push ebx
mov ecx, esi
call fcn.05c0df30
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x5b425eb
mov ecx, esi
call fcn.05c0def0
mov ebx, eax
jmp 0x5b425eb
mov dword [esi + 0x138], 0
mov ebx, 9
mov eax, dword [ebp - 0x118]
mov ecx, 0x88
mov edi, eax
lea esi, [eax + 0x220]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x128]
call fcn.05c0de20
mov esi, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x134]
test ecx, ecx
je 0x5b42618
mov edi, dword [ecx + 0x14]
call fcn.05c15140
mov edx, dword [edi + 0xf4]
mov eax, dword [edx + 0x10]
or eax, dword [edx + 0x14]
jne 0x5b42618
mov ecx, edi
call fcn.05c11b10
cmp byte [esi + 0x5f], 0
jne 0x5b42625
mov ecx, esi
call fcn.05c09750
mov eax, dword [esi + 0xc]
test eax, eax
je 0x5b42636
push eax
call dword [0x5c52640]
add esp, 4
test ebx, ebx
je 0x5b4263d
mov dword [esi + 0x40], ebx
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.05b011bc
mov esp, ebp
pop ebp
ret