Function at 0x4dba10
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x796b24]
push ebx
push esi
push edi
mov ebx, ecx
push eax
push 0x7a9460
lea ecx, [ebp - 0x408]
push str.SELECT__FROM__s_WHERE__idxserver_1__idxserver_u_
push ecx
mov dword [ebp - 4], ebx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x408]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
test esi, esi
jne 0x4dba62
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 8], 0
call dword [edx + 0x60]
test eax, eax
jbe 0x4dbace
call fcn.004dbc20
mov edi, eax
test edi, edi
je 0x4dbc0a
mov eax, dword [ebx + 4]
push 0
push esi
push eax
mov ecx, edi
call fcn.00636580
test al, al
jne 0x4dba9f
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
call dword [edx]
jmp 0x4dbab5
mov ecx, dword [0x7fd5e0]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, dword [eax]
add edi, 8
push edi
mov ecx, eax
call dword [edx + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov edi, dword [ebp - 8]
mov edx, dword [esi]
inc edi
mov ecx, esi
mov dword [ebp - 8], edi
call dword [edx + 0x60]
cmp edi, eax
jb 0x4dba74
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov eax, dword [0x796b24]
lea ecx, [ebp - 0x408]
push eax
push 0x79a158
push str.SELECT__FROM__s_WHERE__idxserver_1__idxserver_u_
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x408]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x4dbc01
mov edx, dword [esi]
mov ecx, esi
xor ebx, ebx
call dword [edx + 0x60]
test eax, eax
jbe 0x4dbb75
call fcn.004dbc20
mov edi, eax
test edi, edi
je 0x4dbc0a
mov eax, dword [ebp - 4]
push 1
push esi
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00636580
test al, al
jne 0x4dbb4c
mov edx, dword [edi + 8]
lea ecx, [edi + 8]
call dword [edx]
jmp 0x4dbb62
mov ecx, dword [0x7fd5e0]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, dword [eax]
add edi, 8
push edi
mov ecx, eax
call dword [edx + 0x10]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x64]
mov edx, dword [esi]
mov ecx, esi
inc ebx
call dword [edx + 0x60]
cmp ebx, eax
jb 0x4dbb1e
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push str.cq_trap
lea eax, [ebp - 0x408]
push 0x799ea4
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x408]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
test esi, esi
je 0x4dbc01
mov edx, dword [esi]
mov ecx, esi
xor ebx, ebx
call dword [edx + 0x60]
test eax, eax
jbe 0x4dbbfa
mov eax, dword [ebp - 4]
push esi
mov ecx, dword [eax + 4]
push ecx
call fcn.005f6dc0
mov edi, eax
add esp, 8
test edi, edi
je 0x4dbbe7
mov ecx, dword [0x7fd5e0]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edx, dword [eax]
add edi, 8
push edi
mov ecx, eax
call dword [edx + 0x10]
mov eax, dword [esi]
mov ecx, esi
inc ebx
call dword [eax + 0x64]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
cmp ebx, eax
jb 0x4dbbbb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret