Function at 0x4436a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47a558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x38], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov ecx, dword [eax + 0x18]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push eax
push str.cq_rule
lea ecx, [ebp - 0x138]
push str.SELECT__FROM__s_WHERE_owner_id_u__owner_id0
push ecx
call fcn.00449cf1
mov ecx, dword [ebp + 0xc]
add esp, 0x10
lea eax, [ebp - 0x138]
mov edx, dword [ecx]
push 0
push eax
call dword [edx]
mov esi, eax
mov dword [ebp - 0x10], 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x74]
test eax, eax
jbe 0x443931
push ebx
push edi
mov eax, dword [esi]
push 4
mov ecx, esi
call dword [eax + 0x5c]
lea ecx, [ebp + 0xb]
push 8
push ecx
lea ecx, [ebp - 0x34]
mov ebx, eax
call fcn.004059b0
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
call fcn.004058f0
test ebx, ebx
mov dword [ebp - 4], 1
jne 0x44376d
push 0x24
push str...common_basetype.h
push 0x48dd58
push str.IF_OK
push 0x48c174
call fcn.00401000
add esp, 0x14
jmp 0x443785
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
push ebx
lea ecx, [ebp - 0x34]
call fcn.0041cb20
mov edx, dword [esi]
push 3
mov ecx, esi
mov dword [ebp - 4], 2
call dword [edx + 0x5c]
mov ebx, eax
lea eax, [ebp + 0x13]
push 8
push eax
lea ecx, [ebp - 0x28]
call fcn.004059b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004058f0
test ebx, ebx
mov byte [ebp - 4], 4
jne 0x4437d9
push 0x24
push str...common_basetype.h
push 0x48dd58
push str.IF_OK
push 0x48c174
call fcn.00401000
add esp, 0x14
jmp 0x4437f1
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.0041cb20
mov edx, dword [esi]
push 2
mov ecx, esi
mov byte [ebp - 4], 5
call dword [edx + 0x5c]
mov ebx, eax
lea eax, [ebp + 0xf]
push 8
push eax
lea ecx, [ebp - 0x1c]
call fcn.004059b0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004058f0
test ebx, ebx
mov byte [ebp - 4], 7
jne 0x443842
push 0x24
push str...common_basetype.h
push 0x48dd58
push str.IF_OK
push 0x48c174
call fcn.00401000
add esp, 0x14
jmp 0x44385a
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, ebx
push ecx
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0041cb20
mov edx, dword [esi]
push 5
mov ecx, esi
mov byte [ebp - 4], 8
call dword [edx + 0x58]
push eax
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x28]
push eax
mov eax, dword [esi]
lea edx, [ebp - 0x1c]
push ecx
push edx
push 0
mov ecx, esi
call dword [eax + 0x58]
mov ecx, dword [ebp - 0x38]
push eax
call fcn.00443950
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
mov byte [ebp - 4], 5
test ecx, ecx
je 0x4438a4
test eax, eax
je 0x4438a4
push eax
push ecx
call fcn.00405c50
add esp, 8
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4438c2
test eax, eax
je 0x4438c2
push eax
push ecx
call fcn.00405c50
add esp, 8
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x34]
sub eax, ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x443912
test eax, eax
je 0x443912
cmp eax, 0x80
jbe 0x4438eb
push ebx
call fcn.0044a7c7
add esp, 4
jmp 0x443912
add eax, 7
mov ecx, 0x499ad0
shr eax, 3
lea edi, [eax*4 + 0x499ad0]
call fcn.00406cb0
mov ecx, dword [edi]
mov dword [ebx], ecx
mov dword [edi], ebx
mov ecx, 0x499ad0
call fcn.0040d810
mov edi, dword [ebp - 0x10]
mov edx, dword [esi]
inc edi
mov ecx, esi
mov dword [ebp - 0x10], edi
call dword [edx + 0x78]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x74]
cmp edi, eax
jb 0x44371a
pop edi
pop ebx
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc