Function at 0x10077660
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x220]
mov esi, dword [edi]
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x14]
mov cl, byte [edx + 0x59]
xor eax, eax
lea ebx, [edi + 0x114]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x2c], cl
mov dword [esp + 0x70], eax
mov dword [esp + 0x140], ebx
call fcn.10047430
cmp dword [edi + 0x74], 7
je 0x10077a2c
xor eax, eax
mov dword [edi + 0x74], eax
mov dword [edi + 0xf8], eax
mov dword [esi + 0x114], eax
cmp dword [esi + 0xa8], eax
jne 0x1007ab48
mov edx, dword [edi + 0x70]
mov dword [esp + 0x18], edx
mov ecx, edx
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x1e], 0
mov esi, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
jne 0x10077a2c
mov edx, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
lea ebp, [edx + ecx*4]
mov ecx, dword [eax + 0xb8]
test ecx, ecx
je 0x10077725
mov edx, dword [esp + 0x70]
cmp dword [eax + 0xc0], edx
jne 0x10077721
mov edx, dword [eax + 0xbc]
push edx
call ecx
add esp, 4
test eax, eax
jne 0x1007a9ab
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
inc dword [esp + 0x70]
movzx ecx, byte [ebp]
mov dl, byte [ecx + 0x100d3e50]
mov byte [esp + 0x6b], dl
test dl, 2
je 0x10077763
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
lea ebx, [eax + edx*8]
push ebx
mov dword [esp + 0x24], ebx
call fcn.1004dad0
mov eax, dword [esp + 0x18]
mov ecx, 1
add esp, 4
mov word [ebx + 0x1c], cx
jmp 0x100777dc
test dl, 4
je 0x100777b0
mov esi, dword [ebp + 4]
mov ecx, dword [edi + 0x4c]
lea esi, [esi + esi*4]
lea esi, [ecx + esi*8]
mov dword [esp + 0x40], esi
test dl, 8
je 0x100777a0
test byte [esp + 0x6b], 0x20
mov edx, dword [ebp + 8]
lea edx, [edx + edx*4]
lea edx, [ecx + edx*8]
mov dword [esp + 0x30], edx
je 0x100777dc
mov edx, dword [ebp + 0xc]
lea edx, [edx + edx*4]
lea ebx, [ecx + edx*8]
mov dword [esp + 0x20], ebx
jmp 0x100777dc
test dl, 0x10
je 0x100777dc
mov edx, dword [ebp + 0xc]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*8]
jmp 0x100777d8
test dl, 8
je 0x100777c7
mov ecx, dword [ebp + 8]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x4c]
lea edx, [ecx + edx*8]
mov dword [esp + 0x30], edx
jmp 0x100777dc
test dl, 0x10
je 0x100777dc
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 0x4c]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x24], ecx
mov cl, byte [ebp]
movzx edx, cl
mov dword [esp + 0x38], edx
dec edx
cmp edx, 0x8d
ja case.0x100777fa.11
movzx edx, byte [edx + 0x1007ad24]
jmp dword [edx*4 + 0x1007ab94]
cmp dword [eax + 0xa8], 0
jne 0x1007ab48
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov eax, dword [esp + 0x18]
mov ecx, dword [edi + 0xe8]
inc eax
mov dword [edi + ecx*4 + 0x84], eax
inc dword [edi + 0xe8]
mov edx, dword [ebp + 8]
dec edx
mov dword [esp + 0x18], edx
jmp case.0x100777fa.11
dec dword [edi + 0xe8]
mov eax, dword [edi + 0xe8]
mov edi, dword [edi + eax*4 + 0x84]
dec edi
mov dword [esp + 0x18], edi
jmp case.0x100777fa.11
mov eax, 4
mov word [ebx + 0x1c], ax
mov eax, dword [ebp + 4]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
jmp case.0x100777fa.11
mov ecx, 4
mov word [ebx + 0x1c], cx
mov ebp, dword [ebp + 0x10]
mov edx, dword [ebp]
mov dword [ebx], edx
mov eax, dword [ebp + 4]
mov dword [ebx + 4], eax
jmp case.0x100777fa.11
mov ecx, 8
mov word [ebx + 0x1c], cx
mov edx, dword [ebp + 0x10]
fld qword [edx]
fstp qword [ebx + 8]
jmp case.0x100777fa.11
mov esi, dword [ebp + 0x10]
mov eax, esi
mov byte [ebp], 0x1a
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100778b2
sub eax, edx
cmp byte [esp + 0x2c], 1
mov dword [ebp + 4], eax
je 0x10077949
push 0
push 1
push esi
or eax, 0xffffffff
mov ecx, ebx
call fcn.1005df00
movzx ecx, byte [esp + 0x38]
add esp, 0xc
mov eax, ebx
call fcn.1005dcc0
test eax, eax
jne 0x10077a2c
mov eax, ebx
call fcn.100558a0
test eax, eax
jne 0x10077a2c
mov ax, word [ebx + 0x1c]
mov ecx, 0xffbf
and ax, cx
mov edx, 0x80
or ax, dx
mov word [ebx + 0x1c], ax
cmp byte [ebp + 1], 0xff
jne 0x10077928
mov eax, dword [ebp + 0x10]
push eax
call fcn.1004bdf0
add esp, 4
mov byte [ebp + 1], 0xff
mov ecx, dword [ebx + 0x14]
mov dword [ebp + 0x10], ecx
mov ebx, dword [ebx + 0x18]
cmp ebx, 0x3b9aca00
mov dword [ebp + 4], ebx
jg 0x1007ab74
jmp case.0x100777fa.11
cmp eax, 0x3b9aca00
jg 0x1007ab74
mov edx, 0xa2
mov word [ebx + 0x1c], dx
mov eax, dword [ebp + 0x10]
mov dl, byte [esp + 0x2c]
mov dword [ebx + 0x14], eax
mov ecx, dword [ebp + 4]
mov dword [ebx + 0x18], ecx
mov byte [ebx + 0x1f], dl
jmp case.0x100777fa.11
mov eax, dword [ebp + 0x10]
push 0
push 0
push eax
mov eax, dword [ebp + 4]
mov ecx, ebx
call fcn.1005df00
mov cl, byte [esp + 0x38]
add esp, 0xc
mov byte [ebx + 0x1f], cl
jmp case.0x100777fa.11
mov ebp, dword [ebp + 4]
mov eax, dword [edi + 0x38]
dec ebp
lea edx, [ebp + ebp*4]
lea esi, [eax + edx*8]
mov ecx, esi
call fcn.100485a0
test eax, eax
jne 0x1007ab74
push 0x80
push esi
call fcn.1004dc00
add esp, 8
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov edi, dword [edi + 0x4c]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea ebx, [edi + edx*8]
lea esi, [edi + eax*8]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x20], esi
cmp cl, 0x71
jne 0x100779f4
mov eax, esi
call fcn.1004dc40
jmp case.0x100777fa.11
push 0x100
push ebx
mov ebx, esi
call fcn.1004dc00
add esp, 8
cmp byte [ebp], 0x12
jne case.0x100777fa.11
mov ecx, 0x100
test word [esi + 0x1c], cx
je case.0x100777fa.11
mov eax, esi
call fcn.10055910
test eax, eax
je case.0x100777fa.11
mov edi, dword [esp + 0x220]
mov eax, dword [esp + 0x14]
push 0
lea ecx, [edi + 0xf4]
push 0x100c2114
push ecx
mov byte [eax + 0x1e], 1
call fcn.1004c130
mov dword [esp + 0x1c], 7
add esp, 0xc
mov edx, dword [esp + 0x10]
mov esi, edi
mov dword [edi + 0x74], edx
mov ebp, 1
call fcn.1006ca80
mov ebx, dword [esp + 0x140]
call fcn.10047470
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x20c
ret
movzx eax, word [esi + 0x1c]
mov edx, dword [esp + 0x30]
mov cl, byte [edx + 0x1c]
or cl, al
test cl, 1
je 0x10077aa3
mov eax, ebx
call fcn.10048590
jmp case.0x100777fa.11
test eax, 0x800
je 0x10077ab1
mov eax, esi
call fcn.100515c0
mov bl, 0x12
test byte [esi + 0x1c], bl
jne 0x10077ad0
movzx edx, byte [esp + 0x2c]
push edx
mov eax, esi
call fcn.1005dce0
add esp, 4
test eax, eax
jne 0x10077a2c
mov ecx, dword [esp + 0x30]
mov eax, 0x800
test word [ecx + 0x1c], ax
je 0x10077ae6
mov eax, ecx
call fcn.100515c0
mov edx, dword [esp + 0x30]
test byte [edx + 0x1c], bl
jne 0x10077b07
movzx eax, byte [esp + 0x2c]
push eax
mov eax, edx
call fcn.1005dce0
add esp, 4
test eax, eax
jne 0x10077a2c
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x30]
add eax, dword [ecx + 0x18]
cdq
mov esi, eax
test edx, edx
jg 0x1007ab74
jl 0x10077b2a
cmp esi, 0x3b9aca00
ja 0x1007ab74
mov ebx, dword [esp + 0x20]
mov dx, word [ebx + 0x1c]
mov edi, dword [esp + 0x30]
mov eax, 0xffe2
and dx, ax
or dx, 2
xor eax, eax
cmp ebx, edi
sete al
lea ecx, [esi + 2]
push ecx
mov word [ebx + 0x1c], dx
call fcn.100514f0
add esp, 4
test eax, eax
jne 0x10077a2c
cmp ebx, edi
je 0x10077b79
mov edx, dword [edi + 0x18]
mov eax, dword [edi + 0x14]
mov ecx, dword [ebx + 0x14]
push edx
push eax
push ecx
call fcn.1007f6e0
add esp, 0xc
mov eax, dword [esp + 0x40]
mov edx, dword [eax + 0x18]
mov ecx, dword [edi + 0x18]
mov eax, dword [eax + 0x14]
add ecx, dword [ebx + 0x14]
push edx
push eax
push ecx
call fcn.1007f6e0
mov edx, dword [ebx + 0x14]
mov cl, byte [esp + 0x38]
mov byte [esi + edx], 0
mov eax, dword [ebx + 0x14]
mov byte [esi + eax + 1], 0
add esp, 0xc
or word [ebx + 0x1c], 0x20
mov dword [ebx + 0x18], esi
mov byte [ebx + 0x1f], cl
jmp case.0x100777fa.11
mov edi, dword [esp + 0x30]
movzx edx, word [edi + 0x1c]
movzx eax, word [esi + 0x1c]
movzx ecx, ax
movzx edx, dx
or ecx, edx
mov dword [esp + 0x1c], ecx
test cl, 1
jne 0x10077d5a
movzx ecx, word [edi + 0x1c]
and al, cl
test al, 4
je 0x10077c7f
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x38]
mov ecx, dword [esi]
mov esi, dword [esi + 4]
add edi, 0xffffffb2
cmp edi, 3
ja case.default.0x10077bfc
jmp dword [edi*4 + 0x1007adb4]
add eax, ecx
adc edx, esi
jmp 0x10078d10
sub eax, ecx
sbb edx, esi
jmp 0x10078d10
push esi
push ecx
push edx
push eax
call fcn.10085880
jmp 0x10078d10
mov edi, ecx
or edi, esi
je 0x10077d5a
mov edi, ecx
and edi, esi
cmp edi, 0xffffffff
jne 0x10077c49
test eax, eax
jne 0x10077c49
cmp edx, 0x80000000
jne 0x10077c49
mov ecx, 1
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.100858c0
jmp 0x10078d10
mov edi, ecx
or edi, esi
je 0x10077d5a
mov edi, ecx
and edi, esi
cmp edi, 0xffffffff
jne 0x10077c71
mov ecx, 1
xor esi, esi
push esi
push ecx
push edx
push eax
call fcn.10085cf0
jmp 0x10078d10
mov esi, dword [esp + 0x40]
call fcn.1005ddf0
fstp qword [esp + 0x38]
mov esi, dword [esp + 0x30]
call fcn.1005ddf0
movzx eax, byte [ebp]
add eax, 0xffffffb2
cmp eax, 3
ja case.default.0x10077ca1
jmp dword [eax*4 + 0x1007adc4]
fadd qword [esp + 0x38]
jmp 0x10077d19
fsub qword [esp + 0x38]
jmp 0x10077d19
fmul qword [esp + 0x38]
jmp 0x10077d19
fldz
fld qword [esp + 0x38]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x10077d56
fdivp st(1)
jmp 0x10077d19
fld qword [esp + 0x38]
call fcn.10085806
mov esi, eax
mov edi, edx
call fcn.10085806
mov ecx, esi
or ecx, edi
je 0x10077d5a
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x10077cfb
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.10085cf0
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], edx
fild qword [esp + 0x144]
fld st(0)
fucomp st(1)
fnstsw ax
test ah, 0x44
jp 0x10077d58
mov eax, dword [esp + 0x20]
mov dx, word [eax + 0x1c]
fstp qword [eax + 8]
mov ecx, 0xffe8
and dx, cx
or dx, 8
test byte [esp + 0x1c], 8
mov word [eax + 0x1c], dx
jne case.0x100777fa.11
mov esi, eax
call fcn.10048540
jmp case.0x100777fa.11
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x20]
call fcn.10048590
jmp case.0x100777fa.11
mov eax, dword [ebp + 8]
movzx esi, byte [ebp + 3]
mov ebx, dword [edi + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
lea ecx, [eax + edx*8]
xor edx, edx
mov dword [esp + 0x1c], ebx
test esi, esi
jle 0x10077d95
mov dword [ebx + edx*4], ecx
call fcn.10048e80
inc edx
add ecx, 0x28
cmp edx, esi
jl 0x10077d85
cmp byte [ebp + 1], 0xfb
jne 0x10077db2
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x174], ecx
mov dword [esp + 0x178], 0
jmp 0x10077dc5
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x178], eax
mov edx, dword [eax]
mov dword [esp + 0x174], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x4c]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov edx, 1
lea eax, [esp + 0x17c]
mov dword [esp + 0x20], ebx
mov word [esp + 0x198], dx
mov dword [esp + 0x18c], 0
call fcn.1004dc40
mov eax, dword [esp + 0x198]
and eax, 0xffe1
or eax, 1
mov word [esp + 0x198], ax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x1a8], 0
cmp byte [eax + 3], 0
je 0x10077e32
mov ecx, dword [ebp - 4]
mov dword [esp + 0x1ac], ecx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [eax + 0x10]
lea ecx, [esp + 0x178]
push esi
push ecx
call edx
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp byte [eax + 0x1e], 0
jne 0x1007aa6a
mov ebx, dword [esp + 0x178]
test ebx, ebx
je 0x10077e7b
mov ecx, dword [ebp + 4]
push ecx
call fcn.100487a0
mov edx, dword [esp + 0x17c]
add esp, 4
mov dword [ebp + 0x10], edx
mov byte [ebp + 1], 0xf9
cmp dword [esp + 0x1a8], 0
je 0x10077eb2
lea eax, [esp + 0x17c]
push 0
push eax
call fcn.1005e410
add esp, 4
push eax
lea ecx, [edi + 0xf4]
push ecx
call fcn.1004c130
mov edx, dword [esp + 0x1b4]
add esp, 0xc
mov dword [esp + 0x10], edx
movzx ecx, byte [esp + 0x2c]
lea eax, [esp + 0x17c]
call fcn.1005dcc0
mov esi, dword [esp + 0x20]
lea ebx, [esp + 0x17c]
mov eax, esi
call fcn.1004dc40
mov ecx, esi
call fcn.100485a0
test eax, eax
jne 0x1007ab74
jmp case.0x100777fa.11
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0x1c]
or cl, byte [esi + 0x1c]
test cl, 1
je 0x10077f04
mov eax, ebx
call fcn.10048590
jmp case.0x100777fa.11
mov esi, dword [esp + 0x30]
call fcn.1005dd70
mov esi, dword [esp + 0x40]
mov edi, eax
mov ebx, edx
call fcn.1005dd70
mov ecx, eax
movzx eax, byte [ebp]
sub eax, 0x4a
je 0x10077f4f
sub eax, 1
je 0x10077f49
sub eax, 1
mov edx, ebx
mov eax, edi
je 0x10077f3e
call fcn.10085cc0
mov edi, eax
mov ebx, edx
jmp 0x10077f53
call fcn.10085970
mov edi, eax
mov ebx, edx
jmp 0x10077f53
or edi, ecx
or ebx, edx
jmp 0x10077f53
and edi, ecx
and ebx, edx
mov eax, dword [esp + 0x20]
mov dx, word [eax + 0x1c]
mov ecx, 0xffe4
and dx, cx
or dx, 4
mov dword [eax], edi
mov dword [eax + 4], ebx
mov word [eax + 0x1c], dx
jmp case.0x100777fa.11
mov eax, esi
call fcn.1005de60
mov eax, dword [ebp + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
jmp case.0x100777fa.11
mov edx, dword [esp + 0x2c]
push edx
mov al, 0x63
mov ecx, esi
call fcn.1005e690
movzx ebx, word [esi + 0x1c]
add esp, 4
test bl, 0xc
jne 0x10077fb1
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
test bl, 4
je 0x10077fdd
cmp dword [ebp + 0xc], 0
je 0x10077fce
mov eax, 1
xor ecx, ecx
add eax, dword [esi]
adc ecx, dword [esi + 4]
mov edi, eax
mov edx, ecx
jmp 0x10078037
xor eax, eax
xor ecx, ecx
add eax, dword [esi]
adc ecx, dword [esi + 4]
mov edi, eax
mov edx, ecx
jmp 0x10078037
fld qword [esi + 8]
call fcn.10085806
mov edi, eax
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edx
fild qword [esp + 0xa4]
fcomp qword [esi + 8]
fnstsw ax
test ah, 5
jp 0x1007801a
add edi, 1
adc edx, 0
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], edx
cmp dword [ebp + 0xc], 0
je 0x10078037
fild qword [esp + 0xa4]
fcomp qword [esi + 8]
fnstsw ax
test ah, 0x44
jp 0x10078037
add edi, 1
adc edx, 0
and ebx, 0xffe4
or ebx, 4
mov dword [esi], edi
mov dword [esi + 4], edx
mov word [esi + 0x1c], bx
jmp case.0x100777fa.11
mov eax, dword [esp + 0x2c]
push eax
mov al, 0x63
mov ecx, esi
call fcn.1005e690
movzx eax, word [esi + 0x1c]
add esp, 4
test al, 4
jne 0x1007807c
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x1007aa7f
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
and eax, 0xffe4
or eax, 4
mov word [esi + 0x1c], ax
jmp case.0x100777fa.11
test byte [esi + 0x1c], 4
je case.0x100777fa.11
mov eax, esi
call fcn.1005de80
jmp case.0x100777fa.11
movzx eax, word [esi + 0x1c]
test al, 1
jne case.0x100777fa.11
mov edx, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 3
and ecx, 2
or ecx, eax
mov word [esi + 0x1c], cx
push edx
mov al, 0x61
mov ecx, esi
call fcn.1005e690
mov eax, 0x800
add esp, 4
test word [esi + 0x1c], ax
je 0x100780f2
mov eax, esi
call fcn.100515c0
mov ecx, 0xffe3
and word [esi + 0x1c], cx
mov dword [esp + 0x10], eax
jmp case.0x100777fa.11
mov ecx, 0xffe3
and word [esi + 0x1c], cx
mov dword [esp + 0x10], 0
jmp case.0x100777fa.11
movzx eax, word [esi + 0x1c]
test al, 1
jne case.0x100777fa.11
test al, 0x10
jne 0x10078129
mov edx, dword [esp + 0x2c]
push edx
mov al, 0x61
mov ecx, esi
call fcn.1005e690
add esp, 4
mov ax, word [esi + 0x1c]
mov ecx, 0xfff0
and ax, cx
or ax, 0x10
mov word [esi + 0x1c], ax
jmp case.0x100777fa.11
test byte [esi + 0x1c], 0xd
jne case.0x100777fa.11
mov eax, esi
call fcn.1005dea0
jmp case.0x100777fa.11
test byte [esi + 0x1c], 1
jne case.0x100777fa.11
mov eax, esi
call fcn.1005de60
jmp case.0x100777fa.11
test byte [esi + 0x1c], 1
jne case.0x100777fa.11
mov eax, esi
call fcn.1005de80
jmp case.0x100777fa.11
mov edx, dword [esp + 0x24]
mov al, byte [edx + 0x1c]
or al, byte [esi + 0x1c]
test al, 1
je 0x100781fe
mov al, byte [ebp + 3]
test al, 0x10
je 0x10078277
mov ecx, 4
mov word [esp + 0x210], cx
movzx eax, word [esi + 0x1c]
not eax
and eax, 1
cdq
mov dword [esp + 0x1f4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1f8], edx
mov edx, ecx
mov word [esp + 0x1e8], dx
movzx eax, word [eax + 0x1c]
not eax
and eax, 1
cdq
lea esi, [esp + 0x1f4]
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x40], esi
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], edx
mov dword [esp + 0x24], ecx
mov bl, byte [ebp + 3]
and bl, 0x67
je 0x10078227
mov eax, dword [esp + 0x2c]
push eax
mov al, bl
mov ecx, esi
call fcn.1005e690
mov ecx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
mov al, bl
call fcn.1005e690
add esp, 8
mov edx, 0x800
test word [esi + 0x1c], dx
je 0x10078239
mov eax, esi
call fcn.100515c0
mov ecx, dword [esp + 0x24]
mov eax, 0x800
test word [ecx + 0x1c], ax
je 0x1007824f
mov eax, ecx
call fcn.100515c0
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
push edx
push esi
call fcn.100629c0
movzx ecx, byte [ebp]
add ecx, 0xffffffbd
add esp, 8
cmp ecx, 4
ja case.default.0x10078270
jmp dword [ecx*4 + 0x1007add4]
test al, al
jns 0x100782a6
mov ebp, dword [ebp + 8]
mov eax, dword [edi + 0x4c]
lea edx, [ebp + ebp*4]
mov cx, word [eax + edx*8 + 0x1c]
lea eax, [eax + edx*8]
mov edx, 0xffe1
and cx, dx
or cx, 1
mov dword [esp + 0x20], eax
mov word [eax + 0x1c], cx
jmp case.0x100777fa.11
test al, 8
je case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
jmp 0x100782f7
xor edx, edx
test eax, eax
setne dl
jmp 0x100782f5
xor ecx, ecx
test eax, eax
setl cl
mov eax, ecx
jmp 0x100782f7
xor edx, edx
test eax, eax
setle dl
jmp 0x100782f5
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
jmp 0x100782f7
xor edx, edx
test eax, eax
setge dl
mov eax, edx
test byte [ebp + 3], 0x80
je 0x10078469
mov ebp, dword [ebp + 8]
mov edx, dword [edi + 0x4c]
lea ecx, [ebp + ebp*4]
lea ecx, [edx + ecx*8]
mov dx, word [ecx + 0x1c]
mov esi, 0xffe4
and dx, si
or dx, 4
mov word [ecx + 0x1c], dx
cdq
mov dword [esp + 0x20], ecx
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x100777fa.11
test byte [esi + 0x1c], 1
je 0x1007833e
mov edi, 2
jmp 0x10078354
mov esi, dword [esp + 0x40]
call fcn.1005dd70
or eax, edx
je 0x10078352
mov edi, 1
jmp 0x10078354
xor edi, edi
mov esi, dword [esp + 0x30]
test byte [esi + 0x1c], 1
je 0x10078365
mov eax, 2
jmp 0x10078377
call fcn.1005dd70
or eax, edx
je 0x10078375
mov eax, 1
jmp 0x10078377
xor eax, eax
cmp byte [ebp], 0x3d
jne 0x1007838a
lea eax, [eax + edi*2]
movzx eax, byte [edi + eax + 0x100bf2e8]
jmp 0x10078395
lea ecx, [eax + edi*2]
movzx eax, byte [edi + ecx + 0x100bf2f4]
cmp eax, 2
jne 0x100783b7
mov eax, dword [esp + 0x20]
mov dx, word [eax + 0x1c]
mov ecx, 0xffe1
and dx, cx
or dx, 1
mov word [eax + 0x1c], dx
jmp case.0x100777fa.11
mov ecx, dword [esp + 0x20]
cdq
mov dword [ecx + 4], edx
mov dx, word [ecx + 0x1c]
mov dword [ecx], eax
mov eax, 0xffe4
and dx, ax
or dx, 4
mov word [ecx + 0x1c], dx
jmp case.0x100777fa.11
test byte [esi + 0x1c], 1
jne case.0x100777fa.11
mov eax, esi
call fcn.1005de60
mov ecx, dword [esi]
or ecx, dword [esi + 4]
jne 0x10078402
mov eax, 1
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
jmp case.0x100777fa.11
xor eax, eax
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
jmp case.0x100777fa.11
test byte [esi + 0x1c], 1
jne case.0x100777fa.11
mov eax, esi
call fcn.1005de60
mov edx, dword [esi]
mov eax, dword [esi + 4]
not edx
not eax
mov dword [esi], edx
mov dword [esi + 4], eax
jmp case.0x100777fa.11
test byte [esi + 0x1c], 1
je 0x1007843b
mov eax, dword [ebp + 0xc]
jmp 0x10078469
mov esi, dword [esp + 0x40]
call fcn.1005ddf0
fcomp qword [0x100c1da0]
fnstsw ax
test ah, 0x44
jnp 0x10078458
mov eax, 1
jmp 0x1007845a
xor eax, eax
cmp byte [ebp], 0x40
jne 0x10078469
xor ecx, ecx
test eax, eax
sete cl
mov eax, ecx
test eax, eax
je case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov eax, dword [ebp + 0xc]
lea ebx, [ebx]
test byte [esi + 0x1c], 1
jne 0x100784b2
dec eax
add esi, 0x28
test eax, eax
jg 0x10078480
mov dword [esp + 0x40], esi
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x220]
inc ecx
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], ecx
je 0x100776d0
jmp 0x10077a59
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp 0x1007848e
test byte [esi + 0x1c], 1
jne case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + edx*4]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x50], edx
jmp case.0x100777fa.11
mov eax, dword [ebp + 8]
mov esi, dword [edi + 0x4c]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
xor edx, edx
mov word [esp + 0xd4], dx
mov dword [esp + 0xc8], edx
mov si, word [eax + 0x1c]
mov ebx, 0xffe1
and si, bx
or si, 1
mov word [eax + 0x1c], si
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x30]
mov eax, dword [eax + ecx*4]
mov dword [esp + 0x28], eax
cmp dword [eax], edx
je 0x100785be
mov esi, eax
call fcn.100631f0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
mov ecx, dword [esi]
mov dword [esp + 0x34], eax
mov dword [esp + 0x60], ecx
cmp byte [esi + 0x1c], al
je 0x1007855c
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x50]
jmp 0x100785d6
mov edx, dword [esi + 0x68]
cmp edx, dword [edi + 0x54]
jne 0x10078577
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x5c], eax
mov eax, dword [esi + 0x50]
mov dword [esp + 0x34], ecx
jmp 0x100785d6
cmp byte [esi + 0x21], 0
je 0x100785a1
mov esi, dword [esp + 0x60]
lea ebx, [esp + 0x1c4]
call fcn.100621e0
mov edx, dword [esp + 0x1c4]
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 0x50]
mov dword [esp + 0x5c], edx
jmp 0x100785d6
mov edi, dword [esp + 0x60]
lea ebx, [esp + 0x5c]
call fcn.10062230
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x220]
mov eax, dword [esi + 0x50]
jmp 0x100785d6
mov ecx, dword [eax + 0x34]
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x38]
mov dword [eax + 0x68], edx
mov eax, dword [eax + 0x50]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], edx
cmp dword [esp + 0x5c], 0
mov dword [esp + 0x54], eax
je case.0x100777fa.11
cmp dword [esp + 0x5c], 0x3b9aca00
ja 0x1007ab74
mov ebx, dword [esp + 0x28]
mov ecx, dword [ebx + 0x68]
cmp ecx, dword [edi + 0x54]
jne 0x10078612
mov edx, dword [ebx + 0x70]
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x58], edx
mov dword [esp + 0x4c], eax
jmp 0x100787d8
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x58], eax
test eax, eax
jne 0x10078648
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x14]
lea edx, [ecx*8]
push edx
call fcn.1004c000
add esp, 4
mov dword [esp + 0x58], eax
mov dword [ebx + 0x70], eax
test eax, eax
je 0x10077a2c
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x34]
lea eax, [eax + ecx*4]
mov dword [esp + 0x4c], eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x6c], edx
mov eax, dword [edi + 0x54]
mov dword [ebx + 0x68], eax
test esi, esi
jne 0x100786af
cmp byte [ebx + 0x21], 0
mov eax, dword [esp + 0x60]
lea ebx, [esp + 0x80]
je 0x10078683
call fcn.100481a0
jmp 0x10078688
call fcn.100481c0
mov ecx, dword [esp + 0x80]
mov esi, eax
cmp ecx, dword [esp + 0x5c]
jb 0x100786a4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], esi
mov dword [edx + 0x78], esi
jmp 0x100786af
mov eax, dword [esp + 0x28]
mov dword [eax + 0x78], 0
movzx ebx, byte [esi]
mov dword [esp + 0x10], ebx
cmp ebx, 0x7f
ja 0x100786c5
mov dword [esp + 0x1c], 1
jmp 0x100786d6
lea edi, [esp + 0x10]
call fcn.10045750
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], 0
jne 0x1007872a
cmp dword [esp + 0x80], ebx
jae 0x1007872a
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov word [esp + 0xd4], cx
mov dword [esp + 0xc8], ecx
movzx eax, byte [edx + 0x21]
mov ecx, dword [esp + 0x60]
push eax
push ebx
push ecx
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.10062bf0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x100777fa.11
mov esi, dword [esp + 0xcc]
mov eax, dword [esp + 0x1c]
lea edx, [ebx + esi]
add esi, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], edx
test eax, eax
jbe 0x1007879d
mov edi, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
sub ecx, edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], eax
cmp esi, dword [esp + 0x10]
jae 0x1007878c
mov dword [ecx + edi], ebx
movzx eax, byte [esi]
mov dword [edi], eax
cmp eax, 0x7f
ja 0x10078776
mov eax, 1
add esi, eax
mov eax, dword [edi]
call fcn.100488c0
add ebx, eax
jmp 0x10078793
call fcn.10045750
mov ecx, dword [esp + 0x54]
add esi, eax
mov eax, dword [edi]
call fcn.100488c0
add ebx, eax
jmp 0x10078793
mov dword [ecx + edi], 0
add edi, 4
sub dword [esp + 0x1c], 1
jne 0x10078751
test byte [esp + 0xd4], 0x40
je 0x100787b7
lea ecx, [esp + 0xb8]
push ecx
call fcn.1004dad0
add esp, 4
mov edx, 1
mov word [esp + 0xd4], dx
cmp esi, dword [esp + 0x10]
ja 0x10078915
cmp ebx, dword [esp + 0x5c]
ja 0x10078915
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x100788be
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x10078849
mov edi, dword [esp + 0x50]
add ecx, eax
test byte [edi + 0x1c], 0x40
mov eax, dword [esp + 0x58]
mov eax, dword [eax + edx*4]
je 0x10078836
lea esi, [esp + 0xb8]
call fcn.10048980
mov ecx, dword [esp + 0x14]
mov edx, esi
push edx
mov eax, edi
mov dword [esp + 0xcc], ecx
call fcn.10051670
mov dl, byte [esp + 0x30]
add esp, 4
mov byte [edi + 0x1f], dl
jmp 0x100788dd
mov esi, edi
call fcn.10048980
mov dl, byte [esp + 0x2c]
mov byte [edi + 0x1f], dl
jmp 0x100788dd
mov ecx, dword [esp + 0x58]
mov ebp, dword [esp + 0x38]
mov eax, dword [ecx + ebp*4]
call fcn.100488c0
mov ebx, dword [esp + 0x50]
mov esi, eax
lea eax, [esp + 0xb8]
call fcn.1004dc40
mov edx, dword [esp + 0x28]
movzx eax, byte [edx + 0x21]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [edx + ebp*4]
push esi
push ecx
lea edi, [esp + 0xc4]
call fcn.10062bf0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x100777fa.11
mov eax, dword [esp + 0x58]
mov ecx, ebp
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0xcc]
mov esi, ebx
call fcn.10048980
mov dl, byte [esp + 0x2c]
mov edi, ebx
mov byte [edi + 0x1f], dl
jmp 0x100788dd
cmp byte [ebp + 1], 0xf8
jne 0x100788d9
mov eax, dword [ebp + 0x10]
mov ebx, dword [esp + 0x50]
push 0x80
push eax
call fcn.1004dc00
add esp, 8
mov edi, dword [esp + 0x50]
test byte [esp + 0xd4], 0x40
je 0x10078905
mov cx, word [edi + 0x1c]
mov edx, 0xfe7f
and cx, dx
or cx, 0x60
mov word [edi + 0x1c], cx
mov eax, dword [esp + 0xcc]
mov dword [edi + 0x14], eax
mov eax, edi
call fcn.10055910
mov dword [esp + 0x10], eax
jmp case.0x100777fa.11
mov dword [esp + 0x10], 0xb
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
lea ebx, [eax + edx*8]
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [ebx + edx*8 - 0x28]
movzx edx, byte [edi + 0x100]
xor esi, esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], edx
cmp ebx, eax
ja 0x10078a38
mov eax, 0xffffffe8
sub eax, ebx
mov dword [esp + 0x54], eax
jmp 0x10078988
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x100789b3
mov edx, dword [esp + 0x2c]
push edx
lea edx, [eax + ebx + 0x18]
mov eax, 0x66666667
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov al, byte [eax + ecx]
mov ecx, ebx
call fcn.1005e690
add esp, 4
mov ecx, 0x800
test word [ebx + 0x1c], cx
je 0x100789cb
cmp dword [ebx + 0x18], 0
jle 0x100789cb
mov eax, ebx
call fcn.100515c0
mov edx, dword [esp + 0x38]
push edx
mov ecx, ebx
call fcn.100487f0
mov ecx, eax
call fcn.100488c0
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
cdq
add dword [esp + 0x88], eax
push 0
push ecx
adc esi, edx
mov dword [esp + 0x94], esi
call fcn.100457b0
add dword [esp + 0x40], eax
mov eax, 0x800
add esp, 0xc
test word [ebx + 0x1c], ax
je 0x10078a1c
mov ecx, dword [ebx]
add dword [esp + 0x50], ecx
jmp 0x10078a2b
cmp dword [esp + 0x58], 0
je 0x10078a2b
mov dword [esp + 0x50], 0
add ebx, 0x28
cmp ebx, dword [esp + 0x4c]
jbe 0x10078980
mov ebx, dword [esp + 0x34]
mov eax, ebx
cdq
push edx
push eax
call fcn.100457b0
add ebx, eax
mov dword [esp + 0x5c], eax
mov eax, ebx
cdq
push edx
push eax
mov dword [esp + 0x44], ebx
call fcn.100457b0
add esp, 0x10
cmp dword [esp + 0x54], eax
jge 0x10078a68
inc ebx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x84]
cdq
mov ebx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb4], edx
cdq
sub ecx, ebx
sbb esi, dword [esp + 0xb4]
add ecx, eax
adc esi, edx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x114], eax
mov dword [esp + 0x118], edx
mov dword [esp + 0x120], ecx
test esi, esi
ja 0x1007ab74
jb 0x10078ac1
cmp ecx, 0x3b9aca00
ja 0x1007ab74
mov ebp, dword [ebp + 0xc]
mov eax, dword [edi + 0x4c]
mov ecx, dword [esp + 0x120]
lea edx, [ebp + ebp*4]
lea ebx, [eax + edx*8]
push ecx
xor eax, eax
mov dword [esp + 0x24], ebx
call fcn.100514f0
add esp, 4
test eax, eax
jne 0x10077a2c
mov edx, dword [esp + 0x118]
mov ebp, dword [ebx + 0x14]
mov eax, dword [esp + 0x114]
push edx
push eax
mov ecx, ebp
call fcn.10045530
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x54]
add esp, 8
mov edi, eax
cmp ebx, esi
ja 0x10078b3e
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, ebx
call fcn.100487f0
push 0
push eax
lea ecx, [edi + ebp]
call fcn.10045530
add ebx, 0x28
add esp, 0xc
add edi, eax
cmp ebx, esi
jbe 0x10078b17
mov ebx, dword [esp + 0x1c]
mov esi, ebx
cmp ebx, dword [esp + 0x4c]
ja 0x10078b76
jmp 0x10078b50
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x38]
sub edx, edi
push edx
lea ebx, [edi + ebp]
mov ecx, esi
call fcn.100488e0
add esi, 0x28
add esp, 4
add edi, eax
cmp esi, dword [esp + 0x4c]
jbe 0x10078b50
cmp dword [esp + 0x50], 0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x120]
mov edx, 0x50
mov dword [eax + 0x18], ecx
mov word [eax + 0x1c], dx
mov dword [eax + 0x20], 0
je 0x10078bb7
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov dword [eax], ecx
mov ecx, 0x850
mov dword [eax + 4], edx
mov word [eax + 0x1c], cx
mov byte [eax + 0x1f], 1
jmp case.0x100777fa.11
cmp byte [eax + 0x1c], 0
je 0x10078bd0
cmp dword [eax + 0x60], 1
jle case.0x100777fa.11
mov ebp, dword [ebp + 4]
mov eax, dword [eax + 8]
lea edx, [ebp + ebp*2]
mov ecx, dword [eax + edx*8 + 4]
mov eax, ecx
call fcn.10048450
test eax, eax
jne case.0x100777fa.11
mov eax, ecx
call fcn.1004d7f0
mov dword [esp + 0x10], eax
mov dword [edi + 0x14c], 1
jmp case.0x100777fa.11
mov bl, byte [ebp + 4]
mov cl, byte [ebp + 8]
mov esi, 1
cmp dword [eax + 0x60], esi
jle 0x10078c54
test bl, bl
je 0x10078c54
cmp byte [eax + 0x1c], 0
jne 0x10078c54
mov eax, str.rollback
test cl, cl
jne 0x10078c2f
mov eax, str.commit
push 0
push str._transaction___SQL_statements_in_progress
push eax
push str.cannot
add edi, 0xf4
push edi
call fcn.1004c130
add esp, 0x14
mov dword [esp + 0x10], esi
jmp case.0x100777fa.11
cmp bl, byte [eax + 0x1c]
jne 0x1007aa8c
test bl, bl
jne 0x10078c68
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x10078c76
mov eax, str.cannot_rollback___no_transaction_is_active
test cl, cl
jne 0x10078c76
mov eax, str.cannot_commit___no_transaction_is_active
push 0
push eax
add edi, 0xf4
push edi
call fcn.1004c130
add esp, 0xc
mov dword [esp + 0x10], esi
jmp case.0x100777fa.11
mov ecx, dword [ebp + 4]
mov edx, dword [eax + 8]
lea ecx, [ecx + ecx*2]
mov eax, dword [edx + ecx*8 + 4]
test eax, eax
je case.0x100777fa.11
mov ebx, dword [ebp + 8]
call fcn.1005aad0
mov dword [esp + 0x10], eax
cmp eax, 5
je 0x1007aae2
test eax, eax
je case.0x100777fa.11
cmp eax, 8
jne 0x1007ab12
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ebp, dword [ebp + 0xc]
test eax, eax
jge 0x10078ce4
or ecx, 0xffffffff
sub ecx, eax
mov eax, ecx
neg ebp
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x110]
push edx
mov edx, dword [ecx + 8]
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*8 + 4]
inc ebp
push ebp
call fcn.1005d410
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x118]
add esp, 8
cdq
mov dword [ebx], eax
mov ax, word [ebx + 0x1c]
mov ecx, 0xffe4
and ax, cx
or ax, 4
mov dword [ebx + 4], edx
mov word [ebx + 0x1c], ax
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 8]
lea esi, [eax + edx*8]
mov eax, edi
call fcn.1005de60
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
mov eax, dword [esi + 4]
push ecx
inc edx
push edx
call fcn.1005d4b0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
add esp, 8
test eax, eax
jne 0x10078d74
mov eax, dword [esi + 0x14]
mov ecx, dword [edi]
mov dword [eax], ecx
or dword [ebx + 0xc], 0x10
jmp 0x10078d81
cmp eax, 1
jne 0x10078d81
mov edx, dword [esi + 0x14]
mov al, byte [edi]
mov byte [edx + 0x58], al
cmp dword [ebp + 4], 1
jne case.0x100777fa.11
mov eax, ebx
call fcn.10048bc0
jmp case.0x100777fa.11
mov ecx, dword [ebp + 4]
mov edx, dword [eax + 8]
lea ecx, [ecx + ecx*2]
mov eax, dword [edx + ecx*8 + 4]
xor esi, esi
cmp eax, esi
je 0x10078e2f
lea ecx, [esp + 0x9c]
push ecx
push 1
call fcn.1005d410
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, esi
jne case.0x100777fa.11
mov esi, dword [esp + 0x9c]
cmp esi, dword [ebp + 8]
je case.0x100777fa.11
mov edx, dword [edi + 0xf4]
push edx
call fcn.1004bdf0
mov ebx, dword [esp + 0x18]
push ebx
mov eax, str.database_schema_has_changed
call fcn.1004c0f0
mov dword [edi + 0xf4], eax
mov ebp, dword [ebp + 4]
mov ecx, dword [ebx + 8]
lea eax, [ebp + ebp*2]
mov edx, dword [ecx + eax*8 + 0x14]
add esp, 8
cmp dword [edx], esi
je 0x10078e1b
push ebp
call fcn.1005f450
add esp, 4
mov eax, ebx
call fcn.10048bc0
mov dword [esp + 0x10], 0x11
jmp case.0x100777fa.11
mov dword [esp + 0x10], esi
mov dword [esp + 0x9c], esi
jmp 0x10078dd3
mov edx, dword [ebp + 4]
mov ebx, dword [ebp + 0xc]
mov eax, dword [eax + 8]
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], edx
lea edx, [ebx + ebx*2]
lea eax, [eax + edx*8]
mov edx, dword [eax + 4]
mov dword [esp + 0x4c], edx
cmp cl, 8
jne 0x10078e7c
mov eax, dword [eax + 0x14]
mov al, byte [eax + 0x58]
mov dword [esp + 0x1c], 1
cmp al, byte [edi + 0x100]
jae 0x10078e84
mov byte [edi + 0x100], al
jmp 0x10078e84
mov dword [esp + 0x1c], 0
cmp byte [ebp + 3], 0
je 0x10078ea0
mov edx, dword [edi + 0x4c]
lea ecx, [esi + esi*4]
lea esi, [edx + ecx*8]
mov eax, esi
mov dword [esp + 0x30], esi
call fcn.1005de60
mov esi, dword [esi]
mov eax, dword [esp + 0x38]
push ebx
push eax
mov ebx, edi
call fcn.1006cf10
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10077a2c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
push ebx
mov byte [ebx + 0x1c], 1
mov ecx, dword [ebp + 0x10]
push ecx
push fcn.10063260
push edx
push esi
call fcn.10062190
add esp, 0x14
cmp byte [ebp + 1], 0xfa
mov dword [esp + 0x10], eax
jne 0x10078f03
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x4c], ecx
add ecx, 5
mov dword [ebx + 0x48], ecx
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x14]
mov edx, dword [ebx + 0x4c]
mov cl, byte [ecx + 0x59]
mov byte [edx + 4], cl
jmp 0x10078f10
lea edx, [ebx + 0x22]
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x48], edx
test eax, eax
je 0x10078f45
cmp eax, 5
je 0x1007aaf6
cmp eax, 0x10
jne 0x1007ab12
cmp byte [ebp + 1], 0xfa
mov dword [esp + 0x10], 0
setne al
test al, al
mov byte [ebx + 0x20], al
sete al
mov byte [ebx + 0x21], al
jmp case.0x100777fa.11
mov esi, dword [ebx]
call fcn.100626f0
test al, 0xf0
jne 0x10078f8a
mov ecx, eax
and ecx, 7
cmp ecx, 5
je 0x10078f5f
cmp ecx, 2
jne 0x10078f8a
mov cl, al
shr eax, 1
and cl, 1
and al, 1
mov byte [ebx + 0x20], cl
mov byte [ebx + 0x21], al
test cl, cl
je 0x10078f78
cmp byte [ebp + 1], 0xfa
je 0x10078f8a
test al, al
je case.0x100777fa.11
cmp byte [ebp + 1], 0xfa
je case.0x100777fa.11
mov dword [esp + 0x10], 0xb
jmp 0x1007ab12
mov eax, dword [ebp + 4]
push 0xffffffffffffffff
push eax
mov ebx, edi
call fcn.1006cf10
mov esi, eax
add esp, 8
test esi, esi
je 0x10077a2c
mov edx, dword [esp + 0x14]
push 0x1f4
lea edi, [esi + 0x30]
push 1
mov eax, 0x41e
xor ecx, ecx
mov byte [esi + 0x1c], 1
call fcn.100599a0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007907f
lea ebx, [eax + 1]
mov eax, dword [edi]
call fcn.1005aad0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007907f
cmp dword [ebp + 0x10], 0
mov eax, dword [edi]
je 0x10079061
lea edx, [esp + 0xf8]
push 2
push edx
call fcn.100626b0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007905b
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0xf8]
push esi
push eax
mov eax, dword [edi]
push fcn.10063260
push ebx
push ecx
call fcn.10062190
mov edx, dword [esp + 0x234]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x4c], eax
mov ecx, dword [edx]
mov edx, dword [ecx + 8]
mov ecx, dword [edx + 0x14]
mov dl, byte [ecx + 0x59]
mov byte [eax + 4], dl
mov eax, dword [esi + 0x4c]
add esp, 0x14
add eax, 5
mov dword [esi + 0x48], eax
mov byte [esi + 0x20], 0
jmp 0x1007907f
push esi
push 0
push 0
push 1
push 1
call fcn.10062190
lea ecx, [esi + 0x22]
add esp, 0x14
mov dword [esp + 0x10], eax
mov byte [esi + 0x20], bl
mov dword [esi + 0x48], ecx
cmp byte [esi + 0x20], 0
mov edx, dword [ebp + 8]
sete al
mov dword [esi + 0x50], edx
mov byte [esi + 0x21], al
jmp case.0x100777fa.11
mov ebp, dword [ebp + 4]
push 0xffffffffffffffff
push ebp
mov ebx, edi
call fcn.1006cf10
add esp, 8
test eax, eax
je 0x10077a2c
mov cl, 1
lea edx, [eax + 0x22]
mov byte [eax + 0x1c], cl
mov byte [eax + 0x1e], cl
mov dword [eax + 0x48], edx
mov byte [eax + 0x20], cl
mov byte [eax + 0x21], 0
jmp case.0x100777fa.11
mov edi, dword [esp + 0x220]
mov ebp, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov esi, dword [eax + ebp*4]
call fcn.1006c910
mov ecx, dword [edi + 0x30]
mov dword [ecx + ebp*4], 0
jmp case.0x100777fa.11
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov edi, dword [eax + edx*4]
cmp dword [edi], 0
je case.0x100777fa.11
mov eax, dword [esp + 0x38]
mov byte [edi + 0x1c], 0
cmp eax, 5
je 0x10079112
cmp eax, 0x3f
je 0x10079112
xor eax, eax
jmp 0x10079117
mov eax, 1
mov ecx, dword [edi + 0x48]
mov esi, dword [esp + 0x24]
mov byte [ecx], al
cmp byte [edi + 0x20], 0
je 0x1007917c
call fcn.1005dd70
cmp dword [ebp + 8], 0
mov esi, eax
mov ebx, edx
jne 0x10079148
mov dword [edi + 0x28], esi
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x19], 0
mov byte [edi + 0x1f], 1
jmp case.0x100777fa.11
mov eax, dword [edi]
lea edx, [esp + 0x64]
push edx
push 0
push ebx
push esi
push 0
push eax
call fcn.1005b3f0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
cmp dword [esp + 0x64], eax
mov dword [edi + 8], esi
sete cl
mov dword [edi + 0xc], ebx
mov byte [edi + 0x19], cl
jmp 0x100791bd
mov eax, dword [esp + 0x24]
mov edx, 0x800
test word [eax + 0x1c], dx
je 0x10079192
mov eax, esi
call fcn.100515c0
mov eax, dword [esi + 0x18]
lea ecx, [esp + 0x64]
push ecx
cdq
push 0
push edx
mov edx, dword [esi + 0x14]
push eax
mov eax, dword [edi]
push edx
push eax
call fcn.1005b3f0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
mov byte [edi + 0x19], al
mov eax, dword [esp + 0x38]
mov ecx, dword [edi + 0x48]
xor esi, esi
mov byte [edi + 0x1f], 0
mov dword [edi + 0x68], esi
mov byte [ecx], 0
cmp eax, 0x74
je 0x10079212
cmp eax, 5
je 0x10079212
cmp dword [esp + 0x64], esi
jl 0x100791ef
mov eax, dword [edi]
lea edx, [esp + 0x64]
push edx
push eax
call fcn.10062470
jmp 0x10079225
mov ecx, dword [edi]
call fcn.10048220
mov dword [esp + 0x64], eax
cmp dword [esp + 0x64], 0
je case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
cmp dword [esp + 0x64], esi
jge 0x1007923a
mov edx, dword [edi]
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.10062390
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x1007ab12
mov byte [edi + 0x19], 0
jmp 0x100791fa
mov dword [esp + 0x64], esi
jmp case.0x100777fa.11
mov edx, dword [ebp + 4]
mov esi, dword [edi + 0x30]
mov esi, dword [esi + edx*4]
xor eax, eax
cmp dword [esi], eax
je 0x100792a9
cmp cl, 0x79
jne 0x1007925e
mov eax, dword [esi + 0x4c]
mov byte [eax + 6], 1
lea ecx, [esp + 0x13c]
push ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x18]
cdq
push 0
push edx
mov edx, dword [ecx + 0x14]
push eax
mov eax, dword [esi]
push edx
push eax
call fcn.1005b3f0
mov ecx, dword [esi + 0x4c]
add esp, 0x18
mov dword [esp + 0x10], eax
mov byte [ecx + 6], 0
test eax, eax
jne case.0x100777fa.11
cmp dword [esp + 0x13c], eax
mov byte [esi + 0x1f], 0
sete al
mov dword [esi + 0x68], 0
cmp byte [ebp], 0x79
jne 0x1007a853
test eax, eax
je case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov eax, dword [ebp + 0x10]
mov ecx, dword [edi + 0x4c]
mov edx, dword [ebp + 4]
mov esi, dword [esp + 0x24]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, esi
mov dword [esp + 0x1c], edx
call fcn.1005de60
mov edx, dword [esi]
mov ecx, dword [edi + 0x30]
mov eax, dword [esi + 4]
mov dword [esp + 0x12c], edx
mov edx, dword [esp + 0x1c]
mov esi, dword [ecx + edx*4]
mov edi, dword [esi]
mov dword [esp + 0x130], eax
test edi, edi
je case.0x100777fa.11
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x1c], eax
call fcn.10048b70
mov ebx, dword [ebx + 0x18]
mov ecx, dword [esp + 0x1c]
sub ebx, eax
lea eax, [esp + 0x6c]
push eax
push 0
mov eax, ebx
cdq
push edx
push eax
push ecx
push edi
mov dword [esi + 0x68], 0
call fcn.1005b3f0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
cmp dword [esp + 0x6c], eax
jge 0x10079377
lea edx, [esp + 0x6c]
push edx
push edi
call fcn.10062390
add esp, 8
cmp dword [esp + 0x6c], 0
mov dword [esp + 0x10], eax
je 0x10079377
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x6c]
push eax
push ecx
push ebx
push esi
call fcn.100635d0
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
cmp dword [esp + 0x6c], eax
jle 0x100793aa
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
lea edx, [esp + 0x164]
push edx
mov eax, edi
call fcn.10063500
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
mov ecx, dword [esp + 0x164]
mov edx, dword [esp + 0x168]
cmp ecx, dword [esp + 0x12c]
jne 0x100793f5
cmp edx, dword [esp + 0x130]
jne 0x100793f5
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x30]
mov esi, dword [ecx + eax*4]
mov eax, dword [esi]
test eax, eax
je case.0x100777fa.11
mov edi, dword [esp + 0x24]
mov edx, dword [edi + 4]
mov ecx, dword [edi]
lea ebx, [esp + 0x11c]
push ebx
push 0
push edx
push ecx
push 0
push eax
call fcn.1005b3f0
mov edx, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esi + 8], edx
mov eax, dword [edi + 4]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x134]
add esp, 0x18
test eax, eax
sete cl
mov byte [esi + 0x19], cl
mov byte [esi + 0x1c], 0
mov dword [esi + 0x68], 0
test eax, eax
je case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov ebp, dword [ebp + 4]
mov edx, dword [edi + 0x30]
mov eax, dword [edx + ebp*4]
mov ecx, dword [eax + 0x58]
mov dword [ebx], ecx
mov edx, dword [eax + 0x5c]
mov dword [ebx + 4], edx
mov eax, dword [edi + 0x30]
mov eax, dword [eax + ebp*4]
add dword [eax + 0x58], 1
mov edx, 0xffe4
adc dword [eax + 0x5c], 0
mov cx, word [ebx + 0x1c]
and cx, dx
or cx, 4
mov word [ebx + 0x1c], cx
jmp case.0x100777fa.11
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x30]
mov edi, dword [edx + ecx*4]
mov esi, dword [edi]
xor eax, eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edi
cmp esi, eax
je 0x100796ea
mov dword [esp + 0x1c], eax
call fcn.100626f0
and al, 3
cmp al, 1
jne 0x10078f8a
cmp byte [edi + 0x1b], 0
jne 0x1007960e
mov eax, edi
cmp byte [eax + 0x1d], 0
je 0x1007950c
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov ebx, edx
mov edi, ecx
jmp 0x1007957d
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
lea edi, [esp + 0x78]
call fcn.1005b3c0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
cmp dword [esp + 0x78], eax
je 0x10079541
mov dword [esp + 0x44], 1
mov edi, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov ebx, eax
jmp 0x1007957d
mov ecx, dword [esp + 0x28]
mov esi, dword [ecx]
lea ebx, [esp + 0x44]
call fcn.100621e0
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
cmp edi, 0xffffffff
jne 0x1007956f
cmp ebx, 0x7fffffff
jne 0x1007956f
mov edx, dword [esp + 0x28]
mov byte [edx + 0x1b], 1
jmp 0x1007957d
add edi, 1
adc ebx, 0
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov ebp, dword [ebp + 0xc]
test ebp, ebp
je 0x100795e1
mov ecx, dword [esp + 0x220]
mov edx, dword [ecx + 0x4c]
lea eax, [ebp + ebp*4]
lea esi, [edx + eax*8]
mov eax, esi
call fcn.1005de60
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x100795b2
cmp ecx, 0x7fffffff
je 0x1007ab0a
mov edx, dword [esp + 0x28]
cmp byte [edx + 0x1b], 0
jne 0x1007ab0a
add eax, 1
adc ecx, 0
cmp ebx, ecx
jg 0x100795dc
jl 0x100795d0
cmp edi, eax
jae 0x100795dc
mov edi, eax
mov ebx, ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
mov dword [esi], edi
mov dword [esi + 4], ebx
cmp ebx, 0x7fffffff
ja 0x10079606
jb 0x100795f0
cmp edi, 0xffffffff
jae 0x10079606
mov eax, dword [esp + 0x28]
add edi, 1
adc ebx, 0
mov byte [eax + 0x1d], 1
mov dword [eax + 0x10], edi
mov dword [eax + 0x14], ebx
jmp 0x1007960e
mov eax, dword [esp + 0x28]
mov byte [eax + 0x1d], 0
mov ecx, dword [esp + 0x28]
cmp byte [ecx + 0x1b], 0
je 0x100796d3
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x30]
mov edi, dword [eax + 0x34]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
xor ebx, ebx
test ebx, ebx
jne 0x10079658
mov eax, esi
and eax, 0xffffff
xor ecx, ecx
cmp eax, esi
jne 0x10079658
cmp ecx, edi
jne 0x10079658
add esi, 1
adc edi, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
jmp 0x10079685
lea ecx, [esp + 0x44]
mov eax, 8
call fcn.1004fdd0
cmp ebx, 5
mov esi, dword [esp + 0x44]
jge 0x10079681
and esi, 0xffffff
xor edi, edi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], edi
jmp 0x10079685
mov edi, dword [esp + 0x48]
mov edx, esi
or edx, edi
je 0x100796a8
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
lea eax, [esp + 0x78]
push eax
push 0
push edi
push esi
push 0
push edx
call fcn.1005b3f0
add esp, 0x18
mov ebp, eax
inc ebx
cmp ebx, 0x64
jge 0x100796bb
test ebp, ebp
jne 0x100796bb
cmp dword [esp + 0x78], ebp
je 0x10079634
mov eax, dword [esp + 0x14]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], edi
test ebp, ebp
jne 0x100796d3
cmp dword [esp + 0x78], ebp
je 0x1007ab0a
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov byte [eax + 0x19], 0
mov byte [eax + 0x1f], 0
mov dword [eax + 0x68], 0
mov ax, word [ebx + 0x1c]
mov edx, dword [esp + 0x44]
mov ecx, 0xffe4
and ax, cx
or ax, 4
mov word [ebx + 0x1c], ax
mov eax, dword [esp + 0x48]
mov dword [ebx], edx
mov dword [ebx + 4], eax
jmp case.0x100777fa.11
test byte [ebp + 3], 1
mov edx, dword [ebp + 8]
mov ecx, dword [edi + 0x4c]
mov esi, dword [edi + 0x30]
lea edx, [edx + edx*4]
lea ebx, [ecx + edx*8]
mov edx, dword [ebp + 0xc]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*8]
mov edx, dword [ebp + 4]
mov esi, dword [esi + edx*4]
mov edx, dword [ecx]
mov dword [esp + 0x94], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x98], edx
je 0x1007974d
inc dword [edi + 0x104]
test byte [ebp + 3], 2
je 0x1007975e
mov edi, dword [ecx]
mov dword [eax + 0x28], edi
mov edi, dword [ecx + 4]
mov dword [eax + 0x2c], edi
cmp byte [esi + 0x1d], 0
je 0x10079779
mov eax, dword [ecx + 4]
cmp eax, dword [esi + 0x14]
jl 0x10079779
jg 0x10079775
mov ecx, dword [ecx]
cmp ecx, dword [esi + 0x10]
jb 0x10079779
mov byte [esi + 0x1d], 0
movzx eax, word [ebx + 0x1c]
xor edi, edi
test al, 1
je 0x10079789
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
cmp byte [esi + 0x1e], 0
je 0x10079829
mov edx, dword [esi + 0x38]
push edx
call fcn.1004bdf0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
mov eax, dword [ebx + 0x18]
add esp, 4
mov dword [esi + 0x34], eax
test byte [ebx + 0x1c], 0x40
je 0x100797e6
mov edx, dword [ebx + 0x14]
mov dword [esi + 0x38], edx
mov ax, word [ebx + 0x1c]
mov ecx, 0xffbf
and ax, cx
mov edx, 0x100
or ax, dx
mov word [ebx + 0x1c], ax
mov byte [esi + 0x1c], 0
jmp 0x1007985f
add eax, 2
push eax
call fcn.1004bd20
add esp, 4
mov dword [esi + 0x38], eax
cmp eax, edi
je 0x10077a2c
mov ecx, dword [esi + 0x34]
mov edx, dword [ebx + 0x14]
push ecx
push edx
push eax
call fcn.1007f6e0
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
mov byte [eax + ecx], 0
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
mov byte [edx + eax + 1], 0
add esp, 0xc
mov byte [esi + 0x1c], 0
jmp 0x1007985f
test eax, 0x800
je 0x10079834
mov eax, dword [ebx]
jmp 0x10079836
xor eax, eax
movzx ecx, byte [ebp + 3]
and ecx, 8
push ecx
mov ecx, dword [ebx + 0x14]
push eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [esi]
push ecx
push edx
mov edx, dword [esp + 0xa8]
push edx
push edi
call fcn.10066210
add esp, 0x1c
mov dword [esp + 0x10], eax
mov byte [esi + 0x19], 0
mov byte [esi + 0x1f], 0
mov dword [esi + 0x68], edi
cmp dword [esp + 0x10], edi
jne case.0x100777fa.11
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je case.0x100777fa.11
mov eax, dword [ebp + 0x10]
test eax, eax
je case.0x100777fa.11
mov edx, dword [esp + 0x98]
mov esi, dword [esi + 4]
push edx
mov edx, dword [esp + 0x98]
push edx
push eax
mov eax, dword [esp + 0x20]
lea edx, [esi + esi*2]
mov esi, dword [eax + 8]
mov edx, dword [esi + edx*8]
mov eax, dword [eax + 0x84]
push edx
mov dl, byte [ebp + 3]
and dl, 4
movzx edx, dl
neg edx
sbb edx, edx
and edx, 5
add edx, 0x12
push edx
push eax
call ecx
add esp, 0x18
jmp case.0x100777fa.11
cmp dword [eax + 0x88], 0
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x30]
mov esi, dword [edx + ecx*4]
je 0x10079904
cmp dword [ebp + 0x10], 0
je 0x10079904
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
call fcn.100631f0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
mov eax, dword [esi]
call fcn.100663f0
mov dword [esp + 0x10], eax
mov byte [esi + 0x1d], 0
mov dword [esi + 0x68], 0
test eax, eax
jne 0x10079970
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x88]
test edx, edx
je 0x10079970
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10079970
mov ebx, dword [esp + 0x100]
mov esi, dword [esi + 4]
push ebx
mov ebx, dword [esp + 0x100]
push ebx
push ecx
lea ecx, [esi + esi*2]
mov esi, dword [eax + 8]
mov ecx, dword [esi + ecx*8]
mov eax, dword [eax + 0x84]
push ecx
push 9
push eax
call edx
add esp, 0x18
test byte [ebp + 8], 1
je case.0x100777fa.11
inc dword [edi + 0x104]
jmp case.0x100777fa.11
cmp dword [ebp + 4], 0
je 0x1007999a
mov ecx, dword [edi + 0x104]
mov eax, dword [esp + 0x14]
call fcn.10048ba0
mov dword [edi + 0x104], 0
jmp case.0x100777fa.11
mov eax, dword [ebp + 8]
mov edx, dword [edi + 0x4c]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x30]
mov ebp, dword [edx + ecx*4]
mov dword [esp + 0x20], eax
mov eax, dword [ebp]
mov esi, ebp
mov dword [esp + 0x38], eax
call fcn.100631f0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
cmp byte [ebp + 0x21], al
je 0x10079a21
mov esi, dword [esp + 0x38]
lea ebx, [esp + 0x16c]
call fcn.100621e0
cmp dword [esp + 0x170], 0
jg 0x1007ab74
mov esi, dword [esp + 0x16c]
jl 0x10079a14
cmp esi, 0x3b9aca00
ja 0x1007ab6d
mov edi, dword [esp + 0x38]
mov dword [esp + 0xac], esi
jmp 0x10079a44
mov edi, dword [esp + 0x38]
lea ebx, [esp + 0xac]
call fcn.10062230
mov esi, dword [esp + 0xac]
cmp esi, 0x3b9aca00
ja 0x1007ab6d
mov ebx, dword [esp + 0x20]
push esi
xor eax, eax
call fcn.100514f0
add esp, 4
test eax, eax
jne 0x10077a2c
mov cx, word [ebx + 0x1c]
mov edx, 0xfff0
and cx, dx
or cx, 0x10
mov dword [ebx + 0x18], esi
mov word [ebx + 0x1c], cx
cmp byte [ebp + 0x21], al
je 0x10079a95
mov eax, dword [ebx + 0x14]
push eax
push esi
push 0
mov esi, edi
call fcn.1005b1b0
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [ebx + 0x1f], 1
jmp case.0x100777fa.11
mov ecx, dword [ebx + 0x14]
push ecx
push esi
push 0
push edi
call fcn.10062270
add esp, 0x10
mov dword [esp + 0x10], eax
mov byte [ebx + 0x1f], 1
jmp case.0x100777fa.11
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov esi, dword [eax + edx*4]
call fcn.100631f0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
cmp byte [esi + 0x19], al
je 0x10079ae7
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
jmp 0x10079b1b
cmp byte [esi + 0x1e], 0
je 0x10079b03
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
jmp 0x10079b1b
cmp byte [esi + 0x1c], 0
jne case.0x100777fa.11
mov esi, dword [esi]
lea ebx, [esp + 0x8c]
call fcn.100621e0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [eax], edx
mov dx, word [eax + 0x1c]
mov dword [eax + 4], ecx
mov ecx, 0xffe4
and dx, cx
or dx, 4
mov word [eax + 0x1c], dx
jmp case.0x100777fa.11
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + edx*4]
mov byte [eax + 0x1c], 1
mov byte [eax + 0x19], 0
jmp case.0x100777fa.11
mov edx, dword [esp + 0x220]
mov ecx, dword [ebp + 4]
mov eax, dword [edx + 0x30]
mov ebx, dword [eax + ecx*4]
mov esi, dword [ebx]
lea edi, [esp + 0x134]
call fcn.1005b3c0
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x134]
mov byte [ebx + 0x1c], al
mov byte [ebx + 0x1f], 0
mov dword [ebx + 0x68], 0
test eax, eax
je case.0x100777fa.11
mov ebp, dword [ebp + 8]
test ebp, ebp
jle case.0x100777fa.11
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x30]
mov ebx, dword [edx + ecx*4]
mov esi, dword [ebx]
test esi, esi
je 0x10079bf0
lea edi, [esp + 0xa0]
call fcn.1005b390
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa0]
test eax, eax
sete cl
mov byte [ebx + 0x1a], cl
mov byte [ebx + 0x1f], 0
mov dword [ebx + 0x68], 0
jmp 0x10079bfc
mov eax, 1
mov dword [esp + 0xa0], eax
mov byte [ebx + 0x1c], al
test eax, eax
je case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
cmp dword [eax + 0xa8], 0
jne 0x1007ab48
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov esi, dword [eax + edx*4]
test esi, esi
je case.0x100777fa.11
cmp byte [esi + 0x1c], 0
mov eax, dword [esi]
jne 0x10079c84
mov dword [esp + 0x7c], 1
cmp byte [ebp], 0x66
jne 0x10079c55
lea ecx, [esp + 0x7c]
push ecx
push eax
call fcn.10062390
jmp 0x10079c60
lea edx, [esp + 0x7c]
push edx
push eax
call fcn.10062470
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x84]
add esp, 8
mov byte [esi + 0x1c], al
mov dword [esi + 0x68], 0
test eax, eax
jne 0x10079c84
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
mov byte [esi + 0x19], 0
jmp case.0x100777fa.11
mov ecx, dword [edi + 0x30]
mov eax, dword [ebp + 4]
mov esi, dword [ecx + eax*4]
mov edi, dword [esi]
test edi, edi
je case.0x100777fa.11
mov eax, dword [esp + 0x30]
mov edx, 0x800
test word [eax + 0x1c], dx
je 0x10079cc0
call fcn.100515c0
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x100777fa.11
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
push edx
push 0
push 0
cdq
push 0x100bad1e
push edx
push eax
push ecx
mov eax, edi
call fcn.10066210
add esp, 0x1c
mov dword [esp + 0x10], eax
mov dword [esi + 0x68], 0
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x30]
mov edi, dword [ecx + eax*4]
mov esi, dword [edi]
test esi, esi
je case.0x100777fa.11
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x18]
lea edx, [esp + 0x108]
push edx
cdq
push 0
push edx
push eax
mov eax, dword [ecx + 0x14]
push eax
push esi
call fcn.1005b3f0
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x10079d45
cmp dword [esp + 0x108], eax
jne 0x10079d45
mov eax, esi
call fcn.100663f0
mov dword [esp + 0x10], eax
mov dword [edi + 0x68], 0
jmp case.0x100777fa.11
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x30]
mov ecx, dword [edx + ecx*4]
mov eax, dword [ecx]
test eax, eax
je case.0x100777fa.11
cmp byte [ecx + 0x1c], 0
jne case.0x100777fa.11
lea ecx, [esp + 0x15c]
push ecx
call fcn.10063500
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1007ab12
mov dx, word [ebx + 0x1c]
mov ecx, dword [esp + 0x15c]
mov eax, 0xffe4
and dx, ax
or dx, 4
mov word [ebx + 0x1c], dx
mov edx, dword [esp + 0x160]
mov dword [ebx], ecx
mov dword [ebx + 4], edx
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x30]
mov esi, dword [ecx + eax*4]
cmp dword [esi], 0
je case.0x100777fa.11
mov eax, dword [esp + 0x24]
mov edx, 0x800
mov edi, eax
test word [eax + 0x1c], dx
je 0x10079dde
call fcn.100515c0
mov ecx, dword [esi + 0x48]
mov dl, byte [ebp + 3]
mov byte [ecx], dl
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
lea eax, [esp + 0x74]
push eax
push ecx
push edx
push esi
call fcn.100635d0
mov ecx, dword [esi + 0x48]
add esp, 0x10
mov dword [esp + 0x10], eax
mov byte [ecx], 0
test eax, eax
jne case.0x100777fa.11
cmp byte [ebp], 0x27
mov eax, dword [esp + 0x74]
jne 0x10079e1c
neg eax
jmp 0x10079e1d
inc eax
mov dword [esp + 0x74], eax
test eax, eax
jle case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov eax, dword [eax + 0x5c]
xor ecx, ecx
test eax, eax
je 0x10079e79
nop
cmp dword [eax + 0x44], 0xbdf20da3
jne 0x10079e59
cmp byte [eax + 0x101], 2
jae 0x10079e59
cmp dword [eax + 0x70], 0
jl 0x10079e59
inc ecx
mov eax, dword [eax + 8]
test eax, eax
jne 0x10079e40
cmp ecx, 1
jle 0x10079e79
mov dword [esp + 0x10], 6
mov dword [edi + 0x7c], 2
jmp case.0x100777fa.11
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea edi, [eax + eax*2]
mov eax, dword [ebp + 4]
add edi, edi
lea edx, [esp + 0x10c]
push edx
mov edx, dword [ecx + 8]
add edi, edi
add edi, edi
push eax
mov eax, dword [edi + edx + 4]
call fcn.100668e0
mov esi, eax
mov ax, word [ebx + 0x1c]
mov ecx, 0xffe4
and ax, cx
mov ecx, dword [esp + 0x114]
or ax, 4
mov word [ebx + 0x1c], ax
mov eax, ecx
cdq
add esp, 8
mov dword [esp + 0x10], esi
mov dword [ebx], eax
mov dword [ebx + 4], edx
test esi, esi
jne case.0x100777fa.11
test ecx, ecx
je case.0x100777fa.11
mov edx, dword [esp + 0x14]
mov esi, dword [edx + 8]
add esi, edi
mov edi, dword [ebp + 4]
mov edx, ecx
call fcn.10049710
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ebp, dword [ebp + 8]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [edx + 8]
lea ecx, [ebp + ebp*2]
mov eax, dword [eax + ecx*8 + 4]
call fcn.10066670
add esp, 4
mov dword [esp + 0x10], eax
jmp case.0x100777fa.11
mov ebp, dword [ebp + 4]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 8]
lea edx, [ebp + ebp*2]
lea esi, [eax + edx*8]
xor eax, eax
cmp cl, 0x31
setne al
lea ecx, [esp + 0x128]
dec eax
and eax, 3
add eax, 2
push eax
mov eax, dword [esi + 4]
push ecx
call fcn.100626b0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x100777fa.11
mov eax, dword [esp + 0x128]
cdq
mov dword [ebx + 4], edx
mov dx, word [ebx + 0x1c]
mov dword [ebx], eax
mov eax, 0xffe4
and dx, ax
or dx, 4
mov word [ebx + 0x1c], dx
jmp case.0x100777fa.11
cmp dword [ebp + 8], 0
mov ecx, dword [ebp + 4]
jne 0x10079f9f
mov eax, dword [eax + 8]
lea edx, [ecx + ecx*2]
mov edx, dword [eax + edx*8 + 0x14]
test byte [edx + 0x5a], 1
je case.0x100777fa.11
mov eax, str.sqlite_temp_master
cmp ecx, 1
je 0x10079fae
mov eax, str.sqlite_master
mov edx, dword [ebp + 0x10]
mov ebx, dword [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c0], ecx
lea eax, [ecx + ecx*2]
mov ecx, dword [ebx + 8]
add edi, 0xf4
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1c4], edi
mov edx, dword [ecx + eax*8]
push edx
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s
call fcn.10054c70
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10077a2c
push 0
lea eax, [esp + 0x1b8]
push eax
push fcn.1004f030
push esi
push ebx
mov byte [ebx + 0x50], 1
call fcn.1007b540
mov edi, eax
add esp, 0x14
mov dword [esp + 0x10], eax
cmp edi, 4
jne 0x1007a026
mov edi, dword [esp + 0x1c0]
mov dword [esp + 0x10], edi
push esi
call fcn.1004bdf0
add esp, 4
mov byte [ebx + 0x50], 0
cmp edi, 7
je 0x10077a2c
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
call fcn.10056390
mov dword [esp + 0x10], eax
jmp case.0x100777fa.11
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
push ecx
call fcn.100520e0
add esp, 4
jmp case.0x100777fa.11
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
mov ebx, dword [esp + 0x14]
call fcn.1004eb60
jmp case.0x100777fa.11
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 4]
mov ebx, dword [esp + 0x14]
call fcn.10052e10
jmp case.0x100777fa.11
mov esi, dword [ebp + 8]
lea edx, [esi*4 + 4]
push edx
mov dword [esp + 0x3c], esi
call fcn.1004bd20
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x10077a2c
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x4c]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*8]
mov ecx, dword [ebp + 4]
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*8]
xor ebx, ebx
mov dword [esp + 0x40], eax
test esi, esi
jle 0x1007a0f6
mov esi, eax
lea ebx, [ebx]
call fcn.1005dd70
mov ecx, dword [esp + 0x1c]
mov dword [ecx + ebx*4], eax
inc ebx
add esi, 0x28
cmp ebx, dword [esp + 0x38]
jl 0x1007a0e0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov dword [esi + ebx*4], 0
mov eax, dword [edi]
lea edx, [esp + 0x104]
push edx
push eax
movzx eax, byte [ebp + 3]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [eax + 8]
mov edx, dword [ecx + edx*8 + 4]
push esi
push edx
call fcn.10062720
mov ebx, dword [esp + 0x118]
mov ebp, eax
mov eax, ebx
cdq
add esp, 0x14
sub dword [edi], eax
sbb dword [edi + 4], edx
mov edi, dword [esp + 0x40]
mov eax, edi
call fcn.10048590
test ebx, ebx
je 0x1007a162
push fcn.1004bdf0
push 1
push ebp
or eax, 0xffffffff
mov ecx, edi
call fcn.1005df00
add esp, 0xc
movzx ecx, byte [esp + 0x2c]
mov eax, edi
call fcn.1005dcc0
push esi
call fcn.1004bdf0
add esp, 4
jmp case.0x100777fa.11
mov esi, dword [esp + 0x40]
call fcn.1005dd70
mov edi, dword [esp + 0x220]
push edx
push eax
add edi, 0x58
call fcn.1004d980
add esp, 8
cmp eax, 7
je 0x10077a2c
jmp case.0x100777fa.11
cmp dword [eax + 0xa8], 0
jne 0x1007ab48
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x4c]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov ax, word [edx + 0x1c]
mov ecx, 0xffe4
and ax, cx
or ax, 4
lea esi, [edi + 0x58]
mov dword [esp + 0x20], edx
mov word [edx + 0x1c], ax
call fcn.1004d9e0
cmp eax, 0x65
jne case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov esi, dword [edi + 0x64]
cmp esi, dword [edi + 0x68]
lea eax, [esi + 1]
mov dword [edi + 0x64], eax
jl 0x1007a231
mov ebx, dword [esp + 0x220]
mov edi, dword [ebx + 0x6c]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x68], eax
lea eax, [esi + esi*2 + 3]
add eax, eax
add eax, eax
add eax, eax
call fcn.1004c050
mov dword [ebx + 0x6c], eax
test eax, eax
je 0x10077a2c
mov edi, ebx
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x14]
lea edx, [esi + esi*2]
lea eax, [eax + edx*8]
mov edx, dword [ecx + 0x28]
mov dword [eax], edx
mov ecx, dword [ecx + 0x2c]
mov dword [eax + 4], ecx
mov edx, dword [edi + 0x104]
lea ecx, [edi + 0x58]
mov dword [eax + 8], edx
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x14], edx
call fcn.100484d0
jmp case.0x100777fa.11
mov eax, dword [esp + 0x220]
dec dword [eax + 0x64]
mov ecx, dword [eax + 0x64]
mov edx, dword [eax + 0x6c]
lea ecx, [ecx + ecx*2]
lea esi, [edx + ecx*8]
mov edx, dword [esi]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x28], edx
mov edx, dword [esi + 4]
mov dword [ecx + 0x2c], edx
mov ecx, dword [esi + 8]
lea edi, [eax + 0x58]
mov dword [eax + 0x104], ecx
call fcn.1004da30
mov edx, dword [esi + 0xc]
mov dword [edi], edx
mov eax, dword [esi + 0x10]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x14]
mov dword [edi + 8], ecx
jmp case.0x100777fa.11
mov eax, esi
call fcn.1005de60
mov edi, dword [esp + 0x30]
mov eax, edi
call fcn.1005de60
mov eax, dword [edi]
mov edi, dword [edi + 4]
mov edx, dword [esi + 4]
cmp edx, edi
jg case.0x100777fa.11
jl 0x1007a2ea
mov ecx, dword [esi]
cmp ecx, eax
jae case.0x100777fa.11
mov dword [esi], eax
mov dword [esi + 4], edi
jmp case.0x100777fa.11
cmp dword [esi + 4], 0
jl case.0x100777fa.11
jg 0x1007a309
cmp dword [esi], 0
jbe case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
cmp dword [esi + 4], 0
jg case.0x100777fa.11
jl 0x1007a32b
cmp dword [esi], 0
jae case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov edx, dword [esi]
or edx, dword [esi + 4]
jne case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 0x4c]
movzx esi, byte [ebp + 3]
mov ebx, dword [edi + 0x24]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
xor edx, edx
test esi, esi
jle 0x1007a384
lea esp, [esp]
mov dword [ebx + edx*4], ecx
call fcn.10048e80
inc edx
add ecx, 0x28
cmp edx, esi
jl 0x1007a370
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0xb8], ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ecx*4]
mov ecx, dword [edi + 0x4c]
lea ecx, [ecx + edx*8]
mov dword [esp + 0xe8], ecx
inc dword [ecx + 0x18]
xor ecx, ecx
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0xb8]
mov edx, 1
mov word [esp + 0xdc], dx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], ecx
cmp byte [eax + 3], cl
je 0x1007a3ec
mov ecx, dword [ebp - 4]
mov dword [esp + 0xf0], ecx
mov eax, dword [eax + 0x14]
push ebx
lea edx, [esp + 0xbc]
push esi
push edx
call eax
add esp, 0xc
cmp dword [esp + 0xec], 0
je 0x1007a435
lea ecx, [esp + 0xc0]
push 0
push ecx
call fcn.1005e410
add esp, 4
push eax
add edi, 0xf4
push edi
call fcn.1004c130
mov edx, dword [esp + 0xf8]
add esp, 0xc
mov dword [esp + 0x10], edx
lea eax, [esp + 0xc0]
push eax
call fcn.1004dad0
add esp, 4
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
mov edx, dword [edi + 0x4c]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*8]
mov ecx, dword [ebp + 0x10]
mov eax, esi
call fcn.1004da60
mov dword [esp + 0x10], eax
cmp eax, 1
jne 0x1007a484
push 0
push esi
call fcn.1005e410
add esp, 4
push eax
lea eax, [edi + 0xf4]
push eax
call fcn.1004c130
add esp, 0xc
mov ecx, esi
call fcn.100485a0
test eax, eax
jne 0x1007ab74
jmp case.0x100777fa.11
mov ecx, dword [esp + 0x220]
mov edi, dword [esp + 0x14]
add ecx, 0xf4
push ecx
call fcn.10077300
add esp, 4
mov dword [esp + 0x10], eax
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov eax, dword [ecx + edx*8 + 4]
call fcn.10061e30
mov dword [esp + 0x10], eax
cmp eax, 0x65
jne case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0
jmp case.0x100777fa.11
cmp dword [ebp + 4], 0
jne 0x1007a507
mov eax, dword [esp + 0x14]
call fcn.10048bc0
jmp case.0x100777fa.11
mov byte [edi + 0xff], 1
jmp case.0x100777fa.11
mov eax, dword [ebp + 4]
test eax, eax
setl cl
mov byte [esp + 0x138], cl
test cl, cl
je 0x1007a52d
or edx, 0xffffffff
sub edx, eax
mov eax, edx
mov ecx, dword [esp + 0x138]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + edx*8 + 4]
call fcn.1004d8f0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, 6
jne case.0x100777fa.11
mov edx, dword [ebp + 0x10]
push 0
push edx
push str.database_table_is_locked:
add edi, 0xf4
push edi
call fcn.1004c130
add esp, 0x10
jmp case.0x100777fa.11
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
call fcn.1004f680
add esp, 4
mov dword [esp + 0x10], eax
jmp case.0x100777fa.11
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [edi + 0xf4]
call fcn.10058ec0
add esp, 4
mov dword [esp + 0x10], eax
jmp case.0x100777fa.11
mov ecx, dword [esp + 0x14]
mov byte [edi + 0x101], 2
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 4]
call fcn.1004a4d0
add esp, 4
mov dword [esp + 0x10], eax
mov byte [edi + 0x101], 0
jmp case.0x100777fa.11
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x34], 0
mov esi, dword [ebx]
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x34]
push ecx
push ebx
call edx
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne case.0x100777fa.11
mov eax, dword [esp + 0x34]
mov dword [eax], ebx
mov ecx, dword [ebp + 4]
push 0xffffffffffffffff
push ecx
mov ebx, edi
call fcn.1006cf10
add esp, 8
test eax, eax
je 0x1007a637
mov edx, dword [esp + 0x34]
mov dword [eax + 0x60], edx
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov dword [eax + 0x64], ecx
jmp case.0x100777fa.11
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov byte [edx + 0x1e], 1
mov ecx, dword [esi + 0x1c]
push eax
call ecx
add esp, 4
jmp case.0x100777fa.11
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov ebx, dword [edi + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
mov esi, dword [eax + edx*8 + 0x28]
lea eax, [eax + edx*8]
mov edx, dword [edi + 0x30]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx + 0x60]
mov edx, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [eax]
mov dword [esp + 0x4c], edx
xor edx, edx
mov dword [esp + 0x1c], ecx
test esi, esi
jle 0x1007a6a0
lea ecx, [eax + 0x50]
jmp 0x1007a690
mov dword [ebx + edx*4], ecx
call fcn.10048e80
inc edx
add ecx, 0x28
cmp edx, esi
jl 0x1007a690
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x38]
push ebx
mov byte [edi + 0x101], 1
mov eax, dword [ebp + 0x10]
push esi
push eax
mov eax, dword [edx + 0x60]
push ecx
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x20]
push eax
call edx
add esp, 0x14
mov dword [esp + 0x10], eax
mov byte [edi + 0x101], 0
test eax, eax
jne 0x1007a6f5
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x60]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x28]
push ecx
call eax
add esp, 4
test eax, eax
je 0x1007a6f5
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
mov ecx, dword [esp + 0x38]
mov byte [ecx + 0x1c], 0
jmp case.0x100777fa.11
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov eax, dword [eax + edx*4]
cmp byte [eax + 0x1c], 0
jne case.0x100777fa.11
mov eax, dword [eax + 0x60]
mov ecx, dword [eax]
mov ecx, dword [ecx]
lea edx, [esp + 0x154]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
mov cx, word [ebx + 0x1c]
mov edx, 0xffe4
and cx, dx
add esp, 8
or cx, 4
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x154]
mov word [ebx + 0x1c], cx
mov ecx, dword [esp + 0x158]
mov dword [ebx], eax
mov dword [ebx + 4], ecx
jmp case.0x100777fa.11
mov edx, dword [ebp + 4]
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + edx*4]
cmp byte [ecx + 0x1c], 0
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x1c], ecx
lea esi, [eax + edx*8]
je 0x1007a788
mov eax, esi
call fcn.10048590
jmp case.0x100777fa.11
mov ecx, dword [ecx + 0x60]
mov edx, dword [ecx]
mov eax, dword [edx]
push 0x40
lea ecx, [esp + 0xbc]
push 0
push ecx
mov dword [esp + 0x44], eax
call fcn.1007f650
mov ebx, esi
lea eax, [esp + 0xcc]
call fcn.1004dc40
mov edx, dword [esp + 0xe8]
mov eax, dword [ebp + 8]
and edx, 0xffe1
or edx, 1
mov word [esp + 0xe8], dx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [edx + 0x60]
lea ecx, [esp + 0xc8]
push ecx
mov ecx, dword [esp + 0x4c]
mov edx, dword [ecx + 0x2c]
push eax
call edx
movzx ecx, byte [esp + 0x44]
mov dword [esp + 0x28], eax
add esp, 0x18
lea eax, [esp + 0xc0]
call fcn.1005dcc0
lea ebx, [esp + 0xc0]
jmp 0x10077ece
mov eax, dword [ebp + 4]
mov ecx, dword [edi + 0x30]
mov esi, dword [ecx + eax*4]
cmp byte [esi + 0x1c], 0
jne case.0x100777fa.11
mov edx, dword [esi + 0x60]
mov eax, dword [edx]
mov ebx, dword [eax]
mov byte [edi + 0x101], 1
mov ecx, dword [esi + 0x60]
mov edx, dword [ebx + 0x24]
push ecx
call edx
add esp, 4
mov dword [esp + 0x10], eax
mov byte [edi + 0x101], 0
test eax, eax
jne 0x1007a85b
mov eax, dword [esi + 0x60]
mov ecx, dword [ebx + 0x28]
push eax
call ecx
add esp, 4
test eax, eax
jne case.0x100777fa.11
mov ebp, dword [ebp + 8]
dec ebp
mov dword [esp + 0x18], ebp
jmp case.0x100777fa.11
mov esi, dword [ebp + 0x10]
mov ebp, dword [ebp + 4]
mov eax, dword [edi + 0x4c]
lea edx, [ebp + ebp*4]
test byte [eax + edx*8 + 0x1c], 0x12
lea edi, [eax + edx*8]
jne 0x1007a897
movzx ecx, byte [esp + 0x2c]
push ecx
mov eax, edi
call fcn.1005dce0
add esp, 4
test eax, eax
jne 0x10077a2c
mov eax, esi
call fcn.1004a440
mov eax, dword [edi + 0x14]
mov edx, dword [esi]
mov ecx, dword [edx + 0x4c]
push eax
push esi
call ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
add esp, 8
mov eax, esi
call fcn.1004a450
jmp case.0x100777fa.11
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [eax]
cmp dword [eax + 0x34], 0
mov dword [esp + 0x38], eax
jne 0x1007a8fa
push 0
push str.read_only_table
add edi, 0xf4
push edi
call fcn.1004c130
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x100777fa.11
mov eax, dword [ebp + 0xc]
mov ebx, dword [edi + 0x24]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
lea ecx, [eax + edx*8]
xor edx, edx
test esi, esi
jle 0x1007a920
nop
call fcn.10048e80
mov dword [ebx + edx*4], ecx
inc edx
add ecx, 0x28
cmp edx, esi
jl 0x1007a910
mov edi, dword [esp + 0x1c]
mov eax, edi
call fcn.1004a440
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x34]
lea ecx, [esp + 0x14c]
push ecx
push ebx
push esi
push edi
call eax
mov ecx, dword [esp + 0x24]
mov esi, eax
add esp, 0x10
mov eax, edi
mov dword [esp + 0x10], esi
call fcn.1004a450
cmp dword [ebp + 4], 0
je case.0x100777fa.11
test esi, esi
jne case.0x100777fa.11
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x150]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
jmp case.0x100777fa.11
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je case.0x100777fa.11
mov eax, dword [eax + 0x64]
test eax, eax
je case.0x100777fa.11
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x68]
push ebp
push edx
call eax
add esp, 8
jmp case.0x100777fa.11
mov dword [esp + 0x10], 9
jmp 0x10077a59
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x74], eax
mov dword [edi + 0x70], ecx
mov edx, dword [ebp + 8]
mov dword [edi + 0x7c], edx
mov ebp, dword [ebp + 0x10]
test ebp, ebp
je 0x1007a9e4
push 0
lea eax, [edi + 0xf4]
push ebp
push eax
call fcn.1004c130
add esp, 0xc
mov esi, edi
call fcn.1006ca80
mov ebp, 5
cmp eax, ebp
je 0x1007aada
mov ebp, dword [edi + 0x74]
neg ebp
sbb ebp, ebp
and ebp, 0xffffff9c
add ebp, 0x65
jmp 0x10077a6c
mov ecx, dword [edi + 0x54]
add ecx, 2
or ecx, 1
mov dword [edi + 0x54], ecx
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4c]
lea esi, [eax + edx*8]
xor ebx, ebx
mov dword [edi + 0xf8], esi
cmp dword [ebp + 8], ebx
jle 0x1007aa47
nop
mov eax, esi
call fcn.10051620
mov ecx, esi
call fcn.10048e80
inc ebx
add esi, 0x28
cmp ebx, dword [ebp + 8]
jl 0x1007aa30
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x1e], 0
jne 0x10077a2c
mov edx, dword [esp + 0x18]
inc dword [edi + 0x50]
inc edx
mov dword [edi + 0x70], edx
mov ebp, 0x64
jmp 0x10077a6c
lea eax, [esp + 0x17c]
push eax
call fcn.1004dad0
add esp, 4
jmp 0x10077a2c
mov dword [esp + 0x10], 0x14
jmp 0x1007ab12
cmp dword [ebp + 8], 0
je 0x1007aab3
mov esi, dword [esp + 0x14]
mov eax, esi
call fcn.1006c4c0
mov byte [esi + 0x1c], 1
mov ebp, dword [edi + 0x74]
neg ebp
sbb ebp, ebp
and ebp, 0xffffff9c
add ebp, 0x65
jmp 0x10077a6c
mov ebp, dword [esp + 0x14]
mov esi, edi
mov byte [ebp + 0x1c], bl
call fcn.1006ca80
cmp eax, 5
jne 0x1007a9f8
mov ecx, dword [esp + 0x18]
mov dl, 1
sub dl, bl
mov dword [edi + 0x70], ecx
mov byte [ebp + 0x1c], dl
mov ebp, eax
mov dword [edi + 0x74], ebp
jmp 0x10077a6c
mov eax, dword [esp + 0x18]
mov ebp, 5
mov dword [edi + 0x70], eax
mov dword [edi + 0x74], ebp
jmp 0x10077a6c
mov ecx, dword [esp + 0x18]
mov ebp, 5
mov dword [edi + 0x70], ecx
mov dword [edi + 0x74], ebp
jmp 0x10077a6c
mov dword [esp + 0x10], 0xd
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x1e], 0
je 0x1007ab24
mov dword [esp + 0x10], 7
mov eax, dword [esp + 0x10]
push 0
call fcn.1004b470
mov edi, dword [esp + 0x224]
push eax
lea eax, [edi + 0xf4]
push eax
call fcn.1004c130
jmp 0x10077a56
mov eax, 9
push 0
mov dword [esp + 0x14], eax
mov dword [edi + 0x74], eax
call fcn.1004b470
push eax
lea ecx, [edi + 0xf4]
push ecx
call fcn.1004c130
jmp 0x10077a56
mov edi, dword [esp + 0x220]
push 0
lea edx, [edi + 0xf4]
push str.string_or_blob_too_big
push edx
call fcn.1004c130
mov dword [esp + 0x1c], 0x12
jmp 0x10077a56