Function at 0x48ed70
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword [0x93ee7c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48f0ab
sub esp, 0x40
mov eax, dword [esp + 0x4c]
movzx ecx, byte [eax + 0xf]
and ecx, 0x1f
cmp cl, 0x14
jne 0x48ee57
mov ecx, dword [esp + 0x58]
cmp dword [eax + 0x28], ecx
jbe 0x48f092
mov edx, dword [eax + 0x24]
mov dword [esp + 0x38], edx
lea ebx, [edx + ecx*8]
mov ebx, dword [ebx]
nop
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0046bba0
mov eax, dword [esp + 8]
movzx eax, byte [eax]
test al, 1
je 0x48f028
mov edx, dword [esp + 0x50]
mov edx, dword [edx]
test edx, edx
je 0x48efbe
mov ebx, dword [esp + 0x58]
lea ecx, [ebx + 1]
test ecx, ecx
jl 0x48efb9
mov dword [esp + 0x34], edx
mov eax, 4
mul ecx
jo 0x48efb4
mov edx, dword [esp + 0x34]
lea ebp, [edx + 0xc]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp eax, ebp
ja 0x48efb4
cmp ebx, ecx
jae 0x48efad
mov eax, dword [esp + 0x38]
lea eax, [eax + ebx*8 + 4]
mov eax, dword [eax]
mov ecx, dword [edx + 4]
mov dword [esp + 0x30], ecx
lea edx, [edx + ebx*4 + 0xc]
mov dword [esp + 0x2c], edx
nop
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.0046bbe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
jmp 0x48ef1b
mov dword [esp], eax
call fcn.004011f0
mov eax, dword [esp + 0x58]
cmp dword [esp + 8], eax
jbe 0x48ef95
mov ecx, dword [esp + 4]
shl eax, 4
mov edx, dword [ecx + eax]
mov ebx, dword [ecx + eax + 4]
mov dword [esp + 0x28], ebx
mov eax, dword [ecx + eax + 8]
mov dword [esp + 0x24], eax
nop
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0046bba0
mov eax, dword [esp + 8]
movzx eax, byte [eax]
test al, 1
je 0x48ef2b
lea eax, [0x6db5c0]
mov dword [esp], eax
call fcn.0040bb90
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
nop
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], edx
call fcn.0046bc20
mov eax, dword [0x93f150]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x48eee7
mov eax, dword [esp + 0x3c]
jmp 0x48eef7
call fcn.00471840
mov dword [edi], ecx
mov eax, dword [esp + 0x3c]
mov edx, dword [eax]
mov dword [edi + 4], edx
mov dword [eax], ecx
nop
nop
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
call fcn.0046bbe0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
add esp, 0x40
ret
mov dword [esp], 0
lea eax, [0x71c2a0]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
lea eax, [0x72190d]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.00450710
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a200]
mov dword [esp + 4], eax
call fcn.0046a9e0
mov eax, ebx
call fcn.004718b0
call fcn.004620a0
call fcn.004620a0
mov dword [esp], 0
lea eax, [0x71c2a0]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
lea eax, [0x728549]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x21
call fcn.00450710
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046a9e0
mov dword [esp], 0
lea eax, [0x71c2a0]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
lea eax, [0x72190d]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x15
call fcn.00450710
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00465f00
mov eax, dword [esp + 8]
lea ecx, [0x6db180]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0046a9e0
lea eax, [0x6db180]
mov dword [esp], eax
lea eax, [0x78a200]
mov dword [esp + 4], eax
call fcn.0046a9e0
nop
call fcn.00470430
jmp fcn.0048ed70