Function at 0x4a2fb0
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x14]
cmp eax, dword [ecx + 8]
jbe 0x4a36f2
sub esp, 0x94
mov ecx, dword [esp + 0xac]
lea edx, [ecx - 2]
cmp edx, 0x22
ja 0x4a36d9
mov dword [esp + 0x4f], 0
lea edi, [esp + 0x50]
xor eax, eax
call fcn.004645c0
movzx ecx, byte [esp + 0xb0]
test cl, cl
je 0x4a301b
mov edx, dword [esp + 0xa4]
sub eax, edx
mov edx, 0
mov ebx, dword [esp + 0xa8]
sbb edx, ebx
jmp 0x4a3029
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov ebx, dword [esp + 0xac]
cmp ebx, 0xa
jne 0x4a303f
mov ebx, 0x41
jmp 0x4a3444
lea ebp, [ebx - 1]
test ebx, ebp
jne 0x4a3089
mov ebp, ebx
neg ebx
and ebx, ebp
imul ebx, ebx, 0x77cb531
shr ebx, 0x1b
lea esi, [0x78e5c0]
movzx ebx, byte [esi + ebx]
and ebx, 7
mov esi, ebp
sar ebp, 0x1f
mov dword [esp + 0x40], ebp
lea edi, [esi - 1]
mov dword [esp + 0x24], edi
nop
mov dword [esp + 0x44], eax
mov eax, 0x41
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
jmp 0x4a3394
mov ebp, ebx
sar ebx, 0x1f
mov dword [esp + 0x40], ebx
mov esi, 0x41
jmp 0x4a30b4
mov byte [esp + ebp + 0x4e], dl
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0xac]
mov edx, eax
mov eax, ecx
movzx ecx, byte [esp + 0xb0]
mov dword [esp + 0x2c], esi
cmp edx, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebp, eax
xchg ebp, ebx
setbe bl
xchg ebp, ebx
and ebp, esi
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a313b
mov dword [esp + 0x3c], eax
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], ebx
mov ecx, dword [esp + 0xac]
mov dword [esp + 8], ecx
call fcn.0045da10
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0xac]
mul ecx
mov edx, dword [esp + 0x3c]
sub edx, eax
mov eax, dword [esp + 0x14]
cmp edx, 0x24
jae 0x4a3328
mov ebp, dword [esp + 0x2c]
lea esi, [ebp - 1]
lea edi, [0x626b3c]
movzx edx, byte [edi + edx]
cmp esi, 0x41
jb 0x4a3099
jmp 0x4a331c
cmp eax, 0x24
jae 0x4a3312
mov edx, dword [esp + 0x2c]
lea ebx, [edx - 1]
lea ebp, [0x626b3c]
movzx ebp, byte [ebp + eax]
cmp ebx, 0x41
jae 0x4a3306
xchg ebp, eax
mov byte [esp + edx + 0x4e], al
xchg ebp, eax
test cl, cl
je 0x4a317c
lea eax, [ebx - 1]
cmp eax, 0x41
jae 0x4a32fc
mov byte [esp + ebx + 0x4e], 0x2d
jmp 0x4a317e
mov eax, ebx
movzx edx, byte [esp + 0xb1]
test dl, dl
je 0x4a327f
cmp eax, 0x41
ja 0x4a32f2
mov ecx, dword [esp + 0x9c]
mov edx, ecx
sub ecx, eax
add ecx, 0x41
lea ebx, [eax - 0x41]
neg ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea eax, [esp + eax + 0x4f]
mov ebx, dword [esp + 0xa0]
cmp ebx, ecx
jb 0x4a31cb
mov esi, dword [esp + 0x98]
jmp 0x4a321d
mov dword [esp + 0x38], ebp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
lea eax, [0x5f1b20]
mov dword [esp + 0x10], eax
call fcn.0044b300
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x38]
mov esi, eax
mov ebx, edx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x90], esi
mov dword [esp + 0x34], ebx
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00464cc0
mov eax, dword [esp + 0x90]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
add esp, 0x94
ret
cmp eax, 0x41
ja 0x4a32e8
mov dword [esp], 0
lea ecx, [eax - 0x41]
neg ecx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
lea eax, [esp + eax + 0x4f]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0044ef40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], ecx
add esp, 0x94
ret
mov ecx, 0x41
call fcn.00464460
mov ecx, 0x41
call fcn.00464460
mov ecx, 0x41
call fcn.00464400
mov eax, ebx
mov ecx, 0x41
call fcn.00464400
mov ecx, 0x24
call fcn.00464410
mov eax, esi
mov ecx, 0x41
call fcn.00464400
mov eax, edx
mov ecx, 0x24
call fcn.00464410
mov dword [esp + 0x2c], esi
lea ecx, [ebx - 0x20]
mov dword [esp + 0x30], ecx
cmp ecx, 0x20
sbb edx, edx
neg ecx
cmp ecx, 0x20
sbb esi, esi
xchg edi, eax
mov byte [esp + ebp + 0x4e], al
xchg edi, eax
mov ebp, ecx
mov ecx, ebx
shr eax, cl
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
shr edi, cl
and edi, edx
mov ecx, ebp
mov edx, dword [esp + 0x3c]
mov ebp, edx
shl edx, cl
and edx, esi
or eax, edx
or eax, edi
mov ecx, ebx
shr ebp, cl
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x24]
movzx ecx, byte [esp + 0xb0]
mov edx, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
cmp edx, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta dl
cmp esi, eax
xchg esi, ebx
setbe bl
xchg esi, ebx
and esi, ebp
or edx, esi
test dl, dl
je 0x4a33d8
and edi, eax
cmp edi, 0x24
jae 0x4a3422
mov ebp, dword [esp + 0x2c]
lea esi, [ebp - 1]
lea edx, [0x626b3c]
movzx edi, byte [edx + edi]
cmp esi, 0x41
jb 0x4a3334
jmp 0x4a3416
cmp eax, 0x24
jae 0x4a340c
mov edx, dword [esp + 0x2c]
lea ebx, [edx - 1]
lea ebp, [0x626b3c]
movzx ebp, byte [eax + ebp]
cmp ebx, 0x41
jae 0x4a3400
xchg ebp, eax
mov byte [esp + edx + 0x4e], al
xchg ebp, eax
test cl, cl
jmp 0x4a3167
mov eax, ebx
mov ecx, 0x41
call fcn.00464400
mov ecx, 0x24
call fcn.00464410
mov eax, esi
mov ecx, 0x41
call fcn.00464400
mov eax, edi
mov ecx, 0x24
call fcn.00464410
xchg ebp, eax
mov byte [esp + ebx + 0x4e], al
xchg ebp, eax
mov eax, ecx
mov ebx, edx
movzx ecx, byte [esp + 0xb0]
mov edx, dword [esp + 0x20]
cmp eax, 0x3b9aca00
xchg ebp, ebx
setae bl
xchg ebp, ebx
test edx, edx
xchg esi, ebx
sete bl
xchg esi, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
and ebp, esi
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a34f7
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 4], edx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3b9aca00
call fcn.0045da10
mov eax, dword [esp + 0x10]
mov ecx, eax
mov eax, 0x3b9aca00
mul ecx
mov edx, dword [esp + 0x3c]
sub edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0x2c]
mov ebp, 4
jmp 0x4a362d
mov ebp, edx
shl edx, 1
inc edx
cmp edx, 0xc8
jae 0x4a36a1
lea edx, [ebx - 1]
lea esi, [0x62c388]
lea ebp, [esi + ebp*2 + 1]
movzx ebp, byte [ebp]
cmp edx, 0x41
jb 0x4a342e
jmp 0x4a3695
mov byte [esp + ebx + 0x4d], dl
mov edx, dword [esp + 0x3c]
mov ebx, eax
mov eax, edx
cmp eax, 0x64
jb 0x4a3565
mov edx, eax
shr eax, 1
mov ebp, eax
mov eax, 0xa3d70a3e
mov esi, edx
mul ebp
shr edx, 5
imul ebp, edx, 0x64
sub esi, ebp
mov eax, esi
shl eax, 1
lea ebp, [eax + 1]
cmp ebp, 0xc8
jae 0x4a3608
mov dword [esp + 0x3c], edx
lea ebp, [ebx - 1]
lea edi, [0x62c388]
lea edx, [edi + esi*2 + 1]
movzx edx, byte [edx]
cmp ebp, 0x41
jae 0x4a35fc
mov byte [esp + ebx + 0x4e], dl
cmp eax, 0xc8
jae 0x4a35f2
lea eax, [ebx - 2]
lea edx, [edi + esi*2]
movzx edx, byte [edx]
cmp eax, 0x41
jb 0x4a34eb
jmp 0x4a35e8
mov edx, eax
shl eax, 1
lea ebp, [eax + 1]
cmp ebp, 0xc8
jae 0x4a35dc
lea ebp, [ebx - 1]
lea esi, [0x62c388]
lea edi, [esi + edx*2 + 1]
movzx edi, byte [edi]
cmp ebp, 0x41
jae 0x4a35d0
xchg edi, eax
mov byte [esp + ebx + 0x4e], al
xchg edi, eax
cmp edx, 0xa
jb 0x4a35b1
cmp eax, 0xc8
jae 0x4a35c6
lea eax, [ebx - 2]
lea edx, [esi + edx*2]
movzx edx, byte [edx]
cmp eax, 0x41
jae 0x4a35bc
mov byte [esp + ebx + 0x4d], dl
test cl, cl
jmp 0x4a35b5
test cl, cl
mov eax, ebp
mov ebx, eax
jmp 0x4a3167
mov ecx, 0x41
call fcn.00464400
mov ecx, 0xc8
call fcn.00464410
mov eax, ebp
mov ecx, 0x41
call fcn.00464400
mov eax, ebp
mov ecx, 0xc8
call fcn.00464410
mov ecx, 0x41
call fcn.00464400
mov ecx, 0xc8
call fcn.00464410
mov eax, ebp
mov ecx, 0x41
call fcn.00464400
mov eax, ebp
mov ecx, 0xc8
call fcn.00464410
xchg ebp, eax
mov byte [esp + ebx + 0x4d], al
xchg ebp, eax
mov esi, dword [esp + 0x28]
lea ebp, [esi - 1]
mov esi, dword [esp + 0x30]
mov ebx, eax
mov edx, esi
mov eax, dword [esp + 0x20]
test ebp, ebp
jle 0x4a34bb
mov esi, edx
shr edx, 1
mov eax, edx
mov edi, 0xa3d70a3e
mul edi
shr edx, 5
imul edi, edx, 0x64
sub esi, edi
mov eax, esi
shl eax, 1
lea edi, [eax + 1]
cmp edi, 0xc8
jae 0x4a36cd
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], edx
lea edi, [ebx - 1]
lea edx, [0x62c388]
lea ebp, [edx + esi*2 + 1]
movzx ebp, byte [ebp]
cmp edi, 0x41
jae 0x4a36c1
xchg ebp, eax
mov byte [esp + ebx + 0x4e], al
xchg ebp, eax
cmp eax, 0xc8
jae 0x4a36b7
lea eax, [ebx - 2]
lea ebp, [edx + esi*2]
movzx ebp, byte [ebp]
cmp eax, 0x41
jb 0x4a3614
jmp 0x4a36ad
mov eax, edx
mov ecx, 0x41
call fcn.00464400
mov eax, edx
mov ecx, 0xc8
call fcn.00464410
mov ecx, 0x41
call fcn.00464400
mov ecx, 0xc8
call fcn.00464410
mov eax, edi
mov ecx, 0x41
call fcn.00464400
mov eax, edi
mov ecx, 0xc8
call fcn.00464410
lea eax, [0x5f1960]
mov dword [esp], eax
lea eax, [0x66e484]
mov dword [esp + 4], eax
call fcn.00436760
nop
call fcn.00462f70
jmp fcn.004a2fb0