Function at 0x496890
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 0x49afe4
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x2c], eax
mov dword [edi + 0x198], eax
cmp dword [edi + 0xd8], eax
jne 0x49b2e5
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0xc], eax
nop dword [eax + eax]
cmp byte [edi + 0x1e], 0
jne 0x49afe4
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 0x49696a
cmp dword [ecx + 0x100], edx
jne 0x496963
push dword [ecx + 0xfc]
call eax
add esp, 4
test eax, eax
jne 0x49b309
xor edx, edx
inc edx
mov dword [ebp - 0xd8], edx
movzx eax, byte [edi + esi*4]
mov cl, byte [eax + 0x51f048]
test cl, 2
je 0x4969a5
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.00492f70
mov edx, dword [ebp - 0x14]
mov eax, 1
mov word [edx + 0x1c], ax
mov dword [edx + 0x18], 0
jmp 0x496a19
mov dl, cl
and dl, 8
test cl, 4
je 0x4969ff
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 0x4969e5
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 0x496a19
mov edx, dword [ebp - 0x14]
test cl, 0x10
je 0x4969e0
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 0x496a1c
test dl, dl
je 0x496a3a
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.0x496a33.10
movzx eax, byte [eax + 0x49b4bc]
jmp dword [eax*4 + 0x49b32c]
test cl, 0x10
je 0x496a16
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 0x496a1c
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xd8], 0
jne 0x49b2df
mov edx, dword [edi + esi*4 + 8]
mov edi, ecx
mov eax, dword [ebp - 8]
dec edx
jmp 0x496b65
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 0x496b65
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 4]
mov edx, dword [eax]
mov eax, dword [ebp - 8]
jmp 0x496b65
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 0x496b65
test byte [ecx + 0x1c], 1
je case.0x496a33.10
mov eax, dword [edi + esi*4 + 4]
test eax, eax
jne 0x49af8c
mov ebx, dword [ebx + 0xdc]
test ebx, ebx
je 0x49af8c
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.00495e00
mov ecx, ebx
call fcn.00494950
cmp dword [edi + esi*4 + 8], 4
mov edx, eax
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
jne 0x496b41
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 0x496b65
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 0x49b2b5
mov eax, edx
mov edx, dword [ebp - 0xd8]
jmp 0x496920
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.0x496a33.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.0x496a33.10
mov ecx, dword [edi + esi*4 + 0x10]
mov byte [edi + esi*4], 9
call fcn.00487bf0
cmp byte [ebp - 0xd0], 1
mov dword [edi + esi*4 + 4], eax
je 0x496c4d
push 0
push 1
mov edx, ecx
mov ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
call fcn.004934e0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0x12
je 0x49b1d0
movzx edx, byte [ebp - 0xd0]
mov ecx, dword [ebp - 0x14]
call fcn.00492c40
test eax, eax
jne 0x49afe1
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 0x496c3a
push dword [edi + esi*4 + 0x10]
push dword [ebp - 4]
call fcn.00485e50
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 0x49b1c9
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.0x496a33.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.004934e0
mov al, byte [ebp - 0xd0]
add esp, 0xc
mov byte [esi + 0x1f], al
jmp case.0x496a33.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 0x496d3f
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.004933b0
test eax, eax
jne 0x49b1d3
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.00492f70
mov eax, 1
mov ecx, edi
mov word [edi + 0x1c], ax
mov edx, dword [ebp - 0xbc]
push 0x800
call fcn.004933e0
mov eax, dword [ebp - 0xc0]
add esp, 4
test eax, eax
jle 0x496d3f
mov ebx, dword [ebp - 0xc4]
mov edx, dword [ebp - 0xc8]
jmp 0x496cc5
dec eax
mov dword [ebp - 0xc0], eax
mov ebx, dword [ebp - 0x10]
jmp case.0x496a33.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 0x496dcf
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.004934a0
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 0x496d90
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
dec ebx
mov dword [ebp - 0xc4], ebx
mov ebx, dword [ebp - 0x10]
jmp case.0x496a33.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.004933e0
mov eax, 0x1000
add esp, 4
test word [edi + 0x1c], ax
je case.0x496a33.10
mov ecx, edi
call fcn.00492d40
mov edi, dword [ebp - 4]
test eax, eax
jne 0x49afe4
mov eax, dword [ebp - 8]
jmp 0x496b62
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.004933e0
add esp, 4
jmp case.0x496a33.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 0x496e72
mov ecx, edx
call fcn.00493250
jmp case.0x496a33.10
test ecx, 0x4000
je 0x496e89
mov ecx, esi
call fcn.00492da0
test eax, eax
jne 0x49afe1
mov eax, 0x4000
test word [edi + 0x1c], ax
je 0x496ea3
mov ecx, edi
call fcn.00492da0
test eax, eax
jne 0x49afe1
test byte [esi + 0x1c], 0x12
movzx esi, byte [ebp - 0xd0]
jne 0x496ec2
mov ecx, dword [ebp - 0x18]
mov edx, esi
call fcn.00492e50
test eax, eax
jne 0x49afe1
test byte [edi + 0x1c], 0x12
jne 0x496ed9
mov edx, esi
mov ecx, edi
call fcn.00492e50
test eax, eax
jne 0x49afe1
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 0x49b1c0
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.00492c60
add esp, 4
test eax, eax
jne 0x49afe1
mov eax, dword [ebp - 0xcc]
cmp edi, eax
je 0x496f5c
push dword [eax + 0x18]
push dword [eax + 0x14]
push dword [edi + 0x14]
call fcn.004d17a0
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.004d17a0
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.0x496a33.10
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.00496780
mov ecx, dword [ebp - 0xcc]
call fcn.00496780
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 0x497235
mov al, byte [ebx + 0x1c]
and al, byte [edx + 0x1c]
test al, 4
je 0x4970f6
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.0x497025
jmp dword [eax*4 + 0x49b550]
add ecx, dword [ebp - 0x20]
adc edx, ebx
jmp 0x4970c6
mov eax, dword [ebp - 0x20]
sub eax, ecx
sbb ebx, edx
mov edx, ebx
jmp 0x4970c4
mov eax, dword [ebp - 0x20]
push ebx
push eax
push edx
push ecx
call fcn.004ba420
jmp 0x4970c4
mov eax, ecx
or eax, edx
je 0x497235
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x20]
jne 0x497087
test eax, eax
jne 0x497087
cmp ebx, 0x80000000
jne 0x497087
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.004f54a0
jmp 0x4970c4
mov eax, ecx
or eax, edx
je 0x497235
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
jne 0x4970b8
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.004f5550
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.0x496a33.10
mov ecx, ebx
call fcn.004930c0
mov ecx, dword [ebp - 0xcc]
movsd qword [ebp - 0xb0], xmm0
call fcn.004930c0
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.0x49712c
jmp dword [eax*4 + 0x49b560]
addsd xmm0, qword [ebp - 0xb0]
jmp 0x4971e4
subsd xmm0, qword [ebp - 0xb0]
jmp 0x4971e4
mulsd xmm0, qword [ebp - 0xb0]
jmp 0x4971e4
movsd xmm1, qword [ebp - 0xb0]
ucomisd xmm1, qword [0x524960]
lahf
test ah, 0x44
jnp 0x497235
divsd xmm0, xmm1
jmp 0x4971e4
movsd xmm0, qword [ebp - 0xb0]
call fcn.004f5a10
movsd xmm0, qword [ebp - 0xe0]
mov esi, eax
mov edi, edx
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], edi
call fcn.004f5a10
mov ecx, esi
mov dword [ebp - 0xb4], edx
or ecx, edi
mov ebx, eax
mov dword [ebp - 0xb8], ebx
je 0x497235
mov eax, esi
and eax, edi
cmp eax, 0xffffffff
jne 0x4971d4
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.004f5550
mov ecx, eax
call fcn.004f5b20
movsd qword [ebp - 0xa8], xmm0
call fcn.00487bb0
test eax, eax
jne 0x497235
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 0x496d46
mov ecx, edi
call fcn.00493140
mov ebx, dword [ebp - 0x10]
jmp case.0x496a33.10
mov ecx, dword [ebp - 0x14]
call fcn.00493250
mov ebx, dword [ebp - 0x10]
jmp case.0x496a33.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 0x4972bc
nop dword [eax]
mov dword [ebx + eax*4], edx
mov ecx, dword [ebp - 0xc4]
call fcn.00496670
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 0x4972b4
mov ebx, dword [ebp - 0x80]
jmp 0x497280
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x58]
jmp 0x4972c5
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 0x4972dc
mov dword [ebp - 0xbc], 0
jmp 0x4972e4
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.004934a0
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 0x497362
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 0x49afd6
mov ecx, dword [ebp - 0xbc]
test ecx, ecx
je 0x4973a6
mov edx, dword [edi + esi*4 + 4]
call fcn.00495370
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 0x4973df
lea eax, [ebp - 0xb8]
push eax
call fcn.00495fd0
mov edi, dword [ebp - 4]
add esp, 4
push eax
push 0x522518
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004861f0
mov eax, dword [ebp - 0x8c]
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x4973e2
mov edi, dword [ebp - 4]
movzx edx, byte [ebp - 0xd0]
lea ecx, [ebp - 0xb8]
call fcn.00492c40
mov ecx, dword [ebp - 0x14]
lea edx, [ebp - 0xb8]
call fcn.004934a0
mov ecx, dword [ebp - 0x14]
call fcn.004933b0
test eax, eax
jne 0x49b1c0
mov eax, dword [ebp - 8]
jmp 0x496b62
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0x18]
mov al, byte [eax + 0x1c]
or al, byte [ecx + 0x1c]
test al, 1
je 0x497439
mov ecx, edx
call fcn.00493250
jmp case.0x496a33.10
mov ecx, dword [ebp - 0xcc]
call fcn.00493040
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
call fcn.00493040
mov ebx, eax
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xc0], ebx
movzx ecx, byte [edi + esi*4]
sub ecx, 0x52
je 0x4974fe
sub ecx, 1
je 0x4974d4
sub ecx, 1
je 0x4974a6
mov eax, dword [ebp - 0xc8]
mov ecx, ebx
mov edx, dword [ebp - 0xc4]
call fcn.004f59e0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
mov dword [esi], eax
jmp 0x4970d7
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 0x4970d7
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 0x4970d7
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 0x4970d7
mov ecx, dword [ebp - 0x18]
call fcn.00493190
mov eax, dword [edi + esi*4 + 8]
mov ecx, dword [ebp - 0x18]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
jmp case.0x496a33.10
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x18]
mov dl, 0x63
call fcn.00496810
mov ecx, dword [ebp - 0x18]
add esp, 4
movzx eax, word [ecx + 0x1c]
test al, 4
jne 0x49757a
mov eax, dword [edi + esi*4 + 8]
test eax, eax
je 0x49b014
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x496b65
and eax, 0xbf04
or eax, 4
mov word [ecx + 0x1c], ax
jmp case.0x496a33.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 4
je case.0x496a33.10
mov ecx, esi
call fcn.004931c0
jmp case.0x496a33.10
mov esi, dword [ebp - 0x18]
movzx ecx, word [esi + 0x1c]
test cl, 1
jne case.0x496a33.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.00496810
mov eax, 0x4000
add esp, 4
test word [esi + 0x1c], ax
je 0x4975f7
mov ecx, esi
call fcn.00492da0
mov dword [ebp - 8], eax
mov eax, 0xbfe3
and word [esi + 0x1c], ax
jmp case.0x496a33.10
mov eax, 0xbfe3
mov dword [ebp - 8], 0
and word [esi + 0x1c], ax
jmp case.0x496a33.10
mov esi, dword [ebp - 0x18]
movzx eax, word [esi + 0x1c]
test al, 1
jne case.0x496a33.10
test al, 0x10
jne 0x49764a
push dword [ebp - 0xd0]
mov dl, 0x61
mov ecx, esi
call fcn.00496810
mov ax, word [esi + 0x1c]
mov ecx, 0xbf10
and ax, cx
add esp, 4
or ax, 0x10
mov word [esi + 0x1c], ax
jmp case.0x496a33.10
and eax, 0xff10
mov word [esi + 0x1c], ax
jmp case.0x496a33.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 0xd
jne case.0x496a33.10
mov ecx, esi
call fcn.004931f0
jmp case.0x496a33.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 1
jne case.0x496a33.10
mov ecx, esi
call fcn.00493190
jmp case.0x496a33.10
mov esi, dword [ebp - 0x18]
test byte [esi + 0x1c], 1
jne case.0x496a33.10
mov ecx, esi
call fcn.004931c0
jmp case.0x496a33.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 0x49770f
mov al, byte [edi + esi*4 + 3]
test al, al
jns 0x4976ca
and edx, ecx
not edx
and edx, 1
jmp 0x497793
test al, 0x10
je 0x4976f7
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.0x496a33.10
test al, 8
mov eax, dword [ebp - 8]
je 0x496b5f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x496b65
mov dl, byte [edi + esi*4 + 3]
and dl, 0x67
mov byte [ebp - 0xc4], dl
je 0x497753
push dword [ebp - 0xd0]
mov ecx, dword [ebp - 0x18]
call fcn.00496810
mov dl, byte [ebp - 0xc4]
add esp, 4
mov ecx, dword [ebp - 0x1c]
push dword [ebp - 0xd0]
call fcn.00496810
mov eax, dword [ebp - 4]
add esp, 4
cmp byte [eax + 0x1e], 0
jne 0x49b323
mov eax, dword [ebp - 0x18]
mov ecx, 0x4000
test word [eax + 0x1c], cx
je 0x49776d
mov ecx, eax
call fcn.00492da0
mov ecx, 0x4000
mov eax, dword [ebp - 0x1c]
test word [eax + 0x1c], cx
je 0x497780
mov ecx, eax
call fcn.00492da0
mov eax, dword [ebp - 0x1c]
push dword [edi + esi*4 + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, eax
call fcn.00493670
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.0x4977a5
jmp dword [ecx*4 + 0x49b570]
xor eax, eax
test edx, edx
sete al
jmp 0x4977db
xor eax, eax
test edx, edx
setne al
jmp 0x4977db
mov eax, edx
jmp 0x4977d8
xor eax, eax
test edx, edx
setle al
jmp 0x4977db
xor eax, eax
test edx, edx
setg al
jmp 0x4977db
mov eax, edx
not eax
shr eax, 0x1f
mov dword [ebp - 0xc8], eax
test byte [edi + esi*4 + 3], 0x10
je 0x497b36
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.0x496a33.10
mov eax, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xe4], eax
jmp case.0x496a33.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 0x497924
mov eax, dword [ebp - 0xe4]
test eax, eax
je 0x497880
mov edi, dword [eax + edx*4]
jmp 0x497882
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.00493670
add esp, 4
mov dword [ebp - 0xe8], eax
test eax, eax
jne 0x497906
mov edx, dword [ebp - 0xc4]
inc edx
mov dword [ebp - 0xc4], edx
cmp edx, dword [ebp - 0xc8]
jge 0x497927
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 0x497871
cmp dword [ebp - 0xac], 0
je 0x497927
neg eax
mov dword [ebp - 0xe8], eax
xor eax, eax
mov dword [ebp - 0xe4], eax
jmp case.0x496a33.10
mov ebx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0xe4], eax
jmp case.0x496a33.10
mov ecx, dword [ebp - 0xe8]
test ecx, ecx
jns 0x497950
mov eax, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x496b65
jne 0x497964
mov eax, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x496b65
mov eax, dword [edi + esi*4 + 0xc]
mov edi, dword [ebp - 4]
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x496b65
mov eax, dword [ebp - 0x18]
test byte [eax + 0x1c], 1
je 0x497986
mov ecx, 2
jmp 0x49799a
mov ecx, eax
call fcn.00493040
or eax, edx
je 0x497998
mov ecx, 1
jmp 0x49799a
xor ecx, ecx
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xc8], ecx
test byte [eax + 0x1c], 1
je 0x4979b3
mov eax, 2
jmp 0x4979cd
mov ecx, eax
call fcn.00493040
or eax, edx
mov ecx, dword [ebp - 0xc8]
je 0x4979cb
mov eax, 1
jmp 0x4979cd
xor eax, eax
mov dword [ebp - 0xc4], eax
lea eax, [eax + ecx*2]
cmp byte [edi + esi*4], 0x45
jne 0x4979e6
movzx eax, byte [ecx + eax + 0x52010c]
jmp 0x4979ee
movzx eax, byte [ecx + eax + 0x51f674]
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0xc8], eax
cmp eax, 2
jne 0x497a18
mov ax, word [edi + 0x1c]
mov ecx, 0xbf01
and ax, cx
or ax, 1
movzx eax, ax
mov word [edi + 0x1c], ax
jmp case.0x496a33.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.0x496a33.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 0x497a5f
mov ecx, edi
call fcn.00493250
jmp case.0x496a33.10
mov ecx, esi
call fcn.00493040
or eax, edx
jne 0x497a82
xor ecx, ecx
mov eax, 1
push ecx
push eax
mov ecx, edi
call fcn.004932d0
add esp, 8
jmp case.0x496a33.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.004932d0
add esp, 8
jmp case.0x496a33.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 0x497acf
mov ecx, edi
call fcn.00493250
jmp case.0x496a33.10
mov ecx, esi
call fcn.00493040
not edx
not eax
push edx
push eax
mov ecx, edi
call fcn.004932d0
add esp, 8
jmp case.0x496a33.10
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x1c], 1
je 0x497b05
mov eax, dword [edi + esi*4 + 0xc]
test eax, eax
mov dword [ebp - 0xc8], eax
jmp 0x4976f9
call fcn.004930c0
ucomisd xmm0, qword [0x524960]
lahf
test ah, 0x44
jnp 0x497b1f
mov eax, 1
jmp 0x497b21
xor eax, eax
mov dword [ebp - 0xc8], eax
cmp byte [edi + esi*4], 0x1b
jne 0x497b36
xor eax, 1
mov dword [ebp - 0xc8], eax
test eax, eax
jmp 0x4976f9
mov eax, dword [ebp - 0x18]
test byte [eax + 0x1c], 1
jmp 0x4976f9
mov eax, dword [ebp - 0x18]
test byte [eax + 0x1c], 1
mov eax, dword [ebp - 8]
jne 0x496b5f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x496b65
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 0x497c7c
mov ecx, edx
call fcn.00495470
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x49b15b
mov ecx, dword [ebp - 0xb0]
cmp byte [ecx + 0x14], al
je 0x497c25
mov dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 4]
inc eax
mov edx, dword [ebp - 0xd8]
jmp 0x496918
mov eax, dword [ecx + 0x44]
cmp eax, dword [ebx + 0x5c]
jne 0x497c44
mov edx, dword [ecx + 0x48]
mov dword [ebp - 0xc8], edx
mov eax, dword [ecx + 0x54]
mov dword [ebp - 0xac], eax
jmp 0x497cc2
cmp byte [ecx + 0x17], 0
mov ecx, dword [ebp - 0xa8]
je 0x497c6c
lea edx, [ebp - 0xc0]
call fcn.0048fd10
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc8], edx
jmp 0x497cbc
lea edx, [ebp - 0xc8]
call fcn.0048fd60
mov dword [ebp - 8], eax
jmp 0x497cb6
mov eax, dword [edx + 0x24]
test eax, eax
jle 0x4980c8
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 0x497cb0
xor eax, eax
jmp 0x497cb3
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.0x496a33.10
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0x10]
cmp edx, dword [eax + 0x48]
ja 0x49b1c5
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 0x497d04
mov eax, dword [ecx + 0x50]
mov dword [ebp - 0xa0], eax
jmp 0x497f68
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 0x497d47
mov dword [ebp - 0x90], ebx
jmp 0x497d99
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0x44]
mov ecx, dword [ebp - 0xa8]
cmp byte [eax + 0x17], 0
je 0x497d63
call fcn.004901c0
jmp 0x497d68
call fcn.004901e0
mov ecx, eax
mov eax, dword [ebp - 0xc8]
cmp eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x90], ecx
ja 0x497d8c
mov dword [ebp - 0xac], ecx
mov dword [eax + 0x54], ecx
jmp 0x497d93
mov dword [eax + 0x54], 0
mov ebx, dword [ebp - 0x90]
mov al, byte [ebx]
cmp al, 0x80
jae 0x497da9
movzx ecx, al
mov al, 1
mov dword [ebp - 0x58], ecx
jmp 0x497dbc
lea edx, [ebp - 0x58]
mov ecx, ebx
call fcn.004889a0
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x90]
movzx eax, al
mov dword [ebp - 0x48], eax
cmp ecx, 0x18003
ja 0x49b021
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 0x497e41
cmp dword [ebp - 0x44], edx
jge 0x497e41
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.004938f0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x496d46
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 0x497f07
nop dword [eax + eax]
cmp ebx, eax
mov eax, dword [ebp - 0xa0]
jae 0x497edd
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x60]
mov al, byte [ecx]
cmp al, 0x80
jae 0x497e9c
mov ecx, dword [ebp - 0x94]
movzx edx, al
mov eax, dword [ebp - 0xa4]
mov dword [eax + ecx*4], edx
mov al, 1
jmp 0x497eb0
mov edx, dword [ebp - 0x94]
mov eax, dword [ebp - 0xa4]
lea edx, [eax + edx*4]
call fcn.004889a0
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.004955e0
mov ecx, dword [ebp - 0x50]
add ecx, eax
mov dword [ebp - 0x50], ecx
adc dword [ebp - 0x4c], 0
jmp 0x497ef0
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 0x497f07
mov eax, dword [ebp - 0x5c]
jmp 0x497e70
lea ecx, [ebp - 0x88]
call fcn.00492fd0
mov edx, dword [ebp - 0x60]
mov eax, 1
mov ebx, dword [ebp - 0x5c]
mov word [ebp - 0x6c], ax
cmp edx, ebx
ja 0x4980b4
cmp dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0xc8]
ja 0x4980b4
mov eax, dword [ebp - 0x50]
jb 0x497f46
cmp eax, ecx
ja 0x4980b4
cmp edx, ebx
jne 0x497f5c
cmp eax, ecx
jne 0x4980b4
cmp dword [ebp - 0x4c], 0
jne 0x4980b4
mov eax, dword [ebp - 0xa0]
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xb4]
cmp dword [eax + ecx*4], 0
je 0x498044
cmp dword [ebp - 0xac], 0
je 0x497faf
mov ecx, dword [ebp - 0x8c]
call fcn.00492f70
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 0x498028
mov ecx, dword [edx + ecx*4]
call fcn.004955e0
mov edx, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x98], eax
call fcn.004934a0
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.004938f0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x496d46
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.004956b0
mov eax, dword [ebp - 0x8c]
mov cl, byte [ebp - 0xd0]
mov byte [eax + 0x1f], cl
jmp 0x49805f
cmp byte [edi + esi*4 + 1], 0xf8
jne 0x498062
mov edx, dword [edi + esi*4 + 0x10]
mov ecx, dword [ebp - 0x8c]
push 0x800
call fcn.004933e0
add esp, 4
cmp dword [ebp - 0x64], 0
je 0x49809e
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.00492d40
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp case.0x496a33.10
mov ebx, dword [ebp - 0x10]
mov eax, 0xb
mov dword [ebp - 8], 0xb
jmp 0x496b5f
mov dword [ebp - 0xc8], 0
jmp case.0x496a33.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.0x496a33.10
mov dword [ebp - 0xbc], esi
mov ebx, 0x4000
test word [esi + 0x1c], bx
je 0x498136
mov ecx, esi
call fcn.00492da0
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.00496810
mov esi, dword [ebp - 0xbc]
add esp, 4
add esi, 0x28
mov dword [ebp - 0xbc], esi
cmp esi, dword [ebp - 0xc0]
jbe 0x498123
mov ebx, dword [ebp - 0x10]
jmp case.0x496a33.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 0x498301
mov dword [ebp - 0xc4], edi
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x49825b
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.00496810
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 0x498288
cmp dword [edi + 0x18], 0
jle 0x498288
mov ecx, edi
call fcn.00492da0
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.00495500
mov ecx, eax
mov dword [ebp - 0xa0], ecx
call fcn.004955e0
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.00488a20
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 0x4982df
add ebx, dword [edi]
jmp 0x4982e6
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 0x498213
mov eax, edx
cdq
push edx
push eax
call fcn.00488a20
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.00488a20
add esp, 0x10
cmp esi, eax
jge 0x498339
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 0x49b1c0
jl 0x498378
cmp esi, eax
ja 0x49b1c0
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.00492c60
add esp, 4
test eax, eax
jne 0x49afe1
mov edx, dword [ebp - 0xb8]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0xc8], ecx
cmp edx, 0x80
jae 0x4983cc
mov al, dl
mov byte [ecx], al
mov eax, 1
jmp 0x4983d1
call fcn.004887d0
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 0x49846d
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [ebp - 0x8c]
mov ecx, eax
call fcn.00495500
mov edx, eax
mov dword [ebp - 0xa0], edx
cmp edx, 0x80
jae 0x49842f
mov cl, al
mov eax, dword [ebp - 0xc8]
mov byte [esi + eax], cl
mov eax, 1
jmp 0x49843d
mov ecx, dword [ebp - 0xc8]
lea ecx, [esi + ecx]
call fcn.004887d0
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 0x498400
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc4], eax
cmp eax, ecx
ja 0x4984c5
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.00495600
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 0x498480
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 0x4984f3
mov dword [edi], eax
mov eax, 0x4410
mov word [edi + 0x1c], ax
mov byte [edi + 0x1f], 1
jmp case.0x496a33.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 0x498522
lea edx, [ebp - 0xc8]
call fcn.00492870
mov dword [ebp - 8], eax
jmp 0x49852d
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.0x496a33.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 0x498619
mov edi, dword [ebp - 4]
cmp dword [edi + 0x90], ebx
jg 0x49b03e
mov ecx, eax
call fcn.00487bf0
mov ecx, edi
mov dword [ebp - 0xc0], eax
lea edx, [eax + 0x19]
call fcn.00486040
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x49860e
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.004d17a0
add esp, 0xc
cmp byte [edi + 0x1c], bl
je 0x4985d5
mov byte [edi + 0x1c], bl
mov byte [edi + 0x1cc], 1
jmp 0x4985db
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 0x496b62
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 0x49b076
nop dword [eax + eax]
mov ecx, dword [esi]
mov edx, eax
call fcn.00487d90
test eax, eax
je 0x49866f
inc edi
mov dword [ebp - 0xb0], edi
mov eax, dword [esi + 0x10]
mov esi, eax
mov dword [ebp - 0xb8], esi
test eax, eax
je 0x49b076
mov eax, dword [ebp - 0xd4]
jmp 0x498640
mov edx, dword [ebp - 4]
test esi, esi
je 0x49b076
cmp dword [edx + 0x90], 0
jg 0x49883b
cmp ebx, 2
jne 0x498699
cmp dword [edx + 0x8c], 1
jg 0x49883b
cmp dword [esi + 0x10], 0
jne 0x4986f1
cmp byte [edx + 0x1cc], 0
je 0x4986f1
mov dword [ebp - 0x20], 1
cmp ebx, 1
jne 0x4986f8
mov byte [edx + 0x1c], bl
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.00495040
cmp eax, 5
mov eax, dword [ebp - 4]
je 0x49b059
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 0x498789
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 0x49875e
push ecx
mov ecx, dword [edx + 8]
add eax, eax
mov edx, ebx
mov ecx, dword [ecx + eax*8 + 4]
call fcn.0048fb40
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x49b15e
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 0x498758
mov ecx, dword [ebp - 0xb0]
jmp 0x498714
mov esi, dword [ebp - 0xb8]
cmp ebx, 2
jne 0x498786
test byte [edx + 0xc], 0x10
je 0x498786
mov ecx, edx
call fcn.00495e20
mov ecx, dword [ebp - 4]
xor edx, edx
call fcn.004a1f30
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 0x4987dd
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.00485e50
dec dword [edi + 0x1c4]
add esp, 8
mov eax, dword [edi + 0x1c0]
mov esi, dword [ebp - 0xb8]
cmp eax, esi
jne 0x4987a0
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0xc8]
cmp ebx, 1
jne 0x49881b
mov ebx, dword [ebp - 4]
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x1c0], eax
push dword [ebp - 0xb8]
push ebx
call fcn.00485e50
mov eax, dword [ebp - 8]
add esp, 8
mov edx, dword [ebp - 0xc]
test edi, edi
jne 0x49af81
mov edi, ebx
mov ebx, dword [ebp - 0x10]
dec dword [edi + 0x1c4]
jmp 0x496b65
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 0x496b62
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.004861f0
mov eax, 5
add esp, 0x10
mov dword [ebp - 8], eax
jmp 0x496b5f
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 0x4988cb
cmp byte [edi + 0x1c], 0
jne 0x4988cb
mov dword [ebp - 0xc0], 1
test ecx, ecx
je 0x4988b4
cmp dword [edi + 0x8c], 1
jle 0x4988d5
mov dword [ebp - 8], 5
mov eax, str.cannot_rollback_transaction___SQL_statements_in_progress
jmp 0x498902
cmp dword [edi + 0x90], 0
jle 0x4988d5
mov dword [ebp - 8], 5
mov eax, str.cannot_commit_transaction___SQL_statements_in_progress
jmp 0x498902
mov dword [ebp - 0xc0], 0
movzx eax, byte [edi + 0x1c]
cmp edx, eax
jne 0x49b0ad
test edx, edx
jne 0x4988ec
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x4988fb
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.004861f0
mov eax, dword [ebp - 8]
add esp, 0xc
jmp 0x496b62
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.0x496a33.10
mov edx, dword [edi + esi*4 + 8]
call fcn.0048f8a0
mov dword [ebp - 8], eax
cmp eax, 5
je 0x49b114
test eax, eax
jne 0x49b15b
cmp dword [edi + esi*4 + 8], eax
mov edi, dword [ebp - 4]
je 0x496b62
cmp byte [ebx + 0x71], al
je 0x496b62
cmp byte [edi + 0x1c], al
je 0x49897b
cmp dword [edi + 0x8c], 1
jle 0x496b62
mov edx, dword [ebx + 0xd8]
test edx, edx
jne 0x49899d
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.0048fb20
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 0x496b62
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.004927f0
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 0x496b62
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.00493190
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.00492830
mov dword [ebp - 8], eax
add esp, 4
mov eax, dword [edi + esi*4 + 8]
cmp eax, 1
jne 0x498a7f
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 0x498a95
cmp eax, 2
jne 0x498a95
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 0x496e21
mov ecx, edi
call fcn.00495e20
mov eax, dword [ebp - 8]
mov byte [ebx + 0x6e], 0
jmp 0x496b62
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 0x498aef
lea eax, [ebp - 0xc8]
mov edx, 1
push eax
call fcn.004927f0
mov eax, dword [ebp - 0xc8]
add esp, 4
mov edx, dword [ebp - 4]
jmp 0x498af7
xor eax, eax
mov dword [ebp - 0xc8], eax
cmp eax, dword [edi + esi*4 + 8]
je case.0x496a33.10
push dword [ebx + 0x68]
push edx
call fcn.00485e50
mov ecx, dword [ebp - 4]
add esp, 8
mov edx, str.database_schema_has_changed
call fcn.00486170
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 0x498b40
mov ecx, edi
call fcn.004a1f30
mov ecx, edi
call fcn.00495e20
mov eax, 0x11
mov dword [ebp - 8], eax
jmp 0x496b62
cmp byte [ebx + 0x6e], 0
jne 0x49b137
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 0x498bbb
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 0x498bc1
mov byte [ecx + 0x6f], al
jmp 0x498bc1
mov dword [ebp - 0xb8], edx
cmp byte [edi + esi*4 + 3], dl
je 0x498bff
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.00493190
mov ecx, dword [ebp - 0xcc]
mov eax, dword [ecx]
mov dword [ebp - 0xc0], eax
cmp eax, 2
jl 0x49b12d
mov edx, dword [ebp - 0xc8]
jmp 0x498c02
mov ebx, dword [ebp - 0x10]
mov al, byte [edi + esi*4 + 1]
cmp al, 0xfa
jne 0x498c2f
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 0x498c37
cmp al, 0xf2
jne 0x498c3d
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.004966b0
add esp, 0xc
mov dword [ebp - 0xb0], eax
test eax, eax
je 0x49afe1
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.0048fc00
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 0x498cb9
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.0x496a33.10
mov edx, dword [edi + esi*4 + 4]
mov ecx, ebx
push 1
push 0xffffffffffffffff
push dword [edi + esi*4 + 8]
call fcn.004966b0
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x49afe1
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.004b7600
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x498e03
mov ecx, dword [ebp - 0xc8]
lea edx, [eax + 1]
mov ecx, dword [ecx + 0x20]
call fcn.0048f8a0
mov dword [ebp - 8], eax
test eax, eax
jne 0x498e03
mov ecx, dword [ebp - 0xc8]
cmp dword [edi + esi*4 + 0x10], eax
je 0x498de0
mov ecx, dword [ecx + 0x20]
lea edx, [ebp - 0xf0]
push 2
call fcn.00492580
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x498dc1
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.0048fc00
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.0x496a33.10
push dword [ecx]
mov ecx, dword [ecx + 0x20]
mov edx, 1
push 0
push 1
call fcn.0048fc00
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.0x496a33.10
mov edx, dword [edi + esi*4 + 4]
mov ecx, ebx
push 0
push 0xffffffffffffffff
push dword [edi + esi*4 + 0xc]
call fcn.004966b0
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x49afe1
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.0x496a33.10
mov eax, dword [edi + esi*4 + 4]
mov ecx, ebx
mov edx, dword [ebx + 0x34]
mov edx, dword [edx + eax*4]
call fcn.00494900
mov ecx, dword [edi + esi*4 + 4]
mov eax, dword [ebx + 0x34]
mov dword [eax + ecx*4], 0
jmp case.0x496a33.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 0x496a95
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 0x4990a8
mov ecx, dword [ebp - 0x1c]
call fcn.00496780
mov ecx, dword [ebp - 0x1c]
call fcn.00493040
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 0x49903c
test al, 8
jne 0x498f0a
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x496b65
mov eax, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x94]
test eax, eax
jne 0x498fce
cmp ebx, 0x80000000
jne 0x498fce
movsd xmm0, qword [ecx + 8]
movsd xmm1, qword [0x524a08]
comisd xmm1, xmm0
ja 0x498f4b
comisd xmm0, xmmword [0x524960]
jbe 0x498fce
mov eax, dword [ebp - 0xc4]
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 1
comisd xmm0, xmmword [ecx + 8]
jbe 0x498f84
cmp eax, 0x2e
je 0x498f6f
cmp eax, 0x2d
jne 0x498fbb
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.00490480
jmp 0x498fa1
cmp eax, 0x2b
je 0x498f8e
cmp eax, 0x2c
jne 0x498fbb
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.004904b0
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x49b15e
cmp dword [ebp - 0xc8], 0
je 0x496d46
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 0x496b65
mov ecx, dword [ebp - 0xc4]
cmp ecx, 0x2b
je 0x49900b
cmp ecx, 0x2d
je 0x49900b
mov edx, ebx
mov ecx, eax
call fcn.004f5b20
mov eax, dword [ebp - 0x1c]
comisd xmm0, xmmword [eax + 8]
mov eax, dword [ebp - 0x98]
jbe 0x499048
add eax, 0xffffffff
mov dword [ebp - 0x98], eax
adc ebx, 0xffffffff
mov dword [ebp - 0x94], ebx
jmp 0x499048
mov edx, ebx
mov ecx, eax
call fcn.004f5b20
mov eax, dword [ebp - 0x1c]
movsd xmm1, qword [eax + 8]
comisd xmm1, xmm0
mov eax, dword [ebp - 0x98]
jbe 0x499048
add eax, 1
mov dword [ebp - 0x98], eax
adc ebx, 0
mov dword [ebp - 0x94], ebx
jmp 0x499048
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.00490500
mov ebx, eax
add esp, 0x10
mov dword [ebp - 8], ebx
test ebx, ebx
jne 0x49b15e
mov ebx, dword [ebp - 0x10]
cmp dword [ebp - 0xc8], eax
jne 0x49912e
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 0x49912e
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 0x4990dd
cmp eax, 0x2c
je 0x4990dd
xor eax, eax
jmp 0x4990e2
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.00490500
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b15b
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 0x499197
cmp eax, 0x2e
je 0x499197
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
jg 0x49917b
jne 0x499166
cmp eax, 0x2b
je 0x49917b
mov ecx, dword [ebp - 0xc0]
mov ecx, dword [ecx]
call fcn.00490810
mov dword [ebp - 0xc8], eax
jmp 0x4991d8
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.00490940
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jmp 0x4991c8
mov ecx, dword [ebp - 0xc8]
test ecx, ecx
js 0x4991b0
jne 0x497c09
cmp eax, 0x2e
jne 0x497c09
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.00490820
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b15b
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x11], 0
cmp dword [ebp - 0xc8], 0
je 0x497c13
mov eax, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec eax
mov edx, dword [ebp - 0xd8]
inc eax
jmp 0x496918
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.0x496a33.10
mov ecx, dword [ebp - 0xcc]
mov byte [eax + 0x14], 0
call fcn.00493040
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.0x496a33.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 0x499324
mov eax, dword [ebp - 0x1c]
mov edx, 0x4000
test word [eax + 0x1c], dx
je 0x499284
mov ecx, eax
call fcn.00492da0
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.00495940
add esp, 0xc
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x49afe1
cmp byte [edi + esi*4], 0x31
jne 0x4992c0
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.00490500
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
mov dword [ebp - 8], eax
call fcn.00495a60
mov eax, dword [ebp - 8]
test eax, eax
jne 0x496b5f
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 0x499334
test edx, edx
jmp 0x4976fc
test edx, edx
jne 0x496b5f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x496b65
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 0x4993df
nop word [eax + eax]
movzx eax, cx
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 0x1c], 1
jne 0x499497
inc cx
mov word [ebp - 0xc8], cx
cmp cx, dx
jb 0x4993c0
cmp dword [ebp - 0xd4], 0
je 0x496d46
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.00493190
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.00490500
add esp, 0x10
mov dword [ebp - 8], eax
test byte [ebp - 0xaa], 0x20
jne 0x498fbb
mov ecx, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0x98]
jne 0x49948a
cmp eax, dword [ebp - 0x94]
je 0x498fbb
mov dword [ebx], ecx
mov dword [ebx + 4], eax
mov ebx, dword [ebp - 0x10]
jmp case.0x496a33.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 0x496b65
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 0x49958f
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.00490500
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 0x499578
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 0x496b65
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 0x496b65
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 0x496b65
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.0x496a33.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 0x499832
mov dword [ebp - 0xb8], 0
cmp byte [edi + 0x13], 0
jne 0x49971c
mov ecx, dword [edi]
call fcn.0048fc60
mov esi, eax
mov dword [ebp - 0xc8], eax
or esi, edx
mov dword [ebp - 0xc4], edx
jne 0x4996dc
mov ecx, dword [edi]
lea edx, [ebp - 0xbc]
call fcn.004904b0
mov ecx, eax
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x49b15b
cmp dword [ebp - 0xbc], eax
je 0x499683
mov eax, 1
xor edx, edx
mov dword [ebp - 0xc8], eax
add eax, eax
mov dword [ebp - 0xc4], edx
adc edx, edx
jmp 0x49970a
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xc8]
mov ecx, dword [ecx]
call fcn.0048fd10
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
cmp eax, 0xffffffff
jne 0x4996ca
cmp edx, 0x7fffffff
jne 0x4996ca
mov eax, dword [ebp - 0xc0]
mov byte [eax + 0x13], 1
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0xc8]
jmp 0x4996dc
add eax, 1
mov dword [ebp - 0xc8], eax
adc edx, 0
mov dword [ebp - 0xc4], edx
cmp edx, 0x7fffffff
jg 0x4996f3
jl 0x4996eb
cmp eax, 0xffffffff
jae 0x4996f3
add eax, 1
adc edx, 0
jmp 0x49970a
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.0048fc30
add esp, 8
mov eax, dword [ebp - 0xc0]
cmp byte [eax + 0x13], 0
je 0x499811
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 0x499778
mov eax, ecx
xor esi, esi
and eax, 0xffffff
cmp eax, ecx
jne 0x499778
cmp esi, edx
jne 0x499778
add ecx, 1
mov dword [ebp - 0xc8], ecx
adc edx, esi
mov dword [ebp - 0xc4], edx
jmp 0x4997b3
lea edx, [ebp - 0xc8]
mov ecx, 8
call fcn.004875c0
cmp dword [ebp - 0xb8], 5
mov ecx, dword [ebp - 0xc8]
jge 0x4997ad
and ecx, 0xffffff
xor edx, edx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], edx
jmp 0x4997b3
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.00490500
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 0x499811
cmp eax, 0x64
jge 0x499804
cmp dword [ebp - 0xbc], ecx
jne 0x499811
mov edx, dword [ebp - 0xc4]
mov ecx, dword [ebp - 0xc8]
jmp 0x499750
cmp dword [ebp - 0xbc], 0
je 0x49b151
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.0x496a33.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 0x4998a8
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 0x4998ab
cdq
mov ecx, eax
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xc0], ecx
test byte [edi + esi*4 + 3], 1
je 0x4998c4
mov eax, dword [ebp - 0x10]
inc dword [eax + 0x74]
test byte [edi + esi*4 + 3], 2
je 0x4998e2
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 0x4998e8
mov ecx, dword [ebp - 0xd4]
test byte [ebx + 0x1c], 1
je 0x49990e
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 0x499920
mov eax, dword [ecx + 0x40]
mov dword [ebp - 0xb0], eax
jmp 0x49992a
mov dword [ebp - 0xb0], 0
mov eax, 0x4000
test word [ebx + 0x1c], ax
je 0x49993f
mov eax, dword [ebx]
mov dword [ebp - 0xb4], eax
jmp 0x499949
mov dword [ebp - 0xb4], 0
mov ecx, dword [ecx]
push 0
push 0
call fcn.0048fc30
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.00492130
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 0x496d46
mov edx, dword [ebp - 4]
cmp dword [edx + 0xb8], ebx
je 0x49af74
cmp dword [edi + esi*4 + 0x10], ebx
je 0x49af74
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 0x496918
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 0x499a88
cmp dword [edi + esi*4 + 0x10], 0
je 0x499a88
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], edx
call fcn.00495470
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b15b
mov ecx, dword [ebp - 0xc0]
push eax
push eax
mov ecx, dword [ecx]
call fcn.0048fc30
mov ecx, dword [ebp - 0xc0]
add esp, 8
mov ecx, dword [ecx]
call fcn.00492310
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc0]
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x499b17
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xb8]
test edx, edx
je 0x499b17
mov eax, dword [edi + esi*4 + 0x10]
test eax, eax
je 0x499b14
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 0x496b65
inc dword [ebx + 0x74]
jmp 0x496b65
mov edi, dword [ebp - 4]
mov ecx, edi
mov edx, dword [ebx + 0x74]
call fcn.00495e00
mov eax, dword [ebp - 8]
mov dword [ebx + 0x74], 0
jmp 0x496b62
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.00495470
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b15b
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xc4]
cmp byte [eax + 0x17], 0
je 0x499bcc
lea edx, [ebp - 0xb8]
call fcn.0048fd10
mov edi, dword [ebp - 4]
mov eax, dword [edi + 0x48]
cdq
cmp dword [ebp - 0xb4], edx
jg 0x49b1c0
mov edx, dword [ebp - 0xb8]
jl 0x499bc4
cmp edx, eax
ja 0x49b1c0
mov dword [ebp - 0xc0], edx
jmp 0x499be9
lea edx, [ebp - 0xc0]
call fcn.0048fd60
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0xc0]
cmp edx, dword [edi + 0x48]
ja 0x49b1c0
mov edi, dword [ebp - 0x14]
mov ecx, edi
push 0
call fcn.00492c60
add esp, 4
test eax, eax
jne 0x49afe1
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 0x499c4f
mov ecx, dword [ebp - 0xc4]
xor edx, edx
call fcn.004900f0
add esp, 8
mov dword [ebp - 8], eax
mov byte [edi + 0x1f], 1
jmp 0x496b5f
push 0
push dword [ebp - 0xc4]
call fcn.00490110
add esp, 0x10
mov dword [ebp - 8], eax
mov byte [edi + 0x1f], 1
jmp 0x496b5f
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.0x496a33.10
cmp byte [ecx + 0x15], 0
je 0x499ca2
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
jmp 0x499d30
cmp dword [ecx + 0x38], 0
je 0x499cf1
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.00485e50
mov ecx, dword [ebp - 0xb8]
add esp, 0x10
mov eax, dword [ecx + 8]
mov dword [ebx + 0x68], eax
mov dword [ecx + 8], 0
jmp 0x499d33
call fcn.00495470
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b15b
mov ecx, dword [ebp - 0xc8]
cmp byte [ecx + 0x11], al
je 0x499d20
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], ecx
jmp 0x499d30
mov ecx, dword [ecx]
lea edx, [ebp - 0xc0]
call fcn.0048fd10
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 0x496b62
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.0x496a33.10
call fcn.0048e6f0
jmp case.0x496a33.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 0x499dc3
mov dword [ebp - 0xc0], 1
jmp 0x499dd9
lea edx, [ebp - 0xc0]
mov ecx, eax
call fcn.004904b0
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.0x496a33.10
cmp dword [ebp - 0xc0], 0
mov edi, dword [ebp - 4]
je 0x496e21
lea edx, [eax - 1]
mov eax, dword [ebp - 8]
jmp 0x496b65
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 0x499ea9
lea edx, [ebp - 0xc0]
call fcn.00490480
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 0x4976f9
mov dword [ebp - 0xc0], 1
mov al, byte [ebp - 0xc0]
mov byte [edx + 0x14], al
cmp dword [ebp - 0xc0], 0
jmp 0x4976f9
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
jne 0x49b2e3
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.0x496a33.10
mov ecx, dword [eax]
mov dword [ebp - 0xc4], ecx
test ecx, ecx
jne 0x499f05
mov byte [eax + 0x14], 1
jmp case.0x496a33.10
mov dword [ebp - 0xc0], 1
lea edx, [ebp - 0xc0]
cmp byte [edi + esi*4], 0x42
jne 0x499f22
call fcn.00490820
jmp 0x499f27
call fcn.00490940
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 0x499f7b
mov edx, dword [edi + esi*4 + 8]
mov al, byte [edi + esi*4 + 3]
dec edx
test al, al
je 0x499f7e
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 0x496b65
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 0x496b65
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.0x496a33.10
mov edx, dword [ebp - 0xcc]
mov esi, 0x4000
test word [edx + 0x1c], si
mov esi, dword [ebp - 0x20]
je 0x499feb
mov ecx, edx
call fcn.00492da0
mov dword [ebp - 8], eax
test eax, eax
jne 0x496b5f
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 0x49a00f
mov eax, dword [eax + 0x40]
jmp 0x49a011
xor eax, eax
push eax
push dword [edi + esi*4 + 0xc]
mov eax, edx
push 0
push 0
cdq
push 0x51959c
push edx
push eax
mov edx, ebx
call fcn.00492130
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.0x496a33.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.0x496a33.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.00490500
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x49a0cf
cmp dword [ebp - 0xc0], eax
jne 0x49a0cf
mov ecx, dword [ebp - 0xc4]
call fcn.00492310
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x44], 0
jmp case.0x496a33.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.0x496a33.10
call fcn.00495470
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b15b
mov eax, dword [ebp - 0xc4]
cmp byte [eax + 0x14], 0
jne case.0x496a33.10
mov edx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc0]
push eax
call fcn.00495c70
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b15b
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 0x496918
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.0x496a33.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 0x49a1ba
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.00495d60
add esp, 4
mov dword [ebp - 8], eax
cmp byte [edi + esi*4], 0x48
mov eax, dword [ebp - 0xc4]
jne 0x49a1fc
neg eax
jmp 0x49a1fd
inc eax
mov dword [ebp - 0xc4], eax
test eax, eax
mov eax, dword [ebp - 8]
jle 0x496b5f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x496b65
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 0x49a26a
cmp dword [ecx + 0x50], 0xbdf20da3
jne 0x49a252
cmp byte [ecx + 0x70], 2
jae 0x49a252
cmp dword [ecx + 0x60], 0
jl 0x49a252
inc edx
mov dword [ebp - 0xc4], edx
mov eax, dword [ecx + 8]
mov ecx, eax
mov dword [ebp - 0xc0], ecx
test eax, eax
jne 0x49a236
cmp edx, 1
jg 0x49b1a2
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.004927d0
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 0x496b57
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.004926f0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [edi + esi*4 + 0xc], 0
je 0x496b5f
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 0x496e21
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 0x496b62
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.00492580
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.0x496a33.10
mov edx, dword [edi + esi*4 + 4]
mov dword [ebp - 0xc8], edx
cmp dword [edi + esi*4 + 8], 0
jne 0x49a3c5
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 0x49a468
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.004873a0
add esp, 0x14
mov dword [ebp - 0xc0], eax
test eax, eax
je 0x49afe4
push 0
lea eax, [ebp - 0xbc]
mov byte [edi + 0x7c], 1
mov edx, dword [ebp - 0xc0]
mov ecx, edi
push eax
push fcn.004aa020
mov dword [ebp - 0xb0], 0
call fcn.004a8800
add esp, 0xc
test eax, eax
cmove eax, dword [ebp - 0xb0]
mov dword [ebp - 8], eax
push dword [ebp - 0xc0]
push edi
call fcn.00485e50
add esp, 8
mov byte [edi + 0x7c], 0
jmp 0x49a46b
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 8]
cmp eax, 7
je 0x49afe4
jmp 0x496b62
push dword [edi + esi*4 + 0x10]
mov edx, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.004a2160
mov eax, dword [ebp - 8]
add esp, 4
jmp 0x496b62
push dword [edi + esi*4 + 0x10]
mov edx, dword [edi + esi*4 + 4]
mov edi, dword [ebp - 4]
mov ecx, edi
call fcn.004a1ea0
mov eax, dword [ebp - 8]
add esp, 4
jmp 0x496b62
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 0x49a4fa
call fcn.00493350
mov ecx, dword [ebp - 0xc8]
test byte [ecx + 0x1c], 0x20
je 0x49afe1
mov eax, dword [ebp - 0xc4]
push dword [eax + 4]
mov ecx, dword [ecx]
push dword [eax]
call fcn.0048b240
add esp, 8
jmp case.0x496a33.10
mov eax, dword [ebp - 4]
cmp dword [eax + 0xd8], 0
jne 0x49b2e3
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 0x49a577
mov ecx, dword [ecx]
lea edx, [ebp - 0xc0]
call fcn.0048b540
test eax, eax
je 0x49a571
push dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0xc0]
call fcn.004932d0
add esp, 8
jmp case.0x496a33.10
mov ecx, dword [ebp - 0xc8]
call fcn.00493250
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x496b65
mov ecx, dword [ebp - 0x18]
mov eax, dword [edi + esi*4 + 0x10]
mov dword [ebp - 0xc8], eax
test byte [ecx + 0x1c], 0x20
jne 0x49a5b7
call fcn.00493350
mov ecx, dword [ebp - 0x18]
test byte [ecx + 0x1c], 0x20
je 0x49afe1
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x49a5fd
js 0x49a5c2
and eax, 0xf
jmp 0x49a5c7
mov eax, 0xff
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
push dword [edx + 4]
push dword [edx]
mov dl, al
call fcn.0048b580
add esp, 8
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x49a5f5
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x496b65
mov eax, dword [ebp - 0xc8]
test eax, eax
js case.0x496a33.10
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call fcn.0048b240
add esp, 8
jmp case.0x496a33.10
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
jl case.0x496a33.10
jg 0x496a95
cmp dword [ecx], 0
jbe case.0x496a33.10
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x496b65
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0
jg case.0x496a33.10
jl 0x496a95
cmp dword [ecx], 0
jae case.0x496a33.10
mov edx, dword [edi + esi*4 + 8]
mov eax, dword [ebp - 8]
dec edx
mov edi, dword [ebp - 4]
jmp 0x496b65
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
or eax, dword [ecx + 4]
mov eax, dword [ebp - 8]
jne 0x496b5f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x496b65
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 0x49a707
nop word [eax + eax]
mov dword [ebx + eax*4], ecx
mov ecx, dword [ebp - 0xbc]
call fcn.00496670
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 0x49a707
mov ebx, dword [ebp - 0x78]
jmp 0x49a6d0
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 0x49a787
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 0x49a7e9
lea eax, [ebp - 0xb0]
push eax
call fcn.00495fd0
mov edi, dword [ebp - 4]
add esp, 4
push eax
push 0x522518
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004861f0
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0xb0]
add esp, 0x10
mov dword [ebp - 8], eax
call fcn.00492fd0
mov eax, dword [ebp - 8]
jmp 0x496b62
mov edi, dword [ebp - 4]
lea ecx, [ebp - 0xb0]
call fcn.00492fd0
mov eax, dword [ebp - 8]
jmp 0x496b62
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.00492ee0
mov dword [ebp - 8], eax
test eax, eax
je 0x49a863
push dword [ebp - 0xc8]
call fcn.00495fd0
mov edi, dword [ebp - 4]
add esp, 4
push eax
push 0x522518
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004861f0
movzx edx, byte [ebp - 0xd0]
add esp, 0x10
mov ecx, dword [ebp - 0xc8]
call fcn.00492c40
mov ecx, dword [ebp - 0xc8]
jmp 0x497405
movzx edx, byte [ebp - 0xd0]
mov ecx, dword [ebp - 0xc8]
mov edi, dword [ebp - 4]
call fcn.00492c40
mov ecx, dword [ebp - 0xc8]
jmp 0x497405
cmp dword [edi + esi*4 + 4], 0
mov edi, dword [ebp - 4]
jne 0x49a89c
mov ecx, edi
call fcn.00495e20
mov eax, dword [ebp - 8]
jmp 0x496b62
mov eax, dword [ebp - 8]
mov byte [ebx + 0x6e], 1
jmp 0x496b62
mov edx, dword [edi + esi*4 + 0x10]
mov edi, dword [ebp - 4]
mov ecx, edi
mov dword [ebp - 0xc8], edx
call fcn.004b0740
cmp dword [ebp - 0xc8], 0
mov dword [ebp - 8], eax
je 0x496b62
push dword [ebx + 0x68]
push edi
call fcn.00485e50
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 0x496b62
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.004b0500
add esp, 8
mov dword [ebp - 8], eax
jmp 0x496b62
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.004b05b0
add esp, 4
mov dword [ebp - 8], eax
mov byte [ebx + 0x70], 0
jmp 0x496b62
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.00485e50
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 0x496b5f
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.004966b0
mov edi, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x49a9fe
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 0x496918
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 0x496918
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 0x49ab0f
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.00496670
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 0x49aaf5
mov ebx, dword [ebp - 0xb8]
jmp 0x49aab0
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 0x49ab1b
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.00485e50
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 0x49ab87
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 0x49ab8d
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x49abab
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 0x496b65
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 0x496b65
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 0x49abf6
call fcn.00493250
mov ebx, dword [ebp - 0x10]
jmp case.0x496a33.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.004d1ee0
mov edx, dword [ebp - 0xc0]
lea ecx, [ebp - 0xb0]
add esp, 0xc
call fcn.004934a0
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.00485e50
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.00492c40
mov ecx, dword [ebp - 0xc0]
lea edx, [ebp - 0xb0]
call fcn.004934a0
mov ecx, dword [ebp - 0xc0]
call fcn.004933b0
test eax, eax
je 0x496e21
mov esi, ebx
jmp 0x49b1d6
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.0x496a33.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.00485e50
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 0x49ad67
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 0x49ad6d
mov eax, dword [ebp - 0xc0]
test eax, eax
mov eax, dword [ebp - 8]
jne 0x496b5f
mov edx, dword [edi + esi*4 + 8]
mov edi, dword [ebp - 4]
dec edx
jmp 0x496b65
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.00485e50
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 0x496b62
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 0x496d46
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 0x49ae96
call fcn.00496670
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 0x49ae42
mov ecx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xc4]
mov ebx, dword [ebp - 0xc8]
jmp 0x49aea2
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.00485e50
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 0x49af09
cmp dword [edi + esi*4 + 4], 0
mov edi, dword [ebp - 4]
je 0x49af0c
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 0x496b62
mov edi, dword [ebp - 4]
inc dword [ebx + 0x74]
jmp 0x496b62
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.00492990
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xc0], eax
mov ecx, eax
call fcn.0048cd40
mov dword [ebp - 8], eax
test eax, eax
jne 0x496b62
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 0x496918
mov ebx, dword [ebp - 0x10]
mov edi, edx
mov eax, dword [ebp - 8]
jmp 0x496b62
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
jmp 0x496b65
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 0x49afbc
push eax
push 0x522518
push dword [ebp - 4]
lea eax, [ebx + 0x68]
push eax
call fcn.004861f0
add esp, 0x10
mov ecx, ebx
call fcn.00495040
cmp eax, 5
jne 0x49b0c3
mov dword [ebx + 0x64], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xb8]
call fcn.00492fd0
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.004861f0
mov dword [ebx + 0x64], 7
add esp, 0xc
mov ecx, ebx
call fcn.00495040
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0x14
mov dword [ebp - 8], ebx
jmp 0x49b15e
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x64], 0xb
call fcn.00495040
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.004861f0
mov dword [ebx + 0x64], 5
jmp 0x49affe
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.004861f0
add esp, 0x10
mov dword [ebx + 0x64], 1
mov ecx, ebx
call fcn.00495040
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
je 0x49b0db
mov ecx, edi
call fcn.004b7300
mov byte [edi + 0x1c], 1
mov ecx, edi
call fcn.004b7040
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.00495040
cmp eax, 5
jne 0x49b0bc
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 0x49b15e
mov ecx, ebx
mov dword [ebx + 0x64], 4
call fcn.00495040
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0xd
mov dword [ebp - 8], ebx
jmp 0x49b15e
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
cmp byte [esi + 0x1e], 0
je 0x49b171
mov ebx, 7
mov dword [ebp - 8], ebx
jmp 0x49b17d
cmp ebx, 0xc0a
je 0x49b2ad
mov ecx, ebx
call fcn.004b73c0
mov ebx, dword [ebp - 0x10]
push eax
push 0x522518
push esi
lea eax, [ebx + 0x68]
push eax
call fcn.004861f0
mov eax, dword [ebp - 8]
add esp, 0x10
jmp 0x49b2b8
mov ecx, ebx
mov byte [ebx + 0x38], 2
mov dword [ebx + 0x64], 6
call fcn.00495040
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0x10]
jmp 0x49b1d6
mov edi, eax
jmp 0x49b1d6
mov esi, dword [ebp - 0x10]
mov edi, ecx
jmp 0x49b1d6
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.004861f0
add esp, 0xc
mov dword [esi + 0x64], 0x12
mov ecx, esi
call fcn.00495040
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, 1
mov ecx, ebx
call fcn.00494f50
mov dword [ebp - 8], eax
test eax, eax
jne 0x49b2b5
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 0x49b28d
nop dword [eax]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
call fcn.00492e00
mov eax, dword [ebp - 0xc4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp - 0xc8]
lea ecx, [eax + ecx*8]
call fcn.00496670
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp eax, dword [edi + esi*4 + 8]
jge 0x49b28d
mov ecx, dword [ebp - 0xc8]
jmp 0x49b250
mov edi, dword [ebp - 4]
cmp byte [edi + 0x1e], 0
jne 0x49afe4
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 0x49b2b8
mov esi, dword [ebp - 4]
mov ecx, ebx
mov dword [ebx + 0x64], eax
call fcn.00495040
cmp dword [ebp - 8], 0xc0a
jne 0x49b008
mov byte [esi + 0x1e], 1
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, ecx
jmp 0x49b2e5
mov edi, eax
mov ecx, 9
mov dword [ebx + 0x64], 9
call fcn.004b73c0
push eax
push 0x522518
lea eax, [ebx + 0x68]
push edi
push eax
call fcn.004861f0
add esp, 0x10
mov ecx, ebx
mov dword [ebx + 0x64], 9
call fcn.00495040
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, eax
jmp 0x49afe4