Function at 0x5256fc
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x25c
push ebx
mov ebx, dword [esp + 0x264]
push ebp
mov ebp, dword [ebx + 0x58]
push esi
mov esi, dword [ebx]
mov cl, byte [esi + 0x46]
xor eax, eax
push edi
mov edi, dword [ebx + 0x5c]
push ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], esi
mov byte [esp + 0x47], al
mov byte [esp + 0x42], cl
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], edi
call fcn.004c0090
add esp, 4
cmp dword [ebx + 0x28], 7
je 0x5238d1
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x68], eax
mov edx, dword [esi + 0x100]
mov dword [esi + 0x18c], eax
test edx, edx
jne 0x5271b2
mov eax, esi
cmp dword [eax + 0x138], edx
je 0x522043
mov ecx, dword [eax + 0x140]
mov eax, dword [ebx + 0xb0]
div ecx
sub ecx, edx
mov dword [esp + 0x88], ecx
jmp 0x52204e
mov dword [esp + 0x88], 0xffffffff
mov eax, dword [ebx + 0x24]
lea eax, [eax + eax*4]
mov ecx, ebp
lea ebp, [ecx + eax*4]
lea esp, [esp]
mov cl, byte [ebp]
inc dword [esp + 0x68]
movzx eax, cl
cmp eax, 0xa9
ja case.0x522075.86
jmp dword [eax*4 + 0x527344]
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea ecx, [edi + edx*8]
mov eax, 4
mov word [ecx + 8], ax
mov edx, ebp
sub edx, dword [esp + 0x30]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp 0x526d0d
mov ebp, dword [ebp + 4]
lea ecx, [ebp + ebp*4]
lea eax, [edi + ecx*8]
mov ecx, dword [eax]
mov edi, dword [esp + 0x44]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x30]
lea ebp, [ecx + edx*4]
mov edx, 0x80
mov word [eax + 8], dx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebp + 0xc]
dec eax
cdq
mov dword [ecx + 4], edx
mov edx, 4
mov dword [ecx], eax
mov word [ecx + 8], dx
cmp dword [ebp + 8], 0
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x30]
lea eax, [ebp + ebp*4]
lea edi, [edi + eax*8]
mov eax, dword [edi]
lea edx, [eax + eax*4]
mov eax, dword [ecx + edx*4 + 8]
lea eax, [eax + eax*4]
lea ebp, [ecx + eax*4 - 0x14]
mov ecx, 0x80
mov word [edi + 8], cx
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov esi, dword [esp + 0x30]
lea edx, [eax + eax*4]
mov ecx, dword [edi + edx*8]
lea edi, [edi + edx*8]
mov eax, 4
mov word [edi + 8], ax
sub ebp, esi
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
lea ecx, [ecx + ecx*4]
lea ebp, [esi + ecx*4]
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 1
je case.0x522075.86
mov ecx, ebp
sub ecx, dword [esp + 0x30]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp + 4], 0
mov dword [esp + 0x18], eax
jne 0x526dc5
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x526dc5
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x14]
dec dword [ebx + 0xcc]
mov dword [ebx + 0xc4], eax
mov eax, dword [ebx + 0x2c]
add dword [edx + 0x60], eax
push ecx
mov dword [edx + 0x5c], eax
call fcn.0050fc60
add esp, 4
cmp dword [ebp + 8], 4
jne 0x5221fb
mov edx, dword [ebx + 0x58]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 8]
dec eax
mov ebp, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x5c]
mov dword [esp + 0x30], ebp
lea edx, [eax + eax*4]
lea ebp, [ebp + edx*4]
mov dword [esp + 0x44], ecx
add ebp, 0x14
mov edi, ecx
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edi, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [ebp + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov edi, dword [esp + 0x44]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edi, dword [esp + 0x44]
mov edx, 8
mov word [eax + 8], dx
mov ecx, dword [ebp + 0x10]
fld qword [ecx]
add ebp, 0x14
fstp qword [eax]
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov esi, eax
mov eax, dword [ebp + 0x10]
mov byte [ebp], 0x48
call fcn.004acea0
cmp byte [esp + 0x3e], 1
mov dword [ebp + 4], eax
je 0x5222fd
mov eax, dword [ebp + 0x10]
push 0
push 1
push eax
or eax, 0xffffffff
mov ecx, esi
call fcn.004cf3f0
movzx ecx, byte [esp + 0x4a]
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, esi
call fcn.004cf300
test eax, eax
jne 0x5238d1
mov edx, 0x800
or word [esi + 8], dx
mov dword [esi + 0x18], eax
cmp byte [ebp + 1], 0xf9
jne 0x5222ed
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.004aca90
mov byte [ebp + 1], 0xf9
mov eax, dword [esi + 0x10]
mov dword [ebp + 0x10], eax
mov ecx, dword [esi + 0xc]
mov dword [ebp + 4], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 0x64]
jg 0x5260d1
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, eax
mov edx, 0xa02
mov word [ecx + 8], dx
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 4]
mov al, byte [esp + 0x3e]
mov dword [ecx + 0xc], edx
mov byte [ecx + 0xa], al
mov eax, dword [ebp + 0xc]
test eax, eax
jle case.0x522075.86
lea esi, [eax + eax*4]
movzx eax, word [ebp + 2]
cdq
mov dword [esp + 0x230], edx
mov edx, dword [edi + esi*8]
cmp edx, eax
jne case.0x522075.86
mov eax, dword [edi + esi*8 + 4]
cmp eax, dword [esp + 0x230]
jne case.0x522075.86
mov edi, dword [esp + 0x44]
mov edx, 0xa10
mov word [ecx + 8], dx
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edi, dword [ebp + 0xc]
sub edi, dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 4]
neg eax
sbb eax, eax
and eax, 0x100
inc eax
movzx eax, ax
mov dword [esp + 0x18], eax
mov word [esi + 8], ax
mov dword [esi + 0xc], 0
test edi, edi
jle case.0x522075.86
jmp 0x5223c0
add esi, 0x28
mov eax, esi
call fcn.004b33a0
mov cx, word [esp + 0x18]
dec edi
mov word [esi + 8], cx
mov dword [esi + 0xc], 0
test edi, edi
jg 0x5223c0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov cx, word [edi + edx*8 + 8]
lea eax, [edi + edx*8]
mov edi, dword [esp + 0x44]
mov edx, 0xff61
and cx, dx
or cx, 1
mov word [eax + 8], cx
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov esi, eax
mov eax, dword [ebp + 0x10]
push 0
push 0
push eax
mov eax, dword [ebp + 4]
mov ecx, esi
call fcn.004cf3f0
mov cl, byte [esp + 0x4a]
mov edi, dword [esp + 0x50]
add esp, 0xc
mov byte [esi + 0xa], cl
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x74]
lea esi, [eax + edx*8 - 0x28]
mov ecx, esi
call fcn.004b3550
test eax, eax
jne 0x5260d1
mov eax, dword [ebp + 8]
push 0x800
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push esi
push edx
call fcn.004b35a0
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea esi, [edi + ecx*8]
lea edi, [edi + edx*8]
push esi
mov eax, edi
call fcn.004b3600
mov eax, 0x1000
add esp, 4
test word [edi + 8], ax
je 0x5224c6
mov eax, edi
call fcn.004cba40
test eax, eax
jne 0x5238d1
add esi, 0x28
add edi, 0x28
sub dword [esp + 0x20], 1
jne 0x5224a1
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea esi, [edi + edx*8]
mov dword [esp + 0x20], ecx
lea edi, [edi + eax*8]
push 0x1000
push esi
push edi
call fcn.004b35a0
mov ecx, 0x1000
add esp, 0xc
test word [edi + 8], cx
je 0x522521
mov eax, edi
call fcn.004cba40
test eax, eax
jne 0x5238d1
mov eax, dword [esp + 0x20]
mov edx, eax
dec eax
mov dword [esp + 0x20], eax
test edx, edx
je case.0x522075.86
add edi, 0x28
add esi, 0x28
jmp 0x5224f8
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebp + 8]
push 0x1000
lea edx, [eax + eax*4]
push ecx
lea eax, [edi + edx*8]
push eax
call fcn.004b35a0
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 4]
mov edx, dword [edi + eax*8]
mov eax, dword [ebp + 8]
push ecx
lea eax, [eax + eax*4]
push edx
lea eax, [edi + eax*8]
call fcn.004b3460
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea ecx, [edi + ecx*8]
lea esi, [edi + edx*8]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
movzx eax, word [ecx + 8]
mov dword [esp + 0x24], ecx
mov cl, byte [esi + 8]
or cl, al
mov dword [esp + 0x1c], esi
test cl, 1
je 0x5225d9
mov eax, edi
call fcn.004b33a0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
test eax, 0x4000
je 0x5225f5
mov esi, dword [esp + 0x24]
call fcn.004c5400
test eax, eax
jne 0x5238d1
mov esi, dword [esp + 0x1c]
mov edx, 0x4000
test word [esi + 8], dx
je 0x522611
mov esi, dword [esp + 0x1c]
call fcn.004c5400
test eax, eax
jne 0x5238d1
mov eax, dword [esp + 0x24]
test byte [eax + 8], 0x12
jne 0x522638
mov ecx, dword [esp + 0x3e]
push 0
push ecx
mov esi, eax
call fcn.004cf320
add esp, 8
test eax, eax
jne 0x5238d1
mov esi, dword [esp + 0x1c]
test byte [esi + 8], 0x12
jne 0x522659
mov edx, dword [esp + 0x3e]
mov esi, dword [esp + 0x1c]
push 0
push edx
call fcn.004cf320
add esp, 8
test eax, eax
jne 0x5238d1
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0xc]
add eax, dword [ecx + 0xc]
cdq
mov ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10c], eax
mov eax, dword [edx + 0x64]
cdq
cmp ecx, edx
jg 0x5260d1
jl 0x52268c
cmp dword [esp + 0x10c], eax
ja 0x5260d1
xor eax, eax
cmp edi, esi
sete al
push eax
mov eax, dword [esp + 0x110]
add eax, 2
push edi
call fcn.004c5240
add esp, 8
test eax, eax
jne 0x5238d1
mov cx, word [edi + 8]
mov edx, 0x3e00
and cx, dx
or cx, 2
mov word [edi + 8], cx
cmp edi, esi
je 0x5226db
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [edi + 0x10]
push eax
push ecx
push edx
call fcn.00588d50
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [edi + 0x10]
add eax, dword [esi + 0xc]
push ecx
push edx
push eax
call fcn.00588d50
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x118]
mov byte [eax + ecx], 0
mov edx, dword [edi + 0x10]
mov byte [edx + eax + 1], 0
mov dl, byte [esp + 0x4a]
mov ecx, 0x200
or word [edi + 8], cx
add esp, 0xc
mov dword [edi + 0xc], eax
mov byte [edi + 0xa], dl
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, esi
call fcn.004b4fc0
movzx ecx, ax
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
call fcn.004b4fc0
movzx ecx, ax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea edx, [edi + eax*8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov dx, word [eax + 8]
or dx, word [esi + 8]
mov dword [esp + 0x18], ecx
and cl, byte [esp + 0x20]
movzx eax, dx
test cl, 4
je 0x522893
mov edx, dword [esp + 0x1c]
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x60], edx
movzx edx, byte [ebp]
add edx, 0xffffffa0
mov dword [esp + 0x5c], edi
mov byte [esp + 0x42], 1
cmp edx, 3
ja case.default.0x5227af
jmp dword [edx*4 + 0x5275ec]
push ecx
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004adb20
add esp, 0xc
test eax, eax
jne 0x5228a0
jmp 0x522862
push ecx
push eax
lea edx, [esp + 0x64]
call fcn.004adbc0
add esp, 8
test eax, eax
jne 0x5228a0
jmp 0x522862
push ecx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004adc10
add esp, 0xc
test eax, eax
jne 0x5228a0
jmp 0x522862
mov edx, eax
or edx, ecx
je 0x5229a8
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x522824
test edi, edi
jne 0x522824
cmp dword [esp + 0x60], 0x80000000
je 0x5228a0
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
push edi
call fcn.005895f0
jmp 0x52285a
mov edx, eax
or edx, ecx
je 0x5229a8
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x52284d
mov eax, 1
xor ecx, ecx
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
push edi
call fcn.0058e260
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x44]
mov dword [eax], ecx
mov cx, word [eax + 8]
mov dword [eax + 4], edx
mov edx, 0x3e00
and cx, dx
or cx, 4
mov word [eax + 8], cx
add ebp, 0x14
jmp 0x522060
test al, 1
jne 0x5229a8
mov byte [esp + 0x42], 0
mov ecx, esi
call fcn.004b30c0
fstp qword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
call fcn.004b30c0
movzx eax, byte [ebp]
add eax, 0xffffffa0
cmp eax, 3
ja case.default.0x5228c0
jmp dword [eax*4 + 0x5275fc]
fadd qword [esp + 0x34]
jmp 0x522944
fsub qword [esp + 0x34]
jmp 0x522944
fmul qword [esp + 0x34]
jmp 0x522944
fldz
fld qword [esp + 0x34]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x5229a4
fdivp st(1)
jmp 0x522944
fld qword [esp + 0x34]
call fcn.00588b56
mov esi, eax
mov edi, edx
call fcn.00588b56
mov ecx, esi
or ecx, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
je 0x5229a8
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x522926
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.0058e260
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], edx
fild qword [esp + 0x168]
sub esp, 8
fst qword [esp + 0x3c]
fstp qword [esp]
call fcn.004ace60
add esp, 8
test eax, eax
jne 0x5229a8
mov esi, dword [esp + 0x2c]
fld qword [esp + 0x34]
mov dx, word [esi + 8]
fstp qword [esi]
mov eax, 0x3e00
and dx, ax
mov al, byte [esp + 0x18]
or al, byte [esp + 0x20]
or dx, 8
mov word [esi + 8], dx
test al, 8
jne case.0x522075.86
cmp byte [esp + 0x42], 0
jne case.0x522075.86
call fcn.004b3120
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x2c]
call fcn.004b33a0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
test eax, eax
je case.0x522075.86
lea ecx, [eax + eax*4]
push 0
push 0
lea eax, [edi + ecx*8]
call fcn.004b3460
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebp + 0xc]
lea esi, [edi + edx*8]
lea edx, [eax + eax*4]
mov al, byte [ecx + 8]
or al, byte [esi + 8]
lea edi, [edi + edx*8]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], edi
test al, 1
je 0x522a26
mov eax, edi
call fcn.004b33a0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
call fcn.004b3050
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov esi, edx
call fcn.004b3050
mov edi, eax
mov al, byte [ebp]
cmp al, 0x5c
jne 0x522a4e
and dword [esp + 0x70], edi
and esi, edx
jmp 0x522b30
cmp al, 0x5d
jne 0x522a5d
or dword [esp + 0x70], edi
or esi, edx
jmp 0x522b30
mov ecx, edi
or ecx, edx
je 0x522b30
test edx, edx
jg 0x522a95
jl 0x522a71
test edi, edi
jae 0x522a8a
mov cl, 0xbd
sub cl, al
cmp edx, 0xffffffff
mov al, cl
jl 0x522a95
jg 0x522a83
cmp edi, 0xffffffc0
jbe 0x522a95
neg edi
adc edx, 0
neg edx
test edx, edx
jl 0x522abd
jg 0x522a95
cmp edi, 0x40
jb 0x522abd
test esi, esi
jg 0x522ab2
jl 0x522aa2
cmp dword [esp + 0x70], 0
jae 0x522ab2
cmp al, 0x5e
je 0x522ab2
or eax, 0xffffffff
cdq
mov dword [esp + 0x70], eax
mov esi, edx
jmp 0x522b30
xor eax, eax
cdq
mov dword [esp + 0x70], eax
mov esi, edx
jmp 0x522b30
cmp al, 0x5e
mov eax, dword [esp + 0x70]
mov edx, esi
mov ecx, edi
jne 0x522ade
call fcn.0058e3c0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
jmp 0x522b1e
call fcn.0058e500
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
test esi, esi
jg 0x522b1e
jl 0x522afe
cmp dword [esp + 0x70], 0
jae 0x522b1e
mov ecx, 0x40
sub ecx, edi
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.0058e3c0
or dword [esp + 0x9c], eax
or dword [esp + 0xa0], edx
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov dword [esp + 0x70], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x70]
mov dx, word [eax + 8]
mov edi, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, 0x3e00
and dx, cx
or dx, 4
mov dword [eax + 4], esi
mov word [eax + 8], dx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
call fcn.004b3190
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x44]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x522bcb
test al, 8
jne 0x522ba7
test al, 2
je 0x522bac
push 1
mov eax, esi
call fcn.004b4eb0
add esp, 4
jmp 0x522bac
call fcn.004b3120
movzx eax, word [esi + 8]
test al, 4
jne 0x522bcb
cmp dword [ebp + 8], 0
jne 0x526d0d
mov dword [esp + 0x10], 0x14
jmp 0x5260e8
mov edi, dword [esp + 0x44]
and eax, 0x3e00
or eax, 4
mov word [esi + 8], ax
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
test byte [edi + ecx*8 + 8], 4
lea esi, [edi + ecx*8]
je case.0x522075.86
call fcn.004b31f0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x522c27
call fcn.004c5400
mov dword [esp + 0x10], eax
jmp 0x522c2f
mov dword [esp + 0x10], 0
mov dl, byte [esp + 0x3e]
mov cl, byte [ebp + 8]
push esi
call fcn.004d4890
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea esi, [edi + ecx*8]
movzx ecx, word [esi + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
movzx edx, word [eax + 8]
mov dword [esp + 0x1c], ecx
mov ecx, edx
or ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
test cl, 1
je 0x522d09
movzx eax, word [ebp + 2]
test al, al
jns 0x522cbf
mov al, dl
and al, byte [esp + 0x1c]
test al, 1
je 0x522d88
test edx, 0x100
jne 0x522d88
movzx edx, byte [ebp]
movzx esi, byte [edx + 0x5ebd54]
xor eax, eax
jmp 0x522d98
test al, 0x20
je 0x522cf5
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
mov dx, word [edi + ecx*8 + 8]
lea edi, [edi + ecx*8]
mov eax, 0x3e00
and dx, ax
or dx, 1
mov word [edi + 8], dx
mov edi, dword [esp + 0x44]
mov dword [esp + 0x58], 1
add ebp, 0x14
jmp 0x522060
test al, 0x10
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov dl, byte [ebp + 2]
and dl, 0x47
cmp dl, 0x43
jl 0x522e33
test cl, 2
je 0x522d5d
mov cl, byte [esp + 0x1c]
and cl, 0xe
cmp cl, 2
jne 0x522d43
push 0
mov eax, esi
call fcn.004b4eb0
mov edx, dword [esp + 0x2c]
movzx eax, word [edx + 8]
mov dword [esp + 0x30], eax
add esp, 4
mov eax, edx
mov cl, byte [esp + 0x2c]
and cl, 0xe
cmp cl, 2
jne 0x522d5d
push 0
call fcn.004b4eb0
mov eax, dword [esp + 0x2c]
add esp, 4
mov dl, byte [esi + 8]
and dl, byte [eax + 8]
test dl, 4
je 0x522eaa
mov ecx, dword [eax]
mov edx, dword [esi]
mov eax, dword [eax + 4]
mov esi, dword [esi + 4]
cmp eax, esi
jl 0x522e20
jg 0x522d88
cmp ecx, edx
jbe 0x522e0e
mov eax, 1
movzx ecx, byte [ebp]
movzx esi, byte [ecx + 0x5ebd5c]
mov dx, word [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov word [ecx + 8], dx
mov edx, dword [esp + 0x28]
mov cx, word [esp + 0x2c]
mov word [edx + 8], cx
movzx edx, word [ebp + 2]
test dl, 0x20
je 0x522ee4
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*8]
mov dword [esp + 0x58], eax
test dl, 8
je 0x522de6
xor edx, edx
cmp byte [ebp], 0x35
sete dl
cmp edx, esi
je case.0x522075.86
mov ax, word [ecx + 8]
mov edi, dword [esp + 0x44]
mov edx, 0x3e00
and ax, dx
or ax, 4
mov word [ecx + 8], ax
mov eax, esi
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebp, 0x14
jmp 0x522060
cmp eax, esi
jg 0x522cad
jl 0x522e20
cmp ecx, edx
jae 0x522cad
movzx ecx, byte [ebp]
movzx esi, byte [ecx + 0x5ebd4c]
or eax, 0xffffffff
jmp 0x522d98
cmp dl, 0x42
jne 0x522eaa
mov al, byte [esp + 0x1c]
test al, 2
jne 0x522e6f
test al, 0xc
je 0x522e6f
mov eax, dword [esp + 0x3e]
push 1
push eax
call fcn.004cf320
mov ax, word [esp + 0x24]
mov cx, word [esi + 8]
xor cx, ax
mov edx, 0x3e00
and cx, dx
add esp, 8
xor ax, cx
mov word [esp + 0x1c], ax
mov al, byte [esp + 0x2c]
test al, 2
jne 0x522eaa
test al, 0xc
je 0x522eaa
mov eax, dword [esp + 0x3e]
mov esi, dword [esp + 0x28]
push 1
push eax
call fcn.004cf320
mov ax, word [esp + 0x34]
mov cx, word [esi + 8]
xor cx, ax
mov edx, 0x3e00
and cx, dx
add esp, 8
xor ax, cx
mov word [esp + 0x2c], ax
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
call fcn.004cf9d0
test eax, eax
jge 0x522ece
movzx ecx, byte [ebp]
movzx esi, byte [ecx + 0x5ebd4c]
jmp 0x522d98
jne 0x522d8d
movzx edx, byte [ebp]
movzx esi, byte [edx + 0x5ebd54]
jmp 0x522d98
test esi, esi
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
cmp dword [esp + 0x58], 0
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
test byte [ebp + 2], 1
jne 0x522f1d
xor ecx, ecx
mov dword [esp + 0x28], ecx
jmp 0x522f29
mov eax, dword [ebp - 4]
add eax, 4
mov dword [esp + 0x28], eax
mov ecx, eax
mov esi, dword [ebp + 4]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x34], esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x20], esi
xor esi, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edx
test eax, eax
jle case.0x522075.86
add edx, 0x14
mov dword [esp + 0x1c], edx
jmp 0x522f5c
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x522f65
mov ecx, dword [ecx + esi*4]
jmp 0x522f67
mov ecx, esi
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x58], edx
mov edx, dword [eax + 0x10]
movzx eax, byte [edx + esi]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x44]
add ecx, edi
mov edi, dword [esp + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea eax, [edx + eax*8]
lea ecx, [edx + ecx*8]
call fcn.004cf9d0
mov dword [esp + 0x58], eax
test eax, eax
jne 0x522fc6
add dword [esp + 0x1c], 4
inc esi
cmp esi, dword [esp + 0x24]
jl 0x522f58
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
cmp dword [esp + 0x2c], 0
je case.0x522075.86
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
neg edx
mov dword [esp + 0x58], edx
add ebp, 0x14
jmp 0x522060
mov eax, dword [esp + 0x58]
test eax, eax
jge 0x52300a
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
lea eax, [ebp + ebp*4]
lea ebp, [ecx + eax*4 - 0x14]
add ebp, 0x14
jmp 0x522060
jne 0x523027
mov ebp, dword [ebp + 8]
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
lea edx, [ebp + ebp*4]
lea ebp, [eax + edx*4 - 0x14]
add ebp, 0x14
jmp 0x522060
mov ebp, dword [ebp + 0xc]
jmp 0x526d10
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
push 2
lea ecx, [edi + eax*8]
call fcn.004b30e0
mov esi, eax
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
push 2
lea ecx, [edi + ecx*8]
call fcn.004b30e0
add esp, 8
cmp byte [ebp], 0x2c
jne 0x523067
lea edx, [eax + esi*2]
movzx eax, byte [esi + edx + 0x5ebd3c]
jmp 0x523072
lea eax, [eax + esi*2]
movzx eax, byte [esi + eax + 0x5ebd98]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*8]
cmp eax, 2
jne 0x5230a0
mov dx, word [edi + 8]
mov eax, 0x3e00
and dx, ax
or dx, 1
mov word [edi + 8], dx
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov cx, word [edi + 8]
cdq
mov dword [edi + 4], edx
mov edx, 0x3e00
and cx, dx
or cx, 4
mov dword [edi], eax
mov word [edi + 8], cx
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
lea ecx, [edi + ecx*8]
call fcn.004b30e0
xor eax, dword [ebp + 0x10]
cdq
push edx
push eax
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
call fcn.004b3460
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
lea ecx, [edi + eax*8]
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
jne 0x523139
push 0
call fcn.004b30e0
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov eax, esi
call fcn.004b3460
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522060
mov eax, esi
call fcn.004b33a0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
mov eax, edi
call fcn.004b33a0
test byte [esi + 8], 1
jne case.0x522075.86
mov edx, 4
mov ecx, esi
mov word [edi + 8], dx
call fcn.004b3050
not eax
not edx
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
cmp dword [ebx + 0xc4], 0
je 0x5231fe
mov ecx, ebp
sub ecx, dword [ebx + 0x58]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
and edi, 7
mov esi, eax
mov eax, dword [ebx + 0xc4]
mov eax, dword [eax + 0x18]
mov edx, 1
mov ecx, edi
shl edx, cl
shr esi, 3
test byte [esi + eax], dl
jne 0x526d0d
mov eax, dword [ebx + 0xc4]
mov eax, dword [eax + 0x18]
mov edi, dword [esp + 0x44]
mov dl, 1
shl dl, cl
add esi, eax
or byte [esi], dl
mov edx, dword [ebx + 0x58]
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 4]
je 0x526d0d
mov edi, dword [esp + 0x44]
mov edx, eax
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
push ecx
lea ecx, [edi + edx*8]
call fcn.004b30e0
add esp, 4
test eax, eax
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
xor eax, eax
cmp dword [ebp + 0xc], eax
sete al
push eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
lea ecx, [edi + ecx*8]
call fcn.004b30e0
add esp, 4
test eax, eax
je 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 1
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov eax, dword [edx + ecx*4]
cmp byte [eax + 2], 0
je case.0x522075.86
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
call fcn.004b33a0
jmp 0x526d0d
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov ecx, dword [eax + edx*4]
mov edx, dword [ebp + 8]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x64], edx
lea ecx, [esp + 0x64]
lea edx, [esp + 0xc8]
call fcn.00501410
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0xc8]
mov ecx, dword [esp + 0x44]
mov esi, dword [edi + 0x1c]
mov edx, dword [edi + 0x48]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edx
cmp esi, dword [ebx + 0x20]
je 0x5233f4
cmp byte [edi + 2], 0
je 0x52335f
cmp byte [edi], 3
jne 0x5225c8
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0x54], ecx
mov dword [edi + 0x50], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x4c], ecx
jmp 0x523396
mov esi, dword [edi + 0x28]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004b2900
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x18]
lea esi, [edi + 0x54]
mov dword [edi + 0x50], edx
call fcn.004b29a0
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x50]
cmp eax, dword [ecx + 0x64]
ja 0x5260d1
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x1c], eax
mov ecx, dword [edi + 0x4c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x5233b1
movzx ecx, al
mov dword [edx], ecx
mov eax, 1
jmp 0x5233bf
mov esi, dword [esp + 0x1c]
call fcn.004ada30
movzx eax, al
mov edx, esi
movzx eax, al
mov dword [edi + 0x30], eax
xor ecx, ecx
mov word [edi + 0x3a], cx
mov eax, dword [edi + 0x54]
cmp eax, dword [edx]
jae 0x523490
xor eax, eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x54], eax
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x5235bb
cmp eax, dword [edi + 0x50]
ja 0x5235bb
movzx ecx, word [edi + 0x3a]
mov eax, dword [esp + 0x64]
cmp ecx, eax
jg 0x523643
mov eax, dword [edi + 0x30]
cmp eax, dword [edx]
jae 0x5235e4
cmp dword [edi + 0x4c], 0
jne 0x523499
xor eax, eax
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], eax
mov dword [esp + 0x1c0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1c8], eax
mov dword [esp + 0x1cc], eax
mov dword [esp + 0x1d0], eax
mov ecx, dword [edx]
mov edx, dword [edi + 0x28]
push ecx
push eax
lea eax, [esp + 0x1b4]
call fcn.004eadb0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0x28], edx
jmp 0x5234a0
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x28], ecx
jmp 0x5234a0
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x28], eax
movzx ecx, word [edi + 0x3a]
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + ecx*4]
mov edx, dword [esp + 0x28]
mov ebx, dword [edi + 0x30]
mov eax, dword [eax]
add ebx, edx
add eax, edx
lea edx, [edi + ecx*4 + 0x58]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
movzx eax, byte [ebx]
mov dword [esp + 0x4c], eax
cmp eax, 0x80
jae 0x5234fa
movzx eax, al
movzx eax, byte [eax + 0x5ebc98]
cdq
inc ebx
add esi, eax
adc dword [esp + 0x7c], edx
mov dword [esp + 0x78], esi
jmp 0x523524
lea esi, [esp + 0x4c]
mov ecx, ebx
call fcn.004ada30
movzx ecx, al
mov eax, dword [esp + 0x4c]
add ebx, ecx
call fcn.004b3db0
add dword [esp + 0x78], eax
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x20]
adc dword [esp + 0x7c], 0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
mov dword [eax], edx
add eax, 4
inc ecx
cmp ecx, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [eax + ecx*4], esi
jg 0x52354f
cmp ebx, dword [esp + 0x2c]
jb 0x5234d4
jmp 0x523555
cmp ebx, dword [esp + 0x2c]
jb 0x52356a
cmp ebx, dword [esp + 0x2c]
ja 0x52357b
mov eax, dword [edi + 0x50]
xor edx, edx
cmp esi, eax
jne 0x52357b
cmp dword [esp + 0x7c], edx
jne 0x52357b
mov edx, dword [edi + 0x50]
xor eax, eax
cmp dword [esp + 0x7c], eax
jb 0x52358a
ja 0x52357b
cmp esi, edx
jbe 0x52358a
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], 0
jne 0x5235a9
mov ebx, dword [esp + 0x2c]
xor ecx, ecx
sub ebx, dword [esp + 0x28]
mov word [edi + 0x3a], cx
mov dword [edi + 0x30], ebx
cmp dword [edi + 0x4c], 0
jne 0x5235ec
lea eax, [esp + 0x1ac]
call fcn.004b2fa0
jmp 0x5235ec
cmp dword [edi + 0x4c], 0
jne 0x5235bb
lea eax, [esp + 0x1ac]
call fcn.004b2fa0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x526f6c
mov ebx, dword [esp + 0x270]
mov edi, dword [esp + 0x44]
lea edx, [eax + eax*4]
lea ebp, [ecx + edx*4 - 0x14]
add ebp, 0x14
jmp 0x522060
mov dword [esp + 0x4c], 0
movzx eax, word [edi + 0x3a]
mov esi, dword [esp + 0x64]
cmp eax, esi
jg 0x52364f
cmp byte [ebp + 1], 0xf5
jne 0x523627
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
push 0x800
push ecx
push edx
call fcn.004b35a0
mov ebx, dword [esp + 0x27c]
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522060
mov eax, dword [esp + 0x24]
call fcn.004b33a0
mov ebx, dword [esp + 0x270]
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [edi + eax*4 + 0x58]
mov esi, dword [esp + 0x64]
mov dword [esp + 0x4c], eax
mov ebx, dword [esp + 0x24]
mov ecx, 0x2400
test word [ebx + 8], cx
je 0x523665
mov eax, ebx
call fcn.004b33a0
mov edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x1c]
cmp edx, dword [ecx + esi*4 + 4]
jb 0x523735
mov ecx, dword [edi + 0x4c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x64]
add ecx, dword [eax + edx*4]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x28], ecx
cmp esi, 0xc
jae 0x5236af
push ebx
mov edx, esi
call fcn.004b3ee0
mov ebx, dword [esp + 0x274]
mov edi, dword [esp + 0x48]
add esp, 4
add ebp, 0x14
jmp 0x522060
mov al, byte [esp + 0x3e]
lea edi, [esi - 0xc]
shr edi, 1
mov byte [ebx + 0xa], al
lea eax, [edi + 2]
cmp dword [ebx + 0x18], eax
mov dword [ebx + 0xc], edi
jge 0x5236ec
mov ecx, 1
push 0
push ebx
mov word [ebx + 8], cx
call fcn.004c5240
add esp, 8
test eax, eax
jne 0x5238d1
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
jmp 0x5236f2
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x10], edx
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x10]
push edi
push eax
push ecx
call fcn.00588d50
mov edx, dword [ebx + 0x10]
mov byte [edi + edx], 0
mov eax, dword [ebx + 0x10]
mov byte [edi + eax + 1], 0
mov edi, dword [esp + 0x50]
and esi, 1
mov cx, word [esi*2 + 0x5ebda4]
add esp, 0xc
mov word [ebx + 8], cx
mov ebx, dword [esp + 0x270]
add ebp, 0x14
jmp 0x522060
mov dl, byte [esp + 0x3e]
mov byte [ebx + 0xa], dl
movzx eax, word [ebp + 2]
mov edx, dword [esp + 0x4c]
test al, 0xc0
je 0x523756
cmp edx, 0xc
jb 0x523752
test dl, 1
je 0x523761
test al, al
js 0x523761
mov eax, edx
call fcn.004b3db0
test eax, eax
jne 0x523782
push ebx
mov ecx, 0x641600
call fcn.004b3ee0
mov ebx, dword [esp + 0x274]
mov edi, dword [esp + 0x48]
add esp, 4
add ebp, 0x14
jmp 0x522060
mov edx, dword [edi + 0x28]
push eax
mov eax, dword [ecx + esi*4]
push eax
mov eax, ebx
call fcn.004eadb0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0x10]
push esi
call fcn.004b3ee0
mov ebx, dword [esp + 0x274]
mov edi, dword [esp + 0x48]
add esp, 4
mov ecx, 0xefff
and word [esi + 8], cx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov esi, dword [ebp + 0x10]
lea edx, [eax + eax*4]
mov al, byte [esi]
lea edi, [edi + edx*8]
mov edi, edi
mov ecx, dword [esp + 0x3e]
push ecx
mov ecx, edi
call fcn.004cfff0
mov al, byte [esi + 1]
inc esi
add esp, 4
add edi, 0x28
test al, al
jne 0x5237e0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov esi, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea ecx, [edi + eax*8]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8 - 0x28]
mov dword [esp + 0x18], eax
movzx eax, byte [ebx + 0x8f]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
xor edx, edx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
cmp esi, edx
je 0x523880
mov al, byte [esi]
mov edi, ecx
mov ecx, dword [esp + 0x3e]
push ecx
mov ecx, edi
call fcn.004cfff0
mov al, byte [esi + 1]
inc esi
add esp, 4
add edi, 0x28
test al, al
jne 0x523866
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xac]
push edx
push eax
mov edx, esi
call fcn.004b3c80
mov ecx, 0x4000
add esp, 8
mov edi, eax
test word [esi + 8], cx
je 0x523936
test edi, edi
jne 0x5238b8
lea edi, [eax + 0xa]
jmp 0x523936
mov edx, dword [esp + 0x8c]
or edx, dword [esp + 0x90]
je 0x52391c
call fcn.004c5400
test eax, eax
je 0x523936
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x5238fe
cmp byte [eax + 0x4a], 0
jne 0x5238fe
cmp dword [eax + 0xb0], 0
mov byte [eax + 0x49], 1
jle 0x5238f8
mov dword [eax + 0x100], 1
inc dword [eax + 0x108]
mov esi, dword [esp + 0x270]
push 0x5e9d90
call fcn.004d4dc0
mov dword [esp + 0x14], 7
jmp 0x5260e5
mov eax, dword [esi]
cdq
add dword [esp + 0x80], eax
mov eax, dword [esi]
adc dword [esp + 0x84], edx
sub dword [esp + 0xac], eax
mov ecx, dword [esp + 0xac]
add dword [esp + 0x8c], ecx
adc dword [esp + 0x90], 0
cmp edi, 0x7f
ja 0x523958
mov eax, 1
jmp 0x523963
push 0
push edi
call fcn.004adab0
add esp, 8
add dword [esp + 0x24], eax
mov dword [esi + 0x1c], edi
cmp esi, dword [esp + 0x20]
je 0x523978
sub esi, 0x28
jmp 0x523884
cmp dword [esp + 0x24], 0x7e
jle 0x5239a6
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
call fcn.004adab0
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 0x2c], eax
cdq
push edx
push eax
call fcn.004adab0
add esp, 0x10
cmp esi, eax
jge 0x5239aa
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cdq
mov esi, eax
add esi, dword [esp + 0x8c]
mov ecx, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x118], ecx
adc ecx, dword [esp + 0x90]
mov edi, esi
add edi, dword [esp + 0x80]
mov dword [esp + 0x114], eax
mov eax, dword [edx + 0x64]
adc ecx, dword [esp + 0x84]
cdq
cmp ecx, edx
mov dword [esp + 0x224], esi
jg 0x5260d1
jl 0x523a00
cmp edi, eax
ja 0x5260d1
mov eax, esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004c53a0
test eax, eax
jne 0x5238d1
mov ecx, dword [esp + 0x24]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x1c], esi
cmp ecx, 0x80
jae 0x523a31
mov byte [esi], cl
mov eax, 1
jmp 0x523a4d
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
push eax
push ecx
call fcn.004ad860
mov ecx, dword [esp + 0x2c]
add esp, 8
movzx edx, al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
cmp eax, 0x80
jae 0x523a84
mov edx, dword [esp + 0x28]
mov byte [edx + ecx], al
mov eax, 1
jmp 0x523a9a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push 0
push edx
lea esi, [eax + ecx]
call fcn.004ad860
add esp, 8
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x34]
movzx edx, al
mov eax, dword [esp + 0x1c]
add dword [esp + 0x28], edx
lea edi, [ecx + eax]
mov ecx, dword [esp + 0x20]
mov eax, esi
call fcn.004b3de0
add dword [esp + 0x24], eax
add esi, 0x28
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x18]
jbe 0x523a60
mov edx, dword [esp + 0x224]
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x80]
or edx, dword [esp + 0x84]
mov ecx, 0x10
mov word [eax + 8], cx
je case.0x522075.86
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x44]
mov edx, 0x4010
mov dword [eax], ecx
mov word [eax + 8], dx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx + eax*4]
mov eax, dword [edx + 0x28]
lea ecx, [esp + 0xf0]
xor esi, esi
push ecx
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
call fcn.004e9e90
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x5260e8
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edx, dword [esp + 0xf0]
mov ecx, dword [esp + 0xf4]
mov edi, dword [esp + 0x44]
mov dword [eax], edx
mov dword [eax + 4], ecx
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 4]
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x523c4d
cmp dword [edi + 0xac], ecx
jg 0x526d28
call fcn.004acea0
mov edx, dword [edi + 0x1c0]
add edx, dword [edi + 0x1bc]
mov dword [esp + 0x18], eax
push edx
push 0
push edi
call fcn.004b9080
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov eax, dword [esp + 0x18]
add eax, 0x21
push 0
push eax
mov eax, edi
call fcn.004bbd30
mov esi, eax
add esp, 8
test esi, esi
je 0x522c3f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
inc ecx
push ecx
lea eax, [esi + 0x20]
push edx
push eax
mov dword [esi], eax
call fcn.00588d50
add esp, 0xc
cmp byte [edi + 0x47], 0
je 0x523c0f
mov byte [edi + 0x47], 0
mov byte [edi + 0x4f], 1
jmp 0x523c15
inc dword [edi + 0x1bc]
mov eax, dword [edi + 0x1b4]
mov dword [esi + 0x18], eax
mov ecx, dword [edi + 0x1c8]
mov dword [edi + 0x1b4], esi
mov dword [esi + 8], ecx
mov edx, dword [edi + 0x1cc]
mov dword [esi + 0xc], edx
mov eax, dword [edi + 0x1d0]
mov dword [esi + 0x10], eax
mov ecx, dword [edi + 0x1d4]
mov dword [esi + 0x14], ecx
jmp 0x522c3f
mov esi, dword [edi + 0x1b4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], esi
test esi, esi
je 0x523c81
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
call fcn.004acfb0
test eax, eax
je 0x523ca2
mov esi, dword [esi + 0x18]
inc dword [esp + 0x28]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x523c63
mov eax, dword [esp + 0x20]
push eax
push str.no_such_savepoint:__s
mov esi, ebx
call fcn.004d4dc0
add esp, 8
mov dword [esp + 0x10], 1
jmp 0x5260e8
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp dword [edi + 0xac], ecx
jle 0x523cb9
cmp eax, 1
je 0x526d41
cmp dword [esi + 0x18], ecx
jne 0x523d10
cmp byte [edi + 0x4f], 0
je 0x523d10
mov dword [esp + 0x20], 1
cmp eax, 1
jne 0x523d14
push eax
mov eax, ebx
call fcn.004d5690
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x527319
mov esi, edi
mov edi, ebx
mov byte [esi + 0x47], 1
call fcn.00512200
cmp eax, 5
je 0x526f7f
mov byte [esi + 0x4f], 0
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x10], edx
mov edi, esi
jmp 0x523df0
mov dword [esp + 0x20], ecx
mov edx, dword [edi + 0x1bc]
sub edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x28], edx
cmp eax, 2
jne 0x523d89
mov eax, dword [edi + 0x18]
and eax, 1
cmp dword [edi + 0x14], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
jle 0x523d8d
xor eax, eax
cmp dword [esp + 0x34], eax
sete al
xor esi, esi
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x10]
mov eax, dword [edx + esi + 4]
push ecx
push 0x204
push eax
call fcn.004f9090
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x10
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
jl 0x523d50
jmp 0x523d8d
mov dword [esp + 0x34], ecx
xor esi, esi
cmp dword [edi + 0x14], esi
mov dword [esp + 0x1c], esi
jle 0x523dd5
jmp 0x523da0
mov ecx, dword [esp + 0x28]
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [edx + esi + 4]
call fcn.00505440
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x10
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
jl 0x523da0
cmp dword [esp + 0x34], 0
je 0x523df0
xor ecx, ecx
mov eax, edi
call fcn.004b4480
mov eax, edi
call fcn.004d7e50
or dword [edi + 0x18], 1
mov eax, dword [esp + 0x24]
cmp dword [edi + 0x1b4], eax
je 0x523e5c
lea esp, [esp]
cmp dword [edi + 0x1d8], 0
mov eax, dword [edi + 0x1b4]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x1b4], ecx
je 0x523e21
mov ecx, edi
call fcn.004aca10
jmp 0x523e4a
cmp eax, dword [edi + 0x128]
jb 0x523e41
cmp eax, dword [edi + 0x12c]
jae 0x523e41
mov edx, dword [edi + 0x124]
mov dword [eax], edx
mov dword [edi + 0x124], eax
jmp 0x523e4a
push eax
call fcn.004ac9a0
add esp, 4
mov eax, dword [esp + 0x24]
dec dword [edi + 0x1bc]
cmp dword [edi + 0x1b4], eax
jne 0x523e00
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp ecx, 1
jne 0x523e8c
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x1b4], ecx
mov ecx, edi
call fcn.004aca90
cmp dword [esp + 0x20], 0
jne 0x522c3f
dec dword [edi + 0x1bc]
jmp 0x523ec0
cmp dword [esp + 0x20], 0
mov edx, dword [eax + 8]
mov dword [edi + 0x1c8], edx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x1cc], edx
mov edx, dword [eax + 0x10]
mov dword [edi + 0x1d0], edx
mov eax, dword [eax + 0x14]
mov dword [edi + 0x1d4], eax
je 0x523ec0
cmp ecx, 2
jne 0x522c3f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push edi
call fcn.004b9080
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov dword [esp + 0xa8], 0
test eax, eax
je 0x523f0e
test dword [esi + 0x1c], 0x100000
jne 0x5270c4
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x10]
shl ecx, 4
mov edi, dword [ecx + edx + 4]
test edi, edi
je 0x523fd0
lea ecx, [esp + 0xa8]
push ecx
push eax
push edi
call fcn.00505170
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5270d1
cmp dword [ebp + 8], eax
je 0x523fd0
test byte [ebx + 0x94], 0x80
je 0x523fd0
cmp byte [esi + 0x47], al
je 0x523f65
cmp dword [esi + 0xa8], 1
jle 0x523fd0
cmp dword [ebx + 0x30], 0
jne 0x523f82
inc dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c0]
mov edx, dword [esi + 0x1bc]
add edx, eax
mov dword [ebx + 0x30], edx
mov eax, dword [ebx + 0x30]
dec eax
push eax
push 0
push esi
call fcn.004b9080
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x523fac
mov ecx, dword [ebx + 0x30]
push ecx
mov eax, edi
call fcn.004bf8d0
add esp, 4
mov dword [esp + 0x10], eax
mov edx, dword [esi + 0x1c8]
mov dword [ebx + 0x48], edx
mov eax, dword [esi + 0x1cc]
mov dword [ebx + 0x4c], eax
mov ecx, dword [esi + 0x1d0]
mov dword [ebx + 0x50], ecx
mov edx, dword [esi + 0x1d4]
mov dword [ebx + 0x54], edx
cmp word [ebp + 2], 0
je 0x524000
mov eax, dword [esp + 0xa8]
cmp eax, dword [ebp + 0xc]
jne 0x526d5a
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x10]
shl ecx, 4
mov eax, dword [ecx + edx + 0xc]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0x10]
jne 0x526d5a
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x104]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [edx + 0x10]
shl ecx, 4
mov eax, dword [ecx + eax + 4]
call fcn.004bf9f0
add esp, 8
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edi, dword [esp + 0x44]
mov ecx, eax
mov eax, dword [esp + 0x104]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebp, 0x14
jmp 0x522060
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
shl edi, 4
add edi, dword [esi + 0x10]
push ecx
mov eax, dword [edi + 4]
push edx
call fcn.004c4fa0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, 1
add esp, 8
cmp eax, ecx
jne 0x52409d
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
or dword [esi + 0x18], ecx
jmp 0x5240ab
cmp eax, 2
jne 0x5240ab
mov eax, dword [edi + 0xc]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x4c], dl
cmp dword [ebp + 4], ecx
jne 0x5240c0
xor ecx, ecx
mov eax, esi
call fcn.004b4480
and dword [ebx + 0x94], 0xfffffffc
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov esi, dword [edx + eax*4]
test esi, esi
je case.0x522075.109
mov eax, dword [esi + 0x34]
cmp eax, dword [ebp + 8]
je 0x5241f3
mov edx, dword [ebx + 0x94]
and dl, 3
cmp dl, 1
je 0x5270fe
mov esi, dword [esp + 0x14]
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
shl eax, 4
add eax, dword [esi + 0x10]
mov dword [esp + 0x18], edx
mov esi, dword [eax + 4]
mov dword [esp + 0x24], esi
cmp cl, 0x6e
jne 0x524154
movzx ecx, word [ebp + 2]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
and ecx, 8
or ecx, 4
mov dword [esp + 0x28], ecx
cmp al, byte [ebx + 0x8f]
jae 0x52415c
mov byte [ebx + 0x8f], al
jmp 0x52415c
mov dword [esp + 0x28], 0
test byte [ebp + 2], 0x10
je 0x524173
lea ecx, [edx + edx*4]
lea esi, [edi + ecx*8]
call fcn.004b3190
mov edx, dword [esi]
mov dword [esp + 0x18], edx
mov al, byte [ebp + 1]
cmp al, 0xf7
jne 0x52418b
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
movzx eax, word [eax + 8]
mov dword [esp + 0x20], eax
jmp 0x524196
cmp al, 0xfd
jne 0x524196
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, dword [ebp + 4]
push 0
push edx
push eax
mov esi, ebx
call fcn.0050fce0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5238d1
mov ecx, dword [esi + 0x28]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
or dword [esi + 8], 4
push ecx
mov ecx, dword [esp + 0x28]
push edi
push edx
mov byte [esi + 2], 1
mov dword [esi + 0x34], eax
call fcn.004e6440
add esp, 0xc
mov dword [esi + 0x2c], edi
cmp byte [ebp + 1], 0xf7
mov dword [esp + 0x10], eax
setne al
mov byte [esi + 4], al
mov cl, byte [ebp + 2]
mov edx, dword [esi + 0x28]
and cl, 3
cmp dword [esp + 0x10], 0
mov byte [edx + 3], cl
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx + eax*4]
movsx edx, word [eax + 0x38]
mov edi, dword [ebp + 4]
push 0
push 0xffffffffffffffff
push edx
mov esi, ebx
mov dword [esp + 0x24], eax
call fcn.0050fce0
add esp, 0xc
test eax, eax
je 0x5238d1
or dword [eax + 8], 1
mov esi, dword [esp + 0x18]
mov byte [eax + 2], 1
mov ecx, dword [esi + 0x2c]
mov dword [eax + 0x2c], ecx
mov dl, byte [esi + 4]
mov ecx, dword [eax + 0x28]
mov byte [eax + 4], dl
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, dword [esi + 0xc]
push edx
push 4
mov eax, 1
call fcn.004e6440
mov edi, dword [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x10], eax
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 4]
push 0
push 0xffffffffffffffff
push eax
mov esi, ebx
call fcn.0050fce0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5238d1
or dword [esi + 8], 1
mov eax, dword [esp + 0x14]
mov byte [esi + 2], 1
movzx ecx, word [ebp + 2]
mov edx, dword [eax]
push 0x41e
or ecx, 5
push ecx
push eax
lea edi, [esi + 0xc]
push 0
push edx
mov ecx, edi
call fcn.004ff430
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
push eax
mov eax, dword [edi]
push 1
push eax
call fcn.00505170
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x52434a
movzx ecx, word [ebp + 2]
mov eax, dword [edi]
or ecx, 2
push ecx
lea edx, [esp + 0x128]
push edx
call fcn.00500b80
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x524344
mov eax, dword [esi + 0x28]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x128]
push ecx
mov ecx, dword [edi]
push 4
call fcn.004e6440
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 4], 0
jmp 0x524369
mov edx, dword [esi + 0x28]
mov ecx, dword [edi]
push edx
push 0
push 4
mov eax, 1
call fcn.004e6440
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 4], 1
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
xor eax, eax
cmp word [ebp + 2], 8
setne al
add eax, eax
add eax, eax
xor eax, dword [esi + 8]
and eax, 4
xor dword [esi + 8], eax
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 4]
push 1
push 0xffffffffffffffff
push ecx
mov esi, ebx
call fcn.0050fce0
add esp, 0xc
test eax, eax
je 0x5238d1
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
mov dword [eax + 0x2c], edx
mov eax, dword [ebp + 0xc]
push eax
push ecx
call fcn.004cbfd0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov esi, ecx
add esi, 1
mov edi, edx
adc edi, 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edi
mov eax, ecx
or eax, edx
je 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
push 3
push 0xffffffffffffffff
push ecx
mov esi, ebx
call fcn.0050fce0
add esp, 0xc
test eax, eax
je 0x5238d1
mov edi, dword [esp + 0x44]
mov byte [eax + 2], 1
mov edx, dword [ebp + 8]
mov dword [eax + 0x20], edx
mov byte [eax + 4], 1
mov dword [eax + 0x28], 0x641713
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx + eax*4]
push ebx
call fcn.0050fbc0
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov edi, dword [esp + 0x48]
add esp, 4
mov dword [eax + edx*4], 0
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov esi, dword [edx + ecx*4]
cmp byte [esi + 4], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov byte [esi + 2], 0
je 0x524563
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
mov cl, byte [edi + eax*8 + 8]
lea edi, [edi + eax*8]
and cl, 0xe
cmp cl, 2
jne 0x5244c6
push 0
mov eax, edi
call fcn.004b4eb0
add esp, 4
mov ecx, edi
call fcn.004b3050
mov dword [esp + 0xdc], eax
movzx eax, word [edi + 8]
mov dword [esp + 0xe0], edx
test al, 4
jne 0x52451e
test al, 8
je 0x526d0d
fild qword [esp + 0xdc]
fcom qword [edi]
fnstsw ax
test ah, 0x41
jne 0x52450a
test byte [esp + 0x1c], 1
fstp st(0)
je 0x52451e
dec dword [esp + 0x1c]
jmp 0x52451e
fcomp qword [edi]
fnstsw ax
test ah, 5
jp 0x52451e
test byte [esp + 0x1c], 1
jne 0x52451e
inc dword [esp + 0x1c]
mov eax, dword [esp + 0xe0]
mov edi, dword [esp + 0xdc]
mov ecx, dword [esi + 0x28]
lea edx, [esp + 0x48]
push edx
push 0
push eax
push edi
push 0
push ecx
call fcn.004f9160
mov edx, dword [esp + 0xf8]
add esp, 0x18
mov dword [esp + 0x10], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edx
test eax, eax
jne 0x5260e8
xor edi, edi
jmp 0x5245f2
mov eax, dword [esi + 0x28]
test byte [eax + 3], 2
je 0x524574
mov dword [esp + 0x20], 1
test byte [esp + 0x1c], 1
mov ecx, dword [esi + 0x2c]
mov dx, word [ebp + 0x10]
sete al
mov dword [esp + 0x128], ecx
mov word [esp + 0x130], dx
mov byte [esp + 0x136], 0
lea eax, [eax + eax - 1]
mov byte [esp + 0x132], al
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x48]
push eax
push 0
lea edx, [edi + ecx*8]
push 0
push 0
lea ecx, [esp + 0x138]
mov dword [esp + 0x13c], edx
mov edx, dword [esi + 0x28]
push ecx
push edx
call fcn.004f9160
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
xor edi, edi
cmp dword [esp + 0x20], edi
je 0x5245f2
cmp byte [esp + 0x136], 0
je 0x524663
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x18
mov eax, dword [esp + 0x48]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], edi
jl 0x52464a
cmp eax, edi
jl 0x524617
jne 0x524611
cmp ecx, 0x19
je 0x524617
mov dword [esp + 0x48], edi
jmp 0x52466f
mov eax, dword [esi + 0x28]
push edi
push eax
mov dword [esp + 0x50], edi
call fcn.004fffe0
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x52466f
cmp eax, 0x65
jne 0x5260e8
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], 1
jmp 0x526d0d
cmp eax, edi
jg 0x524688
jne 0x524655
cmp ecx, 0x16
je 0x524688
mov ecx, dword [esi + 0x28]
xor edx, edx
cmp byte [ecx], dl
setne dl
mov dword [esp + 0x48], edx
cmp dword [esp + 0x48], edi
jne 0x526d0d
xor edi, edi
cmp dword [esp + 0x20], edi
je case.0x522075.86
mov edi, dword [esp + 0x44]
add ebp, 0x14
add ebp, 0x14
jmp 0x522060
mov eax, dword [esi + 0x28]
push edi
push eax
mov dword [esp + 0x50], edi
call fcn.00500190
jmp 0x524625
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov eax, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x44]
add ecx, ecx
add ecx, ecx
add ecx, ecx
xor ecx, dword [eax + 8]
and ecx, 8
xor dword [eax + 8], ecx
add ebp, 0x14
jmp 0x522060
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov ecx, dword [eax + edx*4]
test byte [ecx + 8], 8
jne case.0x522075.86
cmp dword [ebp + 0x10], 0
mov eax, dword [ebx + 0x70]
mov edx, dword [ebp + 4]
mov edx, dword [eax + edx*4]
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
mov dword [esp + 0x28], edx
lea edi, [edi + ecx*8]
jle 0x52471c
mov eax, dword [edx + 0x2c]
mov cx, word [ebp + 0x10]
mov dword [esp + 0x234], eax
mov word [esp + 0x23c], cx
mov dword [esp + 0x238], edi
lea esi, [esp + 0x234]
mov dword [esp + 0x18], 0
jmp 0x52476d
mov edx, 0x4000
test word [edi + 8], dx
je 0x524736
mov esi, edi
call fcn.004c5400
test eax, eax
jne 0x5238d1
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x2c]
call fcn.004c5910
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x5238d1
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x28]
push esi
push ecx
mov ecx, dword [eax + 0x2c]
push edx
push ecx
call fcn.004b4080
mov edx, dword [esp + 0x38]
add esp, 0x10
xor edi, edi
mov byte [esi + 0xa], 0
cmp byte [ebp], 0x1b
mov dword [esp + 0x20], edi
jne 0x5247ac
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 8]
jae 0x5247ac
mov eax, dword [esi + 4]
add eax, 8
lea ecx, [ecx]
test byte [eax], 1
jne 0x5247a7
movzx edi, word [esi + 8]
inc ecx
add eax, 0x28
cmp ecx, edi
jl 0x524790
mov edi, dword [esp + 0x20]
jmp 0x5247ac
mov edi, 1
mov edx, dword [edx + 0x28]
lea ecx, [esp + 0x108]
push ecx
push 0
push 0
push 0
push esi
push edx
call fcn.004f9160
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x5247dc
mov ecx, dword [esp + 0x14]
call fcn.004aca50
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov ecx, dword [esp + 0x108]
mov esi, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
mov dword [esi + 0x20], ecx
sete al
mov cl, 1
sub cl, al
mov byte [esi + 2], cl
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
cmp byte [ebp], 0x1d
jne 0x524828
test eax, eax
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
test edi, edi
jne 0x526d0d
test eax, eax
je 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
movzx eax, word [edi + edx*8 + 8]
lea esi, [edi + edx*8]
test al, 4
jne case.0x522075.31
movzx ecx, ax
mov dword [esp + 0x18], ecx
test al, 8
jne 0x524873
test al, 2
je 0x524878
push 1
mov eax, esi
call fcn.004b4eb0
add esp, 4
jmp 0x524878
call fcn.004b3120
movzx edx, word [esi + 8]
mov ax, word [esp + 0x18]
shr edx, 2
not edx
and edx, 1
mov word [esi + 8], ax
jne 0x526d0d
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov eax, dword [ebp + 0xc]
mov esi, dword [edx + ecx*4]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
mov edx, dword [edi + eax*8]
mov edi, dword [edi + eax*8 + 4]
lea eax, [esp + 0xc0]
push eax
push 0
push edi
push edx
push 0
push ecx
mov dword [esp + 0xd8], 0
mov dword [esp + 0x234], edx
call fcn.004f9160
mov ecx, dword [esp + 0x234]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xd8]
add esp, 0x18
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], edi
mov byte [esi + 2], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 3], 0
mov dword [esi + 0x20], eax
test eax, eax
je 0x52491b
cmp dword [ebp + 8], 0
jne 0x526d0d
mov eax, 0x153e7
call fcn.004e1760
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edx, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov ecx, dword [ecx + edx*4]
mov edx, dword [ecx + 0x10]
mov edi, dword [esp + 0x44]
mov dword [eax], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + edx*4]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
add ebp, 0x14
jmp 0x522060
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x98], eax
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + ecx*4]
test byte [eax + 8], 2
mov dword [esp + 0x1c], eax
jne 0x524a10
mov eax, dword [eax + 0x28]
lea edi, [esp + 0x98]
call fcn.004e6c90
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x98], eax
je 0x5249d3
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], eax
jmp 0x524a14
mov edi, dword [esi + 0x28]
mov ecx, edi
call fcn.004b2900
mov eax, dword [edi + 0x20]
mov dword [esp + 0x50], eax
mov edi, dword [edi + 0x24]
cmp edi, 0x7fffffff
mov dword [esp + 0x54], edi
jl 0x524a00
jg 0x5249fa
cmp eax, 0xffffffff
jb 0x524a00
or dword [esi + 8], 2
jmp 0x524a14
add eax, 1
adc edi, 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
jmp 0x524a14
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x524aa6
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x524a44
mov eax, dword [ecx + 4]
test eax, eax
je 0x524a39
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x524a30
mov eax, dword [ecx + 0x10]
lea edx, [edx + edx*4]
lea esi, [eax + edx*8]
jmp 0x524a4e
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
lea esi, [edx + ecx*8]
call fcn.004b3190
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x524a69
cmp ecx, 0x7fffffff
je 0x52710b
mov edx, dword [esp + 0x1c]
test byte [edx + 8], 2
jne 0x52710b
mov edx, dword [esp + 0x54]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x524a95
jl 0x524a8d
cmp dword [esp + 0x50], eax
jae 0x524a95
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x50]
mov dword [esi], eax
mov ecx, dword [esp + 0x54]
mov dword [esi + 4], ecx
mov esi, dword [esp + 0x1c]
test byte [esi + 8], 2
je 0x524b1a
xor edi, edi
mov edi, edi
lea edx, [esp + 0x50]
push edx
push 8
call fcn.0052ae00
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
and eax, 0x3fffffff
add ecx, 1
lea edx, [esp + 0xa0]
push edx
adc eax, 0
push 0
push eax
push ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x28]
push 0
push eax
call fcn.004f9160
add esp, 0x20
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
cmp dword [esp + 0x98], eax
jne 0x524b16
inc edi
cmp edi, 0x64
jge 0x52710b
mov esi, dword [esp + 0x1c]
jmp 0x524ab0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x44]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 8]
mov esi, dword [ebx + 0x70]
lea eax, [eax + eax*4]
lea edx, [edi + eax*8]
mov eax, dword [ebp + 4]
mov esi, dword [esi + eax*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], edx
cmp cl, 0x7a
jne 0x524b7a
lea ecx, [eax + eax*4]
mov eax, dword [edi + ecx*8]
mov dword [esp + 0x1dc], eax
mov ecx, dword [edi + ecx*8 + 4]
mov dword [esp + 0x1e0], ecx
jmp 0x524b8d
cdq
mov dword [esp + 0x1e0], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1dc], eax
cmp byte [ebp + 1], 0xfa
mov ecx, dword [esp + 0x14]
jne 0x524bbe
cmp dword [ecx + 0xe4], 0
je 0x524bbe
movsx edx, byte [esi + 1]
mov edi, dword [ecx + 0x10]
shl edx, 4
mov edx, dword [edx + edi]
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
jmp 0x524bc8
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], edi
test byte [ebp + 2], 1
je 0x524bd1
inc dword [ebx + 0x2c]
test byte [ebp + 2], 0x20
je 0x524be4
mov dword [ecx + 0x20], eax
mov eax, dword [esp + 0x1e0]
mov dword [ecx + 0x24], eax
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x1e4], ecx
mov eax, dword [edx + 0xc]
mov dword [esp + 0x1f0], eax
movzx eax, word [ebp + 2]
test al, 0x10
je 0x524c05
mov ecx, dword [esi + 0x20]
jmp 0x524c07
xor ecx, ecx
mov edi, 0x4000
test word [edx + 8], di
je 0x524c1d
mov edx, dword [edx]
mov dword [esp + 0x1f4], edx
jmp 0x524c28
mov dword [esp + 0x1f4], 0
push ecx
and eax, 0xa
push eax
lea eax, [esp + 0x1dc]
mov dword [esp + 0x1dc], 0
mov edi, dword [esi + 0x28]
push eax
call fcn.005001d0
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x5260e8
mov eax, dword [esp + 0x20]
test eax, eax
je case.0x522075.86
mov ecx, dword [esp + 0x1e0]
mov edx, dword [esp + 0x1dc]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov dl, byte [ebp + 2]
push eax
and dl, 4
movzx eax, dl
neg eax
sbb eax, eax
and eax, 5
push ecx
add eax, 0x12
push eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xe0]
mov edx, dword [eax + 0xe4]
push ecx
call edx
mov edi, dword [esp + 0x5c]
add esp, 0x18
add ebp, 0x14
jmp 0x522060
cmp byte [ebp + 1], 0xfa
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov esi, dword [edx + ecx*4]
mov dword [esp + 0x34], eax
jne 0x524d1b
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xe4], 0
je 0x524d1b
movsx ecx, byte [esi + 1]
mov edx, dword [eax + 0x10]
shl ecx, 4
test byte [ebp + 2], 2
mov eax, dword [ecx + edx]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
je 0x524d25
cmp byte [esi + 4], 0
je 0x524d25
mov edi, dword [esi + 0x28]
mov ecx, edi
call fcn.004b2900
mov edx, dword [edi + 0x20]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x44], eax
jmp 0x524d25
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
mov al, byte [ebp + 2]
mov edi, dword [esi + 0x28]
call fcn.00500590
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
cmp eax, ecx
jne 0x5260e8
test byte [esp + 0x34], 1
je case.0x522075.86
inc dword [ebx + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xe4]
test eax, eax
je case.0x522075.86
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x20
jne case.0x522075.86
mov edx, dword [esi + 0x44]
mov ecx, dword [ecx]
push edx
mov edx, dword [esi + 0x40]
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx + 0xe0]
push 9
push edx
call eax
mov edi, dword [esp + 0x5c]
add esp, 0x18
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x14]
add dword [ecx + 0x60], eax
mov edi, dword [esp + 0x44]
mov dword [ecx + 0x5c], eax
mov dword [ebx + 0x2c], 0
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebx + 0x70]
mov eax, dword [ebp + 4]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0x10]
lea edi, [edi + edx*8]
lea edx, [esp + 0xd4]
push edx
push ecx
push edi
mov dword [esp + 0xe0], 0
call fcn.004ecb20
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
cmp dword [esp + 0xd4], eax
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 4]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + edx*4]
call fcn.004c6700
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x70]
mov eax, dword [edx + ecx*4]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x1c], 0
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov edi, eax
mov eax, dword [edx + ecx*4]
mov esi, dword [eax + 0x28]
mov ecx, esi
call fcn.004b2900
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x64]
ja 0x5260d1
push eax
push 0
mov eax, edi
mov edx, esi
call fcn.004eadb0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
cmp dword [ebp + 0xc], eax
jne case.0x522075.86
mov edx, 0x1000
test word [edi + 8], dx
je case.0x522075.86
mov eax, edi
call fcn.004cba40
test eax, eax
jne 0x5238d1
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, dword [ebx + 0x70]
mov esi, eax
mov eax, dword [ebp + 4]
mov edi, dword [ecx + eax*4]
cmp byte [edi + 2], 0
je 0x524f05
mov edi, dword [esp + 0x44]
mov edx, 1
mov word [esi + 8], dx
add ebp, 0x14
jmp 0x522060
cmp byte [edi + 3], 0
je 0x524f39
mov eax, dword [edi + 0x40]
mov dword [esp + 0xb8], eax
mov ecx, dword [edi + 0x44]
mov edi, dword [esp + 0x44]
mov dword [esp + 0xbc], ecx
mov ecx, eax
mov dword [esi], ecx
mov edx, dword [esp + 0xbc]
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x522060
cmp byte [edi], 2
jne 0x524f8a
mov eax, dword [edi + 0x28]
mov edi, dword [eax]
mov ecx, dword [edi]
lea edx, [esp + 0xb8]
push edx
push eax
mov eax, dword [ecx + 0x30]
call eax
push ebx
mov dword [esp + 0x1c], eax
call fcn.004c5960
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov ecx, dword [esp + 0xb8]
mov edi, dword [esp + 0x44]
mov dword [esi], ecx
mov edx, dword [esp + 0xbc]
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x522060
mov eax, edi
call fcn.005013f0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
cmp byte [edi + 2], al
je 0x524fb7
mov edi, dword [esp + 0x44]
mov ecx, 1
mov word [esi + 8], cx
add ebp, 0x14
jmp 0x522060
mov edi, dword [edi + 0x28]
mov ecx, edi
call fcn.004b2900
mov edx, dword [edi + 0x20]
mov dword [esp + 0xb8], edx
mov eax, dword [edi + 0x24]
mov edi, dword [esp + 0x44]
mov dword [esp + 0xbc], eax
mov ecx, edx
mov dword [esi], ecx
mov edx, dword [esp + 0xbc]
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x1c], 0
jne case.0x522075.86
mov esi, dword [eax + 0x28]
call fcn.004b2260
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebx + 0x70]
mov edx, dword [ebp + 4]
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x28]
mov dword [esp + 0xe4], 0
cmp cl, 0x83
jne 0x52504c
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je case.0x522075.86
lea edi, [esp + 0xe4]
call fcn.004e6c90
mov ecx, dword [esp + 0xe4]
mov dword [esp + 0x10], eax
mov byte [esi + 2], cl
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x5260e8
cmp dword [ebp + 8], eax
jle case.0x522075.86
test ecx, ecx
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov eax, dword [edx + ecx*4]
mov esi, dword [eax + 0x28]
lea edi, [esp + 0xc4]
mov eax, esi
call fcn.004e6c60
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
cmp dword [esp + 0xc4], eax
jne 0x526d0d
push esi
call fcn.004b2a30
add esp, 4
test edx, edx
jl case.0x522075.86
jg 0x5250e4
test eax, eax
jb case.0x522075.86
push edx
push eax
call fcn.004add90
movsx ecx, ax
add esp, 8
cmp ecx, dword [ebp + 0xc]
jge case.0x522075.86
mov dword [esp + 0xc4], 1
jmp 0x526d0d
inc dword [ebx + 0xa8]
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + edx*4]
cmp byte [esi], 1
mov dword [esp + 0xa4], 1
lea edi, [esp + 0xa4]
jne 0x52513d
mov ecx, esi
call fcn.004ecad0
mov dword [esp + 0x10], eax
jmp 0x525172
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
call fcn.004e6c60
cmp word [ebp + 2], 0
mov dword [esp + 0x10], eax
je 0x525167
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
jne 0x525167
mov byte [eax], 2
mov dword [eax + 4], 1
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov eax, dword [esp + 0xa4]
mov byte [esi + 2], al
test eax, eax
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov eax, dword [esp + 0x14]
mov esi, dword [edx + ecx*4]
push eax
mov eax, esi
call fcn.004c6670
add esp, 4
jmp 0x5251ce
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov esi, dword [edx + ecx*4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x28]
mov edx, dword [ebp + 0x10]
push eax
push ecx
call edx
add esp, 8
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], ecx
cmp eax, ecx
jne 0x5251f5
mov byte [esi + 2], cl
movzx eax, word [ebp + 2]
inc dword [ebx + eax*4 + 0xa0]
lea eax, [ebx + eax*4 + 0xa0]
jmp case.0x522075.11
cmp eax, 0x65
jne 0x5260e8
mov dword [esp + 0x10], ecx
mov byte [esi + 2], 1
jmp 0x52681e
test byte [ebp + 2], 1
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov eax, dword [ebp + 8]
mov ecx, dword [edx + ecx*4]
lea eax, [eax + eax*4]
mov dword [esp + 0x18], ecx
lea esi, [edi + eax*8]
je 0x52522a
inc dword [ebx + 0x2c]
mov edx, 0x4000
test word [esi + 8], dx
je 0x52524a
call fcn.004c5400
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov ecx, dword [esp + 0x18]
cmp byte [ebp], 0x84
jne 0x52525d
push esi
mov eax, ecx
call fcn.004ec6e0
add esp, 4
jmp 0x5252c7
mov eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x24c], eax
mov dword [esp + 0x250], edx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x244], eax
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dx, word [ebp + 0x10]
mov dword [esp + 0x258], eax
movzx eax, word [ebp + 2]
mov word [esp + 0x25c], dx
test al, 0x10
je 0x5252a2
mov ecx, dword [ecx + 0x20]
jmp 0x5252a4
xor ecx, ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 0x28]
push ecx
and eax, 0xa
push eax
lea eax, [esp + 0x24c]
push eax
call fcn.005001d0
add esp, 0xc
mov dword [esi + 0x1c], 0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebp + 4]
mov esi, dword [edx + ecx*4]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
mov dx, word [ebp + 0xc]
mov dword [esp + 0x1fc], eax
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
mov word [esp + 0x204], dx
lea edx, [edi + eax*8]
lea eax, [esp + 0x120]
push eax
push 0
push 0
mov dword [esp + 0x20c], edx
push 0
lea edx, [esp + 0x20c]
push edx
push ecx
mov dword [esp + 0x30], ecx
mov byte [esp + 0x21e], 0
call fcn.004f9160
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
cmp dword [esp + 0x120], eax
jne 0x525368
mov edi, dword [esp + 0x18]
mov al, 4
call fcn.00500590
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov esi, dword [ecx + eax*4]
mov eax, esi
call fcn.005013f0
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
jne 0x5260e8
cmp byte [esi + 2], cl
jne 0x52543d
mov eax, dword [esp + 0x14]
lea edx, [esp + 0xb0]
push edx
push eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], ecx
call fcn.004eb710
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
cmp byte [ebp], 0x87
jne 0x525415
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebx + 0x70]
mov eax, dword [edx + ecx*4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xb4]
mov edi, dword [esp + 0x44]
mov byte [eax + 2], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov byte [eax + 3], 1
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x24], esi
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edx, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov edi, dword [esp + 0x44]
mov dword [eax], edx
mov dword [eax + 4], ecx
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
call fcn.004b33a0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov edx, dword [ebx + 0x70]
mov eax, dword [ebp + 4]
mov eax, dword [edx + eax*4]
mov edx, dword [eax + 0x2c]
cmp cl, 0x27
sbb cl, cl
mov dword [esp + 0x20c], edx
mov dx, word [ebp + 0x10]
mov byte [esp + 0x216], cl
mov ecx, dword [ebp + 0xc]
mov word [esp + 0x214], dx
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x44]
lea edx, [ecx + edx*8]
lea ecx, [esp + 0x20c]
mov dword [esp + 0x210], edx
mov edx, dword [esp + 0x14]
push ecx
push edx
lea edi, [esp + 0x74]
mov dword [esp + 0x74], 0
call fcn.004eb830
add esp, 8
test byte [ebp], 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
je 0x5254c9
neg eax
jmp 0x5254ca
inc eax
cmp dword [esp + 0x10], 0
mov dword [esp + 0x6c], eax
jne 0x5260e8
test eax, eax
jg 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edi, eax
mov eax, 1
mov word [edi + 8], ax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xb4]
inc ecx
cmp dword [eax + 0xa8], ecx
jg 0x527118
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0xd0]
push edx
mov edx, dword [ebp + 4]
mov dword [esp + 0x1c], ecx
shl ecx, 4
mov eax, dword [ecx + eax + 4]
push edx
mov dword [esp + 0xd8], 0
call fcn.00500ea0
mov esi, dword [esp + 0xd8]
mov ecx, eax
mov edx, 4
mov eax, esi
mov word [edi + 8], dx
cdq
add esp, 8
mov dword [esp + 0x10], ecx
mov dword [edi], eax
mov dword [edi + 4], edx
test ecx, ecx
jne 0x5260e8
test esi, esi
je case.0x522075.86
mov edi, dword [ebp + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.004b71f0
mov al, byte [esp + 0x18]
mov edi, dword [esp + 0x44]
inc al
mov byte [esp + 0x43], al
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [esp + 0xd8]
and eax, ecx
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 4]
shl edx, 4
mov dword [esp + 0xdc], 0
mov ecx, dword [edx + ecx + 4]
call fcn.00500bd0
add esp, 4
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x10], eax
je 0x5255fb
mov eax, dword [esp + 0xd8]
add dword [ebx + 0x2c], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5255fb
lea edx, [ecx + ecx*4]
lea edi, [edi + edx*8]
cdq
add dword [edi], eax
adc dword [edi + 4], edx
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 1
jne 0x52563d
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004c5ea0
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522060
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 8]
push 0
call fcn.00500bd0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebp + 4]
shl eax, 4
add eax, dword [ecx + 0x10]
push edx
mov eax, dword [eax + 4]
lea ecx, [esp + 0xd0]
push ecx
mov dword [esp + 0xd4], 0
call fcn.00500b80
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov eax, dword [esp + 0xcc]
mov edi, dword [esp + 0x44]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x522060
mov esi, dword [esp + 0x14]
inc byte [esi + 0x52]
mov edx, dword [ebp + 0x10]
push 0
push 0
push 0
push edx
push esi
call fcn.00527b30
dec byte [esi + 0x52]
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x525744
mov ecx, dword [esi + 0x10]
mov eax, edi
shl eax, 4
mov edx, dword [eax + ecx + 0xc]
push edx
call fcn.004d0650
and dword [esi + 0x18], 0xfffffff7
push 1
lea eax, [ebx + 0x6c]
push eax
push edi
push esi
call fcn.005281d0
or dword [esi + 0x18], 1
add esp, 0x14
and dword [ebx + 0x94], 0xfffffffc
mov dword [esp + 0x10], eax
jmp 0x5257de
mov edx, dword [esi + 0x10]
mov dword [esp + 0x1a0], edi
push eax
lea ecx, [ebx + 0x6c]
shl edi, 4
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], ecx
mov dword [esp + 0x1ac], 0
mov eax, dword [edi + edx]
push str.sqlite_master
push eax
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
mov edi, esi
call fcn.004d3010
mov edi, eax
add esp, 0x10
test edi, edi
je 0x526db8
push 0
lea ecx, [esp + 0x19c]
push ecx
push fcn.00521df0
push edi
push esi
mov byte [esi + 0x9d], 1
mov dword [esp + 0x1b8], 0
call fcn.00527b30
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5257ce
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x10], edx
mov eax, edi
mov ecx, esi
call fcn.004aca50
mov byte [esi + 0x9d], 0
cmp dword [esp + 0x10], 0
je case.0x522075.86
mov eax, esi
call fcn.004d7e50
cmp dword [esp + 0x10], 7
je 0x5238d1
jmp 0x5260e8
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
call fcn.004d78d0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 4]
push ecx
call fcn.004cc9c0
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522060
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
mov eax, dword [ebp + 4]
call fcn.004c76a0
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 4]
push ecx
push edx
call fcn.004cd890
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
lea eax, [esp + 0x11c]
push eax
mov eax, dword [esi]
inc eax
push eax
push ecx
movzx ecx, word [ebp + 2]
add edx, 4
push edx
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x10]
shl ecx, 4
mov ecx, dword [ecx + eax + 4]
call fcn.004ea830
mov dword [esp + 0x28], eax
add esp, 0x10
mov eax, edi
call fcn.004b33a0
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x525905
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x5238d1
dec eax
cdq
sub dword [esi], eax
push fcn.004ac9a0
push 1
sbb dword [esi + 4], edx
push ecx
or eax, 0xffffffff
mov ecx, edi
call fcn.004cf3f0
add esp, 0xc
movzx ecx, byte [esp + 0x3e]
mov eax, edi
call fcn.004cf300
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
test byte [edi + ecx*8 + 8], 0x10
mov eax, dword [ebp + 8]
lea esi, [edi + ecx*8]
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
jne 0x525943
call fcn.004bfba0
test eax, eax
jne 0x5238d1
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov esi, dword [esi + 0x10]
push eax
push ecx
call fcn.004bd490
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 0x10
lea eax, [edi + edx*8]
mov dword [esp + 0x24], eax
je 0x5259b2
mov eax, dword [eax + 0x10]
lea esi, [esp + 0x140]
call fcn.004b0200
test eax, eax
je 0x5259ae
mov ecx, dword [esp + 0x144]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x140]
push ecx
lea eax, [eax + eax*4]
push edx
lea eax, [edi + eax*8]
call fcn.004b3460
add esp, 8
jmp 0x52681e
mov eax, dword [esp + 0x24]
call fcn.004b33a0
jmp case.0x522075.11
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
test byte [edi + ecx*8 + 8], 0x10
mov eax, dword [ebp + 0xc]
lea esi, [edi + ecx*8]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0x10]
lea edi, [edi + edx*8]
mov dword [esp + 0x18], eax
jne 0x5259ed
call fcn.004bfba0
test eax, eax
jne 0x5238d1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x525943
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
push eax
mov eax, dword [esi + 0x10]
call fcn.004bd520
add esp, 0xc
test eax, eax
jne 0x526d0d
mov eax, dword [esp + 0x18]
test eax, eax
jl case.0x522075.86
jmp 0x525943
cmp word [ebp + 2], 0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x44]
lea edx, [eax + edx*8]
mov dword [esp + 0x20], edx
je 0x525a64
mov eax, dword [ebx + 0xc4]
mov ecx, dword [edi + 0x14]
test eax, eax
je 0x525a64
lea esp, [esp]
cmp dword [eax + 0x1c], ecx
je case.0x522075.86
mov eax, dword [eax + 4]
test eax, eax
jne 0x525a50
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0xcc]
mov eax, dword [esp + 0x14]
cmp ecx, dword [eax + 0x8c]
jge 0x52712c
test byte [edx + 8], 0x10
jne 0x525b78
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x525a99
inc eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
mov edx, dword [edi + 0xc]
lea ecx, [eax + eax*4 + 0xa]
mov eax, dword [edi + 4]
add eax, 7
lea ecx, [edx + ecx*2]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [eax + ecx*4]
mov dword [esp + 0x18], eax
cdq
push edx
push eax
mov eax, dword [esp + 0x1c]
call fcn.004cb550
mov esi, eax
add esp, 8
test esi, esi
je 0x5238d1
mov eax, dword [esp + 0x20]
call fcn.004b2fa0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
sub ebp, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0x10], esi
mov dword [eax + 0x24], 0x4b3b40
mov edx, 0x410
mov word [eax + 8], dx
mov dword [esi + 0x3c], ecx
mov dword [esi], ebx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x40], edx
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x30], eax
mov edx, dword [ebx + 0x5c]
mov dword [esi + 0x10], edx
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x38], eax
mov edx, dword [ebx + 0x70]
mov dword [esi + 0x14], edx
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x2c], eax
mov edx, dword [ebx + 0x58]
mov dword [esi + 8], edx
mov eax, dword [ebx + 0x88]
mov dword [esi + 0x34], eax
mov edx, dword [edi + 0x14]
lea eax, [ecx + ecx*4 + 0xa]
lea ecx, [esi + eax*8]
lea eax, [esi + 0x50]
mov dword [esi + 0x1c], edx
cmp eax, ecx
je 0x525b7b
mov edx, dword [esp + 0x14]
mov ebp, 0x80
mov word [eax + 8], bp
mov dword [eax + 0x20], edx
add eax, 0x28
cmp eax, ecx
jne 0x525b63
jmp 0x525b7b
mov esi, dword [edx + 0x10]
inc dword [ebx + 0xcc]
mov ecx, dword [ebx + 0xc4]
mov eax, dword [esp + 0x14]
mov dword [esi + 4], ecx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x24]
mov dword [esi + 0x24], eax
mov ecx, dword [ebx + 0x2c]
mov dword [esi + 0x44], ecx
mov edx, dword [ebx]
mov eax, dword [edx + 0x5c]
mov dword [esi + 0x48], eax
mov ecx, dword [ebx + 0xd8]
mov dword [esi + 0x28], ecx
mov dword [ebx + 0xc4], esi
lea ecx, [esi + 0x50]
mov dword [ebx + 0x5c], ecx
xor ebp, ebp
mov dword [ebx + 0xd8], ebp
mov dword [ebx + 0x2c], ebp
mov edx, dword [esi + 0x3c]
mov dword [ebx + 0x18], edx
movzx eax, word [esi + 0x40]
mov dword [ebx + 0x1c], eax
mov eax, edx
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov dword [ebx + 0x70], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0xc]
lea ecx, [eax + ecx*4]
mov dword [esi + 0x18], ecx
mov eax, dword [edi + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push ebp
push ecx
call fcn.00585e50
mov ebp, dword [edi]
mov dword [ebx + 0x58], ebp
mov edx, dword [edi + 4]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x3c], ebp
add ebp, 0xffffffec
add esp, 0xc
mov dword [ebx + 0x88], edx
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edx, dword [ebx + 0xc4]
mov ecx, dword [edx + 0x30]
mov esi, dword [edx + 8]
mov edx, dword [edx + 0x10]
lea ecx, [ecx + ecx*4]
mov ecx, dword [esi + ecx*4 + 4]
add ecx, dword [ebp + 4]
push 0x1000
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*8]
push ecx
push eax
call fcn.004b35a0
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522060
mov ecx, dword [esp + 0x14]
test dword [ecx + 0x1c], 0x80000
mov eax, dword [ebp + 8]
cdq
je 0x525c94
add dword [ecx + 0x1d0], eax
mov edi, dword [esp + 0x44]
adc dword [ecx + 0x1d4], edx
add ebp, 0x14
jmp 0x522060
cmp dword [ebp + 4], 0
je 0x525cb2
add dword [ecx + 0x1c8], eax
mov edi, dword [esp + 0x44]
adc dword [ecx + 0x1cc], edx
add ebp, 0x14
jmp 0x522060
add dword [ebx + 0x40], eax
mov edi, dword [esp + 0x44]
adc dword [ebx + 0x44], edx
add ebp, 0x14
jmp 0x522060
cmp dword [ebp + 4], 0
je 0x525ce2
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c8]
or edx, dword [eax + 0x1cc]
jne case.0x522075.86
jmp 0x525cf2
mov edx, dword [ebx + 0x40]
or edx, dword [ebx + 0x44]
jne case.0x522075.86
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1d0]
or ecx, dword [eax + 0x1d4]
je 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x525d3c
mov eax, dword [ecx + 4]
test eax, eax
je 0x525d2a
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x525d21
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 0x10]
lea ecx, [eax + edx*8]
mov dword [esp + 0x24], ecx
jmp 0x525d49
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x24]
call fcn.004b3190
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
lea esi, [edi + ecx*8]
call fcn.004b3190
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [edx + 4]
cmp ecx, esi
jg case.0x522075.86
mov ecx, edx
jl 0x525d82
mov edx, dword [ecx]
cmp edx, eax
jae case.0x522075.86
mov edi, dword [esp + 0x44]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 4]
mov esi, dword [edi + eax*8]
lea edi, [edi + eax*8]
test ecx, ecx
jl case.0x522075.86
jg 0x525db5
test esi, esi
jbe case.0x522075.86
mov eax, dword [ebp + 0xc]
cdq
sub esi, eax
sbb ecx, edx
mov dword [edi], esi
mov dword [edi + 4], ecx
jmp 0x526d0d
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
lea esi, [edi + ecx*8]
lea edi, [edi + edx*8]
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], esi
test esi, esi
jl 0x525e4f
jg 0x525e03
test ecx, ecx
jbe 0x525e4f
mov eax, dword [edi]
mov edi, dword [edi + 4]
test edi, edi
jl 0x525e12
jg 0x525e16
test eax, eax
ja 0x525e16
xor eax, eax
xor edi, edi
push edi
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.004adb20
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x525e4f
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
mov edi, dword [esp + 0x44]
mov dword [eax], ecx
mov dword [eax + 4], edx
add ebp, 0x14
jmp 0x522060
mov edi, dword [esp + 0x44]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 4]
lea edx, [edi + eax*8]
mov eax, dword [edx]
mov esi, eax
or esi, ecx
je case.0x522075.86
test ecx, ecx
jl 0x526d0d
jg 0x525e93
test eax, eax
jbe 0x526d0d
sub eax, 1
sbb ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x526d0d
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [edi + ecx*8 + 4]
cmp eax, 0x80000000
lea edi, [edi + ecx*8]
mov ecx, dword [edi]
jl 0x525eca
jg 0x525ebf
test ecx, ecx
jbe 0x525eca
sub ecx, 1
sbb eax, 0
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [edi]
or edx, dword [edi + 4]
je 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
movzx eax, word [ebp + 2]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [eax*4 + 0x44]
push 0
push eax
mov eax, esi
call fcn.004bbd30
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x5238d1
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx*4 + 0x1c]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [eax + 0x20], esi
xor esi, esi
mov dword [eax + 0x18], esi
mov edx, 1
mov word [eax + 8], dx
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov edx, ebp
sub edx, dword [esp + 0x30]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, byte [esp + 0x18]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], ebx
mov byte [ecx + 0x18], 0
mov dword [ecx + 0x14], esi
mov byte [ecx + 0x19], dl
mov byte [ebp + 1], 0xf0
mov dword [ebp + 0x10], ecx
mov byte [ebp], 0x9c
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
cmp dword [esi + 8], eax
je 0x525fa9
mov ecx, eax
mov dword [esi + 8], ecx
movzx ecx, byte [esi + 0x19]
sub ecx, 1
js 0x525fa9
lea edx, [esi + ecx*4 + 0x1c]
mov eax, dword [ebp + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx], eax
dec ecx
sub edx, 4
test ecx, ecx
jge 0x525f94
mov eax, dword [esp + 0x18]
inc dword [eax + 0xc]
cmp dword [ebp + 4], 0
je 0x525fca
movzx eax, byte [esi + 0x19]
mov ecx, dword [esi + 4]
mov ecx, dword [ecx + 0x1c]
lea edx, [esi + 0x1c]
push edx
push eax
push esi
call ecx
jmp 0x525fdc
movzx ecx, byte [esi + 0x19]
mov edx, dword [esi + 4]
mov edx, dword [edx + 0x10]
lea eax, [esi + 0x1c]
push eax
push ecx
push esi
call edx
mov eax, dword [esi + 0x14]
add esp, 0xc
test eax, eax
je case.0x522075.86
jle 0x526015
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004cfb60
push eax
push 0x5e3678
mov esi, ebx
call fcn.004d4dc0
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x14]
add esp, 0xc
mov dword [esp + 0x10], eax
mov esi, edx
cmp byte [esi + 0x18], 0
je 0x526038
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x526034
lea ecx, [eax + eax*4]
push 0
push 1
lea eax, [edi + ecx*8]
call fcn.004b3460
add esp, 8
mov byte [esi + 0x18], 0
mov eax, dword [esi]
call fcn.004b2fa0
cmp dword [esp + 0x10], 0
mov edx, dword [esi]
mov eax, 1
mov word [edx + 8], ax
mov dword [esi + 0x14], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea edi, [edi + ecx*8]
test eax, eax
je 0x52609d
mov esi, dword [esp + 0x44]
lea edx, [eax + eax*4]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [esi + edx*8]
call fcn.004bfb30
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
add esp, 4
lea edi, [esi + eax*8]
jmp 0x5260ab
mov ecx, dword [ebp + 0x10]
mov eax, edi
call fcn.004b2dc0
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x527145
movzx ecx, byte [esp + 0x3e]
mov eax, edi
call fcn.004cf300
mov ecx, edi
call fcn.004b3550
test eax, eax
je case.0x522075.86
push str.string_or_blob_too_big
mov esi, ebx
call fcn.004d4dc0
mov dword [esp + 0x14], 0x12
add esp, 4
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x49], 0
je 0x5271e3
mov edi, 7
mov dword [esp + 0x10], edi
jmp 0x5271e7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 4]
mov esi, dword [esp + 0x14]
push ecx
or eax, 0xffffffff
push edx
lea edx, [esp + 0x108]
lea ecx, [esp + 0x104]
mov dword [esp + 0x100], 0
mov dword [esp + 0x108], eax
mov dword [esp + 0x104], eax
call fcn.004fe500
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x526162
cmp eax, 5
jne 0x5260e8
mov dword [esp + 0x10], 0
mov dword [esp + 0xf8], 1
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
xor esi, esi
lea edi, [edi + eax*8]
lea ecx, [ecx]
mov eax, dword [esp + esi*4 + 0xf8]
cdq
push edx
push eax
mov eax, edi
call fcn.004b3460
inc esi
add esp, 8
add edi, 0x28
cmp esi, 3
jl 0x526170
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edx, dword [esp + 0x14]
mov ecx, dword [ebp + 4]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x10]
shl ecx, 4
mov eax, dword [ecx + eax + 4]
mov ecx, dword [eax + 4]
mov edi, dword [ecx]
movzx edx, byte [edi + 5]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], edx
cmp esi, 0xffffffff
jne 0x5261d2
mov esi, edx
cmp byte [edi + 0x10], 3
jae 0x5261ee
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x5261f2
cmp dword [edi + 0x4c], 0
jl 0x5261f2
jg 0x5261ee
cmp dword [edi + 0x48], 0
jbe 0x5261f2
mov esi, dword [esp + 0x28]
cmp byte [edi + 0xf], 0
mov eax, 0x5d3001
jne 0x526203
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x526225
call fcn.004acea0
test eax, eax
je 0x52621c
mov eax, edi
call fcn.004b1280
test eax, eax
jne 0x526225
mov esi, dword [esp + 0x28]
jmp 0x5262a4
mov ecx, dword [esp + 0x28]
cmp esi, ecx
je 0x5262a4
cmp ecx, 5
je 0x52623b
cmp esi, 5
jne 0x5262a4
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x47], 0
je 0x527160
cmp dword [eax + 0xa8], 1
jg 0x527160
cmp ecx, 5
jne 0x526274
mov ecx, eax
push ecx
mov eax, edi
call fcn.004ff150
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262ab
mov eax, esi
jmp 0x52627c
cmp ecx, 4
jne 0x526283
lea eax, [ecx - 2]
mov ecx, edi
call fcn.00504da0
cmp dword [esp + 0x10], 0
jne 0x5262ab
mov eax, dword [esp + 0x18]
xor edx, edx
cmp esi, 5
sete dl
inc edx
push edx
call fcn.005054f0
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x5262af
mov esi, dword [esp + 0x28]
mov eax, esi
mov ecx, edi
call fcn.00504da0
mov edx, dword [esp + 0x2c]
mov ecx, 0xa02
mov word [edx + 8], cx
cmp eax, 6
jne 0x5262ce
xor eax, eax
jmp 0x5262d5
mov eax, dword [eax*4 + 0x5ec740]
mov esi, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
call fcn.004acea0
movzx ecx, byte [esp + 0x3e]
mov dword [esi + 0xc], eax
mov eax, esi
mov byte [esi + 0xa], 1
call fcn.004cf300
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x6c]
push eax
mov eax, dword [ebp + 4]
call fcn.00521570
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x10]
shl ecx, 4
mov eax, dword [ecx + eax + 4]
push eax
call fcn.004ffcb0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je case.0x522075.86
cmp eax, 0x65
jne 0x5260e8
mov dword [esp + 0x10], 0
jmp 0x526d0d
cmp dword [ebp + 4], 0
mov ecx, dword [ebp + 8]
jne 0x526390
mov eax, dword [esp + 0x14]
call fcn.004b4480
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov edi, dword [esp + 0x44]
inc ecx
xor ecx, dword [ebx + 0x94]
and ecx, 3
xor dword [ebx + 0x94], ecx
add ebp, 0x14
jmp 0x522060
mov cl, byte [ebp + 0xc]
test cl, cl
jne 0x5263c4
mov edx, dword [esp + 0x14]
test dword [edx + 0x1c], 0x400
jne case.0x522075.86
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 4]
push edx
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
call fcn.004bfac0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je case.0x522075.86
cmp al, 6
jne 0x5260e8
mov ecx, dword [ebp + 0x10]
push ecx
push str.database_table_is_locked:__s
mov esi, ebx
call fcn.004d4dc0
add esp, 8
jmp 0x5260e8
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
call fcn.004c9920
mov dword [esp + 0x10], eax
test edi, edi
je 0x52642d
mov edi, dword [edi + 8]
push ebx
call fcn.004c5960
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x194], eax
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
lea eax, [esp + 0x170]
mov dword [esp + 0x190], esi
call fcn.004cba90
lea edx, [esp + 0x170]
push edx
mov dword [esp + 0x14], eax
call fcn.004cfb60
add esp, 4
test eax, eax
je 0x5264de
lea ecx, [ebx + 0x6c]
push ecx
push eax
mov eax, dword [ebp + 4]
mov ecx, esi
call fcn.004de730
add esp, 8
mov dword [esp + 0x10], eax
lea eax, [esp + 0x170]
call fcn.004b2fa0
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov esi, dword [esp + 0x14]
inc dword [esi + 0xb4]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 4]
push edx
mov ecx, esi
call fcn.004c2af0
dec dword [esi + 0xb4]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x94], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x5271a5
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x5271a5
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x94]
push ecx
mov edx, eax
mov eax, dword [edx + 0x18]
push edi
call eax
push ebx
mov dword [esp + 0x1c], eax
call fcn.004c5960
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov ecx, dword [esp + 0x94]
mov edx, edi
push 2
mov dword [ecx], edx
mov edi, dword [ebp + 4]
push 0xffffffffffffffff
push 0
mov esi, ebx
call fcn.0050fce0
add esp, 0xc
test eax, eax
je 0x52718c
mov ecx, dword [esp + 0x94]
mov edi, dword [esp + 0x44]
mov dword [eax + 0x28], ecx
mov eax, dword [esp + 0x20]
inc dword [eax + 4]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x70]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 4]
mov eax, dword [ecx + eax*4]
mov esi, dword [eax + 0x28]
mov ecx, dword [edi + edx*8 + 0x28]
lea edx, [edi + edx*8]
mov edi, dword [esi]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x60]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x34], edi
test ecx, ecx
jle 0x526626
mov edi, dword [esp + 0x18]
add edx, 0x50
mov dword [edi + eax*4], edx
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x526617
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [edx + 0x20]
push ecx
push esi
call eax
push ebx
mov dword [esp + 0x28], eax
call fcn.004c5960
add esp, 0x18
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x28]
push esi
call edx
mov ecx, dword [esp + 0x20]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
jne 0x526d0d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, dword [ebx + 0x70]
mov edx, dword [ebp + 4]
mov esi, dword [eax + edx*4]
cmp byte [esi + 2], 0
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea edi, [edi + ecx*8]
mov dword [esp + 0x18], edi
je 0x5266af
mov eax, edi
call fcn.004b33a0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov edx, dword [esi + 0x28]
mov eax, dword [edx]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x148], edi
cmp word [ebp + 2], ax
je 0x52671d
mov eax, edi
call fcn.004b33a0
mov ecx, 0x4001
mov word [edi + 8], cx
mov dword [edi], 0
jmp 0x526731
mov dx, word [edi + 8]
mov eax, 0x3e00
and dx, ax
or dx, 1
mov word [edi + 8], dx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x14c]
push edx
mov edx, dword [ecx + 0x2c]
push eax
call edx
mov edi, dword [esp + 0x40]
push ebx
mov dword [esp + 0x20], eax
call fcn.004c5960
add esp, 0x10
cmp dword [esp + 0x15c], 0
jle 0x52678a
mov eax, dword [esp + 0x18]
push eax
call fcn.004cfb60
push eax
push 0x5e3678
mov esi, ebx
call fcn.004d4dc0
mov ecx, dword [esp + 0x168]
add esp, 0xc
mov dword [esp + 0x10], ecx
movzx ecx, byte [esp + 0x3e]
mov esi, dword [esp + 0x18]
mov eax, esi
call fcn.004cf300
mov ecx, esi
call fcn.004b3550
test eax, eax
jne 0x5260d1
cmp dword [esp + 0x10], eax
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + edx*4]
cmp byte [esi + 2], 0
jne case.0x522075.86
mov eax, dword [esi + 0x28]
mov edi, dword [eax]
mov ecx, dword [edi]
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx + 0x24]
push eax
call ecx
push ebx
mov dword [esp + 0x18], eax
call fcn.004c5960
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x5260e8
mov edx, dword [esi + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x28]
push edx
call ecx
add esp, 4
test eax, eax
jne 0x52681e
mov ebp, dword [ebp + 8]
mov eax, dword [esp + 0x30]
lea edx, [ebp + ebp*4]
lea ebp, [eax + edx*4 - 0x14]
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0x100]
test ecx, ecx
jne 0x5271b2
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x88]
jb case.0x522075.86
mov esi, dword [edi + 0x138]
test esi, esi
je case.0x522075.86
mov ecx, dword [edi + 0x140]
xor edx, edx
div ecx
sub ecx, edx
add ecx, dword [esp + 0x68]
mov edx, dword [edi + 0x13c]
push edx
mov dword [esp + 0x8c], ecx
call esi
add esp, 4
test eax, eax
jne 0x526e9d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x1c]
mov esi, eax
or eax, 0x4000000
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea edi, [edi + edx*8]
mov dword [esp + 0x18], ecx
mov ecx, 1
mov eax, edi
and esi, 0x4000000
call fcn.004cf300
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x4c]
call eax
add esp, 8
mov dword [esp + 0x10], eax
test esi, esi
jne 0x5268ee
mov eax, dword [esp + 0x14]
and dword [eax + 0x1c], 0xfbffffff
mov edi, dword [esp + 0x18]
push ebx
call fcn.004c5960
add esp, 4
jmp 0x5240b9
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x49], 0
jne 0x5238d1
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x5271a5
mov edx, dword [eax]
test edx, edx
je 0x5271a5
cmp dword [edx + 0x34], 0
mov ecx, dword [ebp + 8]
je case.0x522075.86
mov al, byte [esi + 0x4e]
mov esi, dword [ebx + 0x60]
mov byte [esp + 0x42], al
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
xor eax, eax
test ecx, ecx
jle 0x52695b
mov dword [esi + eax*4], edi
inc eax
add edi, 0x28
cmp eax, ecx
jl 0x526950
movzx eax, byte [ebp + 2]
mov edi, dword [esp + 0x14]
mov byte [edi + 0x4e], al
mov edx, dword [edx + 0x34]
lea eax, [esp + 0x138]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x24]
push ecx
call edx
mov dword [esp + 0x20], eax
movzx eax, byte [esp + 0x52]
mov byte [edi + 0x4e], al
mov edi, dword [esp + 0x28]
push ebx
call fcn.004c5960
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x5269b8
cmp dword [ebp + 4], 0
je 0x5269b8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x138]
mov edx, dword [esp + 0x13c]
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov ecx, dword [esp + 0x10]
cmp cl, 0x13
jne 0x526a06
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x10], 0
je 0x526a06
movzx eax, word [ebp + 2]
cmp ax, 4
jne 0x5269e8
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], 0
add ebp, 0x14
jmp 0x522060
cmp ax, 5
jne 0x5269fb
mov eax, 2
mov byte [ebx + 0x8e], al
jmp 0x526a09
movzx eax, ax
mov byte [ebx + 0x8e], al
jmp 0x526a09
inc dword [ebx + 0x2c]
test ecx, ecx
jne 0x5260e8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
mov edi, dword [esp + 0x44]
shl ecx, 4
mov ecx, dword [ecx + edx + 4]
mov edx, dword [ecx + 4]
mov ecx, dword [edx + 0x2c]
mov dword [eax], ecx
mov dword [eax + 4], 0
add ebp, 0x14
jmp 0x522060
mov eax, ebp
mov edx, ebx
call fcn.004b5020
mov edx, dword [ebp + 4]
mov esi, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x10]
shl edx, 4
mov eax, dword [edx + ecx + 4]
mov ecx, dword [ebp + 0xc]
xor edx, edx
test ecx, ecx
je 0x526a83
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x2c]
cmp edx, ecx
jae 0x526a83
mov edx, ecx
push edx
call fcn.004bf740
mov edi, dword [esp + 0x48]
cdq
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x522060
movzx eax, word [ebp + 2]
mov dword [esp + 0x18], eax
lea eax, [eax*4 + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x1c]
call fcn.004bbd30
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x5238d1
mov dword [ecx], 0
mov edx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov edx, ebp
sub edx, dword [esp + 0x30]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, byte [esp + 0x18]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x19], dl
add byte [ebp], 2
mov byte [ebp + 1], 0xf0
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x2c], eax
cmp dword [esi], eax
je 0x526b49
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi], eax
js 0x526b49
lea edx, [esi + ecx*4 + 0x1c]
nop
mov eax, dword [ebp + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*8]
mov dword [edx], eax
dec ecx
sub edx, 4
test ecx, ecx
jge 0x526b30
mov eax, dword [esp + 0x2c]
mov cx, word [eax + 8]
mov edx, 0x3e00
and cx, dx
or cx, 1
mov word [eax + 8], cx
movzx edx, byte [esi + 0x19]
mov eax, dword [esi + 4]
mov eax, dword [eax + 0x10]
lea ecx, [esi + 0x1c]
push ecx
push edx
push esi
call eax
mov esi, dword [esi + 0x14]
add esp, 0xc
test esi, esi
je 0x526bd1
jle 0x526ba0
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004cfb60
push eax
push 0x5e3678
mov esi, ebx
call fcn.004d4dc0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x14]
add esp, 0xc
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 4]
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x10]
mov edi, dword [esp + 0x14]
push ecx
push edx
lea eax, [ebx + 0xd8]
push eax
call fcn.004b3bd0
add esp, 0xc
cmp dword [esp + 0x10], 0
mov dword [esi + 0x14], 0
jne 0x5260e8
mov esi, dword [esp + 0x2c]
test byte [esi + 8], 0x12
je case.0x522075.86
movzx ecx, byte [esp + 0x3e]
mov eax, esi
call fcn.004cf300
mov ecx, esi
call fcn.004b3550
test eax, eax
jne 0x5260d1
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
mov ecx, dword [esp + 0x14]
mov cl, byte [ecx + 0x50]
test cl, 0x81
je 0x526cb7
test byte [ebx + 0x94], 0x10
jne 0x526cb7
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x526c38
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x526cb7
push eax
test cl, cl
jns 0x526c66
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 0xc0]
mov ecx, ebx
call fcn.004d5ba0
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc4]
push esi
push ecx
call edi
push esi
call fcn.004ac9a0
jmp 0x526cb4
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xb0], 1
jle 0x526ca2
push 0x5f37f8
mov edi, ecx
call fcn.004d3010
mov edx, dword [edi + 0xc4]
mov esi, eax
mov eax, dword [edi + 0xc0]
push esi
push ebx
push edx
push 1
call eax
add esp, 0x18
mov eax, esi
mov ecx, edi
call fcn.004aca90
jmp 0x526cb7
mov edx, dword [ecx + 0xc4]
mov eax, dword [ecx + 0xc0]
push ebx
push edx
push 1
call eax
add esp, 0x10
mov ecx, dword [ebp + 4]
cmp ecx, dword [0x633dbc]
jl 0x526cff
cmp byte [ebp], 0xa9
je case.0x522075.86
mov esi, 1
xor edi, edi
cmp dword [ebx + 0x88], esi
mov edx, esi
jle 0x526cfa
mov ecx, 0x14
mov edi, edi
mov eax, dword [ebx + 0x58]
add eax, ecx
cmp byte [eax], 0x11
jne 0x526ced
mov dword [eax + 4], edi
add edx, esi
add ecx, 0x14
cmp edx, dword [ebx + 0x88]
jl 0x526ce0
mov dword [ebp + 4], edi
jmp 0x526d04
mov esi, 1
add dword [ebp + 4], esi
add dword [ebx + 0xb8], esi
mov ebp, dword [ebp + 8]
mov edx, dword [esp + 0x30]
lea ecx, [ebp + ebp*4]
lea ebp, [edx + ecx*4 - 0x14]
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522060
push str.cannot_open_savepoint___SQL_statements_in_progress
mov esi, ebx
call fcn.004d4dc0
mov dword [esp + 0x14], 5
jmp 0x5260e5
push str.cannot_release_savepoint___SQL_statements_in_progress
mov esi, ebx
call fcn.004d4dc0
mov dword [esp + 0x14], 5
jmp 0x5260e5
mov eax, dword [ebx + 0x6c]
mov ecx, esi
call fcn.004aca90
push str.database_schema_has_changed
mov eax, esi
call fcn.004c3870
mov dword [ebx + 0x6c], eax
mov eax, dword [ebp + 4]
mov edx, dword [esi + 0x10]
mov ecx, eax
shl ecx, 4
mov ecx, dword [ecx + edx + 0xc]
mov edx, dword [esp + 0xac]
add esp, 4
cmp dword [ecx], edx
je 0x526d99
mov esi, dword [esp + 0x14]
call fcn.004d7de0
mov eax, dword [ebx + 0x94]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x94], eax
mov dword [esp + 0x10], 0x11
jmp 0x5260e8
mov dword [esp + 0x10], 7
jmp 0x5257e9
mov ecx, dword [ebp + 4]
mov dword [ebx + 0x28], ecx
mov dl, byte [ebp + 8]
mov byte [ebx + 0x8e], dl
mov dword [ebx + 0x24], eax
test ecx, ecx
je 0x526e56
movzx eax, word [ebp + 2]
mov esi, ebx
test ax, ax
je 0x526e24
movzx eax, ax
mov ecx, dword [eax*4 + 0x5ebd6c]
push ecx
push str._s_constraint_failed
call fcn.004d4dc0
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x526e35
mov edx, dword [ebx + 0x6c]
mov edi, dword [esp + 0x14]
push eax
push edx
push str._z:__s
call fcn.004d3010
add esp, 0xc
mov dword [ebx + 0x6c], eax
jmp 0x526e35
mov eax, dword [ebp + 0x10]
push eax
push 0x5e3678
call fcn.004d4dc0
add esp, 8
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0xbc]
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [ebp + 4]
push edx
push eax
push str.abort_at__d_in___s_:__s
push ecx
call fcn.004d31b0
add esp, 0x14
mov edi, ebx
call fcn.00512200
mov dword [esp + 0x10], eax
cmp eax, 5
jne 0x52706d
mov dword [ebx + 0x28], eax
jmp 0x527319
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x138]
test eax, eax
je 0x526eaa
mov edx, dword [esp + 0x88]
cmp dword [esp + 0x68], edx
jb 0x526eaa
mov ecx, dword [ecx + 0x13c]
push ecx
call eax
add esp, 4
test eax, eax
je 0x526eaa
mov dword [esp + 0x10], 9
jmp 0x5260e8
push 0
mov eax, ebx
call fcn.004d5690
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5260e8
lea edx, [eax + 1]
mov eax, ebx
call fcn.00505a40
mov edx, dword [ebx + 0x20]
add edx, 2
or edx, 1
mov dword [ebx + 0x20], edx
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea edi, [edi + eax*8]
xor esi, esi
mov dword [ebx + 0x68], edi
cmp dword [ebp + 8], esi
jle 0x526f1a
jmp 0x526ef0
mov ecx, 0x1000
test word [edi + 8], cx
je 0x526f0a
mov eax, edi
call fcn.004cba40
test eax, eax
jne 0x5238d1
mov eax, edi
call fcn.004c5450
inc esi
add edi, 0x28
cmp esi, dword [ebp + 8]
jl 0x526ef0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x5238d1
test byte [eax + 0x50], 4
je 0x526f45
mov edx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc0]
push 0
push ebx
push edx
push 4
call eax
add esp, 0x10
sub ebp, dword [esp + 0x30]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx + 1]
mov dword [ebx + 0x24], edx
mov dword [esp + 0x10], 0x64
jmp 0x527319
mov eax, 0x14d8a
call fcn.004e1760
mov dword [esp + 0x10], eax
jmp 0x5260e8
sub ebp, dword [esp + 0x30]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
mov byte [esi + 0x47], 0
mov dword [esp + 0x10], 5
mov dword [ebx + 0x28], 5
jmp 0x527319
mov esi, dword [esp + 0x14]
movzx edx, byte [esi + 0x47]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
cmp eax, edx
je 0x527083
test ecx, ecx
je 0x526fe2
push 0x204
mov eax, esi
call fcn.0050f9b0
add esp, 4
mov byte [esi + 0x47], 1
jmp 0x527029
test eax, eax
je 0x527008
cmp dword [esi + 0xac], 0
jle 0x527008
push str.cannot_commit_transaction___SQL_statements_in_progress
mov esi, ebx
call fcn.004d4dc0
mov dword [esp + 0x14], 5
jmp 0x5260e5
push 1
mov eax, ebx
call fcn.004d5690
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x527319
mov al, byte [esp + 0x18]
mov ecx, esi
mov byte [ecx + 0x47], al
mov edi, ebx
call fcn.00512200
mov ecx, 5
cmp eax, ecx
jne 0x527068
sub ebp, dword [esp + 0x30]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, 1
sub dl, byte [esp + 0x18]
mov dword [ebx + 0x24], eax
mov eax, esi
mov byte [eax + 0x47], dl
mov dword [esp + 0x10], ecx
mov dword [ebx + 0x28], ecx
jmp 0x527319
call fcn.004baed0
mov eax, dword [ebx + 0x28]
neg eax
sbb eax, eax
and eax, 0xffffff9c
add eax, 0x65
mov dword [esp + 0x10], eax
jmp 0x527319
test eax, eax
jne 0x5270a1
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
mov esi, ebx
call fcn.004d4dc0
mov dword [esp + 0x14], 1
jmp 0x5260e5
mov eax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
jne 0x5270af
mov eax, str.cannot_commit___no_transaction_is_active
push eax
mov esi, ebx
call fcn.004d4dc0
mov dword [esp + 0x14], 1
jmp 0x5260e5
mov dword [esp + 0x10], 8
jmp 0x5260e8
mov ecx, dword [esp + 0x10]
cmp cl, 5
jne 0x5260e8
sub ebp, dword [esp + 0x30]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], ecx
jmp 0x527319
mov dword [esp + 0x10], 0x204
jmp 0x5260e8
mov dword [esp + 0x10], 0xd
jmp 0x5260e8
mov dword [esp + 0x10], 6
mov byte [ebx + 0x8e], 2
jmp 0x5260e8
push str.too_many_levels_of_trigger_recursion
mov esi, ebx
mov dword [esp + 0x14], 1
call fcn.004d4dc0
jmp 0x5260e5
push edi
call fcn.004cfb60
push eax
push 0x5e3678
mov esi, ebx
call fcn.004d4dc0
add esp, 0xc
jmp 0x5260e8
mov dword [esp + 0x10], 1
mov eax, str.into
cmp esi, 5
je 0x527177
mov eax, str.out_of
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
mov esi, ebx
call fcn.004d4dc0
add esp, 8
jmp 0x5260e8
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1c]
push edx
call ecx
add esp, 4
jmp 0x5238d1
mov dword [esp + 0x10], 6
jmp 0x5260e8
mov eax, dword [esp + 0x14]
xor edx, edx
cmp byte [eax + 0x49], dl
sete dl
lea edx, [edx + edx + 7]
mov dword [esp + 0x10], edx
mov dword [ebx + 0x28], edx
call fcn.004bafd0
push eax
push 0x5e3678
mov esi, ebx
call fcn.004d4dc0
add esp, 8
jmp 0x5260e8
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x270]
cmp dword [ebx + 0x6c], 0
jne 0x527256
cmp edi, 0xc0a
je 0x527256
mov eax, edi
sub eax, 0x64
mov ecx, str.unknown_error
je 0x52723d
sub eax, 1
je 0x527236
sub eax, 0x19f
je 0x52722f
mov eax, edi
and eax, 0xff
cmp eax, 0x1c
ja 0x527242
mov eax, dword [eax*4 + 0x5f01c8]
test eax, eax
je 0x527242
mov ecx, eax
jmp 0x527242
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x527242
mov ecx, str.no_more_rows_available
jmp 0x527242
mov ecx, str.another_row_available
push ecx
push 0x5e3678
mov esi, ebx
call fcn.004d4dc0
mov esi, dword [esp + 0x1c]
add esp, 8
mov dword [ebx + 0x28], edi
cmp edi, 0xc0a
je 0x52728c
mov eax, edi
and eax, 0xff
cmp eax, 0xe
je 0x527272
cmp eax, 0xa
jne 0x52728c
mov eax, dword [esi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x527287
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x527289
xor eax, eax
mov dword [esi + 0x40], eax
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0xbc]
sub ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
push ecx
push edx
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push str.statement_aborts_at__d:___s___s
push esi
call fcn.004d31b0
add esp, 0x14
mov edi, ebx
call fcn.00512200
cmp esi, 0xc0a
jne 0x5272fb
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x5272fb
cmp byte [eax + 0x4a], 0
jne 0x5272fb
cmp dword [eax + 0xb0], 0
mov byte [eax + 0x49], 1
jle 0x5272f5
mov dword [eax + 0x100], 1
inc dword [eax + 0x108]
cmp byte [esp + 0x43], 0
mov dword [esp + 0x10], 1
jbe 0x527319
movzx eax, byte [esp + 0x43]
mov esi, dword [esp + 0x14]
dec eax
call fcn.004d7de0
mov ecx, dword [esp + 0x68]
add dword [ebx + 0xb0], ecx
cmp dword [ebx + 0x9c], 0
je 0x527335
push ebx
call fcn.004b3980
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret