Function at 0x40ab60
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40b129
sub esp, 0x50
mov eax, dword [esp + 0x54]
test byte [eax], al
nop
lea ecx, [eax + 0x2f8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x58]
add ecx, 0x3fffff
and ecx, 0xffc00000
mov dword [esp + 0x14], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x400000
lea edx, [0x144ff18]
mov dword [esp + 0xc], edx
call fcn.0040c5b0
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40afea
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
jmp 0x40abfa
mov ebp, dword [ebx + 8]
mov dword [ecx + 0x2f4], ebp
nop
mov ebp, dword [ecx + 0x2578]
sub ebp, dword [ecx + 0x2560]
mov dword [ecx + 0x2578], ebp
mov ebp, dword [ecx + 0x256c]
mov dword [ebx], ebp
mov dword [ecx + 0x256c], ebx
mov eax, edi
mov ebx, dword [ecx + 0x2f4]
test ebx, ebx
je 0x40afdf
mov eax, dword [ebx]
movzx ebp, byte [ebx + 4]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x40ac16
sub eax, edx
mov dword [esp + 0x4c], ebx
lea ebp, [eax + edx]
cmp ebp, eax
jae 0x40afac
xor esi, esi
mov edi, esi
cmp eax, esi
je 0x40ac5e
test edi, edi
je 0x40abce
mov dword [esp + 0x48], edi
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0
call fcn.00415fb0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
jmp 0x40abce
movzx esi, byte [ebx + 4]
xchg esi, eax
test al, al
xchg esi, eax
je 0x40afa5
mov dword [ebx], eax
mov eax, edx
test edx, edx
je 0x40aef9
mov eax, edi
lea ebx, [edx + edi]
cmp ebx, edi
jae 0x40aef0
mov ebp, 0x1c
lea esi, [0xd5a96d]
test ebp, ebp
jne 0x40b075
test edi, 0x3fffff
jne 0x40b05f
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], edx
nop
lea eax, [0x144ff18]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00428750
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ecx
mov edx, eax
shr eax, 0x16
mov ebx, dword [esp + 0x54]
jmp 0x40ad10
mov ecx, dword [esp + 0x2c]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call fcn.00402640
mov eax, dword [esp + 0x2c]
inc eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
mov ecx, ebx
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x54]
mov ebp, edx
lea edx, [ecx + edx - 1]
shr edx, 0x16
cmp eax, edx
ja 0x40aee4
mov dword [esp + 0x2c], eax
mov edx, dword [ebx + 0x2e4]
test edx, edx
je 0x40ae89
test byte [edx], al
cmp eax, 0x400
jae 0x40b029
mov esi, dword [edx + eax*4]
lea edx, [edx + eax*4]
test esi, esi
jne 0x40b033
mov dword [esp + 0x44], edx
lea eax, [ebx + 0x2e8]
mov dword [esp], eax
mov dword [esp + 4], 0x40880
mov dword [esp + 8], 4
lea eax, [0x144ff78]
mov dword [esp + 0xc], eax
call fcn.0040c5b0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x40ae5a
mov dword [esp + 0x34], eax
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx + 0x30c]
cmp dword [ebx + 0x308], ebp
jne 0x40ae1b
shl ebp, 3
test ebp, ebp
jne 0x40ae53
mov ecx, dword [0x144da28]
mov dword [esp + 0x18], ecx
mov dword [esp], ecx
mov dword [esp + 4], 4
lea eax, [0x144ff78]
mov dword [esp + 8], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40affd
mov ebx, dword [esp + 0x54]
mov ebp, dword [ebx + 0x304]
mov esi, dword [ebx + 0x308]
mov edi, dword [esp + 0x18]
shr edi, 2
mov dword [ebx + 0x30c], edi
mov dword [ebx + 0x304], eax
mov edi, dword [ebx + 0x308]
cmp edi, esi
jle 0x40ae4f
cmp eax, ebp
je 0x40ae1b
mov dword [esp], eax
mov dword [esp + 4], ebp
shl esi, 2
mov dword [esp + 8], esi
call fcn.00458a30
mov ebx, dword [esp + 0x54]
mov eax, dword [ebx + 0x308]
mov edx, dword [ebx + 0x30c]
lea ecx, [eax + 1]
cmp ecx, edx
ja 0x40aff8
mov dword [ebx + 0x308], ecx
mov edx, dword [ebx + 0x304]
cmp eax, ecx
jb 0x40acda
jmp 0x40aff3
mov esi, edi
jmp 0x40ae04
mov ecx, ebp
jmp 0x40adad
mov dword [esp], 0x40880
mov dword [esp + 4], 4
lea eax, [0x144ff78]
mov dword [esp + 8], eax
call fcn.0040c220
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x40ad86
jmp 0x40b013
mov dword [esp], 0x1000
mov dword [esp + 4], 4
mov dword [esp + 8], 0
call fcn.0040c220
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40b049
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x54]
lea edx, [ecx + 0x2e4]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.00402640
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x54]
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
jmp 0x40ad33
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ecx
add esp, 0x50
ret
xor ebp, ebp
xor esi, esi
jmp 0x40ac90
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0x400000
call fcn.0040b140
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x40af91
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x54]
lea ecx, [eax + 0x2560]
mov dword [esp + 0x3c], ecx
mov dword [esp], ecx
call fcn.00416ed0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov byte [eax + 4], 1
mov ecx, dword [0x143f634]
mov dword [eax + 8], ecx
mov dword [0x143f634], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00416ed0
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
lea ebx, [edx + edi]
mov dword [eax], ebx
mov ebx, dword [0x143f634]
mov dword [eax + 8], ebx
mov dword [0x143f634], eax
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x48]
jmp 0x40ac78
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x50
mov eax, ebp
jmp 0x40ac6c
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ebp
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.004160c0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
mov esi, eax
mov eax, dword [esp + 0x20]
jmp 0x40ac27
mov edi, eax
mov eax, edx
xor edx, edx
jmp 0x40ac70
mov ecx, dword [esp + 0x14]
jmp 0x40acc7
call fcn.00458100
call fcn.00458140
lea eax, [0xd61667]
mov dword [esp], eax
mov dword [esp + 4], 0x22
call fcn.0042e730
lea eax, [0xd6ad4a]
mov dword [esp], eax
mov dword [esp + 4], 0x2c
call fcn.0042e730
mov ecx, 0x400
call fcn.00458110
lea eax, [0xd56762]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.0042e730
lea eax, [0xd6649d]
mov dword [esp], eax
mov dword [esp + 4], 0x27
call fcn.0042e730
lea eax, [0xd60474]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0042e730
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], esi
call fcn.0042f560
lea eax, [0xd607ce]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.0042fe00
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fcd0
lea eax, [0xd3f5c7]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.0042fe00
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0042fcd0
lea eax, [0xd5d4ab]
mov dword [esp], eax
mov dword [esp + 4], 0x1f
call fcn.0042fe00
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call fcn.0042fe00
call fcn.0042f780
call fcn.0042f5d0
lea eax, [0xd6c34b]
mov dword [esp], eax
mov dword [esp + 4], 0x2e
call fcn.0042e730
nop
call fcn.004567f0
jmp fcn.0040ab60