Function at 0x55f680
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x745130
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x434
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x55f6db
push 0x1c
push 0x7b3d48
push 0x7999e8
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push ebx
lea ebx, [esi + 4]
push eax
push ecx
mov ecx, ebx
call fcn.00560820
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0x1c]
lea ecx, [esi + 0x1c]
push eax
push edx
mov dword [ebp - 0x40], ecx
call fcn.00560820
push 0x78
push 0x7b3d44
push 0x79a1ac
lea eax, [ebp - 0x440]
push str.SELECT_id__level__name__flower_FROM__s_WHERE_lookface_like__s__flower___0_ORDER_BY_flower_DESC_LIMIT__d
push eax
call fcn.0070258b
mov edx, dword [edi]
add esp, 0x14
lea eax, [ebp - 0x440]
mov ecx, edi
push 1
push eax
call dword [edx]
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x55f8e8
mov dword [ebp - 0x20], 0
test eax, eax
jne 0x55f76e
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov eax, dword [ebp - 0x10]
add esp, 0x14
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
cmp dword [ebp - 0x20], eax
jae 0x55f8e8
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x55f7a6
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x10]
add esp, 0x14
test esi, esi
mov dword [ebp - 0x1c], esi
jne 0x55f7ce
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x10]
add esp, 0x14
test esi, esi
mov edi, esi
jne 0x55f7f5
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x10]
add esp, 0x14
test esi, esi
mov dword [ebp - 0x18], esi
jne 0x55f81d
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
push 3
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edx, dword [edi]
push 2
mov ecx, edi
mov dword [ebp - 0x1c], eax
call dword [edx + 0x48]
mov ecx, dword [ebp - 0x18]
mov edi, eax
push 1
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [ebp - 0x18], eax
call dword [edx + 0x44]
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x38], eax
test edi, edi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], edx
je 0x55f87b
push 0x10
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.0040cc10
add esp, 0xc
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
cmp eax, ecx
je 0x55f89d
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00560f30
mov eax, dword [ebx + 4]
add esp, 8
add eax, 0x1c
mov dword [ebx + 4], eax
jmp 0x55f8a9
lea edx, [ebp - 0x3c]
mov ecx, ebx
push edx
push eax
call fcn.005608b0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
jne 0x55f8d1
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov ecx, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [ecx]
call dword [eax + 0x64]
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp + 8]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
jmp 0x55f749
push 0x78
push 0x7b3d44
push 0x79a1ac
lea ecx, [ebp - 0x440]
push str.SELECT_id__level__name__flower_w_FROM__s_WHERE_lookface_like__s__flower_w___0_ORDER_BY_flower_w_DESC_LIMIT__d
push ecx
call fcn.0070258b
mov edx, dword [edi]
add esp, 0x14
lea eax, [ebp - 0x440]
mov ecx, edi
push 1
push eax
call dword [edx]
mov ecx, eax
mov dword [ebp - 0x14], ecx
test eax, eax
mov byte [ebp - 4], 1
je 0x55faa8
mov dword [ebp + 8], 0
test ecx, ecx
jne 0x55f954
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov edx, dword [ecx]
call dword [edx + 0x60]
cmp dword [ebp + 8], eax
jae 0x55faa8
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x55f98a
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x14]
add esp, 0x14
test esi, esi
mov ebx, esi
jne 0x55f9b1
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x14]
add esp, 0x14
test esi, esi
mov edi, esi
jne 0x55f9d8
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x14]
add esp, 0x14
test esi, esi
mov dword [ebp - 0x18], esi
jne 0x55fa00
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
mov esi, dword [ebp - 0x14]
add esp, 0x14
mov eax, dword [ebx]
push 3
mov ecx, ebx
call dword [eax + 0x44]
mov edx, dword [edi]
push 2
mov ecx, edi
mov ebx, eax
call dword [edx + 0x48]
mov ecx, dword [ebp - 0x18]
mov edi, eax
push 1
mov eax, dword [ecx]
call dword [eax + 0x44]
mov edx, dword [esi]
push 0
mov ecx, esi
mov dword [ebp - 0x18], eax
call dword [edx + 0x44]
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x34], eax
test edi, edi
mov dword [ebp - 0x24], ecx
je 0x55fa59
push 0x10
lea edx, [ebp - 0x30]
push edi
push edx
call fcn.0040cc10
add esp, 0xc
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x55fa7e
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00560f30
mov eax, dword [esi + 4]
add esp, 8
add eax, 0x1c
mov dword [esi + 4], eax
jmp 0x55fa8a
lea edx, [ebp - 0x3c]
mov ecx, esi
push edx
push eax
call fcn.005608b0
lea ecx, [ebp - 0x14]
call fcn.00435750
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x64]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
inc eax
mov dword [ebp + 8], eax
jmp 0x55f92f
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00435740
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00435740
mov ecx, dword [ebp - 0xc]
pop ebx
pop edi
mov al, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4