Function at 0x4a737c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff70
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.004046b4
xor eax, eax
push ebp
push 0x4a77c4
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov dl, 1
mov eax, dword [0x41a00c]
call fcn.004033a4
mov dword [ebp - 0x1c], eax
mov eax, esi
call fcn.004b0730
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4a7772
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4a7412
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4a77dc
mov ecx, dword [eax]
call dword [ecx + 0x2c]
jmp 0x4a746e
cmp byte [ebp - 5], 1
jne 0x4a7444
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4a796c
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.00489c18
mov edx, 0x4a7b24
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
jmp 0x4a746e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x58]
mov edx, 0x4a7b38
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
call fcn.00489c18
mov edx, 0x4a7cf0
call fcn.00488b04
mov edx, dword [ebp - 4]
call fcn.0048827c
mov eax, dword [ebp - 0x18]
call fcn.004894cc
jmp 0x4a7711
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0x44]
test bl, bl
je 0x4a7505
cmp byte [esi + 0x41], 0
je 0x4a74ca
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0x38], 0x5e
mov byte [ebp - 0x34], 2
mov byte [ebp - 0x30], 0x3b
mov byte [ebp - 0x2c], 2
mov eax, 0x4a7d04
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
mov eax, 0x4a7d10
call fcn.00409858
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x4a7d04
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4a7d04
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
lea edx, [ebp - 0x4c]
mov ecx, 1
mov eax, 0x4a7d2c
call fcn.00409858
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor ebx, ebx
mov edx, 0x4a7d68
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0xc]
call fcn.004882cc
mov edx, 0x4a7d84
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x10]
call fcn.004882cc
mov edx, 0x4a7da0
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
je 0x4a7554
lea eax, [ebp - 0x14]
mov edx, 0x4a7dc0
call fcn.0040429c
jmp 0x4a7585
mov edx, 0x4a7da0
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
dec eax
jne 0x4a7578
lea eax, [ebp - 0x14]
mov edx, 0x4a7dc0
call fcn.0040429c
jmp 0x4a7585
lea eax, [ebp - 0x14]
mov edx, 0x4a7dd4
call fcn.0040429c
mov edx, 0x4a7de4
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
dec eax
je 0x4a75a7
mov edx, 0x4a7df8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x84]
mov edx, dword [ebp - 0xc]
call fcn.00490cd0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x80], eax
mov byte [ebp - 0x7c], 0xb
mov eax, dword [esi + 0x30]
call fcn.00493c64
lea ecx, [ebp - 0x88]
mov edx, dword [ebp - 0x10]
call fcn.00490cd0
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
mov eax, 0x4a7d04
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov edx, 0x4a7e04
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov eax, dword [eax*4 + 0x4ed9b8]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
mov edx, 0x4a7e20
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
lea edx, [ebp - 0x80]
mov ecx, 5
mov eax, 0x4a7e40
call fcn.00409858
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4a7e78
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486dec
test al, al
jne 0x4a76ba
lea edx, [ebp - 0x8c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x8c]
push eax
mov edx, 0x4a7e78
mov eax, dword [ebp - 0x18]
call fcn.00489734
lea edx, [ebp - 0x90]
call fcn.004882cc
mov edx, dword [ebp - 0x90]
pop eax
call fcn.004044cc
mov edx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp byte [esi + 0x41], 0
je 0x4a76cf
mov edx, 0x4a7e94
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a76dc
mov edx, 0x4a7ea4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x4a7de4
mov eax, dword [ebp - 0x18]
call fcn.00489734
call fcn.00486590
dec eax
je 0x4a76fe
mov edx, 0x4a7eb4
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x18]
call fcn.00489894
mov eax, dword [ebp - 0x18]
call fcn.00489720
test al, al
je 0x4a747b
test bl, bl
jne 0x4a7754
cmp byte [esi + 0x41], 0
je 0x4a7747
mov eax, dword [esi + 0x38]
mov edx, 0x4a7ec0
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi + 0x38]
mov edx, 0x4a7ed8
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a7754
mov eax, dword [esi + 0x38]
mov edx, 0x4a7eec
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7779
mov eax, dword [ebp - 0x18]
call fcn.004033d4
mov eax, dword [ebp - 0x1c]
call fcn.004033d4
ret