Function at 0x415500
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x52e40c
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x55c4c8]
xor eax, esp
mov dword [esp + 0x860], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x55c4c8]
xor eax, esp
push eax
lea eax, [esp + 0x878]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
call fcn.00408c30
xor ebx, ebx
mov eax, 0x5336ac
mov dword [esp + 0x880], ebx
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x415560
mov ecx, dword [esp + 0x18]
sub eax, edx
sar eax, 1
push eax
push 0x5336ac
push ecx
call fcn.0050b3af
add esp, 0xc
test eax, eax
jne 0x415592
lea edx, [esp + 0x18]
push edx
mov eax, 0x5336ac
jmp 0x4155d0
mov eax, 0x5336bc
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4155a0
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esp + 0x1c]
push 0x5336bc
push eax
call fcn.0050b3af
add esp, 0xc
test eax, eax
jne 0x4155d5
lea ecx, [esp + 0x18]
push ecx
mov eax, 0x5336bc
call fcn.00415ce0
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
cmp eax, ebx
jg 0x4155e5
or eax, 0xffffffff
jmp 0x415601
push 0x2f
push ecx
call fcn.0050b12e
mov ecx, dword [esp + 0x20]
add esp, 8
cmp eax, ebx
jne 0x4155fd
or eax, 0xffffffff
jmp 0x415601
sub eax, ecx
sar eax, 1
cmp eax, dword [ecx - 0xc]
je 0x415639
cmp eax, 0xffffffff
je 0x415639
lea eax, [ecx - 0x10]
mov dword [esp + 0x880], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x415632
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x41588b
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor ebp, ebp
mov dword [esp + 0x1c], vtable.Converter::Converters.0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
push 0x800
lea ecx, [esp + 0x78]
push ebx
push ecx
mov byte [esp + 0x88c], 1
call fcn.0050e6a0
mov eax, dword [esi]
add esp, 0xc
push eax
lea edi, [esp + 0x20]
call fcn.004086c0
push eax
lea edx, [esp + 0x78]
push str.select__from__FilterDB_where_11_and_url_like____s__
push edx
call fcn.0050a7b8
add esp, 0xc
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x44]
call fcn.00409b30
lea eax, [esp + 0x40]
mov byte [esp + 0x880], 2
call fcn.00409770
test al, al
jne 0x415817
mov edi, dword [esp + 0x48]
cmp edi, ebx
jne 0x4156fa
push str.Null_Virtual_Machine_pointer
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x44], vtable.CppSQLite3Exception.0
mov dword [esp + 0x48], 0x3e8
call fcn.0043d3c0
add esp, 0x10
push 0x554068
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x44], eax
call fcn.0050ea1b
mov edx, dword [esp + 0x50]
dec edx
cmp edx, 1
jge 0x415743
push str.Invalid_field_index_requested
push 0x3e8
push str.CPPSQLITE_ERROR
push str._s__d_:__s
mov dword [esp + 0x38], vtable.CppSQLite3Exception.0
mov dword [esp + 0x3c], 0x3e8
call fcn.0043d3c0
add esp, 0x10
mov dword [esp + 0x30], eax
push 0x554068
lea eax, [esp + 0x2c]
push eax
call fcn.0050ea1b
push 1
push edi
call fcn.0045d740
add esp, 8
cmp eax, 5
jne 0x41575a
mov eax, 0x5331a8
jmp 0x415765
push 1
push edi
call fcn.0045d5b0
add esp, 8
mov ecx, eax
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], 0
lea edi, [ecx + 1]
jmp 0x415780
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x415780
sub ecx, edi
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.00403ac0
mov byte [esp + 0x880], 3
mov eax, dword [esp + 0x5c]
mov ebx, 0x10
cmp dword [esp + 0x70], ebx
jae 0x4157af
lea eax, [esp + 0x5c]
push eax
lea edi, [esp + 0x20]
call fcn.00408760
test eax, eax
je 0x4157c7
push 0xffffffffffffffff
push eax
call fcn.004b50c0
jmp 0x4157e0
mov eax, dword [esi]
lea edi, [esi + 4]
cmp eax, edi
je 0x4157d9
push eax
call fcn.0050a8b9
add esp, 4
xor ecx, ecx
mov dword [esi], edi
mov word [edi], cx
mov byte [esp + 0x880], 2
mov ebp, 1
cmp dword [esp + 0x70], ebx
jb 0x415800
mov edx, dword [esp + 0x5c]
push edx
call fcn.0050a226
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
xor ebx, ebx
lea edi, [esp + 0x40]
call fcn.00409890
mov edi, dword [esp + 0x20]
cmp edi, ebx
je 0x415837
push edi
call fcn.0050a226
add esp, 4
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x40]
mov byte [esp + 0x880], 1
call fcn.00409570
cmp edi, ebx
je 0x41585e
push edi
call fcn.0050a226
add esp, 4
mov dword [esp + 0x880], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415889
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x878]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x860]
xor ecx, esp
call fcn.0050a231
add esp, 0x870
ret