Function at 0x4ab9a8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x4ab9b0
push ecx
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4ac1c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x19], 1
mov eax, dword [ebp - 4]
call fcn.004b0730
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004b0730
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
call fcn.004b0730
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.004b0730
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4ac163
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jne 0x4aba2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4ac1dc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4aba56
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, 0x4ac21c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.00489c18
mov edx, 0x4ac284
call fcn.00488b04
mov edx, dword [ebp - 8]
call fcn.0048827c
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov edx, 0x4ac29c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4ac314
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x58]
mov edx, 0x4ac3a8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004894cc
jmp 0x4ac125
cmp byte [ebp - 0x19], 0
je 0x4abad9
lea eax, [ebp - 0x30]
push eax
mov eax, 0x4ac404
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, 0x4ac404
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea edx, [ebp - 0x40]
mov ecx, 1
mov eax, 0x4ac410
call fcn.00409858
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov byte [ebp - 0x19], 0
lea eax, [ebp - 0x44]
push eax
mov edx, 0x4ac444
mov eax, dword [ebp - 0xc]
call fcn.00489734
lea edx, [ebp - 0x50]
call fcn.004882cc
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4ac460
call fcn.00409858
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x28]
call fcn.00404204
mov byte [ebp - 0x1a], 1
mov edx, 0x4ac444
mov eax, dword [ebp - 0xc]
call fcn.00489734
lea edx, [ebp - 0x54]
call fcn.004882cc
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00489c18
mov edx, 0x4ac488
call fcn.00488b04
pop edx
call fcn.0048827c
mov eax, dword [ebp - 0x10]
call fcn.004894cc
jmp 0x4ac03d
xor ebx, ebx
mov edx, 0x4ac4a0
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
mov esi, eax
jmp 0x4abb7c
inc ebx
cmp esi, dword [ebx*8 + 0x4ed91c]
jne 0x4abb7b
mov eax, esi
sub eax, 0xe
je 0x4abb9a
sub eax, 0x17
je 0x4abb9a
sub eax, 3
jne 0x4abcc8
mov byte [ebp - 0x1b], 0
mov edx, 0x4ac4b8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
push eax
mov eax, dword [ebp - 0x14]
call fcn.00489c18
mov edx, 0x4ac4d8
call fcn.00488b04
pop edx
call fcn.004876fc
mov eax, dword [ebp - 0x14]
call fcn.004894cc
jmp 0x4abc64
mov byte [ebp - 0x1b], 1
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx*8 + 0x4ed920]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4ac4f4
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
push eax
mov edx, 0x4ac510
mov eax, dword [ebp - 0x14]
call fcn.00489734
call fcn.00486590
mov edx, eax
mov eax, 1
call fcn.00490b9c
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
mov edx, 0x4ac530
mov eax, dword [ebp - 0x14]
call fcn.00489734
lea edx, [ebp - 0x70]
call fcn.004882cc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4ac550
call fcn.00409858
mov eax, dword [ebp - 0x14]
call fcn.00489894
mov eax, dword [ebp - 0x14]
call fcn.00489720
test al, al
je 0x4abbd6
mov eax, dword [ebp - 0x14]
call fcn.00489464
cmp byte [ebp - 0x1b], 0
jne 0x4abf32
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebx*8 + 0x4ed920]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov edx, 0x4ac4f4
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0
lea edx, [ebp - 0x40]
mov ecx, 1
mov eax, 0x4ac570
call fcn.00409858
jmp 0x4abf32
mov byte [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
call fcn.00484b94
cmp eax, 0xa
jl 0x4abe35
mov eax, esi
add eax, 0xfffffff9
sub eax, 2
jb 0x4abcf3
sub eax, 7
jne 0x4abe35
mov edx, 0x4ac444
mov eax, dword [ebp - 0x10]
call fcn.00489734
lea edx, [ebp - 0x74]
call fcn.004882cc
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00489c18
mov edx, 0x4ac444
call fcn.00488b04
pop edx
call fcn.0048827c
mov edx, 0x4ac580
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
push eax
mov eax, dword [ebp - 0x18]
call fcn.00489c18
mov edx, 0x4ac580
call fcn.00488b04
pop edx
call fcn.004876fc
mov eax, dword [ebp - 0x18]
call fcn.004894cc
jmp 0x4abe1d
mov edx, 0x4ac5a0
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
jne 0x4abe15
mov edx, 0x4ac5bc
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
test eax, eax
jle 0x4abe15
mov edx, 0x4ac5bc
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
cmp eax, 2
jg 0x4abe15
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4ac5bc
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov eax, dword [eax*4 + 0x4ed9d4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
mov edx, 0x4ac5a0
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0
mov edx, 0x4ac5d8
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
neg eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0
lea edx, [ebp - 0x6c]
mov ecx, 2
mov eax, 0x4ac5f0
call fcn.00409858
mov byte [ebp - 0x1c], 1
mov eax, dword [ebp - 0x18]
call fcn.00489894
mov eax, dword [ebp - 0x18]
call fcn.00489720
test al, al
je 0x4abd5c
mov eax, dword [ebp - 0x18]
call fcn.00489464
cmp byte [ebp - 0x1c], 0
jne 0x4abf32
cmp esi, 7
jne 0x4abe8d
mov edx, 0x4ac5d8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
test eax, eax
jge 0x4abe8d
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4ac5d8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
neg eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4ac604
call fcn.00409858
jmp 0x4abf32
cmp esi, 8
jne 0x4abed8
mov edx, 0x4ac5d8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
test eax, eax
jge 0x4abed8
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4ac5d8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
neg eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4ac61c
call fcn.00409858
jmp 0x4abf32
cmp esi, 0x1b
jne 0x4abf23
mov edx, 0x4ac5d8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
test eax, eax
jge 0x4abf23
lea eax, [ebp - 0x24]
push eax
mov edx, 0x4ac5d8
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
neg eax
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0
lea edx, [ebp - 0x4c]
xor ecx, ecx
mov eax, 0x4ac634
call fcn.00409858
jmp 0x4abf32
lea eax, [ebp - 0x24]
mov edx, dword [ebx*8 + 0x4ed920]
call fcn.0040429c
mov byte [ebp - 0x29], 1
mov edx, 0x4ac64c
mov eax, dword [ebp - 0xc]
call fcn.00489734
call fcn.00486590
mov ebx, eax
mov edx, 0x4ac580
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
cmp ebx, eax
jne 0x4ac000
mov edx, 0x4ac64c
mov eax, dword [ebp - 0xc]
call fcn.00489734
call fcn.00486590
test eax, eax
jne 0x4abf90
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x4ac668
call fcn.00404510
mov byte [ebp - 0x29], 0
jmp 0x4abfba
mov edx, 0x4ac64c
mov eax, dword [ebp - 0xc]
call fcn.00489734
call fcn.00486590
lea edx, [ebp - 0x78]
call fcn.00408a00
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x20]
mov edx, 0x4ac67c
call fcn.00404510
mov edx, 0x4ac698
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
test eax, eax
jne 0x4abfdd
lea eax, [ebp - 0x20]
mov edx, 0x4ac6b0
call fcn.004044cc
mov edx, 0x4ac698
mov eax, dword [ebp - 0x10]
call fcn.00489734
call fcn.00486590
test eax, eax
jge 0x4ac000
lea eax, [ebp - 0x20]
mov edx, 0x4ac6c4
call fcn.004044cc
cmp byte [ebp - 0x29], 0
je 0x4ac035
cmp byte [ebp - 0x1a], 0
je 0x4ac01d
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x24]
call fcn.004044cc
mov byte [ebp - 0x1a], 0
jmp 0x4ac035
push dword [ebp - 0x28]
push 0x4ac6d8
push dword [ebp - 0x24]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404584
mov eax, dword [ebp - 0x10]
call fcn.00489894
mov eax, dword [ebp - 0x10]
call fcn.00489720
test al, al
je 0x4abb63
mov eax, dword [ebp - 0x10]
call fcn.00489464
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x7c]
push eax
mov edx, 0x4ac6e4
mov eax, dword [ebp - 0xc]
call fcn.00489734
lea edx, [ebp - 0xa8]
call fcn.004882cc
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 0xa0], 0xb
mov edx, 0x4ac6fc
mov eax, dword [ebp - 0xc]
call fcn.00489734
lea edx, [ebp - 0xac]
call fcn.004882cc
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 0x98], 0xb
mov byte [ebp - 0x94], 0x3b
mov byte [ebp - 0x90], 2
mov eax, 0x4ac404
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x88], 0xb
mov eax, 0x4ac404
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x80], 0xb
lea edx, [ebp - 0xa4]
mov ecx, 4
mov eax, 0x4ac714
call fcn.00409858
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00489894
mov eax, dword [ebp - 0xc]
call fcn.00489720
test al, al
je 0x4aba93
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ac16a
mov eax, dword [ebp - 0xc]
call fcn.004033d4
mov eax, dword [ebp - 0x10]
call fcn.004033d4
mov eax, dword [ebp - 0x14]
call fcn.004033d4
mov eax, dword [ebp - 0x18]
call fcn.004033d4
ret