Function at 0x497b80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
mov ebx, ecx
mov dword [ebp - 8], 0
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebx]
xor edx, edx
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0xcc], 0
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xe8], ecx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xd8], edx
mov al, byte [eax + 0x49]
mov byte [ebp - 0xd0], al
xor eax, eax
cmp dword [ebx + 0x64], 7
mov dword [ebp - 0xe4], eax
je 0x49c2d4
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x2c], eax
mov dword [edi + 0x198], eax
cmp dword [edi + 0xd8], eax
jne 0x49c5d5
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
cmp byte [edi + 0x1e], 0
jne 0x49c2d4
mov ecx, dword [ebp - 4]
lea esi, [eax + eax*4]
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0xd4], edi
mov eax, dword [ecx + 0xf8]
test eax, eax
je 0x497c5a
cmp dword [ecx + 0x100], edx
jne 0x497c53
push dword [ecx + 0xfc]
call eax
add esp, 4
test eax, eax
jne 0x49c5f9
xor edx, edx
inc edx
mov dword [ebp - 0xd8], edx
movzx eax, byte [edi + esi*4]
mov cl, byte [eax + 0x521158]
test cl, 2
je 0x497c95
mov eax, dword [edi + esi*4 + 8]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.00494260
mov edx, dword [ebp - 0x14]
mov eax, 1
mov word [edx + 0x1c], ax
mov dword [edx + 0x18], 0
jmp 0x497d09
mov dl, cl
and dl, 8
test cl, 4
je 0x497cef
mov eax, dword [edi + esi*4 + 4]
mov ebx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [ebp - 0x18], eax
test dl, dl
je 0x497cd5
mov eax, dword [edi + esi*4 + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + esi*4 + 0xc]
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov dword [ebp - 0x14], edx
mov ebx, dword [ebp - 0x10]
jmp 0x497d09
mov edx, dword [ebp - 0x14]
test cl, 0x10
je 0x497cd0
mov eax, dword [edi + esi*4 + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ebx + eax*8]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
jmp 0x497d0c
test dl, dl
je 0x497d2a
mov eax, dword [edi + esi*4 + 8]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xcc], eax
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
movzx eax, byte [edi + esi*4]
dec eax
cmp eax, 0x90
ja case.0x497d23.10
movzx eax, byte [eax + 0x49c7ac]
jmp dword [eax*4 + 0x49c61c]
test cl, 0x10
je 0x497d06
mov eax, dword [edi + esi*4 + 0xc]
mov edx, dword [ebp - 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea ecx, [eax + ecx*8]
mov dword [ebp - 0x1c], ecx
jmp 0x497d0c
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xd8], 0
jne 0x49c5cf
mov edx, dword [edi + esi*4 + 8]
mov edi, ecx
mov eax, dword [ebp - 8]
dec edx
jmp 0x497e55
mov eax, dword [edi + esi*4 + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea ecx, [eax + ecx*8]
mov eax, 4
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0x18], ecx
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x497e55
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 4]
mov edx, dword [eax]
mov eax, dword [ebp - 8]
jmp 0x497e55
mov ecx, dword [ebp - 0x18]
mov eax, 4
mov edi, dword [ebp - 4]
mov word [ecx + 0x1c], ax
mov eax, dword [ecx]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc]
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc8]
jmp 0x497e55
test byte [ecx + 0x1c], 1
je case.0x497d23.10
mov eax, dword [edi + esi*4 + 4]
test eax, eax
jne 0x49c27c
mov ebx, dword [ebx + 0xdc]
test ebx, ebx
je 0x49c27c
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x3c]
dec dword [ecx + 0xe0]
mov edx, dword [ecx + 0x74]
mov dword [ecx + 0xdc], eax
mov ecx, dword [ebp - 4]
call fcn.004970f0
mov ecx, ebx
call fcn.00495c40
cmp dword [edi + esi*4 + 8], 4
mov edx, eax
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
jne 0x497e31
mov eax, dword [ebx + 0x14]
lea ecx, [edx + edx*4]
mov edx, dword [eax + ecx*4 + 8]
dec edx
mov eax, dword [ebp - 8]
jmp 0x497e55
mov ecx, dword [ebp - 0x14]
mov eax, 4
mov word [edx + 0x1c], ax
mov eax, dword [edi + esi*4 + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
inc edx
mov dword [ebp - 0xc], edx
test eax, eax
jne 0x49c5a5
mov eax, edx
mov edx, dword [ebp - 0xd8]
jmp 0x497c10
mov eax, 4
mov word [edx + 0x1c], ax
mov eax, dword [edi + esi*4 + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edx], ecx
mov dword [edx + 4], eax
jmp case.0x497d23.10
mov eax, 8
mov word [edx + 0x1c], ax
mov eax, dword [edi + esi*4 + 0x10]
movsd xmm0, qword [eax]
movsd qword [edx + 8], xmm0
jmp case.0x497d23.10
mov ecx, dword [edi + esi*4 + 0x10]
mov byte [edi + esi*4], 9
call fcn.00488ee0
cmp byte [ebp - 0xd0], 1
mov dword [edi + esi*4 + 4], eax
je 0x497f3d
push 0
push 1
mov edx, ecx
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
call fcn.004947d0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0x12
je 0x49c4c0
movzx edx, byte [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call fcn.00493f30
test eax, eax
jne 0x49c2d1
mov edx, dword [ebp - 0x14]
mov ecx, 0xfbff
mov dword [edx + 0x24], eax
mov ax, word [edx + 0x1c]
and ax, cx
mov ecx, 0x800
or ax, cx
mov word [edx + 0x1c], ax
cmp byte [edi + esi*4 + 1], 0xff
jne 0x497f2a
push dword [edi + esi*4 + 0x10]
push dword [ebp - 4]
call fcn.00487140
mov edx, dword [ebp - 0x14]
add esp, 8
mov byte [edi + esi*4 + 1], 0xff
mov eax, dword [edx + 0x14]
mov dword [edi + esi*4 + 0x10], eax
mov eax, dword [edx + 0x18]
mov dword [edi + esi*4 + 4], eax
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 0x48]
jg 0x49c4b9
mov eax, 0xa02
mov word [edx + 0x1c], ax
mov eax, dword [edi + esi*4 + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [edi + esi*4 + 4]
mov dword [edx + 0x18], eax
mov al, byte [ebp - 0xd0]
mov byte [edx + 0x1f], al
jmp case.0x497d23.10
mov edx, dword [edi + esi*4 + 0x10]
push 0
push 0
push dword [edi + esi*4 + 4]
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.004947d0
mov al, byte [ebp - 0xd0]
add esp, 0xc
mov byte [esi + 0x1f], al
jmp case.0x497d23.10
mov edx, dword [edi + esi*4 + 4]
dec edx
mov dword [ebp - 0xc8], edx
mov ebx, dword [edi + esi*4 + 8]
mov dword [ebp - 0xc4], ebx
mov eax, dword [edi + esi*4 + 0xc]
test eax, eax
jle 0x49802f
mov esi, dword [ebp - 0x10]
dec eax
lea ecx, [edx + edx*4]
mov dword [ebp - 0xc0], eax
inc edx
mov eax, dword [esi + 0x48]
mov dword [ebp - 0xc8], edx
lea ecx, [eax + ecx*8]
mov dword [ebp - 0xbc], ecx
call fcn.004946a0
test eax, eax
jne 0x49c4c3
mov eax, dword [esi + 0x58]
lea ecx, [ebx + ebx*4]
inc ebx
mov dword [ebp - 0xc4], ebx
lea edi, [eax + ecx*8]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00494260
mov eax, 1
mov ecx, edi
mov word [edi + 0x1c], ax
mov edx, dword [ebp - 0xbc]
push 0x800
call fcn.004946d0
mov eax, dword [ebp - 0xc0]
add esp, 4
test eax, eax
jle 0x49802f
mov ebx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc8]
jmp 0x497fb5
dec eax
mov dword [ebp - 0xc0], eax
mov ebx, dword [ebp - 0x10]
jmp case.0x497d23.10
mov ebx, dword [edi + esi*4 + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc4], ebx
mov eax, dword [edi + esi*4 + 4]
mov dword [ebp - 0xc0], eax
mov edx, dword [edi + esi*4 + 8]
mov ecx, dword [ecx + 0x58]
mov dword [ebp - 0xbc], edx
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov dword [ebp - 0x18], esi
lea eax, [edx + edx*4]
lea edi, [ecx + eax*8]
mov dword [ebp - 0x14], edi
test ebx, ebx
je 0x4980bf
nop dword [eax + eax]
dec ebx
mov edx, esi
mov dword [ebp - 0xc4], ebx
mov ecx, edi
mov eax, dword [edi + 0x24]
mov dword [ebp - 0xc8], eax
mov dword [edi + 0x24], 0
call fcn.00494790
mov eax, dword [ebp - 0xc8]
add edi, 0x28
mov dword [esi + 0x24], eax
add esi, 0x28
mov ebx, dword [ebp - 0xc4]
test ebx, ebx
jne 0x498080
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
dec ebx
mov dword [ebp - 0xc4], ebx
mov ebx, dword [ebp - 0x10]
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 8]
mov edx, dword [ebp - 0x18]
push 0x1000
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea edi, [eax + ecx*8]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004946d0
mov eax, 0x1000
add esp, 4
test word [edi + 0x1c], ax
je case.0x497d23.10
mov ecx, edi
call fcn.00494030
mov edi, dword [ebp - 4]
test eax, eax
jne 0x49c2d4
mov eax, dword [ebp - 8]
jmp 0x497e52
mov eax, dword [edi + esi*4 + 8]
mov edx, dword [ebp - 0x18]
push 0x1000
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.004946d0
add esp, 4
jmp case.0x497d23.10
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0xcc]
movzx ecx, word [esi + 0x1c]
mov al, byte [edi + 0x1c]
or al, cl
test al, 1
je 0x498162
mov ecx, edx
call fcn.00494540
jmp case.0x497d23.10
test ecx, 0x4000
je 0x498179
mov ecx, esi
call fcn.00494090
test eax, eax
jne 0x49c2d1
mov eax, 0x4000
test word [edi + 0x1c], ax
je 0x498193
mov ecx, edi
call fcn.00494090
test eax, eax
jne 0x49c2d1
test byte [esi + 0x1c], 0x12
movzx esi, byte [ebp - 0xd0]
jne 0x4981b2
mov ecx, dword [ebp - 0x18]
mov edx, esi
call fcn.00494140
test eax, eax
jne 0x49c2d1
test byte [edi + 0x1c], 0x12
jne 0x4981c9
mov edx, esi
mov ecx, edi
call fcn.00494140
test eax, eax
jne 0x49c2d1
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x18]
add ecx, dword [edi + 0x18]
mov edi, dword [ebp - 4]
mov eax, ecx
cdq
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
cmp ecx, dword [edi + 0x48]
jg 0x49c4b0
mov edi, dword [ebp - 0x14]
mov ecx, 0xbf02
mov ax, word [edi + 0x1c]
and ax, cx
mov ecx, edi
or ax, 2
mov word [edi + 0x1c], ax
xor eax, eax
mov edx, dword [ebp - 0xc8]
cmp edi, dword [ebp - 0xcc]
sete al
push eax
lea edx, [edx + 2]
call fcn.00493f50
add esp, 4
test eax, eax
jne 0x49c2d1
mov eax, dword [ebp - 0xcc]
cmp edi, eax
je 0x49824c
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [edi + 0x14]
call fcn.004d2ab0
mov eax, dword [ebp - 0xcc]
add esp, 0xc
push dword [esi + 0x18]
mov eax, dword [eax + 0x18]
push dword [esi + 0x14]
add eax, dword [edi + 0x14]
push eax
call fcn.004d2ab0
mov eax, dword [ebp - 0xc8]
add esp, 0xc
mov ecx, dword [edi + 0x14]
mov byte [eax + ecx], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edi + 0x14]
mov byte [ecx + eax + 1], 0
mov eax, 0x200
or word [edi + 0x1c], ax
mov eax, dword [ebp - 0xc8]
mov dword [edi + 0x18], eax
mov al, byte [ebp - 0xd0]
mov byte [edi + 0x1f], al
jmp case.0x497d23.10
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00497a70
mov ecx, dword [ebp - 0xcc]
call fcn.00497a70
mov edx, dword [ebp - 0xcc]
movzx eax, word [ebx + 0x1c]
movzx ecx, word [edx + 0x1c]
or ecx, eax
mov dword [ebp - 0xc8], ecx
test cl, 1
jne 0x498525
mov al, byte [ebx + 0x1c]
and al, byte [edx + 0x1c]
test al, 4
je 0x4983e6
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov ebx, dword [ebp - 0xcc]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], edx
mov eax, dword [ebx]
mov ebx, dword [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], ebx
movzx eax, byte [edi + esi*4]
add eax, 0xffffffaa
cmp eax, 3
ja case.default.0x498315
jmp dword [eax*4 + 0x49c840]
add ecx, dword [ebp - 0x20]
adc edx, ebx
jmp 0x4983b6
mov eax, dword [ebp - 0x20]
sub eax, ecx
sbb ebx, edx
mov edx, ebx
jmp 0x4983b4
mov eax, dword [ebp - 0x20]
push ebx
push eax
push edx
push ecx
call fcn.004bb720
jmp 0x4983b4
mov eax, ecx
or eax, edx
je 0x498525
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x20]
jne 0x498377
test eax, eax
jne 0x498377
cmp ebx, 0x80000000
jne 0x498377
mov ecx, 1
xor edx, edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], edx
push edx
push ecx
push ebx
push eax
call fcn.004f67b0
jmp 0x4983b4
mov eax, ecx
or eax, edx
je 0x498525
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4983a8
mov ecx, 1
xor edx, edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x20]
push edx
push ecx
push ebx
push eax
call fcn.004f6860
mov ecx, eax
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xb4], edx
mov dword [esi], ecx
mov ax, word [esi + 0x1c]
mov ecx, 0xbf04
mov ebx, dword [ebp - 0x10]
and ax, cx
or ax, 4
mov dword [esi + 4], edx
mov word [esi + 0x1c], ax
jmp case.0x497d23.10
mov ecx, ebx
call fcn.004943b0
mov ecx, dword [ebp - 0xcc]
movsd qword [ebp - 0xb0], xmm0
call fcn.004943b0
movsd qword [ebp - 0xa8], xmm0
movzx eax, byte [edi + esi*4]
add eax, 0xffffffaa
movsd qword [ebp - 0xe0], xmm0
cmp eax, 3
ja case.default.0x49841c
jmp dword [eax*4 + 0x49c850]
addsd xmm0, qword [ebp - 0xb0]
jmp 0x4984d4
subsd xmm0, qword [ebp - 0xb0]
jmp 0x4984d4
mulsd xmm0, qword [ebp - 0xb0]
jmp 0x4984d4
movsd xmm1, qword [ebp - 0xb0]
ucomisd xmm1, qword [0x525a60]
lahf
test ah, 0x44
jnp 0x498525
divsd xmm0, xmm1
jmp 0x4984d4
movsd xmm0, qword [ebp - 0xb0]
call fcn.004f6d90
movsd xmm0, qword [ebp - 0xe0]
mov esi, eax
mov edi, edx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], edi
call fcn.004f6d90
mov ecx, esi
mov dword [ebp - 0xb4], edx
or ecx, edi
mov ebx, eax
mov dword [ebp - 0xb8], ebx
je 0x498525
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x4984c4
mov esi, 1
xor edi, edi
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], edi
push edi
push esi
push edx
push ebx
call fcn.004f6860
mov ecx, eax
call fcn.004f6ea0
movsd qword [ebp - 0xa8], xmm0
call fcn.00488ea0
test eax, eax
jne 0x498525
mov edi, dword [ebp - 0x14]
mov ecx, 0xbf08
movsd xmm0, qword [ebp - 0xa8]
mov ax, word [edi + 0x1c]
and ax, cx
movsd qword [edi + 8], xmm0
or ax, 8
mov word [edi + 0x1c], ax
test byte [ebp - 0xc8], 8
jne 0x498036
mov ecx, edi
call fcn.00494430
mov ebx, dword [ebp - 0x10]
jmp case.0x497d23.10
mov ecx, dword [ebp - 0x14]
call fcn.00494540
mov ebx, dword [ebp - 0x10]
jmp case.0x497d23.10
mov cl, byte [edi + esi*4 + 3]
mov ebx, dword [ebx + 0x24]
movzx eax, cl
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x80], ebx
mov edx, dword [eax + 0x58]
mov eax, dword [edi + esi*4 + 8]
mov dword [ebp - 0xd4], edx
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
xor eax, eax
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc8], eax
test cl, cl
je 0x4985ac
nop dword [eax]
mov dword [ebx + eax*4], edx
mov ecx, dword [ebp - 0xc4]
call fcn.00497960
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc4]
inc eax
add edx, 0x28
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
cmp eax, dword [ebp - 0x7c]
jge 0x4985a4
mov ebx, dword [ebp - 0x80]
jmp 0x498570
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x58]
jmp 0x4985b5
mov ecx, dword [ebp - 0xd4]
mov ebx, dword [ebp - 0x10]
cmp byte [edi + esi*4 + 1], 0xfb
mov eax, dword [edi + esi*4 + 0x10]
jne 0x4985cc
mov dword [ebp - 0xbc], 0
jmp 0x4985d4
mov dword [ebp - 0xbc], eax
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov eax, dword [edi + esi*4 + 0xc]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, 1
mov word [ebp - 0x9c], cx
mov edx, eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x14], eax
call fcn.00494790
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc0]
and eax, 0xbf01
or eax, 1
mov dword [ebp - 0x8c], 0
mov word [ebp - 0x9c], ax
test byte [ecx + 3], 8
je 0x498652
mov eax, dword [edi + esi*4 - 4]
mov dword [ebp - 0x88], eax
push dword [ebp - 0x80]
lea eax, [ebp - 0xc0]
push dword [ebp - 0x7c]
push eax
mov eax, dword [ecx + 0xc]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
cmp byte [eax + 0x1e], 0
jne 0x49c2c6
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x498696
mov edx, dword [edi + esi*4 + 4]
call fcn.00496660
mov eax, dword [ebp - 0xbc]
mov dword [edi + esi*4 + 0x10], eax
mov byte [edi + esi*4 + 1], 0xf9
cmp dword [ebp - 0x8c], 0
je 0x4986cf
lea eax, [ebp - 0xb8]
push eax
call fcn.004972c0
mov edi, dword [ebp - 4]
add esp, 4
push eax
push 0x523618
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004874e0
mov eax, dword [ebp - 0x8c]
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x4986d2
mov edi, dword [ebp - 4]
movzx edx, byte [ebp - 0xd0]
lea ecx, [ebp - 0xb8]
call fcn.00493f30
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xb8]
call fcn.00494790
mov ecx, dword [ebp - 0x14]
call fcn.004946a0
test eax, eax
jne 0x49c4b0
mov eax, dword [ebp - 8]
jmp 0x497e52
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x18]
mov al, byte [eax + 0x1c]
or al, byte [ecx + 0x1c]
test al, 1
je 0x498729
mov ecx, edx
call fcn.00494540
jmp case.0x497d23.10
mov ecx, dword [ebp - 0xcc]
call fcn.00494330
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
call fcn.00494330
mov ebx, eax
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xc0], ebx
movzx ecx, byte [edi + esi*4]
sub ecx, 0x52
je 0x4987ee
sub ecx, 1
je 0x4987c4
sub ecx, 1
je 0x498796
mov eax, dword [ebp - 0xc8]
mov ecx, ebx
mov edx, dword [ebp - 0xc4]
call fcn.004f6cf0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov dword [esi], eax
jmp 0x4983c7
movq xmm1, qword [ebp - 0xc8]
mov esi, dword [ebp - 0x14]
movd xmm0, ebx
psllq xmm1, xmm0
movq qword [ebp - 0xc8], xmm1
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
mov dword [esi], eax
jmp 0x4983c7
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc4]
or eax, ebx
mov esi, dword [ebp - 0x14]
or edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov dword [esi], eax
jmp 0x4983c7
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc4]
and eax, ebx
mov esi, dword [ebp - 0x14]
and edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov dword [esi], eax
jmp 0x4983c7
mov ecx, dword [ebp - 0x18]
call fcn.00494480
mov eax, dword [edi + esi*4 + 8]
mov ecx, dword [ebp - 0x18]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
jmp case.0x497d23.10
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x18]
mov dl, 0x63
call fcn.00497b00
mov ecx, dword [ebp - 0x18]
add esp, 4
movzx eax, word [ecx + 0x1c]
test al, 4
jne 0x49886a
mov eax, dword [edi + esi*4 + 8]
test eax, eax
je 0x49c304
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x497e55
and eax, 0xbf04
or eax, 4
mov word [ecx + 0x1c], ax
jmp case.0x497d23.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 4
je case.0x497d23.10
mov ecx, esi
call fcn.004944b0
jmp case.0x497d23.10
mov esi, dword [ebp - 0x18]
movzx ecx, word [esi + 0x1c]
test cl, 1
jne case.0x497d23.10
push dword [ebp - 0xd0]
mov eax, ecx
mov dl, 0x61
shr eax, 3
and eax, 2
or eax, ecx
mov ecx, esi
mov word [esi + 0x1c], ax
call fcn.00497b00
mov eax, 0x4000
add esp, 4
test word [esi + 0x1c], ax
je 0x4988e7
mov ecx, esi
call fcn.00494090
mov dword [ebp - 8], eax
mov eax, 0xbfe3
and word [esi + 0x1c], ax
jmp case.0x497d23.10
mov eax, 0xbfe3
mov dword [ebp - 8], 0
and word [esi + 0x1c], ax
jmp case.0x497d23.10
mov esi, dword [ebp - 0x18]
movzx eax, word [esi + 0x1c]
test al, 1
jne case.0x497d23.10
test al, 0x10
jne 0x49893a
push dword [ebp - 0xd0]
mov dl, 0x61
mov ecx, esi
call fcn.00497b00
mov ax, word [esi + 0x1c]
mov ecx, 0xbf10
and ax, cx
add esp, 4
or ax, 0x10
mov word [esi + 0x1c], ax
jmp case.0x497d23.10
and eax, 0xff10
mov word [esi + 0x1c], ax
jmp case.0x497d23.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 0xd
jne case.0x497d23.10
mov ecx, esi
call fcn.004944e0
jmp case.0x497d23.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 1
jne case.0x497d23.10
mov ecx, esi
call fcn.00494480
jmp case.0x497d23.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 1
jne case.0x497d23.10
mov ecx, esi
call fcn.004944b0
jmp case.0x497d23.10
mov eax, dword [ebp - 0x18]
movzx edx, word [ecx + 0x1c]
movzx ecx, word [eax + 0x1c]
mov al, dl
or al, cl
test al, 1
je 0x4989ff
mov al, byte [edi + esi*4 + 3]
test al, al
jns 0x4989ba
and edx, ecx
not edx
and edx, 1
jmp 0x498a83
test al, 0x10
je 0x4989e7
mov eax, dword [edi + esi*4 + 8]
mov edx, 0xbf01
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea ecx, [eax + ecx*8]
mov ax, word [ecx + 0x1c]
and ax, dx
mov dword [ebp - 0x14], ecx
or ax, 1
mov word [ecx + 0x1c], ax
jmp case.0x497d23.10
test al, 8
mov eax, dword [ebp - 8]
je 0x497e4f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x497e55
mov dl, byte [edi + esi*4 + 3]
and dl, 0x67
mov byte [ebp - 0xc4], dl
je 0x498a43
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x18]
call fcn.00497b00
mov dl, byte [ebp - 0xc4]
add esp, 4
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0xd0]
call fcn.00497b00
mov eax, dword [ebp - 4]
add esp, 4
cmp byte [eax + 0x1e], 0
jne 0x49c613
mov eax, dword [ebp - 0x18]
mov ecx, 0x4000
test word [eax + 0x1c], cx
je 0x498a5d
mov ecx, eax
call fcn.00494090
mov ecx, 0x4000
mov eax, dword [ebp - 0x1c]
test word [eax + 0x1c], cx
je 0x498a70
mov ecx, eax
call fcn.00494090
mov eax, dword [ebp - 0x1c]
push dword [edi + esi*4 + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, eax
call fcn.00494960
add esp, 4
mov edx, eax
mov dword [ebp - 0xc8], edx
movzx ecx, byte [edi + esi*4]
add ecx, 0xffffffb5
cmp ecx, 4
ja case.default.0x498a95
jmp dword [ecx*4 + 0x49c860]
xor eax, eax
test edx, edx
sete al
jmp 0x498acb
xor eax, eax
test edx, edx
setne al
jmp 0x498acb
mov eax, edx
jmp 0x498ac8
xor eax, eax
test edx, edx
setle al
jmp 0x498acb
xor eax, eax
test edx, edx
setg al
jmp 0x498acb
mov eax, edx
not eax
shr eax, 0x1f
mov dword [ebp - 0xc8], eax
test byte [edi + esi*4 + 3], 0x10
je 0x498e26
mov eax, dword [edi + esi*4 + 8]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea esi, [eax + ecx*8]
mov ecx, 0xbf04
mov ax, word [esi + 0x1c]
and ax, cx
mov dword [ebp - 0x14], esi
or ax, 4
mov word [esi + 0x1c], ax
mov eax, dword [ebp - 0xc8]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xe4], eax
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 0xc]
xor edx, edx
mov dword [ebp - 0xc8], eax
mov ebx, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xb8], ebx
mov ecx, dword [edi + esi*4 + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0xc0], ecx
mov ecx, dword [edi + esi*4 + 8]
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc4], edx
test eax, eax
jle 0x498c14
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x498b70
mov edi, dword [eax + edx*4]
jmp 0x498b72
mov edi, edx
mov dword [ebp - 0xb4], edi
mov ecx, dword [ebx + edx*4 + 0xc]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebx + 8]
mov ebx, dword [ebp - 0x10]
push ecx
movzx eax, byte [eax + edx]
mov esi, dword [ebx + 0x58]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xd4]
add eax, edi
lea eax, [eax + eax*4]
lea edx, [esi + eax*8]
mov eax, dword [ebp - 0x20]
add eax, edi
lea eax, [eax + eax*4]
lea ecx, [esi + eax*8]
call fcn.00494960
add esp, 4
mov dword [ebp - 0xe8], eax
test eax, eax
jne 0x498bf6
mov edx, dword [ebp - 0xc4]
inc edx
mov dword [ebp - 0xc4], edx
cmp edx, dword [ebp - 0xc8]
jge 0x498c17
mov esi, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xc0]
mov ebx, dword [ebp - 0xb8]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0x20], ecx
jmp 0x498b61
cmp dword [ebp - 0xac], 0
je 0x498c17
neg eax
mov dword [ebp - 0xe8], eax
xor eax, eax
mov dword [ebp - 0xe4], eax
jmp case.0x497d23.10
mov ebx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0xe4], eax
jmp case.0x497d23.10
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
jns 0x498c40
mov eax, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x497e55
jne 0x498c54
mov eax, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x497e55
mov eax, dword [edi + esi*4 + 0xc]
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x497e55
mov eax, dword [ebp - 0x18]
test byte [eax + 0x1c], 1
je 0x498c76
mov ecx, 2
jmp 0x498c8a
mov ecx, eax
call fcn.00494330
or eax, edx
je 0x498c88
mov ecx, 1
jmp 0x498c8a
xor ecx, ecx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], ecx
test byte [eax + 0x1c], 1
je 0x498ca3
mov eax, 2
jmp 0x498cbd
mov ecx, eax
call fcn.00494330
or eax, edx
mov ecx, dword [ebp - 0xc8]
je 0x498cbb
mov eax, 1
jmp 0x498cbd
xor eax, eax
mov dword [ebp - 0xc4], eax
lea eax, [eax + ecx*2]
cmp byte [edi + esi*4], 0x45
jne 0x498cd6
movzx eax, byte [ecx + eax + 0x51f258]
jmp 0x498cde
movzx eax, byte [ecx + eax + 0x51e7c8]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0xc8], eax
cmp eax, 2
jne 0x498d08
mov ax, word [edi + 0x1c]
mov ecx, 0xbf01
and ax, cx
or ax, 1
movzx eax, ax
mov word [edi + 0x1c], ax
jmp case.0x497d23.10
cdq
mov ecx, 0xbf04
mov dword [edi], eax
mov ax, word [edi + 0x1c]
and ax, cx
mov dword [edi + 4], edx
or ax, 4
movzx eax, ax
mov word [edi + 0x1c], ax
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 8]
mov esi, dword [ebp - 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
test byte [esi + 0x1c], 1
lea edi, [eax + ecx*8]
mov dword [ebp - 0x14], edi
je 0x498d4f
mov ecx, edi
call fcn.00494540
jmp case.0x497d23.10
mov ecx, esi
call fcn.00494330
or eax, edx
jne 0x498d72
xor ecx, ecx
mov eax, 1
push ecx
push eax
mov ecx, edi
call fcn.004945c0
add esp, 8
jmp case.0x497d23.10
xorps xmm0, xmm0
movlpd qword [ebp - 0xe0], xmm0
mov ecx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe0]
push ecx
push eax
mov ecx, edi
call fcn.004945c0
add esp, 8
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 8]
mov esi, dword [ebp - 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
test byte [esi + 0x1c], 1
lea edi, [eax + ecx*8]
mov dword [ebp - 0x14], edi
je 0x498dbf
mov ecx, edi
call fcn.00494540
jmp case.0x497d23.10
mov ecx, esi
call fcn.00494330
not edx
not eax
push edx
push eax
mov ecx, edi
call fcn.004945c0
add esp, 8
jmp case.0x497d23.10
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x1c], 1
je 0x498df5
mov eax, dword [edi + esi*4 + 0xc]
test eax, eax
mov dword [ebp - 0xc8], eax
jmp 0x4989e9
call fcn.004943b0
ucomisd xmm0, qword [0x525a60]
lahf
test ah, 0x44
jnp 0x498e0f
mov eax, 1
jmp 0x498e11
xor eax, eax
mov dword [ebp - 0xc8], eax
cmp byte [edi + esi*4], 0x1b
jne 0x498e26
xor eax, 1
mov dword [ebp - 0xc8], eax
test eax, eax
jmp 0x4989e9
mov eax, dword [ebp - 0x18]
test byte [eax + 0x1c], 1
jmp 0x4989e9
mov eax, dword [ebp - 0x18]
test byte [eax + 0x1c], 1
mov eax, dword [ebp - 8]
jne 0x497e4f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x497e55
mov eax, dword [edi + esi*4 + 4]
xorps xmm0, xmm0
mov dword [ebp - 0xb8], eax
mov edx, 0xbf01
mov eax, dword [edi + esi*4 + 8]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], 0
movups xmmword [ebp - 0x88], xmm0
movups xmmword [ebp - 0x78], xmm0
movq qword [ebp - 0x68], xmm0
mov eax, dword [edi + esi*4 + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea ecx, [eax + ecx*8]
mov dword [ebp - 0x8c], ecx
mov ax, word [ecx + 0x1c]
and ax, dx
or ax, 1
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebx + 0x34]
mov dword [ebp - 0xac], 0
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0xb0], edx
mov eax, dword [edx]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x498f6c
mov ecx, edx
call fcn.00496760
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x49c44b
mov ecx, dword [ebp - 0xb0]
cmp byte [ecx + 0x14], al
je 0x498f15
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc eax
mov edx, dword [ebp - 0xd8]
jmp 0x497c08
mov eax, dword [ecx + 0x44]
cmp eax, dword [ebx + 0x5c]
jne 0x498f34
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc8], edx
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0xac], eax
jmp 0x498fb2
cmp byte [ecx + 0x17], 0
mov ecx, dword [ebp - 0xa8]
je 0x498f5c
lea edx, [ebp - 0xc0]
call fcn.00491000
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc8], edx
jmp 0x498fac
lea edx, [ebp - 0xc8]
call fcn.00491050
mov dword [ebp - 8], eax
jmp 0x498fa6
mov eax, dword [edx + 0x24]
test eax, eax
jle 0x4993b8
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea ecx, [eax + ecx*8]
mov dword [ebp - 0x40], ecx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0xc8], eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0xac], eax
test byte [edi + esi*4 + 3], 0x20
je 0x498fa0
xor eax, eax
jmp 0x498fa3
mov eax, dword [ebx + 0x5c]
mov dword [edx + 0x44], eax
mov edx, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xb0]
test edx, edx
je case.0x497d23.10
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
cmp edx, dword [eax + 0x48]
ja 0x49c4b5
mov ebx, dword [ecx + 0x2c]
mov dword [ebp - 0x9c], ebx
mov edx, dword [ecx + 0x4c]
mov dword [ebp - 0xa4], edx
mov eax, dword [ecx + 0x44]
cmp eax, dword [esi + 0x5c]
mov esi, dword [ebp - 0x20]
jne 0x498ff4
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0xa0], eax
jmp 0x499258
lea eax, [edx + ebx*4]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xa0], eax
mov dword [ecx + 0x50], eax
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc8]
mov dword [ecx + 0x48], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x5c]
mov eax, dword [ebp - 0xb0]
mov dword [eax + 0x44], ecx
mov ebx, dword [ebp - 0xac]
test ebx, ebx
je 0x499037
mov dword [ebp - 0x90], ebx
jmp 0x499089
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0xa8]
cmp byte [eax + 0x17], 0
je 0x499053
call fcn.004914b0
jmp 0x499058
call fcn.004914d0
mov ecx, eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x90], ecx
ja 0x49907c
mov dword [ebp - 0xac], ecx
mov dword [eax + 0x54], ecx
jmp 0x499083
mov dword [eax + 0x54], 0
mov ebx, dword [ebp - 0x90]
mov al, byte [ebx]
cmp al, 0x80
jae 0x499099
movzx ecx, al
mov al, 1
mov dword [ebp - 0x58], ecx
jmp 0x4990ac
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.00489c90
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x90]
movzx eax, al
mov dword [ebp - 0x48], eax
cmp ecx, 0x18003
ja 0x49c311
mov eax, dword [ebp - 0x9c]
lea edx, [eax*4 + 3]
add edx, eax
cmp edx, ecx
cmovg edx, ecx
cmp dword [ebp - 0xac], 0
mov dword [ebp - 0x98], edx
jne 0x499131
cmp dword [ebp - 0x44], edx
jge 0x499131
mov ecx, dword [ebp - 0xa8]
xor eax, eax
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax + 0x17]
push eax
push edx
xor edx, edx
call fcn.00494be0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x498036
mov ebx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x98]
mov dword [ebp - 0x90], ebx
lea eax, [ebx + edx]
mov dword [ebp - 0x50], ecx
add ebx, dword [ebp - 0x48]
xor edx, edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x9c], edx
jle 0x4991f7
nop dword [eax + eax]
cmp ebx, eax
mov eax, dword [ebp - 0xa0]
jae 0x4991cd
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x60]
mov al, byte [ecx]
cmp al, 0x80
jae 0x49918c
mov ecx, dword [ebp - 0x94]
movzx edx, al
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], edx
mov al, 1
jmp 0x4991a0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa4]
lea edx, [eax + edx*4]
call fcn.00489c90
mov ebx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x94]
mov ecx, dword [ebp - 0xa4]
movzx eax, al
add ebx, eax
mov dword [ebp - 0x60], ebx
mov ecx, dword [ecx + edx*4]
call fcn.004968d0
mov ecx, dword [ebp - 0x50]
add ecx, eax
mov dword [ebp - 0x50], ecx
adc dword [ebp - 0x4c], 0
jmp 0x4991e0
mov dword [eax + edx*4], 0
mov ecx, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x94]
inc edx
mov dword [ebp - 0x94], edx
cmp edx, dword [ebp - 0x9c]
jge 0x4991f7
mov eax, dword [ebp - 0x5c]
jmp 0x499160
lea ecx, [ebp - 0x88]
call fcn.004942c0
mov edx, dword [ebp - 0x60]
mov eax, 1
mov ebx, dword [ebp - 0x5c]
mov word [ebp - 0x6c], ax
cmp edx, ebx
ja 0x4993a4
cmp dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0xc8]
ja 0x4993a4
mov eax, dword [ebp - 0x50]
jb 0x499236
cmp eax, ecx
ja 0x4993a4
cmp edx, ebx
jne 0x49924c
cmp eax, ecx
jne 0x4993a4
cmp dword [ebp - 0x4c], 0
jne 0x4993a4
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xb4]
cmp dword [eax + ecx*4], 0
je 0x499334
cmp dword [ebp - 0xac], 0
je 0x49929f
mov ecx, dword [ebp - 0x8c]
call fcn.00494260
mov esi, dword [ebp - 0xb4]
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [eax + esi*4]
add ecx, dword [ebp - 0xac]
mov edx, dword [edx + esi*4]
jmp 0x499318
mov ecx, dword [edx + ecx*4]
call fcn.004968d0
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x98], eax
call fcn.00494790
mov edx, dword [ebp - 0xb4]
lea eax, [ebp - 0x88]
mov ecx, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xb0]
movzx eax, byte [eax + 0x17]
push eax
mov eax, dword [ebp - 0xa0]
push dword [ebp - 0x98]
mov edx, dword [eax + edx*4]
call fcn.00494be0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x498036
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x90], ecx
mov edx, dword [eax + edx*4]
push dword [ebp - 0x8c]
call fcn.004969a0
mov eax, dword [ebp - 0x8c]
mov cl, byte [ebp - 0xd0]
mov byte [eax + 0x1f], cl
jmp 0x49934f
cmp byte [edi + esi*4 + 1], 0xf8
jne 0x499352
mov edx, dword [edi + esi*4 + 0x10]
mov ecx, dword [ebp - 0x8c]
push 0x800
call fcn.004946d0
add esp, 4
cmp dword [ebp - 0x64], 0
je 0x49938e
mov eax, dword [ebp - 0x8c]
mov ecx, 0xe7ff
and word [eax + 0x1c], cx
mov ecx, 0x200
mov eax, dword [ebp - 0x8c]
or word [eax + 0x1c], cx
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x74]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x64]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x8c]
call fcn.00494030
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp case.0x497d23.10
mov ebx, dword [ebp - 0x10]
mov eax, 0xb
mov dword [ebp - 8], 0xb
jmp 0x497e4f
mov dword [ebp - 0xc8], 0
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + esi*4 + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea esi, [eax + ecx*8]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc4], esi
mov eax, dword [edi + eax*4 + 8]
mov dword [ebp - 0xbc], esi
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea eax, [esi + eax*8]
mov dword [ebp - 0xc0], eax
cmp esi, eax
ja case.0x497d23.10
mov dword [ebp - 0xbc], esi
mov ebx, 0x4000
test word [esi + 0x1c], bx
je 0x499426
mov ecx, esi
call fcn.00494090
mov esi, dword [ebp - 0xbc]
push dword [ebp - 0xd0]
mov ecx, esi
mov eax, 0x66666667
sub ecx, dword [ebp - 0xc4]
imul ecx
mov eax, dword [ebp - 0xc8]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dl, byte [ecx + eax]
mov ecx, esi
call fcn.00497b00
mov esi, dword [ebp - 0xbc]
add esp, 4
add esi, 0x28
mov dword [ebp - 0xbc], esi
cmp esi, dword [ebp - 0xc0]
jbe 0x499413
mov ebx, dword [ebp - 0x10]
jmp case.0x497d23.10
xorps xmm0, xmm0
xor edx, edx
xor ebx, ebx
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xb8], edx
movlpd qword [ebp - 0xb0], xmm0
mov dword [ebp - 0xa8], ebx
mov eax, dword [edi + esi*4 + 4]
mov dword [ebp - 0x94], eax
mov ecx, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
lea edi, [eax + ecx*8]
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x9c], edi
mov eax, dword [eax + esi*4 + 8]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0xc4], edi
lea eax, [eax + eax*4]
lea eax, [eax - 5]
lea ecx, [edi + eax*8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x98], ecx
movzx eax, byte [eax + 0x6f]
mov dword [ebp - 0x8c], eax
cmp edi, ecx
ja 0x4995f1
mov dword [ebp - 0xc4], edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x49954b
push dword [ebp - 0xd0]
mov esi, edi
mov eax, 0x66666667
sub esi, dword [ebp - 0x9c]
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, byte [eax + ecx]
mov ecx, edi
call fcn.00497b00
mov ecx, dword [ebp - 0x90]
add esp, 4
mov ebx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xc4]
mov dword [ebp - 0x14], ecx
mov eax, 0x4000
test word [edi + 0x1c], ax
je 0x499578
cmp dword [edi + 0x18], 0
jle 0x499578
mov ecx, edi
call fcn.00494090
mov ecx, dword [ebp - 0x90]
mov ebx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xc4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x8c]
mov ecx, edi
call fcn.004967f0
mov ecx, eax
mov dword [ebp - 0xa0], ecx
call fcn.004968d0
mov esi, eax
cdq
add dword [ebp - 0xc0], eax
push 0
adc dword [ebp - 0xbc], edx
push ecx
mov dword [ebp - 0x84], esi
call fcn.00489d10
mov edx, dword [ebp - 0xb8]
add esp, 8
add edx, eax
mov eax, 0x4000
mov dword [ebp - 0xb8], edx
test word [edi + 0x1c], ax
je 0x4995cf
add ebx, dword [edi]
jmp 0x4995d6
xor eax, eax
test esi, esi
cmovne ebx, eax
add edi, 0x28
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xc4], edi
cmp edi, dword [ebp - 0x98]
jbe 0x499503
mov eax, edx
cdq
push edx
push eax
call fcn.00489d10
mov edi, dword [ebp - 0xb8]
mov esi, eax
add edi, esi
mov dword [ebp - 0xa4], esi
mov eax, edi
mov dword [ebp - 0xb8], edi
cdq
push edx
push eax
call fcn.00489d10
add esp, 0x10
cmp esi, eax
jge 0x499629
inc edi
mov dword [ebp - 0xb8], edi
mov eax, edi
mov edi, dword [ebp - 4]
cdq
mov esi, eax
mov ecx, edx
mov eax, ebx
cdq
sub esi, eax
sbb ecx, edx
add esi, dword [ebp - 0xc0]
mov dword [ebp - 0xb0], esi
adc ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xac], ecx
mov eax, dword [edi + 0x48]
cdq
cmp ecx, edx
jg 0x49c4b0
jl 0x499668
cmp esi, eax
ja 0x49c4b0
mov ecx, dword [ebp - 0xd4]
mov edx, esi
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x10]
push 0
mov eax, dword [ecx + eax*4 + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea edi, [eax + ecx*8]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00493f50
add esp, 4
test eax, eax
jne 0x49c2d1
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xc8], ecx
cmp edx, 0x80
jae 0x4996bc
mov al, dl
mov byte [ecx], al
mov eax, 1
jmp 0x4996c1
call fcn.00489ac0
mov ecx, dword [ebp - 0x98]
movzx esi, al
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xc4], eax
cmp eax, ecx
ja 0x49975d
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [ebp - 0x8c]
mov ecx, eax
call fcn.004967f0
mov edx, eax
mov dword [ebp - 0xa0], edx
cmp edx, 0x80
jae 0x49971f
mov cl, al
mov eax, dword [ebp - 0xc8]
mov byte [esi + eax], cl
mov eax, 1
jmp 0x49972d
mov ecx, dword [ebp - 0xc8]
lea ecx, [esi + ecx]
call fcn.00489ac0
mov esi, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x98]
movzx eax, al
add esi, eax
mov eax, dword [ebp - 0xc4]
add eax, 0x28
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xc4], eax
cmp eax, ecx
jbe 0x4996f0
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
cmp eax, ecx
ja 0x4997b5
nop word [eax + eax]
mov ecx, dword [ebp - 0xc8]
push dword [ebp - 0x8c]
mov edx, dword [ebp - 0xb0]
push eax
sub edx, esi
lea ecx, [esi + ecx]
call fcn.004968f0
mov esi, dword [ebp - 0x88]
add esp, 8
add esi, eax
mov eax, dword [ebp - 0xc4]
add eax, 0x28
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xc4], eax
cmp eax, dword [ebp - 0x98]
jbe 0x499770
mov eax, dword [ebp - 0xb0]
mov dword [edi + 0x18], eax
mov eax, 0x410
mov word [edi + 0x1c], ax
mov dword [edi + 0x20], 0
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x4997e3
mov dword [edi], eax
mov eax, 0x4410
mov word [edi + 0x1c], ax
mov byte [edi + 0x1f], 1
jmp case.0x497d23.10
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
test ecx, ecx
je 0x499812
lea edx, [ebp - 0xc8]
call fcn.00493b60
mov dword [ebp - 8], eax
jmp 0x49981d
xorps xmm0, xmm0
movlpd qword [ebp - 0xc8], xmm0
mov edx, dword [ebp - 0x14]
mov eax, 4
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp case.0x497d23.10
mov ebx, dword [edi + esi*4 + 4]
mov dword [ebp - 0xc8], ebx
mov eax, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xc4], eax
test ebx, ebx
jne 0x499909
mov edi, dword [ebp - 4]
cmp dword [edi + 0x90], ebx
jg 0x49c32e
mov ecx, eax
call fcn.00488ee0
mov ecx, edi
mov dword [ebp - 0xc0], eax
lea edx, [eax + 0x19]
call fcn.00487330
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x4998fe
lea ecx, [eax + 0x18]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc0]
inc eax
push eax
mov eax, dword [ebp - 0xbc]
push dword [ebp - 0xc4]
push dword [eax]
call fcn.004d2ab0
add esp, 0xc
cmp byte [edi + 0x1c], bl
je 0x4998c5
mov byte [edi + 0x1c], bl
mov byte [edi + 0x1cc], 1
jmp 0x4998cb
inc dword [edi + 0x1c4]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [edi + 0x1c0]
mov dword [eax + 0x10], ecx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [edi + 0x1d0]
mov edx, dword [edi + 0x1d4]
mov dword [edi + 0x1c0], eax
mov eax, dword [ebp - 0xbc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
jmp 0x497e52
mov edx, dword [ebp - 4]
xor edi, edi
mov dword [ebp - 0xb0], edi
mov esi, dword [edx + 0x1c0]
mov dword [ebp - 0xb8], esi
test esi, esi
je 0x49c366
nop dword [eax + eax]
mov ecx, dword [esi]
mov edx, eax
call fcn.00489080
test eax, eax
je 0x49995f
inc edi
mov dword [ebp - 0xb0], edi
mov eax, dword [esi + 0x10]
mov esi, eax
mov dword [ebp - 0xb8], esi
test eax, eax
je 0x49c366
mov eax, dword [ebp - 0xd4]
jmp 0x499930
mov edx, dword [ebp - 4]
test esi, esi
je 0x49c366
cmp dword [edx + 0x90], 0
jg 0x499b2b
cmp ebx, 2
jne 0x499989
cmp dword [edx + 0x8c], 1
jg 0x499b2b
cmp dword [esi + 0x10], 0
jne 0x4999e1
cmp byte [edx + 0x1cc], 0
je 0x4999e1
mov dword [ebp - 0x20], 1
cmp ebx, 1
jne 0x4999e8
mov byte [edx + 0x1c], bl
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.00496330
cmp eax, 5
mov eax, dword [ebp - 4]
je 0x49c349
mov edi, dword [ebp - 0x20]
mov byte [eax + 0x1cc], 0
mov eax, dword [ebx + 0x64]
mov esi, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xc8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], edi
jmp 0x499a79
mov dword [ebp - 0x20], 0
mov ecx, dword [edx + 0x1c4]
xor eax, eax
sub ecx, edi
mov dword [ebp - 0xac], eax
dec ecx
mov dword [ebp - 0xb0], ecx
cmp dword [edx + 4], eax
jle 0x499a4e
push ecx
mov ecx, dword [edx + 8]
add eax, eax
mov edx, ebx
mov ecx, dword [ecx + eax*8 + 4]
call fcn.00490e30
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x49c44e
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 4]
inc eax
mov ebx, dword [ebp - 0xc8]
mov dword [ebp - 0xac], eax
cmp eax, dword [edx + 4]
jge 0x499a48
mov ecx, dword [ebp - 0xb0]
jmp 0x499a04
mov esi, dword [ebp - 0xb8]
cmp ebx, 2
jne 0x499a76
test byte [edx + 0xc], 0x10
je 0x499a76
mov ecx, edx
call fcn.00497110
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.004a3220
mov esi, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xc8]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c0]
cmp eax, esi
je 0x499acd
mov edi, dword [ebp - 4]
nop dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [eax + 0x10]
mov dword [edi + 0x1c0], eax
push dword [ebp - 0xb4]
push edi
call fcn.00487140
dec dword [edi + 0x1c4]
add esp, 8
mov eax, dword [edi + 0x1c0]
mov esi, dword [ebp - 0xb8]
cmp eax, esi
jne 0x499a90
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc8]
cmp ebx, 1
jne 0x499b0b
mov ebx, dword [ebp - 4]
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1c0], eax
push dword [ebp - 0xb8]
push ebx
call fcn.00487140
mov eax, dword [ebp - 8]
add esp, 8
mov edx, dword [ebp - 0xc]
test edi, edi
jne 0x49c271
mov edi, ebx
mov ebx, dword [ebp - 0x10]
dec dword [edi + 0x1c4]
jmp 0x497e55
mov edi, dword [ebp - 4]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, dword [ebp - 0x10]
mov dword [edi + 0x1d0], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x1d4], ecx
jmp 0x497e52
cmp ebx, 2
mov ecx, str.release
mov ebx, dword [ebp - 0x10]
mov eax, str.rollback
cmovne eax, ecx
push eax
push str.cannot__s_savepoint___SQL_statements_in_progress
push edx
lea eax, [ebx + 0x68]
push eax
call fcn.004874e0
mov eax, 5
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x497e4f
mov edx, dword [edi + esi*4 + 4]
mov dword [ebp - 0xc8], edx
mov ecx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc4], ecx
test edx, edx
je 0x499bbb
cmp byte [edi + 0x1c], 0
jne 0x499bbb
mov dword [ebp - 0xc0], 1
test ecx, ecx
je 0x499ba4
cmp dword [edi + 0x8c], 1
jle 0x499bc5
mov dword [ebp - 8], 5
mov eax, str.cannot_rollback_transaction___SQL_statements_in_progress
jmp 0x499bf2
cmp dword [edi + 0x90], 0
jle 0x499bc5
mov dword [ebp - 8], 5
mov eax, str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x499bf2
mov dword [ebp - 0xc0], 0
movzx eax, byte [edi + 0x1c]
cmp edx, eax
jne 0x49c39d
test edx, edx
jne 0x499bdc
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x499beb
test ecx, ecx
mov eax, str.cannot_rollback___no_transaction_is_active
mov ecx, str.cannot_commit___no_transaction_is_active
cmove eax, ecx
mov dword [ebp - 8], 1
push eax
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004874e0
mov eax, dword [ebp - 8]
add esp, 0xc
jmp 0x497e52
mov eax, dword [ebp - 4]
mov ecx, dword [edi + esi*4 + 4]
add ecx, ecx
mov eax, dword [eax + 8]
mov ecx, dword [eax + ecx*8 + 4]
mov dword [ebp - 0xc8], ecx
test ecx, ecx
je case.0x497d23.10
mov edx, dword [edi + esi*4 + 8]
call fcn.00490b90
mov dword [ebp - 8], eax
cmp eax, 5
je 0x49c404
test eax, eax
jne 0x49c44b
cmp dword [edi + esi*4 + 8], eax
mov edi, dword [ebp - 4]
je 0x497e52
cmp byte [ebx + 0x71], al
je 0x497e52
cmp byte [edi + 0x1c], al
je 0x499c6b
cmp dword [edi + 0x8c], 1
jle 0x497e52
mov edx, dword [ebx + 0xd8]
test edx, edx
jne 0x499c8d
mov edx, dword [edi + 0x1c4]
inc dword [edi + 0x1c8]
add edx, dword [edi + 0x1c8]
mov dword [ebx + 0xd8], edx
mov ecx, dword [ebp - 0xc8]
call fcn.00490e10
mov ecx, dword [edi + 0x1d4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x1d0]
mov dword [ebx + 0xd0], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xd4], ecx
jmp 0x497e52
mov eax, dword [edi + esi*4 + 4]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc4], eax
add eax, eax
mov edx, dword [edi + esi*4 + 0xc]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc0], edx
push ecx
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.00493ae0
mov esi, dword [ebp - 0x14]
mov ecx, 0xbf04
mov eax, dword [ebp - 0xc8]
add esp, 4
cdq
mov dword [esi], eax
mov ax, word [esi + 0x1c]
and ax, cx
mov dword [esi + 4], edx
or ax, 4
mov word [esi + 0x1c], ax
mov eax, dword [ebp - 8]
jmp 0x497e52
mov eax, dword [edi + esi*4 + 4]
mov ecx, dword [ebp - 4]
shl eax, 4
add eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc8], eax
call fcn.00494480
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [edi + esi*4 + 8]
push dword [eax]
mov ecx, dword [ecx + 4]
call fcn.00493b20
mov dword [ebp - 8], eax
add esp, 4
mov eax, dword [edi + esi*4 + 8]
cmp eax, 1
jne 0x499d6f
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
or dword [eax + 0xc], 0x10
jmp 0x499d85
cmp eax, 2
jne 0x499d85
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0x1c]
mov al, byte [eax]
mov byte [ecx + 0x48], al
cmp dword [edi + esi*4 + 4], 1
mov edi, dword [ebp - 4]
jne 0x498111
mov ecx, edi
call fcn.00497110
mov eax, dword [ebp - 8]
mov byte [ebx + 0x6e], 0
jmp 0x497e52
mov edx, dword [ebp - 4]
mov ecx, dword [edi + esi*4 + 4]
add ecx, ecx
mov eax, dword [edx + 8]
mov ecx, dword [eax + ecx*8 + 4]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x499ddf
lea eax, [ebp - 0xc8]
mov edx, 1
push eax
call fcn.00493ae0
mov eax, dword [ebp - 0xc8]
add esp, 4
mov edx, dword [ebp - 4]
jmp 0x499de7
xor eax, eax
mov dword [ebp - 0xc8], eax
cmp eax, dword [edi + esi*4 + 8]
je case.0x497d23.10
push dword [ebx + 0x68]
push edx
call fcn.00487140
mov ecx, dword [ebp - 4]
add esp, 8
mov edx, str.database_schema_has_changed
call fcn.00487460
mov dword [ebx + 0x68], eax
mov edx, dword [edi + esi*4 + 4]
mov ecx, edx
mov edi, dword [ebp - 4]
add ecx, ecx
mov eax, dword [edi + 8]
mov eax, dword [eax + ecx*8 + 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc8]
je 0x499e30
mov ecx, edi
call fcn.004a3220
mov ecx, edi
call fcn.00497110
mov eax, 0x11
mov dword [ebp - 8], eax
jmp 0x497e52
cmp byte [ebx + 0x6e], 0
jne 0x49c427
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0xc8], edx
mov dword [ebp - 0xc4], edx
mov ebx, dword [edi + esi*4 + 8]
mov dword [ebp - 0xc0], ebx
mov ecx, dword [edi + esi*4 + 0xc]
mov dword [ebp - 0xbc], ecx
shl ecx, 4
add ecx, dword [eax + 8]
mov dword [ebp - 0xac], ecx
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb4], eax
cmp byte [edi + esi*4], 0x27
jne 0x499eab
mov dword [ebp - 0xb8], 1
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x10]
mov al, byte [eax + 0x48]
cmp al, byte [ecx + 0x6f]
jae 0x499eb1
mov byte [ecx + 0x6f], al
jmp 0x499eb1
mov dword [ebp - 0xb8], edx
cmp byte [edi + esi*4 + 3], dl
je 0x499eef
lea ecx, [ebx + ebx*4]
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov ecx, eax
mov dword [ebp - 0xcc], eax
call fcn.00494480
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx]
mov dword [ebp - 0xc0], eax
cmp eax, 2
jl 0x49c41d
mov edx, dword [ebp - 0xc8]
jmp 0x499ef2
mov ebx, dword [ebp - 0x10]
mov al, byte [edi + esi*4 + 1]
cmp al, 0xfa
jne 0x499f1f
mov eax, dword [ebx]
mov ecx, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xc4], ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0xc4]
movzx edx, word [eax + 6]
inc edx
jmp 0x499f27
cmp al, 0xf2
jne 0x499f2d
mov edx, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xc8], edx
push 1
push dword [ebp - 0xbc]
mov ecx, ebx
push edx
mov edx, dword [edi + esi*4 + 4]
call fcn.004979a0
add esp, 0xc
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x49c2d1
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xb4]
push dword [eax]
push dword [ebp - 0xc4]
push dword [ebp - 0xb8]
call fcn.00490ef0
mov ecx, dword [ebp - 0xb0]
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
mov eax, dword [ebp - 0xc4]
mov dword [ecx + 0x28], eax
jne 0x499fa9
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 8], 0
mov dword [eax], 0
cmp byte [edi + esi*4 + 1], 0xfa
mov eax, dword [ebp - 0xb0]
setne cl
mov byte [eax + 0x16], cl
mov ecx, dword [ebp - 0xb0]
cmp byte [ecx + 0x16], 0
sete al
mov byte [ecx + 0x17], al
jmp case.0x497d23.10
mov edx, dword [edi + esi*4 + 4]
mov ecx, ebx
push 1
push 0xffffffffffffffff
push dword [edi + esi*4 + 8]
call fcn.004979a0
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x49c2d1
mov ecx, dword [ebp - 4]
xor edx, edx
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 0xc8]
add eax, 0x20
push eax
push 0x41e
push 0x1f4
push 1
call fcn.004b8900
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x49a0f3
mov ecx, dword [ebp - 0xc8]
lea edx, [eax + 1]
mov ecx, dword [ecx + 0x20]
call fcn.00490b90
mov dword [ebp - 8], eax
test eax, eax
jne 0x49a0f3
mov ecx, dword [ebp - 0xc8]
cmp dword [edi + esi*4 + 0x10], eax
je 0x49a0d0
mov ecx, dword [ecx + 0x20]
lea edx, [ebp - 0xf0]
push 2
call fcn.00493870
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x49a0b1
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xf0]
push dword [ecx]
mov ecx, dword [ecx + 0x20]
push dword [edi + esi*4 + 0x10]
push 1
call fcn.00490ef0
mov ecx, dword [edi + esi*4 + 0x10]
add esp, 0xc
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x28], ecx
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x28]
mov al, byte [edx + 0x49]
mov byte [ecx + 4], al
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x16], 0
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + 0x16], 0
sete al
mov byte [ecx + 0x17], al
jmp case.0x497d23.10
push dword [ecx]
mov ecx, dword [ecx + 0x20]
mov edx, 1
push 0
push 1
call fcn.00490ef0
mov dword [ebp - 8], eax
add esp, 0xc
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x16], 1
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + 0x16], 0
sete al
mov byte [ecx + 0x17], al
jmp case.0x497d23.10
mov edx, dword [edi + esi*4 + 4]
mov ecx, ebx
push 0
push 0xffffffffffffffff
push dword [edi + esi*4 + 0xc]
call fcn.004979a0
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x49c2d1
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 0xc8]
mov ecx, dword [edi + esi*4 + 8]
mov dword [eax + 0x24], ecx
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x16], 1
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x17], 0
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 4]
mov ecx, ebx
mov edx, dword [ebx + 0x34]
mov edx, dword [edx + eax*4]
call fcn.00495bf0
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov dword [eax + ecx*4], 0
jmp case.0x497d23.10
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc0], ecx
cmp dword [ecx], 0
je 0x497d85
movzx eax, byte [edi + esi*4]
mov dword [ebp - 0xc4], eax
mov byte [ecx + 0x14], 0
mov ecx, dword [ebp - 0xc0]
cmp byte [ecx + 0x16], 0
je 0x49a398
mov ecx, dword [ebp - 0x1c]
call fcn.00497a70
mov ecx, dword [ebp - 0x1c]
call fcn.00494330
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x94], edx
mov byte [eax + 0x11], 0
movzx eax, word [ecx + 0x1c]
test al, 4
jne 0x49a32c
test al, 8
jne 0x49a1fa
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x497e55
mov eax, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x94]
test eax, eax
jne 0x49a2be
cmp ebx, 0x80000000
jne 0x49a2be
movsd xmm0, qword [ecx + 8]
movsd xmm1, qword [0x525b08]
comisd xmm1, xmm0
ja 0x49a23b
comisd xmm0, xmmword [0x525a60]
jbe 0x49a2be
mov eax, dword [ebp - 0xc4]
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 1
comisd xmm0, xmmword [ecx + 8]
jbe 0x49a274
cmp eax, 0x2e
je 0x49a25f
cmp eax, 0x2d
jne 0x49a2ab
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.00491770
jmp 0x49a291
cmp eax, 0x2b
je 0x49a27e
cmp eax, 0x2c
jne 0x49a2ab
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.004917a0
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x49c44e
cmp dword [ebp - 0xc8], 0
je 0x498036
mov edx, dword [edi + esi*4 + 8]
mov ebx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
jmp 0x497e55
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x2b
je 0x49a2fb
cmp ecx, 0x2d
je 0x49a2fb
mov edx, ebx
mov ecx, eax
call fcn.004f6ea0
mov eax, dword [ebp - 0x1c]
comisd xmm0, xmmword [eax + 8]
mov eax, dword [ebp - 0x98]
jbe 0x49a338
add eax, 0xffffffff
mov dword [ebp - 0x98], eax
adc ebx, 0xffffffff
mov dword [ebp - 0x94], ebx
jmp 0x49a338
mov edx, ebx
mov ecx, eax
call fcn.004f6ea0
mov eax, dword [ebp - 0x1c]
movsd xmm1, qword [eax + 8]
comisd xmm1, xmm0
mov eax, dword [ebp - 0x98]
jbe 0x49a338
add eax, 1
mov dword [ebp - 0x98], eax
adc ebx, 0
mov dword [ebp - 0x94], ebx
jmp 0x49a338
mov ebx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0xc8]
xor edx, edx
push ecx
mov ecx, dword [ebp - 0xc0]
push 0
push ebx
push eax
mov ecx, dword [ecx]
call fcn.004917f0
mov ebx, eax
add esp, 0x10
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x49c44e
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0xc8], eax
jne 0x49a41e
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], 1
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0x94]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
jmp 0x49a41e
mov eax, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xa0], eax
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0xb8], eax
mov ax, word [ebp - 0xa0]
mov word [ebp - 0xb4], ax
mov eax, dword [ebp - 0xc4]
cmp eax, 0x2e
je 0x49a3cd
cmp eax, 0x2c
je 0x49a3cd
xor eax, eax
jmp 0x49a3d2
mov eax, 8
mov word [ebp - 0xb2], ax
mov eax, dword [edi + esi*4 + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*8]
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0xb8]
mov ecx, dword [ecx]
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0
call fcn.004917f0
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c44b
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0xc4]
cmp eax, 0x2d
je 0x49a487
cmp eax, 0x2e
je 0x49a487
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
jg 0x49a46b
jne 0x49a456
cmp eax, 0x2b
je 0x49a46b
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx]
call fcn.00491b00
mov dword [ebp - 0xc8], eax
jmp 0x49a4c8
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.00491c30
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jmp 0x49a4b8
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
js 0x49a4a0
jne 0x498ef9
cmp eax, 0x2e
jne 0x498ef9
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.00491b10
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c44b
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], 0
cmp dword [ebp - 0xc8], 0
je 0x498f03
mov eax, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec eax
mov edx, dword [ebp - 0xd8]
inc eax
jmp 0x497c08
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc8], eax
cmp dword [eax], 0
je case.0x497d23.10
mov ecx, dword [ebp - 0xcc]
mov byte [eax + 0x14], 0
call fcn.00494330
mov ecx, dword [ebp - 0xc8]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 1
jmp case.0x497d23.10
mov eax, dword [ebx + 0x34]
xor edx, edx
mov dword [ebp - 0xc8], edx
mov ecx, dword [edi + esi*4 + 4]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
cmp dword [ecx], edx
je 0x49a614
mov eax, dword [ebp - 0x1c]
mov edx, 0x4000
test word [eax + 0x1c], dx
je 0x49a574
mov ecx, eax
call fcn.00494090
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x28]
lea edx, [ebp - 0xb8]
push 0x97
push edx
push dword [eax + 0x14]
mov edx, dword [eax + 0x18]
call fcn.00496c30
add esp, 0xc
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x49c2d1
cmp byte [edi + esi*4], 0x31
jne 0x49a5b0
or word [eax + 6], 0x10
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0xc0]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0xc4]
push 0
push 0
push 0
mov ecx, dword [ecx]
call fcn.004917f0
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
mov dword [ebp - 8], eax
call fcn.00496d50
mov eax, dword [ebp - 8]
test eax, eax
jne 0x497e4f
cmp dword [ebp - 0xc0], eax
sete al
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xc4]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x44], 0
mov edx, dword [ebp - 0xc8]
cmp byte [edi + esi*4], 0x31
mov eax, dword [ebp - 8]
jne 0x49a624
test edx, edx
jmp 0x4989ec
test edx, edx
jne 0x497e4f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x497e55
mov eax, dword [edi + esi*4 + 0x10]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xb8], eax
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
xor ebx, ebx
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc4], eax
mov dword [eax + 0x40], 0
mov eax, dword [ebp - 0xc4]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ecx]
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ecx + 0x28]
xor ecx, ecx
movzx eax, word [eax + 6]
cmp bx, ax
mov word [ebp - 0xbc], ax
mov ebx, dword [ebp - 0xb8]
mov edx, eax
mov word [ebp - 0xc8], cx
jae 0x49a6cf
nop word [eax + eax]
movzx eax, cx
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
jne 0x49a787
inc cx
mov word [ebp - 0xc8], cx
cmp cx, dx
jb 0x49a6b0
cmp dword [ebp - 0xd4], 0
je 0x498036
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xa0], ebx
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
mov word [ebp - 0xac], ax
mov eax, 0x20
mov word [ebp - 0xaa], ax
call fcn.00494480
mov eax, dword [ebx]
lea edx, [ebp - 0xb0]
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xc4]
add eax, 0x40
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp - 0xc0]
push eax
push 0
push 0
push 0
call fcn.004917f0
add esp, 0x10
mov dword [ebp - 8], eax
test byte [ebp - 0xaa], 0x20
jne 0x49a2ab
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0x98]
jne 0x49a77a
cmp eax, dword [ebp - 0x94]
je 0x49a2ab
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov ebx, dword [ebp - 0x10]
jmp case.0x497d23.10
mov edx, dword [edi + esi*4 + 8]
mov ebx, dword [ebp - 0x10]
dec edx
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc0], 0
jmp 0x497e55
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x49a87f
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0xc0]
push ebx
mov dword [ebp - 0xc0], 0
push 0
mov edx, dword [eax]
mov eax, dword [eax + 4]
push eax
mov dword [ebp - 0xb8], edx
push edx
xor edx, edx
mov dword [ebp - 0xb4], eax
call fcn.004917f0
mov dword [ebp - 8], eax
add esp, 0x10
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc8]
sete cl
mov byte [eax + 0x11], cl
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 0
mov ecx, dword [ebp - 0xc0]
test ecx, ecx
je 0x49a868
mov eax, dword [ebp - 0xc8]
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 8]
jmp 0x497e55
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov dword [eax + 0x40], ecx
mov eax, dword [ebp - 8]
jmp 0x497e55
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
mov dword [eax + 0x40], 0
mov eax, dword [ebp - 8]
jmp 0x497e55
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
mov dword [edx + 4], eax
mov dword [edx], ecx
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov ecx, 0xbf04
add dword [eax + 0x30], 1
adc dword [eax + 0x34], 0
mov ax, word [edx + 0x1c]
and ax, cx
or ax, 4
mov word [edx + 0x1c], ax
jmp case.0x497d23.10
mov eax, dword [ebx + 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc8], xmm0
mov dword [ebp - 0xbc], 0
mov ecx, dword [edi + esi*4 + 4]
mov edi, dword [eax + ecx*4]
mov dword [ebp - 0xc0], edi
cmp dword [edi], 0
je 0x49ab22
mov dword [ebp - 0xb8], 0
cmp byte [edi + 0x13], 0
jne 0x49aa0c
mov ecx, dword [edi]
call fcn.00490f50
mov esi, eax
mov dword [ebp - 0xc8], eax
or esi, edx
mov dword [ebp - 0xc4], edx
jne 0x49a9cc
mov ecx, dword [edi]
lea edx, [ebp - 0xbc]
call fcn.004917a0
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x49c44b
cmp dword [ebp - 0xbc], eax
je 0x49a973
mov eax, 1
xor edx, edx
mov dword [ebp - 0xc8], eax
add eax, eax
mov dword [ebp - 0xc4], edx
adc edx, edx
jmp 0x49a9fa
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.00491000
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, 0xffffffff
jne 0x49a9ba
cmp edx, 0x7fffffff
jne 0x49a9ba
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x13], 1
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
jmp 0x49a9cc
add eax, 1
mov dword [ebp - 0xc8], eax
adc edx, 0
mov dword [ebp - 0xc4], edx
cmp edx, 0x7fffffff
jg 0x49a9e3
jl 0x49a9db
cmp eax, 0xffffffff
jae 0x49a9e3
add eax, 1
adc edx, 0
jmp 0x49a9fa
xorps xmm0, xmm0
movlpd qword [ebp - 0xe0], xmm0
mov edx, dword [ebp - 0xdc]
mov eax, dword [ebp - 0xe0]
mov ecx, dword [ebp - 0xc0]
push edx
push eax
mov ecx, dword [ecx]
call fcn.00490f20
add esp, 8
mov eax, dword [ebp - 0xc0]
cmp byte [eax + 0x13], 0
je 0x49ab01
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
xor eax, eax
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xb8], eax
nop dword [eax]
test eax, eax
jne 0x49aa68
mov eax, ecx
xor esi, esi
and eax, 0xffffff
cmp eax, ecx
jne 0x49aa68
cmp esi, edx
jne 0x49aa68
add ecx, 1
mov dword [ebp - 0xc8], ecx
adc edx, esi
mov dword [ebp - 0xc4], edx
jmp 0x49aaa3
lea edx, [ebp - 0xc8]
mov ecx, 8
call fcn.004888b0
cmp dword [ebp - 0xb8], 5
mov ecx, dword [ebp - 0xc8]
jge 0x49aa9d
and ecx, 0xffffff
xor edx, edx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], edx
jmp 0x49aaa3
mov edx, dword [ebp - 0xc4]
lea eax, [ebp - 0xbc]
push eax
push 0
push edx
push ecx
mov ecx, dword [ebp - 0xc0]
xor edx, edx
mov ecx, dword [ecx]
call fcn.004917f0
mov ecx, eax
add esp, 0x10
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 8], ecx
mov dword [ebp - 0xb8], eax
test ecx, ecx
jne 0x49ab01
cmp eax, 0x64
jge 0x49aaf4
cmp dword [ebp - 0xbc], ecx
jne 0x49ab01
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
jmp 0x49aa40
cmp dword [ebp - 0xbc], 0
je 0x49c441
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x44], 0
mov esi, dword [ebp - 0x14]
mov ecx, 0xbf04
mov ax, word [esi + 0x1c]
and ax, cx
or ax, 4
mov word [esi + 0x1c], ax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.0x497d23.10
mov eax, dword [edi + esi*4 + 8]
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc8], ebx
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xb8], eax
cmp byte [edi + esi*4], 0x36
mov dword [ebp - 0xd4], eax
mov eax, dword [edi + esi*4 + 0xc]
jne 0x49ab98
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0xc4], eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
jmp 0x49ab9b
cdq
mov ecx, eax
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xc0], ecx
test byte [edi + esi*4 + 3], 1
je 0x49abb4
mov eax, dword [ebp - 0x10]
inc dword [eax + 0x74]
test byte [edi + esi*4 + 3], 2
je 0x49abd2
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], edx
mov ecx, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xc8]
jmp 0x49abd8
mov ecx, dword [ebp - 0xd4]
test byte [ebx + 0x1c], 1
je 0x49abfe
mov dword [ebx + 0x14], 0
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0xb8]
mov ebx, dword [ebp - 0xc8]
test byte [edi + esi*4 + 3], 0x10
je 0x49ac10
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0xb0], eax
jmp 0x49ac1a
mov dword [ebp - 0xb0], 0
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x49ac2f
mov eax, dword [ebx]
mov dword [ebp - 0xb4], eax
jmp 0x49ac39
mov dword [ebp - 0xb4], 0
mov ecx, dword [ecx]
push 0
push 0
call fcn.00490f20
push dword [ebp - 0xb0]
movzx eax, byte [edi + esi*4 + 3]
xor edx, edx
mov ecx, dword [ebp - 0xb8]
and eax, 8
push eax
push dword [ebp - 0xb4]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ecx]
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
call fcn.00493420
mov ebx, eax
add esp, 0x24
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 8], ebx
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xb8]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xb8]
mov dword [eax + 0x44], 0
test ebx, ebx
jne 0x498036
mov edx, dword [ebp - 4]
cmp dword [edx + 0xb8], ebx
je 0x49c264
cmp dword [edi + esi*4 + 0x10], ebx
je 0x49c264
mov eax, dword [ebp - 0xb8]
mov ebx, 0x17
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
mov eax, dword [edx + 8]
add ecx, ecx
mov edx, dword [eax + ecx*8]
mov eax, 0x12
mov dword [ebp - 0xac], edx
mov ecx, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xa8], ecx
test byte [edi + esi*4 + 3], 4
mov edi, dword [ebp - 4]
push ecx
cmovne eax, ebx
push edx
push eax
mov dword [ebp - 0xa4], eax
push dword [edi + 0xb4]
mov eax, dword [edi + 0xb8]
call eax
mov eax, dword [ebp - 0xc]
add esp, 0x18
mov ebx, dword [ebp - 0x10]
inc eax
mov edx, dword [ebp - 0xd8]
jmp 0x497c08
mov eax, dword [ebx + 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0xc8], xmm0
mov ecx, dword [edi + esi*4 + 4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc0], ecx
cmp dword [eax + 0xb8], 0
je 0x49ad78
cmp dword [edi + esi*4 + 0x10], 0
je 0x49ad78
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
call fcn.00496760
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c44b
mov ecx, dword [ebp - 0xc0]
push eax
push eax
mov ecx, dword [ecx]
call fcn.00490f20
mov ecx, dword [ebp - 0xc0]
add esp, 8
mov ecx, dword [ecx]
call fcn.00493600
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x49ae07
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb8]
test edx, edx
je 0x49ae07
mov eax, dword [edi + esi*4 + 0x10]
test eax, eax
je 0x49ae04
push dword [ebp - 0xc4]
push dword [ebp - 0xc8]
push eax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 4]
add ecx, ecx
mov eax, dword [eax + 8]
push dword [eax + ecx*8]
mov eax, dword [ebp - 4]
push 9
push dword [eax + 0xb4]
call edx
add esp, 0x18
mov eax, dword [ebp - 8]
test byte [edi + esi*4 + 8], 1
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
je 0x497e55
inc dword [ebx + 0x74]
jmp 0x497e55
mov edi, dword [ebp - 4]
mov ecx, edi
mov edx, dword [ebx + 0x74]
call fcn.004970f0
mov eax, dword [ebp - 8]
mov dword [ebx + 0x74], 0
jmp 0x497e52
mov eax, dword [edi + esi*4 + 8]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov ecx, dword [edi + esi*4 + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ecx]
mov dword [ebp - 0xc4], eax
call fcn.00496760
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c44b
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
cmp byte [eax + 0x17], 0
je 0x49aebc
lea edx, [ebp - 0xb8]
call fcn.00491000
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x48]
cdq
cmp dword [ebp - 0xb4], edx
jg 0x49c4b0
mov edx, dword [ebp - 0xb8]
jl 0x49aeb4
cmp edx, eax
ja 0x49c4b0
mov dword [ebp - 0xc0], edx
jmp 0x49aed9
lea edx, [ebp - 0xc0]
call fcn.00491050
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc0]
cmp edx, dword [edi + 0x48]
ja 0x49c4b0
mov edi, dword [ebp - 0x14]
mov ecx, edi
push 0
call fcn.00493f50
add esp, 4
test eax, eax
jne 0x49c2d1
mov eax, dword [ebp - 0xc0]
mov ecx, 0xbf10
mov dword [edi + 0x18], eax
mov ax, word [edi + 0x1c]
and ax, cx
mov ecx, dword [edi + 0x14]
or ax, 0x10
mov word [edi + 0x1c], ax
mov eax, dword [ebp - 0xc8]
push ecx
push dword [ebp - 0xc0]
cmp byte [eax + 0x17], 0
je 0x49af3f
mov ecx, dword [ebp - 0xc4]
xor edx, edx
call fcn.004913e0
add esp, 8
mov dword [ebp - 8], eax
mov byte [edi + 0x1f], 1
jmp 0x497e4f
push 0
push dword [ebp - 0xc4]
call fcn.00491400
add esp, 0x10
mov dword [ebp - 8], eax
mov byte [edi + 0x1f], 1
jmp 0x497e4f
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc8], ecx
cmp byte [ecx + 0x14], 0
jne case.0x497d23.10
cmp byte [ecx + 0x15], 0
je 0x49af92
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
jmp 0x49b020
cmp dword [ecx + 0x38], 0
je 0x49afe1
mov eax, dword [ecx + 0x38]
lea edx, [ebp - 0xc0]
push edx
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
push dword [ecx + 0x38]
mov eax, dword [eax + 0x30]
call eax
push dword [ebx + 0x68]
mov edi, dword [ebp - 4]
push edi
mov dword [ebp - 8], eax
call fcn.00487140
mov ecx, dword [ebp - 0xb8]
add esp, 0x10
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov dword [ecx + 8], 0
jmp 0x49b023
call fcn.00496760
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c44b
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + 0x11], al
je 0x49b010
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
jmp 0x49b020
mov ecx, dword [ecx]
lea edx, [ebp - 0xc0]
call fcn.00491000
mov dword [ebp - 8], eax
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
mov dword [esi], eax
mov ax, word [esi + 0x1c]
mov dword [esi + 4], ecx
mov ecx, 0xbf04
and ax, cx
or ax, 4
mov word [esi + 0x1c], ax
mov eax, dword [ebp - 8]
jmp 0x497e52
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc8], eax
mov byte [eax + 0x14], 1
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax]
test ecx, ecx
je case.0x497d23.10
call fcn.0048f9e0
jmp case.0x497d23.10
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc8], ecx
mov eax, dword [ecx]
mov dword [ebp - 0xc4], eax
test eax, eax
jne 0x49b0b3
mov dword [ebp - 0xc0], 1
jmp 0x49b0c9
lea edx, [ebp - 0xc0]
mov ecx, eax
call fcn.004917a0
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 8], eax
mov al, byte [ebp - 0xc0]
mov byte [ecx + 0x14], al
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x44], 0
mov eax, dword [edi + esi*4 + 8]
test eax, eax
jle case.0x497d23.10
cmp dword [ebp - 0xc0], 0
mov edi, dword [ebp - 4]
je 0x498111
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x497e55
inc dword [ebx + 0xbc]
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 0xc8], edx
mov ecx, dword [edx]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je 0x49b199
lea edx, [ebp - 0xc0]
call fcn.00491770
cmp dword [ebp - 0xc0], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
sete cl
mov byte [eax + 0x12], cl
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x15], 0
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov edx, dword [ebp - 0xc8]
mov al, byte [ebp - 0xc0]
mov byte [edx + 0x14], al
cmp dword [ebp - 0xc0], 0
jmp 0x4989e9
mov dword [ebp - 0xc0], 1
mov al, byte [ebp - 0xc0]
mov byte [edx + 0x14], al
cmp dword [ebp - 0xc0], 0
jmp 0x4989e9
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
jne 0x49c5d3
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc8], eax
test eax, eax
je case.0x497d23.10
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jne 0x49b1f5
mov byte [eax + 0x14], 1
jmp case.0x497d23.10
mov dword [ebp - 0xc0], 1
lea edx, [ebp - 0xc0]
cmp byte [edi + esi*4], 0x42
jne 0x49b212
call fcn.00491b10
jmp 0x49b217
call fcn.00491c30
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 8], eax
mov al, byte [ebp - 0xc0]
mov byte [ecx + 0x14], al
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x44], 0
cmp dword [ebp - 0xc0], 0
jne 0x49b26b
mov edx, dword [edi + esi*4 + 8]
mov al, byte [edi + esi*4 + 3]
dec edx
test al, al
je 0x49b26e
mov edi, dword [ebp - 4]
movzx eax, al
inc dword [ebx + eax*4 + 0xb4]
mov eax, dword [ebp - 0xc8]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 8]
jmp 0x497e55
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc8]
mov edi, dword [ebp - 4]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 8]
jmp 0x497e55
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je case.0x497d23.10
mov edx, dword [ebp - 0xcc]
mov esi, 0x4000
test word [edx + 0x1c], si
mov esi, dword [ebp - 0x20]
je 0x49b2db
mov ecx, edx
call fcn.00494090
mov dword [ebp - 8], eax
test eax, eax
jne 0x497e4f
mov ecx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xcc]
mov ebx, dword [ebp - 0xcc]
mov edx, dword [edx + 0x18]
mov dword [ebp - 0xc0], edx
mov ebx, dword [ebx + 0x14]
mov dword [ebp - 0xbc], ebx
test byte [edi + esi*4 + 3], 0x10
je 0x49b2ff
mov eax, dword [eax + 0x40]
jmp 0x49b301
xor eax, eax
push eax
push dword [edi + esi*4 + 0xc]
mov eax, edx
push 0
push 0
cdq
push 0x51a59c
push edx
push eax
mov edx, ebx
call fcn.00493420
mov ebx, dword [ebp - 0x10]
add esp, 0x1c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x44], 0
jmp case.0x497d23.10
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xc8], eax
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
je case.0x497d23.10
mov eax, dword [eax + 0x28]
mov dword [ebp - 0xb8], eax
mov ax, word [edi + esi*4 + 0xc]
mov word [ebp - 0xb4], ax
xor eax, eax
mov word [ebp - 0xb2], ax
mov eax, dword [edi + esi*4 + 8]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*8]
mov dword [ebp - 0xa8], eax
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0xc0]
push eax
push 0
push 0
push 0
call fcn.004917f0
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b3bf
cmp dword [ebp - 0xc0], eax
jne 0x49b3bf
mov ecx, dword [ebp - 0xc4]
call fcn.00493600
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x44], 0
jmp case.0x497d23.10
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc4], ecx
mov eax, dword [ecx]
mov dword [ebp - 0xc8], eax
test eax, eax
je case.0x497d23.10
call fcn.00496760
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c44b
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x14], 0
jne case.0x497d23.10
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc0]
push eax
call fcn.00496f60
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c44b
mov edx, dword [ebp - 0x14]
mov ecx, 0xbf04
mov edi, dword [ebp - 4]
mov ax, word [edx + 0x1c]
and ax, cx
or ax, 4
mov word [edx + 0x1c], ax
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xbc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], ecx
inc eax
mov edx, dword [ebp - 0xd8]
jmp 0x497c08
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xc8], ecx
cmp dword [ecx], 0
je case.0x497d23.10
mov eax, dword [ecx + 0x28]
mov dword [ebp - 0xc0], eax
mov ax, word [edi + esi*4 + 0x10]
mov word [ebp - 0xbc], ax
mov eax, 0xc
cmp byte [edi + esi*4 + 3], 0
jne 0x49b4aa
mov eax, 4
mov word [ebp - 0xba], ax
mov eax, dword [edi + esi*4 + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*8]
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xc0]
lea eax, [ebp - 0xc4]
push eax
call fcn.00497050
add esp, 4
mov dword [ebp - 8], eax
cmp byte [edi + esi*4], 0x48
mov eax, dword [ebp - 0xc4]
jne 0x49b4ec
neg eax
jmp 0x49b4ed
inc eax
mov dword [ebp - 0xc4], eax
test eax, eax
mov eax, dword [ebp - 8]
jle 0x497e4f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x497e55
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 0xc4], edx
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xc0], ecx
test ecx, ecx
je 0x49b55a
cmp dword [ecx + 0x50], 0xbdf20da3
jne 0x49b542
cmp byte [ecx + 0x70], 2
jae 0x49b542
cmp dword [ecx + 0x60], 0
jl 0x49b542
inc edx
mov dword [ebp - 0xc4], edx
mov eax, dword [ecx + 8]
mov ecx, eax
mov dword [ebp - 0xc0], ecx
test eax, eax
jne 0x49b526
cmp edx, 1
jg 0x49c492
mov eax, dword [edi + esi*4 + 0xc]
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xbc], eax
add eax, eax
mov edx, dword [edi + esi*4 + 4]
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.00493ac0
mov ecx, dword [ebp - 0x14]
mov edx, 0xbf04
mov dword [ebp - 8], eax
add esp, 4
mov ax, word [ecx + 0x1c]
and ax, dx
or ax, 4
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xc8]
cdq
jmp 0x497e47
xor ecx, ecx
mov dword [ebp - 0xc8], 0
cmp dword [edi + esi*4 + 0xc], ecx
lea eax, [ebp - 0xc8]
mov edx, dword [edi + esi*4 + 4]
cmove eax, ecx
mov ecx, dword [ebp - 4]
push eax
mov eax, dword [edi + esi*4 + 8]
add eax, eax
mov ecx, dword [ecx + 8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.004939e0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [edi + esi*4 + 0xc], 0
je 0x497e4f
mov eax, dword [ebp - 0xc8]
add dword [ebx + 0x74], eax
mov ecx, dword [edi + esi*4 + 0xc]
mov edi, dword [ebp - 4]
test ecx, ecx
jle 0x498111
lea esi, [ecx + ecx*4]
cdq
mov ecx, dword [ebx + 0x58]
add dword [ecx + esi*8], eax
mov eax, dword [ebp - 8]
adc dword [ecx + esi*8 + 4], edx
jmp 0x497e52
mov eax, dword [ebp - 4]
mov edx, 5
mov dword [ebp - 0xc8], 0
mov ecx, dword [edi + esi*4 + 4]
shl ecx, 4
add ecx, dword [eax + 8]
mov eax, 2
mov dword [ebp - 0xc0], ecx
cmp byte [edi + esi*4], 0x61
cmove eax, edx
lea edx, [ebp - 0xc8]
mov dword [ebp - 0xc4], eax
mov ecx, dword [ecx + 4]
push eax
call fcn.00493870
mov ecx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
cdq
mov dword [ecx], eax
mov ax, word [ecx + 0x1c]
mov dword [ecx + 4], edx
mov edx, 0xbf04
and ax, dx
or ax, 4
mov word [ecx + 0x1c], ax
jmp case.0x497d23.10
mov edx, dword [edi + esi*4 + 4]
mov dword [ebp - 0xc8], edx
cmp dword [edi + esi*4 + 8], 0
jne 0x49b6b5
mov eax, dword [ebp - 4]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*8 + 0xc]
test byte [eax + 0x4a], 1
je 0x49b758
mov eax, dword [ebp - 4]
add edx, edx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc4], str.sqlite_master
mov eax, dword [edi + esi*4 + 4]
mov dword [ebp - 0xb8], eax
lea eax, [ebx + 0x68]
mov dword [ebp - 0xb4], eax
push dword [edi + esi*4 + 0x10]
mov edi, dword [ebp - 4]
push str.sqlite_master
mov eax, dword [edi + 8]
push dword [eax + edx*8]
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s
push edi
call fcn.00488690
add esp, 0x14
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x49c2d4
push 0
lea eax, [ebp - 0xbc]
mov byte [edi + 0x7c], 1
mov edx, dword [ebp - 0xc0]
mov ecx, edi
push eax
push fcn.004ab320
mov dword [ebp - 0xb0], 0
call fcn.004a9b00
add esp, 0xc
test eax, eax
cmove eax, dword [ebp - 0xb0]
mov dword [ebp - 8], eax
push dword [ebp - 0xc0]
push edi
call fcn.00487140
add esp, 8
mov byte [edi + 0x7c], 0
jmp 0x49b75b
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, 7
je 0x49c2d4
jmp 0x497e52
push dword [edi + esi*4 + 0x10]
mov edx, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.004a3450
mov eax, dword [ebp - 8]
add esp, 4
jmp 0x497e52
push dword [edi + esi*4 + 0x10]
mov edx, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.004a3190
mov eax, dword [ebp - 8]
add esp, 4
jmp 0x497e52
mov eax, dword [edi + esi*4 + 4]
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov dword [ebp - 0xc8], ecx
mov eax, dword [edi + esi*4 + 8]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0xc4], eax
test byte [ecx + 0x1c], 0x20
jne 0x49b7ea
call fcn.00494640
mov ecx, dword [ebp - 0xc8]
test byte [ecx + 0x1c], 0x20
je 0x49c2d1
mov eax, dword [ebp - 0xc4]
push dword [eax + 4]
mov ecx, dword [ecx]
push dword [eax]
call fcn.0048c530
add esp, 8
jmp case.0x497d23.10
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
jne 0x49c5d3
mov eax, dword [edi + esi*4 + 4]
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea ecx, [edx + eax*8]
mov dword [ebp - 0xc8], ecx
test byte [ecx + 0x1c], 0x20
mov eax, dword [edi + esi*4 + 0xc]
lea eax, [eax + eax*4]
lea eax, [edx + eax*8]
mov dword [ebp - 0x14], eax
je 0x49b867
mov ecx, dword [ecx]
lea edx, [ebp - 0xc0]
call fcn.0048c830
test eax, eax
je 0x49b861
push dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0xc0]
call fcn.004945c0
add esp, 8
jmp case.0x497d23.10
mov ecx, dword [ebp - 0xc8]
call fcn.00494540
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x497e55
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xc8], eax
test byte [ecx + 0x1c], 0x20
jne 0x49b8a7
call fcn.00494640
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x1c], 0x20
je 0x49c2d1
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x49b8ed
js 0x49b8b2
and eax, 0xf
jmp 0x49b8b7
mov eax, 0xff
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
push dword [edx + 4]
push dword [edx]
mov dl, al
call fcn.0048c870
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x49b8e5
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x497e55
mov eax, dword [ebp - 0xc8]
test eax, eax
js case.0x497d23.10
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call fcn.0048c530
add esp, 8
jmp case.0x497d23.10
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
jl case.0x497d23.10
jg 0x497d85
cmp dword [ecx], 0
jbe case.0x497d23.10
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x497e55
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
jg case.0x497d23.10
jl 0x497d85
cmp dword [ecx], 0
jae case.0x497d23.10
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x497e55
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
mov eax, dword [ebp - 8]
jne 0x497e4f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x497e55
mov dl, byte [edi + esi*4 + 3]
movzx eax, dl
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + esi*4 + 8]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0x78], ebx
lea ecx, [eax + ecx*8]
xor eax, eax
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc4], eax
test dl, dl
je 0x49b9f7
nop word [eax + eax]
mov dword [ebx + eax*4], ecx
mov ecx, dword [ebp - 0xbc]
call fcn.00497960
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xbc]
inc eax
add ecx, 0x28
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xbc], ecx
cmp eax, dword [ebp - 0xc8]
jge 0x49b9f7
mov ebx, dword [ebp - 0x78]
jmp 0x49b9c0
mov eax, dword [edi + esi*4 + 0x10]
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0xb8], eax
mov eax, dword [edi + esi*4 + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x88], eax
inc dword [eax + 0x18]
mov eax, 1
mov ecx, dword [ebp - 0xb8]
mov word [ebp - 0x94], ax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
test byte [ecx + 3], 8
je 0x49ba77
mov eax, dword [edi + esi*4 - 4]
mov dword [ebp - 0x80], eax
push dword [ebp - 0x78]
lea eax, [ebp - 0xb8]
push dword [ebp - 0xc8]
push eax
mov eax, dword [ecx + 0x10]
call eax
add esp, 0xc
cmp dword [ebp - 0x84], 0
je 0x49bad9
lea eax, [ebp - 0xb0]
push eax
call fcn.004972c0
mov edi, dword [ebp - 4]
add esp, 4
push eax
push 0x523618
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004874e0
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0xb0]
add esp, 0x10
mov dword [ebp - 8], eax
call fcn.004942c0
mov eax, dword [ebp - 8]
jmp 0x497e52
mov edi, dword [ebp - 4]
lea ecx, [ebp - 0xb0]
call fcn.004942c0
mov eax, dword [ebp - 8]
jmp 0x497e52
mov eax, dword [edi + esi*4 + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea ecx, [eax + ecx*8]
mov dword [ebp - 0xc8], ecx
mov edx, dword [edi + esi*4 + 0x10]
call fcn.004941d0
mov dword [ebp - 8], eax
test eax, eax
je 0x49bb53
push dword [ebp - 0xc8]
call fcn.004972c0
mov edi, dword [ebp - 4]
add esp, 4
push eax
push 0x523618
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004874e0
movzx edx, byte [ebp - 0xd0]
add esp, 0x10
mov ecx, dword [ebp - 0xc8]
call fcn.00493f30
mov ecx, dword [ebp - 0xc8]
jmp 0x4986f5
movzx edx, byte [ebp - 0xd0]
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebp - 4]
call fcn.00493f30
mov ecx, dword [ebp - 0xc8]
jmp 0x4986f5
cmp dword [edi + esi*4 + 4], 0
mov edi, dword [ebp - 4]
jne 0x49bb8c
mov ecx, edi
call fcn.00497110
mov eax, dword [ebp - 8]
jmp 0x497e52
mov eax, dword [ebp - 8]
mov byte [ebx + 0x6e], 1
jmp 0x497e52
mov edx, dword [edi + esi*4 + 0x10]
mov edi, dword [ebp - 4]
mov ecx, edi
mov dword [ebp - 0xc8], edx
call fcn.004b1a40
cmp dword [ebp - 0xc8], 0
mov dword [ebp - 8], eax
je 0x497e52
push dword [ebx + 0x68]
push edi
call fcn.00487140
mov ecx, dword [ebp - 0xc8]
add esp, 8
mov eax, dword [ecx + 8]
mov eax, dword [eax + 8]
mov dword [ebx + 0x68], eax
mov eax, dword [ecx + 8]
mov dword [eax + 8], 0
mov eax, dword [ebp - 8]
jmp 0x497e52
mov edx, dword [edi + esi*4 + 4]
lea eax, [ebx + 0x68]
push eax
push dword [edi + esi*4 + 0x10]
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.004b1800
add esp, 8
mov dword [ebp - 8], eax
jmp 0x497e52
mov byte [ebx + 0x70], 2
push dword [edi + esi*4 + 0x10]
mov edx, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.004b18b0
add esp, 4
mov dword [ebp - 8], eax
mov byte [ebx + 0x70], 0
jmp 0x497e52
mov dword [ebp - 0xc8], 0
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0
mov eax, dword [edi + esi*4 + 0x10]
push edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc0], ecx
push ecx
mov eax, dword [ecx]
mov dword [ebp - 0xbc], eax
mov eax, dword [eax + 0x18]
call eax
push dword [ebx + 0x68]
mov dword [ebp - 8], eax
push dword [ebp - 4]
call fcn.00487140
mov ecx, dword [ebp - 0xc0]
add esp, 0x10
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x497e4f
mov eax, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc0]
push 0
push 0xffffffffffffffff
mov dword [eax], ecx
mov ecx, ebx
mov edx, dword [edi + esi*4 + 4]
push 0
call fcn.004979a0
mov edi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x49bcee
mov ecx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xd8]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax]
mov ecx, dword [eax]
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 0xc]
inc eax
jmp 0x497c08
mov byte [edi + 0x1e], 1
mov eax, dword [ebp - 0xbc]
push dword [ebp - 0xc4]
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebp - 0xc]
add esp, 4
mov edx, dword [ebp - 0xd8]
inc eax
jmp 0x497c08
mov eax, dword [edi + esi*4 + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea edx, [eax + ecx*8]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xbc], edx
lea ebx, [edx + 0x28]
mov dword [ebp - 0xb8], ebx
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0xac], eax
mov eax, dword [eax + 0x38]
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xec], eax
mov eax, dword [eax]
mov dword [ebp - 0xb0], eax
mov eax, dword [eax]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebx]
mov dword [ebp - 0xc8], eax
mov ecx, dword [edx]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xa8], 0
mov edx, dword [ecx + 0x24]
xor ecx, ecx
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], ecx
test eax, eax
jle 0x49bdff
nop
lea eax, [ecx + 1]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xa0]
mov ecx, dword [ecx + eax*4]
call fcn.00497960
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0xc8]
inc ecx
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], ecx
cmp ecx, eax
jge 0x49bde5
mov ebx, dword [ebp - 0xb8]
jmp 0x49bda0
mov esi, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xb4]
mov ebx, dword [ebp - 0xc0]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x20]
jmp 0x49be0b
mov ecx, dword [ebp - 0xec]
mov ebx, dword [ebp - 0xdc]
mov edi, dword [ebp - 0x10]
push edx
push eax
mov byte [edi + 0x70], 1
mov edi, dword [ebp - 0xd4]
mov eax, dword [ebx + 0x20]
push dword [edi + esi*4 + 0x10]
push dword [ebp - 8]
push ecx
call eax
mov ebx, dword [ebp - 0x10]
add esp, 0x14
mov dword [ebp - 8], eax
push dword [ebx + 0x68]
mov byte [ebx + 0x70], 0
push dword [ebp - 4]
call fcn.00487140
mov ecx, dword [ebp - 0xb0]
add esp, 8
cmp dword [ebp - 8], 0
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov dword [ecx + 8], 0
jne 0x49be77
mov eax, dword [ebp - 0xc0]
push dword [ebp - 0xb4]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
mov dword [ebp - 0xa8], eax
jmp 0x49be7d
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x49be9b
mov eax, dword [ebp - 0xac]
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 8]
jmp 0x497e55
mov eax, dword [ebp - 0xac]
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
mov byte [eax + 0x14], 0
mov eax, dword [ebp - 8]
jmp 0x497e55
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov ebx, dword [eax + ecx*4]
mov eax, dword [edi + esi*4 + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
lea ecx, [eax + ecx*8]
mov dword [ebp - 0xc0], ecx
cmp byte [ebx + 0x14], 0
je 0x49bee6
call fcn.00494540
mov ebx, dword [ebp - 0x10]
jmp case.0x497d23.10
mov eax, dword [ebx + 0x38]
push 0x40
push 0
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004d31f0
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0xb0]
add esp, 0xc
call fcn.00494790
mov eax, dword [ebp - 0x94]
and eax, 0xbf01
or eax, 1
mov word [ebp - 0x94], ax
lea eax, [ebp - 0xb8]
push dword [edi + esi*4 + 8]
push eax
mov eax, dword [ebp - 0xc4]
push dword [ebx + 0x38]
mov eax, dword [eax + 0x2c]
call eax
mov ebx, dword [ebp - 0x10]
add esp, 0xc
mov edi, dword [ebp - 4]
mov dword [ebp - 8], eax
push dword [ebx + 0x68]
push edi
call fcn.00487140
mov ecx, dword [ebp - 0xc8]
add esp, 8
movzx edx, byte [ebp - 0xd0]
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov dword [ecx + 8], 0
mov eax, dword [ebp - 0x84]
test eax, eax
mov ecx, dword [ebp - 8]
cmovne ecx, eax
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0xb0]
call fcn.00493f30
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xb0]
call fcn.00494790
mov ecx, dword [ebp - 0xc0]
call fcn.004946a0
test eax, eax
je 0x498111
mov esi, ebx
jmp 0x49c4c6
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0xc0], 0
mov ecx, dword [edi + esi*4 + 4]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xbc], ecx
cmp byte [ecx + 0x14], 0
jne case.0x497d23.10
mov eax, dword [ecx + 0x38]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
mov eax, dword [eax]
mov dword [ebp - 0xc4], eax
mov byte [ebx + 0x70], 1
push dword [ecx + 0x38]
mov eax, dword [eax + 0x24]
call eax
add esp, 4
mov dword [ebp - 8], eax
mov byte [ebx + 0x70], 0
push dword [ebx + 0x68]
push dword [ebp - 4]
call fcn.00487140
mov ecx, dword [ebp - 0xc8]
add esp, 8
cmp dword [ebp - 8], 0
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov dword [ecx + 8], 0
jne 0x49c057
mov eax, dword [ebp - 0xbc]
push dword [eax + 0x38]
mov eax, dword [ebp - 0xc4]
mov eax, dword [eax + 0x28]
call eax
add esp, 4
mov dword [ebp - 0xc0], eax
jmp 0x49c05d
mov eax, dword [ebp - 0xc0]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x497e4f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x497e55
mov eax, dword [edi + esi*4 + 0x10]
mov edx, dword [eax + 8]
mov dword [ebp - 0xc8], edx
mov eax, dword [edi + esi*4 + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + ecx*8]
mov dword [ebp - 0xc4], eax
mov ecx, dword [edx]
push dword [eax + 0x14]
push edx
mov eax, dword [ecx + 0x4c]
call eax
push dword [ebx + 0x68]
mov edi, dword [ebp - 4]
push edi
mov dword [ebp - 8], eax
call fcn.00487140
mov ecx, dword [ebp - 0xc8]
add esp, 0x10
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 8], 0
jmp 0x497e52
mov eax, dword [edi + esi*4 + 0x10]
mov ebx, dword [eax + 8]
mov dword [ebp - 0xc8], ebx
mov eax, dword [ebx]
mov dword [ebp - 0xc4], eax
mov edx, dword [edi + esi*4 + 8]
mov dword [ebp - 0xc0], edx
cmp dword [eax + 0x34], 0
mov dword [ebp - 0xdc], eax
je 0x498036
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xb0], eax
mov eax, dword [edi + esi*4 + 0xc]
mov dword [ebp - 0xbc], 0
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
lea ecx, [eax + ecx*8]
mov dword [ebp - 0xac], ecx
test edx, edx
jle 0x49c186
call fcn.00497960
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [eax + ecx*4], edx
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xac]
inc eax
mov edx, dword [ebp - 0xc0]
add ecx, 0x28
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xbc], eax
cmp eax, edx
jl 0x49c132
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
jmp 0x49c192
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xec]
mov eax, dword [eax + 0x34]
lea esi, [ebp - 0xb8]
push esi
push ecx
push edx
push ebx
call eax
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
push dword [ebx + 0x68]
push dword [ebp - 4]
call fcn.00487140
mov ecx, dword [ebp - 0xc8]
add esp, 0x18
mov esi, dword [ebp - 0x20]
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 8]
mov dword [ecx + 8], 0
test eax, eax
jne 0x49c1f9
cmp dword [edi + esi*4 + 4], 0
mov edi, dword [ebp - 4]
je 0x49c1fc
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb4]
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x34], ecx
inc dword [ebx + 0x74]
jmp 0x497e52
mov edi, dword [ebp - 4]
inc dword [ebx + 0x74]
jmp 0x497e52
mov eax, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
mov dword [ebp - 0xc8], eax
add eax, eax
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + eax*8 + 4]
call fcn.00493c80
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xc0], eax
mov ecx, eax
call fcn.0048e030
mov dword [ebp - 8], eax
test eax, eax
jne 0x497e52
mov ecx, dword [ebp - 0x14]
mov eax, 4
mov word [ecx + 0x1c], ax
mov eax, dword [ebp - 0xc4]
cdq
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov dword [ecx + 4], edx
inc eax
mov edx, dword [ebp - 0xd8]
jmp 0x497c08
mov ebx, dword [ebp - 0x10]
mov edi, edx
mov eax, dword [ebp - 8]
jmp 0x497e52
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
jmp 0x497e55
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x64], eax
mov al, byte [edi + esi*4 + 8]
mov byte [ebx + 0x38], al
mov dword [ebx + 0x60], edx
mov eax, dword [edi + esi*4 + 0x10]
test eax, eax
je 0x49c2ac
push eax
push 0x523618
push dword [ebp - 4]
lea eax, [ebx + 0x68]
push eax
call fcn.004874e0
add esp, 0x10
mov ecx, ebx
call fcn.00496330
cmp eax, 5
jne 0x49c3b3
mov dword [ebx + 0x64], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xb8]
call fcn.004942c0
mov edi, dword [ebp - 4]
push str.out_of_memory
lea eax, [ebx + 0x68]
mov byte [edi + 0x1e], 1
push edi
push eax
call fcn.004874e0
mov dword [ebx + 0x64], 7
add esp, 0xc
mov ecx, ebx
call fcn.00496330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x14
mov dword [ebp - 8], ebx
jmp 0x49c44e
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x64], 0xb
call fcn.00496330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
push str.cannot_open_savepoint___SQL_statements_in_progress
push edi
lea eax, [ebx + 0x68]
push eax
call fcn.004874e0
mov dword [ebx + 0x64], 5
jmp 0x49c2ee
mov edx, dword [ebp - 0xc]
mov dword [ebx + 0x60], edx
mov byte [eax + 0x1c], 0
mov eax, 5
mov dword [ebx + 0x64], 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xd4]
mov ebx, dword [ebp - 0x10]
push str.no_such_savepoint:__s
push dword [ebp - 4]
lea eax, [ebx + 0x68]
push eax
call fcn.004874e0
add esp, 0x10
mov dword [ebx + 0x64], 1
mov ecx, ebx
call fcn.00496330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x49c3cb
mov ecx, edi
call fcn.004b8600
mov byte [edi + 0x1c], 1
mov ecx, edi
call fcn.004b8340
cmp dword [ebx + 0x64], 0
mov eax, 0x65
mov ecx, 1
cmovne eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0xc8]
mov ecx, ebx
mov byte [edi + 0x1c], al
call fcn.00496330
cmp eax, 5
jne 0x49c3ac
mov edx, dword [ebp - 0xc]
mov al, 1
sub al, byte [ebp - 0xc8]
mov dword [ebx + 0x60], edx
mov byte [edi + 0x1c], al
mov eax, 5
mov dword [ebx + 0x64], 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0xc]
mov eax, 5
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x64], 5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0xb
mov dword [ebp - 8], ebx
jmp 0x49c44e
mov ecx, ebx
mov dword [ebx + 0x64], 4
call fcn.00496330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0xd
mov dword [ebp - 8], ebx
jmp 0x49c44e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
cmp byte [esi + 0x1e], 0
je 0x49c461
mov ebx, 7
mov dword [ebp - 8], ebx
jmp 0x49c46d
cmp ebx, 0xc0a
je 0x49c59d
mov ecx, ebx
call fcn.004b86c0
mov ebx, dword [ebp - 0x10]
push eax
push 0x523618
push esi
lea eax, [ebx + 0x68]
push eax
call fcn.004874e0
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x49c5a8
mov ecx, ebx
mov byte [ebx + 0x38], 2
mov dword [ebx + 0x64], 6
call fcn.00496330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x10]
jmp 0x49c4c6
mov edi, eax
jmp 0x49c4c6
mov esi, dword [ebp - 0x10]
mov edi, ecx
jmp 0x49c4c6
mov esi, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
push str.string_or_blob_too_big
lea eax, [esi + 0x68]
push edi
push eax
call fcn.004874e0
add esp, 0xc
mov dword [esi + 0x64], 0x12
mov ecx, esi
call fcn.00496330
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 1
mov ecx, ebx
call fcn.00496240
mov dword [ebp - 8], eax
test eax, eax
jne 0x49c5a5
mov eax, dword [ebx + 0x5c]
add eax, 2
or eax, 1
mov dword [ebx + 0x5c], eax
mov eax, dword [edi + esi*4 + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea ecx, [eax + ecx*8]
xor eax, eax
mov dword [ebx + 0x2c], ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], eax
cmp dword [edi + esi*4 + 8], eax
jle 0x49c57d
nop dword [eax]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.004940f0
mov eax, dword [ebp - 0xc4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0xc8]
lea ecx, [eax + ecx*8]
call fcn.00497960
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp eax, dword [edi + esi*4 + 8]
jge 0x49c57d
mov ecx, dword [ebp - 0xc8]
jmp 0x49c540
mov edi, dword [ebp - 4]
cmp byte [edi + 0x1e], 0
jne 0x49c2d4
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebx + 0x60], eax
mov eax, 0x64
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
jmp 0x49c5a8
mov esi, dword [ebp - 4]
mov ecx, ebx
mov dword [ebx + 0x64], eax
call fcn.00496330
cmp dword [ebp - 8], 0xc0a
jne 0x49c2f8
mov byte [esi + 0x1e], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, ecx
jmp 0x49c5d5
mov edi, eax
mov ecx, 9
mov dword [ebx + 0x64], 9
call fcn.004b86c0
push eax
push 0x523618
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004874e0
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x64], 9
call fcn.00496330
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, eax
jmp 0x49c2d4