Function at 0x40b950
Capabilities:
Reference sql statements

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40c0c1
sub esp, 0x34
cmp dword [0x7f8b48], 2
je 0x40c0aa
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40c01a
movzx ecx, byte [0x7f8f84]
test cl, cl
je 0x40ba4f
mov ecx, dword [0x7f8f90]
test ecx, ecx
je 0x40b9fb
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x40b9d4
test eax, 7
jne 0x40b9b1
mov ecx, 8
jmp 0x40b9d9
test eax, 3
jne 0x40b9bf
mov ecx, 4
jmp 0x40b9d9
test eax, 1
jne 0x40b9cd
mov ecx, 2
jmp 0x40b9d9
mov ecx, 1
jmp 0x40b9d9
mov ecx, 0x10
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7fb478]
mov dword [esp + 8], eax
call fcn.0040c530
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
add esp, 0x34
ret
movzx ecx, byte [0x7f8e40]
test cl, cl
je 0x40ba4f
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x50]
cmp dword [0x7f8e44], edx
sete dl
mov ecx, dword [ecx + 0x54]
cmp dword [0x7f8e48], ecx
sete cl
and ecx, edx
test cl, cl
je 0x40ba4f
mov ecx, dword [0x7f8e4c]
mov edx, dword [0x7f8e50]
add ecx, 1
adc edx, 0
mov dword [0x7f8e4c], ecx
mov dword [0x7f8e50], edx
mov dword [esp], eax
call fcn.0040c0d0
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [esp + 4]
nop
inc dword [ecx + 0x7c]
mov ecx, dword [eax + 0x18]
test byte [eax], al
mov eax, dword [ecx + 0x6c]
test eax, eax
jne 0x40c094
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
cmp dword [ecx + 0x30], ebx
je 0x40c07e
mov dword [ecx + 0x6c], 1
mov ebx, dword [ecx + 0x58]
test ebx, ebx
je 0x40baa8
mov ebx, dword [ebx + 0x30]
jmp 0x40baae
mov ebx, dword [0x7f8b5c]
test ebx, ebx
je 0x40c068
mov ebp, dword [esp + 0x3c]
test ebp, ebp
je 0x40bacc
mov esi, dword [ebp + 4]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
jmp 0x40bad1
mov esi, 1
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], ebx
xchg esi, eax
mov byte [esp + 0x16], al
xchg esi, eax
mov edi, dword [esp + 0x38]
cmp edi, 0x8000
ja 0x40bd29
xchg esi, eax
test al, al
xchg esi, eax
je 0x40bc16
cmp edi, 0x10
jae 0x40bc16
mov eax, dword [ebx + 0xc]
test edi, 7
jne 0x40bb19
add eax, 7
and eax, 0xfffffff8
jmp 0x40bb43
cmp edi, 0xc
jne 0x40bb26
add eax, 7
and eax, 0xfffffff8
jmp 0x40bb43
test edi, 3
jne 0x40bb36
add eax, 3
and eax, 0xfffffffc
jmp 0x40bb43
test edi, 1
jne 0x40bb43
nop
inc eax
and eax, 0xfffffffe
lea edx, [eax + edi]
cmp edx, 0x10
ja 0x40bb94
mov ebp, dword [ebx + 8]
test ebp, ebp
je 0x40bb94
add eax, ebp
mov dword [ebx + 0xc], edx
inc dword [ebx + 0x10]
mov dword [ecx + 0x6c], 0
nop
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov ebx, dword [ecx + 0x7c]
lea ebp, [ebx - 1]
mov dword [ecx + 0x7c], ebp
cmp ebx, 1
jne 0x40bb8c
movzx ecx, byte [edx + 0x65]
test cl, cl
je 0x40bb8c
mov dword [edx + 8], 0xfffffade
mov dword [esp + 0x44], eax
add esp, 0x34
ret
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp], eax
call fcn.0040b620
mov eax, dword [esp + 4]
test eax, eax
je 0x40bbb3
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x40bbd1
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov byte [esp + 4], 5
call fcn.0040b730
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
cmp dword [ebp + 0xc], ebx
ja 0x40bc00
mov esi, dword [ebp + 8]
test esi, esi
jne 0x40bc0a
mov esi, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], ebx
jmp 0x40bc0c
mov esi, eax
mov eax, 0x10
jmp 0x40bd22
cmp edi, 0x3f8
ja 0x40bc3b
lea eax, [edi + 7]
shr eax, 3
cmp eax, 0x81
jae 0x40c05e
lea edx, [0x790920]
movzx edx, byte [edx + eax]
jmp 0x40bc60
lea eax, [edi - 0x381]
shr eax, 7
cmp eax, 0xf9
jae 0x40c054
lea ebp, str._______________________....______0001123333333333444444444455666677777888888888889999999999::::::___________________________________________________________________________AAAAAAAAAAAAAAAAAAAAABBBBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
movzx ebp, byte [ebp + eax]
mov edx, ebp
mov ebp, dword [esp + 0x3c]
movzx eax, dl
cmp eax, 0x44
jae 0x40c04a
lea ebp, [0x790a60]
movzx ebp, word [ebp + eax*2]
nop
shl edx, 1
xchg esi, eax
movzx edi, al
xchg esi, eax
or edx, edi
movzx edi, dl
cmp edi, 0x88
jae 0x40c03e
mov byte [esp + 0x14], dl
mov dword [esp + 0x24], ebp
mov eax, dword [ebx + edi*4 + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp], eax
call fcn.0040b620
mov eax, dword [esp + 4]
test eax, eax
je 0x40bcb8
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x40bcda
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
movzx ecx, byte [esp + 0x14]
mov byte [esp + 4], cl
call fcn.0040b730
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x10]
movzx ebx, byte [esp + 0x40]
test bl, bl
je 0x40bd14
movzx ebx, byte [ecx + 0x3c]
test bl, bl
je 0x40bd14
mov dword [esp + 0x2c], eax
mov byte [esp + 0x15], dl
mov dword [esp + 0x20], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
call fcn.00464af0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
movzx edx, byte [esp + 0x15]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x24]
xor edi, edi
jmp 0x40bdc4
mov dword [esp], ebx
mov dword [esp + 4], edi
xchg esi, eax
mov byte [esp + 8], al
xchg esi, eax
call fcn.00413e20
mov eax, dword [esp + 0xc]
mov dword [eax + 0x18], 1
mov word [eax + 0x38], 1
mov ecx, dword [eax + 0x40]
mov edx, dword [eax + 0xc]
movzx ebx, byte [esp + 0x40]
test bl, bl
je 0x40bda2
movzx ebx, byte [eax + 0x3c]
test bl, bl
je 0x40bd99
movzx ebx, byte [esp + 0x16]
test bl, bl
jne 0x40bd95
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00464af0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
movzx ebx, byte [esp + 0x16]
mov ebp, ebx
jmp 0x40bda9
movzx ebp, byte [esp + 0x16]
xor ebx, ebx
jmp 0x40bda9
movzx ebp, byte [esp + 0x16]
xor ebx, ebx
mov ebp, dword [esp + 0x1c]
mov edi, ebx
mov esi, edx
mov ebx, dword [esp + 0x38]
mov edx, 1
mov ebx, ecx
mov ecx, eax
mov eax, ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], eax
mov byte [esp + 0x15], dl
xchg edi, eax
mov byte [esp + 0x17], al
xchg edi, eax
mov dword [esp + 0x18], ecx
movzx edx, byte [esp + 0x16]
test dl, dl
jne 0x40be2b
mov dword [esp], esi
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], edx
call fcn.00412ec0
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x38]
cmp edx, ecx
jbe 0x40be1f
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x40be19
mov ebp, edx
sub edx, ecx
lea ecx, [edx + ebx]
jmp 0x40be24
mov ebp, edx
xor ecx, ecx
jmp 0x40be24
mov ecx, dword [eax + 4]
mov ebp, edx
mov edx, dword [esp + 0x1c]
add dword [edx + 4], ecx
call fcn.00463ff0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x58], ecx
mov ecx, dword [0x7f8b48]
test ecx, ecx
je 0x40be5c
mov ecx, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.0041ea70
mov eax, dword [0x78d310]
test eax, eax
jle 0x40bea1
cmp eax, 1
je 0x40be7f
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x24]
cmp edx, ecx
jae 0x40be83
sub ecx, edx
mov dword [eax], ecx
jmp 0x40bea5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040c2c0
mov edx, dword [esp + 0x24]
jmp 0x40bea5
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [eax + 0x6c], 0
nop
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ebx, dword [eax + 0x7c]
lea ebp, [ebx - 1]
mov dword [eax + 0x7c], ebp
cmp ebx, 1
jne 0x40bedb
movzx eax, byte [ecx + 0x65]
test al, al
je 0x40bedb
mov dword [ecx + 8], 0xfffffade
movzx eax, byte [esp + 0x17]
test al, al
je 0x40bf05
movzx eax, byte [esp + 0x16]
test al, al
je 0x40c028
mov dword [esp], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.0040c150
mov edx, dword [esp + 0x24]
movzx eax, byte [0x7f8f84]
test al, al
je 0x40bf89
mov eax, dword [0x7f8f88]
test eax, eax
je 0x40bf36
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0042efc0
mov edx, dword [esp + 0x24]
movzx eax, byte [0x7f8e40]
test al, al
je 0x40bf89
mov eax, dword [0x7f8e48]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp dword [ecx + 0x54], eax
sete al
mov ebx, dword [0x7f8e44]
cmp dword [ecx + 0x50], ebx
sete cl
and ecx, eax
test cl, cl
je 0x40bf89
mov eax, dword [0x7f8e54]
mov ecx, dword [0x7f8e58]
add eax, edx
adc ecx, 0
mov dword [0x7f8e54], eax
mov dword [0x7f8e58], ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x40bfb4
mov ecx, dword [eax + 0xe8]
mov ebx, dword [eax + 0xec]
mov ebp, dword [esp + 0x38]
sub edx, ebp
sub ecx, edx
sbb ebx, 0
mov dword [eax + 0xe8], ecx
mov dword [eax + 0xec], ebx
movzx eax, byte [esp + 0x15]
test al, al
je 0x40c00e
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
call fcn.00416970
movzx eax, byte [esp + 0x10]
test al, al
je 0x40c00e
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 0
call fcn.00416ae0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
add esp, 0x34
ret
lea eax, [0x7f8bcc]
mov dword [esp + 0x44], eax
add esp, 0x34
ret
lea eax, [0x629c59]
mov dword [esp], eax
mov dword [esp + 4], 0x31
call fcn.00436e90
mov eax, edi
mov ecx, 0x88
call fcn.00464400
mov ecx, 0x44
call fcn.00464400
mov ecx, 0xf9
call fcn.00464410
mov ecx, 0x81
call fcn.00464410
lea eax, [0x62a4c3]
mov dword [esp], eax
mov dword [esp + 4], 0x34
call fcn.00436e90
lea eax, [0x6204c8]
mov dword [esp], eax
mov dword [esp + 4], 0x14
call fcn.00436e90
lea eax, [0x61e096]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00436e90
lea eax, [0x62a098]
mov dword [esp], eax
mov dword [esp + 4], 0x32
call fcn.00436e90
nop
call fcn.00462f70
jmp fcn.0040b950