Function at 0x5258cc
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.004c0240
add esp, 4
cmp dword [ebx + 0x28], 7
je 0x523aa1
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 0x527382
mov eax, esi
cmp dword [eax + 0x138], edx
je 0x522213
mov ecx, dword [eax + 0x140]
mov eax, dword [ebx + 0xb0]
div ecx
sub ecx, edx
mov dword [esp + 0x88], ecx
jmp 0x52221e
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.0x522245.86
jmp dword [eax*4 + 0x527514]
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 0x526edd
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 0x522230
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 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x522230
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 0x522230
mov eax, dword [ebp + 0xc]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 1
je case.0x522245.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 0x526f95
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x526f95
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.0050fe30
add esp, 4
cmp dword [ebp + 8], 4
jne 0x5223cb
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
mov esi, eax
mov eax, dword [ebp + 0x10]
mov byte [ebp], 0x48
call fcn.004ad060
cmp byte [esp + 0x3e], 1
mov dword [ebp + 4], eax
je 0x5224cd
mov eax, dword [ebp + 0x10]
push 0
push 1
push eax
or eax, 0xffffffff
mov ecx, esi
call fcn.004cf5b0
movzx ecx, byte [esp + 0x4a]
mov dword [esp + 0x1c], eax
add esp, 0xc
mov eax, esi
call fcn.004cf4c0
test eax, eax
jne 0x523aa1
mov edx, 0x800
or word [esi + 8], dx
mov dword [esi + 0x18], eax
cmp byte [ebp + 1], 0xf9
jne 0x5224bd
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.004acc50
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 0x5262a1
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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.0x522245.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.0x522245.86
mov eax, dword [edi + esi*8 + 4]
cmp eax, dword [esp + 0x230]
jne case.0x522245.86
mov edi, dword [esp + 0x44]
mov edx, 0xa10
mov word [ecx + 8], dx
add ebp, 0x14
jmp 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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.0x522245.86
jmp 0x522590
add esi, 0x28
mov eax, esi
call fcn.004b3560
mov cx, word [esp + 0x18]
dec edi
mov word [esi + 8], cx
mov dword [esi + 0xc], 0
test edi, edi
jg 0x522590
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
mov esi, eax
mov eax, dword [ebp + 0x10]
push 0
push 0
push eax
mov eax, dword [ebp + 4]
mov ecx, esi
call fcn.004cf5b0
mov cl, byte [esp + 0x4a]
mov edi, dword [esp + 0x50]
add esp, 0xc
mov byte [esi + 0xa], cl
add ebp, 0x14
jmp 0x522230
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.004b3710
test eax, eax
jne 0x5262a1
mov eax, dword [ebp + 8]
push 0x800
lea ecx, [eax + eax*4]
lea edx, [edi + ecx*8]
push esi
push edx
call fcn.004b3760
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522230
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.004b37c0
mov eax, 0x1000
add esp, 4
test word [edi + 8], ax
je 0x522696
mov eax, edi
call fcn.004cbc00
test eax, eax
jne 0x523aa1
add esi, 0x28
add edi, 0x28
sub dword [esp + 0x20], 1
jne 0x522671
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004b3760
mov ecx, 0x1000
add esp, 0xc
test word [edi + 8], cx
je 0x5226f1
mov eax, edi
call fcn.004cbc00
test eax, eax
jne 0x523aa1
mov eax, dword [esp + 0x20]
mov edx, eax
dec eax
mov dword [esp + 0x20], eax
test edx, edx
je case.0x522245.86
add edi, 0x28
add esi, 0x28
jmp 0x5226c8
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.004b3760
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522230
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.004b3620
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522230
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 0x5227a9
mov eax, edi
call fcn.004b3560
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
test eax, 0x4000
je 0x5227c5
mov esi, dword [esp + 0x24]
call fcn.004c55b0
test eax, eax
jne 0x523aa1
mov esi, dword [esp + 0x1c]
mov edx, 0x4000
test word [esi + 8], dx
je 0x5227e1
mov esi, dword [esp + 0x1c]
call fcn.004c55b0
test eax, eax
jne 0x523aa1
mov eax, dword [esp + 0x24]
test byte [eax + 8], 0x12
jne 0x522808
mov ecx, dword [esp + 0x3e]
push 0
push ecx
mov esi, eax
call fcn.004cf4e0
add esp, 8
test eax, eax
jne 0x523aa1
mov esi, dword [esp + 0x1c]
test byte [esi + 8], 0x12
jne 0x522829
mov edx, dword [esp + 0x3e]
mov esi, dword [esp + 0x1c]
push 0
push edx
call fcn.004cf4e0
add esp, 8
test eax, eax
jne 0x523aa1
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 0x5262a1
jl 0x52285c
cmp dword [esp + 0x10c], eax
ja 0x5262a1
xor eax, eax
cmp edi, esi
sete al
push eax
mov eax, dword [esp + 0x110]
add eax, 2
push edi
call fcn.004c53f0
add esp, 8
test eax, eax
jne 0x523aa1
mov cx, word [edi + 8]
mov edx, 0x3e00
and cx, dx
or cx, 2
mov word [edi + 8], cx
cmp edi, esi
je 0x5228ab
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov edx, dword [edi + 0x10]
push eax
push ecx
push edx
call fcn.00588f30
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.00588f30
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 0x522230
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov eax, esi
call fcn.004b5180
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.004b5180
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 0x522a63
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.0x52297f
jmp dword [edx*4 + 0x5277bc]
push ecx
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004adce0
add esp, 0xc
test eax, eax
jne 0x522a70
jmp 0x522a32
push ecx
push eax
lea edx, [esp + 0x64]
call fcn.004add80
add esp, 8
test eax, eax
jne 0x522a70
jmp 0x522a32
push ecx
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004addd0
add esp, 0xc
test eax, eax
jne 0x522a70
jmp 0x522a32
mov edx, eax
or edx, ecx
je 0x522b78
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x5229f4
test edi, edi
jne 0x5229f4
cmp dword [esp + 0x60], 0x80000000
je 0x522a70
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
push edi
call fcn.005897d0
jmp 0x522a2a
mov edx, eax
or edx, ecx
je 0x522b78
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x522a1d
mov eax, 1
xor ecx, ecx
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
push edi
call fcn.0058e440
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 0x522230
test al, 1
jne 0x522b78
mov byte [esp + 0x42], 0
mov ecx, esi
call fcn.004b3280
fstp qword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
call fcn.004b3280
movzx eax, byte [ebp]
add eax, 0xffffffa0
cmp eax, 3
ja case.default.0x522a90
jmp dword [eax*4 + 0x5277cc]
fadd qword [esp + 0x34]
jmp 0x522b14
fsub qword [esp + 0x34]
jmp 0x522b14
fmul qword [esp + 0x34]
jmp 0x522b14
fldz
fld qword [esp + 0x34]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x522b74
fdivp st(1)
jmp 0x522b14
fld qword [esp + 0x34]
call fcn.00588d36
mov esi, eax
mov edi, edx
call fcn.00588d36
mov ecx, esi
or ecx, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
je 0x522b78
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x522af6
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.0058e440
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.004ad020
add esp, 8
test eax, eax
jne 0x522b78
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.0x522245.86
cmp byte [esp + 0x42], 0
jne case.0x522245.86
call fcn.004b32e0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x2c]
call fcn.004b3560
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
test eax, eax
je case.0x522245.86
lea ecx, [eax + eax*4]
push 0
push 0
lea eax, [edi + ecx*8]
call fcn.004b3620
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522230
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 0x522bf6
mov eax, edi
call fcn.004b3560
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
call fcn.004b3210
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], eax
mov esi, edx
call fcn.004b3210
mov edi, eax
mov al, byte [ebp]
cmp al, 0x5c
jne 0x522c1e
and dword [esp + 0x70], edi
and esi, edx
jmp 0x522d00
cmp al, 0x5d
jne 0x522c2d
or dword [esp + 0x70], edi
or esi, edx
jmp 0x522d00
mov ecx, edi
or ecx, edx
je 0x522d00
test edx, edx
jg 0x522c65
jl 0x522c41
test edi, edi
jae 0x522c5a
mov cl, 0xbd
sub cl, al
cmp edx, 0xffffffff
mov al, cl
jl 0x522c65
jg 0x522c53
cmp edi, 0xffffffc0
jbe 0x522c65
neg edi
adc edx, 0
neg edx
test edx, edx
jl 0x522c8d
jg 0x522c65
cmp edi, 0x40
jb 0x522c8d
test esi, esi
jg 0x522c82
jl 0x522c72
cmp dword [esp + 0x70], 0
jae 0x522c82
cmp al, 0x5e
je 0x522c82
or eax, 0xffffffff
cdq
mov dword [esp + 0x70], eax
mov esi, edx
jmp 0x522d00
xor eax, eax
cdq
mov dword [esp + 0x70], eax
mov esi, edx
jmp 0x522d00
cmp al, 0x5e
mov eax, dword [esp + 0x70]
mov edx, esi
mov ecx, edi
jne 0x522cae
call fcn.0058e5a0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
jmp 0x522cee
call fcn.0058e6e0
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], edx
test esi, esi
jg 0x522cee
jl 0x522cce
cmp dword [esp + 0x70], 0
jae 0x522cee
mov ecx, 0x40
sub ecx, edi
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.0058e5a0
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 0x522230
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
call fcn.004b3350
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x44]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x522d9b
test al, 8
jne 0x522d77
test al, 2
je 0x522d7c
push 1
mov eax, esi
call fcn.004b5070
add esp, 4
jmp 0x522d7c
call fcn.004b32e0
movzx eax, word [esi + 8]
test al, 4
jne 0x522d9b
cmp dword [ebp + 8], 0
jne 0x526edd
mov dword [esp + 0x10], 0x14
jmp 0x5262b8
mov edi, dword [esp + 0x44]
and eax, 0x3e00
or eax, 4
mov word [esi + 8], ax
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
test byte [edi + ecx*8 + 8], 4
lea esi, [edi + ecx*8]
je case.0x522245.86
call fcn.004b33b0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
lea esi, [edi + edx*8]
mov eax, 0x4000
test word [esi + 8], ax
je 0x522df7
call fcn.004c55b0
mov dword [esp + 0x10], eax
jmp 0x522dff
mov dword [esp + 0x10], 0
mov dl, byte [esp + 0x3e]
mov cl, byte [ebp + 8]
push esi
call fcn.004d4a50
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x522ed9
movzx eax, word [ebp + 2]
test al, al
jns 0x522e8f
mov al, dl
and al, byte [esp + 0x1c]
test al, 1
je 0x522f58
test edx, 0x100
jne 0x522f58
movzx edx, byte [ebp]
movzx esi, byte [edx + 0x5ebc94]
xor eax, eax
jmp 0x522f68
test al, 0x20
je 0x522ec5
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 0x522230
test al, 0x10
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov dl, byte [ebp + 2]
and dl, 0x47
cmp dl, 0x43
jl 0x523003
test cl, 2
je 0x522f2d
mov cl, byte [esp + 0x1c]
and cl, 0xe
cmp cl, 2
jne 0x522f13
push 0
mov eax, esi
call fcn.004b5070
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 0x522f2d
push 0
call fcn.004b5070
mov eax, dword [esp + 0x2c]
add esp, 4
mov dl, byte [esi + 8]
and dl, byte [eax + 8]
test dl, 4
je 0x52307a
mov ecx, dword [eax]
mov edx, dword [esi]
mov eax, dword [eax + 4]
mov esi, dword [esi + 4]
cmp eax, esi
jl 0x522ff0
jg 0x522f58
cmp ecx, edx
jbe 0x522fde
mov eax, 1
movzx ecx, byte [ebp]
movzx esi, byte [ecx + 0x5ebc9c]
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 0x5230b4
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 0x522fb6
xor edx, edx
cmp byte [ebp], 0x35
sete dl
cmp edx, esi
je case.0x522245.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 0x522230
cmp eax, esi
jg 0x522e7d
jl 0x522ff0
cmp ecx, edx
jae 0x522e7d
movzx ecx, byte [ebp]
movzx esi, byte [ecx + 0x5ebc8c]
or eax, 0xffffffff
jmp 0x522f68
cmp dl, 0x42
jne 0x52307a
mov al, byte [esp + 0x1c]
test al, 2
jne 0x52303f
test al, 0xc
je 0x52303f
mov eax, dword [esp + 0x3e]
push 1
push eax
call fcn.004cf4e0
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 0x52307a
test al, 0xc
je 0x52307a
mov eax, dword [esp + 0x3e]
mov esi, dword [esp + 0x28]
push 1
push eax
call fcn.004cf4e0
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.004cfb90
test eax, eax
jge 0x52309e
movzx ecx, byte [ebp]
movzx esi, byte [ecx + 0x5ebc8c]
jmp 0x522f68
jne 0x522f5d
movzx edx, byte [ebp]
movzx esi, byte [edx + 0x5ebc94]
jmp 0x522f68
test esi, esi
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
cmp dword [esp + 0x58], 0
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
test byte [ebp + 2], 1
jne 0x5230ed
xor ecx, ecx
mov dword [esp + 0x28], ecx
jmp 0x5230f9
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.0x522245.86
add edx, 0x14
mov dword [esp + 0x1c], edx
jmp 0x52312c
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x523135
mov ecx, dword [ecx + esi*4]
jmp 0x523137
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.004cfb90
mov dword [esp + 0x58], eax
test eax, eax
jne 0x523196
add dword [esp + 0x1c], 4
inc esi
cmp esi, dword [esp + 0x24]
jl 0x523128
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
cmp dword [esp + 0x2c], 0
je case.0x522245.86
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x44]
neg edx
mov dword [esp + 0x58], edx
add ebp, 0x14
jmp 0x522230
mov eax, dword [esp + 0x58]
test eax, eax
jge 0x5231da
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 0x522230
jne 0x5231f7
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 0x522230
mov ebp, dword [ebp + 0xc]
jmp 0x526ee0
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
push 2
lea ecx, [edi + eax*8]
call fcn.004b32a0
mov esi, eax
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
push 2
lea ecx, [edi + ecx*8]
call fcn.004b32a0
add esp, 8
cmp byte [ebp], 0x2c
jne 0x523237
lea edx, [eax + esi*2]
movzx eax, byte [esi + edx + 0x5ebc7c]
jmp 0x523242
lea eax, [eax + esi*2]
movzx eax, byte [esi + eax + 0x5ebcd8]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
lea edi, [edi + ecx*8]
cmp eax, 2
jne 0x523270
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 0x522230
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 0x522230
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
lea ecx, [edi + ecx*8]
call fcn.004b32a0
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.004b3620
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522230
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 0x523309
push 0
call fcn.004b32a0
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov eax, esi
call fcn.004b3620
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522230
mov eax, esi
call fcn.004b3560
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004b3560
test byte [esi + 8], 1
jne case.0x522245.86
mov edx, 4
mov ecx, esi
mov word [edi + 8], dx
call fcn.004b3210
not eax
not edx
mov dword [edi], eax
mov dword [edi + 4], edx
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
cmp dword [ebx + 0xc4], 0
je 0x5233ce
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 0x526edd
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 0x522230
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 4]
je 0x526edd
mov edi, dword [esp + 0x44]
mov edx, eax
mov eax, dword [edx + 4]
mov dword [ebp + 4], eax
add ebp, 0x14
jmp 0x522230
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
push ecx
lea ecx, [edi + edx*8]
call fcn.004b32a0
add esp, 4
test eax, eax
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004b32a0
add esp, 4
test eax, eax
je 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
test byte [edi + edx*8 + 8], 1
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
lea eax, [eax + eax*4]
test byte [edi + eax*8 + 8], 1
je 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov ecx, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov eax, dword [edx + ecx*4]
cmp byte [eax + 2], 0
je case.0x522245.86
mov eax, dword [ebp + 0xc]
lea ecx, [eax + eax*4]
lea eax, [edi + ecx*8]
call fcn.004b3560
jmp 0x526edd
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.005015e0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
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 0x5235c4
cmp byte [edi + 2], 0
je 0x52352f
cmp byte [edi], 3
jne 0x522798
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 0x523566
mov esi, dword [edi + 0x28]
mov ecx, esi
mov dword [esp + 0x18], esi
call fcn.004b2ac0
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x18]
lea esi, [edi + 0x54]
mov dword [edi + 0x50], edx
call fcn.004b2b60
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x50]
cmp eax, dword [ecx + 0x64]
ja 0x5262a1
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 0x523581
movzx ecx, al
mov dword [edx], ecx
mov eax, 1
jmp 0x52358f
mov esi, dword [esp + 0x1c]
call fcn.004adbf0
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 0x523660
xor eax, eax
mov dword [edi + 0x4c], eax
mov dword [edi + 0x54], eax
mov eax, dword [edx]
cmp eax, 0x18003
ja 0x52378b
cmp eax, dword [edi + 0x50]
ja 0x52378b
movzx ecx, word [edi + 0x3a]
mov eax, dword [esp + 0x64]
cmp ecx, eax
jg 0x523813
mov eax, dword [edi + 0x30]
cmp eax, dword [edx]
jae 0x5237b4
cmp dword [edi + 0x4c], 0
jne 0x523669
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.004eaf70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edx, dword [esp + 0x1bc]
mov dword [esp + 0x28], edx
jmp 0x523670
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x28], ecx
jmp 0x523670
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 0x5236ca
movzx eax, al
movzx eax, byte [eax + 0x5ebbd8]
cdq
inc ebx
add esi, eax
adc dword [esp + 0x7c], edx
mov dword [esp + 0x78], esi
jmp 0x5236f4
lea esi, [esp + 0x4c]
mov ecx, ebx
call fcn.004adbf0
movzx ecx, al
mov eax, dword [esp + 0x4c]
add ebx, ecx
call fcn.004b3f70
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 0x52371f
cmp ebx, dword [esp + 0x2c]
jb 0x5236a4
jmp 0x523725
cmp ebx, dword [esp + 0x2c]
jb 0x52373a
cmp ebx, dword [esp + 0x2c]
ja 0x52374b
mov eax, dword [edi + 0x50]
xor edx, edx
cmp esi, eax
jne 0x52374b
cmp dword [esp + 0x7c], edx
jne 0x52374b
mov edx, dword [edi + 0x50]
xor eax, eax
cmp dword [esp + 0x7c], eax
jb 0x52375a
ja 0x52374b
cmp esi, edx
jbe 0x52375a
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], 0
jne 0x523779
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 0x5237bc
lea eax, [esp + 0x1ac]
call fcn.004b3160
jmp 0x5237bc
cmp dword [edi + 0x4c], 0
jne 0x52378b
lea eax, [esp + 0x1ac]
call fcn.004b3160
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x52713c
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 0x522230
mov dword [esp + 0x4c], 0
movzx eax, word [edi + 0x3a]
mov esi, dword [esp + 0x64]
cmp eax, esi
jg 0x52381f
cmp byte [ebp + 1], 0xf5
jne 0x5237f7
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x24]
push 0x800
push ecx
push edx
call fcn.004b3760
mov ebx, dword [esp + 0x27c]
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522230
mov eax, dword [esp + 0x24]
call fcn.004b3560
mov ebx, dword [esp + 0x270]
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x523835
mov eax, ebx
call fcn.004b3560
mov edx, dword [edi + 0x54]
mov ecx, dword [esp + 0x1c]
cmp edx, dword [ecx + esi*4 + 4]
jb 0x523905
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 0x52387f
push ebx
mov edx, esi
call fcn.004b40a0
mov ebx, dword [esp + 0x274]
mov edi, dword [esp + 0x48]
add esp, 4
add ebp, 0x14
jmp 0x522230
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 0x5238bc
mov ecx, 1
push 0
push ebx
mov word [ebx + 8], cx
call fcn.004c53f0
add esp, 8
test eax, eax
jne 0x523aa1
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x24]
jmp 0x5238c2
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.00588f30
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 + 0x5ebce4]
add esp, 0xc
mov word [ebx + 8], cx
mov ebx, dword [esp + 0x270]
add ebp, 0x14
jmp 0x522230
mov dl, byte [esp + 0x3e]
mov byte [ebx + 0xa], dl
movzx eax, word [ebp + 2]
mov edx, dword [esp + 0x4c]
test al, 0xc0
je 0x523926
cmp edx, 0xc
jb 0x523922
test dl, 1
je 0x523931
test al, al
js 0x523931
mov eax, edx
call fcn.004b3f70
test eax, eax
jne 0x523952
push ebx
mov ecx, 0x641600
call fcn.004b40a0
mov ebx, dword [esp + 0x274]
mov edi, dword [esp + 0x48]
add esp, 4
add ebp, 0x14
jmp 0x522230
mov edx, dword [edi + 0x28]
push eax
mov eax, dword [ecx + esi*4]
push eax
mov eax, ebx
call fcn.004eaf70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0x10]
push esi
call fcn.004b40a0
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 0x522230
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.004d01b0
mov al, byte [esi + 1]
inc esi
add esp, 4
add edi, 0x28
test al, al
jne 0x5239b0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x523a50
mov al, byte [esi]
mov edi, ecx
mov ecx, dword [esp + 0x3e]
push ecx
mov ecx, edi
call fcn.004d01b0
mov al, byte [esi + 1]
inc esi
add esp, 4
add edi, 0x28
test al, al
jne 0x523a36
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
lea edx, [esp + 0xac]
push edx
push eax
mov edx, esi
call fcn.004b3e40
mov ecx, 0x4000
add esp, 8
mov edi, eax
test word [esi + 8], cx
je 0x523b06
test edi, edi
jne 0x523a88
lea edi, [eax + 0xa]
jmp 0x523b06
mov edx, dword [esp + 0x8c]
or edx, dword [esp + 0x90]
je 0x523aec
call fcn.004c55b0
test eax, eax
je 0x523b06
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x523ace
cmp byte [eax + 0x4a], 0
jne 0x523ace
cmp dword [eax + 0xb0], 0
mov byte [eax + 0x49], 1
jle 0x523ac8
mov dword [eax + 0x100], 1
inc dword [eax + 0x108]
mov esi, dword [esp + 0x270]
push 0x5e9cd0
call fcn.004d4f80
mov dword [esp + 0x14], 7
jmp 0x5262b5
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 0x523b28
mov eax, 1
jmp 0x523b33
push 0
push edi
call fcn.004adc70
add esp, 8
add dword [esp + 0x24], eax
mov dword [esi + 0x1c], edi
cmp esi, dword [esp + 0x20]
je 0x523b48
sub esi, 0x28
jmp 0x523a54
cmp dword [esp + 0x24], 0x7e
jle 0x523b76
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
call fcn.004adc70
mov esi, eax
mov eax, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 0x2c], eax
cdq
push edx
push eax
call fcn.004adc70
add esp, 0x10
cmp esi, eax
jge 0x523b7a
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 0x5262a1
jl 0x523bd0
cmp edi, eax
ja 0x5262a1
mov eax, esi
mov esi, dword [esp + 0x2c]
mov ecx, esi
call fcn.004c5550
test eax, eax
jne 0x523aa1
mov ecx, dword [esp + 0x24]
mov esi, dword [esi + 0x10]
mov dword [esp + 0x1c], esi
cmp ecx, 0x80
jae 0x523c01
mov byte [esi], cl
mov eax, 1
jmp 0x523c1d
mov eax, dword [esp + 0x118]
mov ecx, dword [esp + 0x114]
push eax
push ecx
call fcn.004ada20
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 0x523c54
mov edx, dword [esp + 0x28]
mov byte [edx + ecx], al
mov eax, 1
jmp 0x523c6a
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push 0
push edx
lea esi, [eax + ecx]
call fcn.004ada20
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.004b3fa0
add dword [esp + 0x24], eax
add esi, 0x28
mov dword [esp + 0x34], esi
cmp esi, dword [esp + 0x18]
jbe 0x523c30
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.0x522245.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 0x522230
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.004ea050
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x5262b8
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
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 0x523e1d
cmp dword [edi + 0xac], ecx
jg 0x526ef8
call fcn.004ad060
mov edx, dword [edi + 0x1c0]
add edx, dword [edi + 0x1bc]
mov dword [esp + 0x18], eax
push edx
push 0
push edi
call fcn.004b9240
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov eax, dword [esp + 0x18]
add eax, 0x21
push 0
push eax
mov eax, edi
call fcn.004bbee0
mov esi, eax
add esp, 8
test esi, esi
je 0x522e0f
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.00588f30
add esp, 0xc
cmp byte [edi + 0x47], 0
je 0x523ddf
mov byte [edi + 0x47], 0
mov byte [edi + 0x4f], 1
jmp 0x523de5
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 0x522e0f
mov esi, dword [edi + 0x1b4]
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], esi
test esi, esi
je 0x523e51
mov eax, dword [esp + 0x20]
mov ecx, dword [esi]
call fcn.004ad170
test eax, eax
je 0x523e72
mov esi, dword [esi + 0x18]
inc dword [esp + 0x28]
mov dword [esp + 0x24], esi
test esi, esi
jne 0x523e33
mov eax, dword [esp + 0x20]
push eax
push str.no_such_savepoint:__s
mov esi, ebx
call fcn.004d4f80
add esp, 8
mov dword [esp + 0x10], 1
jmp 0x5262b8
mov eax, dword [esp + 0x2c]
xor ecx, ecx
cmp dword [edi + 0xac], ecx
jle 0x523e89
cmp eax, 1
je 0x526f11
cmp dword [esi + 0x18], ecx
jne 0x523ee0
cmp byte [edi + 0x4f], 0
je 0x523ee0
mov dword [esp + 0x20], 1
cmp eax, 1
jne 0x523ee4
push eax
mov eax, ebx
call fcn.004d5850
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5274e9
mov esi, edi
mov edi, ebx
mov byte [esi + 0x47], 1
call fcn.005123d0
cmp eax, 5
je 0x52714f
mov byte [esi + 0x4f], 0
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x10], edx
mov edi, esi
jmp 0x523fc0
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 0x523f59
mov eax, dword [edi + 0x18]
and eax, 1
cmp dword [edi + 0x14], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
jle 0x523f5d
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.004f9250
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x10
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
jl 0x523f20
jmp 0x523f5d
mov dword [esp + 0x34], ecx
xor esi, esi
cmp dword [edi + 0x14], esi
mov dword [esp + 0x1c], esi
jle 0x523fa5
jmp 0x523f70
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.00505610
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov eax, dword [esp + 0x1c]
inc eax
add esi, 0x10
cmp eax, dword [edi + 0x14]
mov dword [esp + 0x1c], eax
jl 0x523f70
cmp dword [esp + 0x34], 0
je 0x523fc0
xor ecx, ecx
mov eax, edi
call fcn.004b4640
mov eax, edi
call fcn.004d8010
or dword [edi + 0x18], 1
mov eax, dword [esp + 0x24]
cmp dword [edi + 0x1b4], eax
je 0x52402c
lea esp, [esp]
cmp dword [edi + 0x1d8], 0
mov eax, dword [edi + 0x1b4]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x1b4], ecx
je 0x523ff1
mov ecx, edi
call fcn.004acbd0
jmp 0x52401a
cmp eax, dword [edi + 0x128]
jb 0x524011
cmp eax, dword [edi + 0x12c]
jae 0x524011
mov edx, dword [edi + 0x124]
mov dword [eax], edx
mov dword [edi + 0x124], eax
jmp 0x52401a
push eax
call fcn.004acb60
add esp, 4
mov eax, dword [esp + 0x24]
dec dword [edi + 0x1bc]
cmp dword [edi + 0x1b4], eax
jne 0x523fd0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp ecx, 1
jne 0x52405c
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x1b4], ecx
mov ecx, edi
call fcn.004acc50
cmp dword [esp + 0x20], 0
jne 0x522e0f
dec dword [edi + 0x1bc]
jmp 0x524090
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 0x524090
cmp ecx, 2
jne 0x522e0f
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push edi
call fcn.004b9240
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov dword [esp + 0xa8], 0
test eax, eax
je 0x5240de
test dword [esi + 0x1c], 0x100000
jne 0x527294
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x10]
shl ecx, 4
mov edi, dword [ecx + edx + 4]
test edi, edi
je 0x5241a0
lea ecx, [esp + 0xa8]
push ecx
push eax
push edi
call fcn.00505340
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5272a1
cmp dword [ebp + 8], eax
je 0x5241a0
test byte [ebx + 0x94], 0x80
je 0x5241a0
cmp byte [esi + 0x47], al
je 0x524135
cmp dword [esi + 0xa8], 1
jle 0x5241a0
cmp dword [ebx + 0x30], 0
jne 0x524152
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.004b9240
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x52417c
mov ecx, dword [ebx + 0x30]
push ecx
mov eax, edi
call fcn.004bfa80
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 0x5241d0
mov eax, dword [esp + 0xa8]
cmp eax, dword [ebp + 0xc]
jne 0x526f2a
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 0x526f2a
cmp dword [esp + 0x10], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004bfba0
add esp, 8
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
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.004c5150
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, 1
add esp, 8
cmp eax, ecx
jne 0x52426d
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
or dword [esi + 0x18], ecx
jmp 0x52427b
cmp eax, 2
jne 0x52427b
mov eax, dword [edi + 0xc]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x4c], dl
cmp dword [ebp + 4], ecx
jne 0x524290
xor ecx, ecx
mov eax, esi
call fcn.004b4640
and dword [ebx + 0x94], 0xfffffffc
cmp dword [esp + 0x10], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
mov edx, dword [ebx + 0x70]
mov esi, dword [edx + eax*4]
test esi, esi
je case.0x522245.109
mov eax, dword [esi + 0x34]
cmp eax, dword [ebp + 8]
je 0x5243c3
mov edx, dword [ebx + 0x94]
and dl, 3
cmp dl, 1
je 0x5272ce
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 0x524324
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 0x52432c
mov byte [ebx + 0x8f], al
jmp 0x52432c
mov dword [esp + 0x28], 0
test byte [ebp + 2], 0x10
je 0x524343
lea ecx, [edx + edx*4]
lea esi, [edi + ecx*8]
call fcn.004b3350
mov edx, dword [esi]
mov dword [esp + 0x18], edx
mov al, byte [ebp + 1]
cmp al, 0xf7
jne 0x52435b
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
movzx eax, word [eax + 8]
mov dword [esp + 0x20], eax
jmp 0x524366
cmp al, 0xfd
jne 0x524366
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.0050feb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x523aa1
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.004e6600
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 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.0050feb0
add esp, 0xc
test eax, eax
je 0x523aa1
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.004e6600
mov edi, dword [esp + 0x50]
add esp, 0xc
mov dword [esp + 0x10], eax
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 4]
push 0
push 0xffffffffffffffff
push eax
mov esi, ebx
call fcn.0050feb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x523aa1
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.004ff600
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
push eax
mov eax, dword [edi]
push 1
push eax
call fcn.00505340
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esi + 0x2c], eax
test eax, eax
je 0x52451a
movzx ecx, word [ebp + 2]
mov eax, dword [edi]
or ecx, 2
push ecx
lea edx, [esp + 0x128]
push edx
call fcn.00500d50
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x524514
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.004e6600
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 4], 0
jmp 0x524539
mov edx, dword [esi + 0x28]
mov ecx, dword [edi]
push edx
push 0
push 4
mov eax, 1
call fcn.004e6600
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 4], 1
cmp dword [esp + 0x10], 0
jne 0x5262b8
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 0x522230
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 4]
push 1
push 0xffffffffffffffff
push ecx
mov esi, ebx
call fcn.0050feb0
add esp, 0xc
test eax, eax
je 0x523aa1
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.004cc190
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
push 3
push 0xffffffffffffffff
push ecx
mov esi, ebx
call fcn.0050feb0
add esp, 0xc
test eax, eax
je 0x523aa1
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 0x522230
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx + eax*4]
push ebx
call fcn.0050fd90
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 0x522230
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 0x524733
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 0x524696
push 0
mov eax, edi
call fcn.004b5070
add esp, 4
mov ecx, edi
call fcn.004b3210
mov dword [esp + 0xdc], eax
movzx eax, word [edi + 8]
mov dword [esp + 0xe0], edx
test al, 4
jne 0x5246ee
test al, 8
je 0x526edd
fild qword [esp + 0xdc]
fcom qword [edi]
fnstsw ax
test ah, 0x41
jne 0x5246da
test byte [esp + 0x1c], 1
fstp st(0)
je 0x5246ee
dec dword [esp + 0x1c]
jmp 0x5246ee
fcomp qword [edi]
fnstsw ax
test ah, 5
jp 0x5246ee
test byte [esp + 0x1c], 1
jne 0x5246ee
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.004f9320
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 0x5262b8
xor edi, edi
jmp 0x5247c2
mov eax, dword [esi + 0x28]
test byte [eax + 3], 2
je 0x524744
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.004f9320
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
xor edi, edi
cmp dword [esp + 0x20], edi
je 0x5247c2
cmp byte [esp + 0x136], 0
je 0x524833
mov ecx, dword [esp + 0x1c]
cmp ecx, 0x18
mov eax, dword [esp + 0x48]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], edi
jl 0x52481a
cmp eax, edi
jl 0x5247e7
jne 0x5247e1
cmp ecx, 0x19
je 0x5247e7
mov dword [esp + 0x48], edi
jmp 0x52483f
mov eax, dword [esi + 0x28]
push edi
push eax
mov dword [esp + 0x50], edi
call fcn.005001b0
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x52483f
cmp eax, 0x65
jne 0x5262b8
mov dword [esp + 0x10], edi
mov dword [esp + 0x48], 1
jmp 0x526edd
cmp eax, edi
jg 0x524858
jne 0x524825
cmp ecx, 0x16
je 0x524858
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 0x526edd
xor edi, edi
cmp dword [esp + 0x20], edi
je case.0x522245.86
mov edi, dword [esp + 0x44]
add ebp, 0x14
add ebp, 0x14
jmp 0x522230
mov eax, dword [esi + 0x28]
push edi
push eax
mov dword [esp + 0x50], edi
call fcn.00500360
jmp 0x5247f5
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 0x522230
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov ecx, dword [eax + edx*4]
test byte [ecx + 8], 8
jne case.0x522245.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 0x5248ec
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 0x52493d
mov edx, 0x4000
test word [edi + 8], dx
je 0x524906
mov esi, edi
call fcn.004c55b0
test eax, eax
jne 0x523aa1
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0x2c]
call fcn.004c5ac0
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x523aa1
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.004b4240
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 0x52497c
xor eax, eax
xor ecx, ecx
cmp ax, word [esi + 8]
jae 0x52497c
mov eax, dword [esi + 4]
add eax, 8
lea ecx, [ecx]
test byte [eax], 1
jne 0x524977
movzx edi, word [esi + 8]
inc ecx
add eax, 0x28
cmp ecx, edi
jl 0x524960
mov edi, dword [esp + 0x20]
jmp 0x52497c
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.004f9320
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
add esp, 0x18
test eax, eax
je 0x5249ac
mov ecx, dword [esp + 0x14]
call fcn.004acc10
cmp dword [esp + 0x10], 0
jne 0x5262b8
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 0x5249f8
test eax, eax
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
test edi, edi
jne 0x526edd
test eax, eax
je 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.0x522245.31
movzx ecx, ax
mov dword [esp + 0x18], ecx
test al, 8
jne 0x524a43
test al, 2
je 0x524a48
push 1
mov eax, esi
call fcn.004b5070
add esp, 4
jmp 0x524a48
call fcn.004b32e0
movzx edx, word [esi + 8]
mov ax, word [esp + 0x18]
shr edx, 2
not edx
and edx, 1
mov word [esi + 8], ax
jne 0x526edd
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.004f9320
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 0x524aeb
cmp dword [ebp + 8], 0
jne 0x526edd
mov eax, 0x153e7
call fcn.004e1920
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
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.004b51e0
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 0x524be0
mov eax, dword [eax + 0x28]
lea edi, [esp + 0x98]
call fcn.004e6e50
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x98], eax
je 0x524ba3
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], eax
jmp 0x524be4
mov edi, dword [esi + 0x28]
mov ecx, edi
call fcn.004b2ac0
mov eax, dword [edi + 0x20]
mov dword [esp + 0x50], eax
mov edi, dword [edi + 0x24]
cmp edi, 0x7fffffff
mov dword [esp + 0x54], edi
jl 0x524bd0
jg 0x524bca
cmp eax, 0xffffffff
jb 0x524bd0
or dword [esi + 8], 2
jmp 0x524be4
add eax, 1
adc edi, 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
jmp 0x524be4
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x524c76
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x524c14
mov eax, dword [ecx + 4]
test eax, eax
je 0x524c09
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x524c00
mov eax, dword [ecx + 0x10]
lea edx, [edx + edx*4]
lea esi, [eax + edx*8]
jmp 0x524c1e
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
lea esi, [edx + ecx*8]
call fcn.004b3350
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x524c39
cmp ecx, 0x7fffffff
je 0x5272db
mov edx, dword [esp + 0x1c]
test byte [edx + 8], 2
jne 0x5272db
mov edx, dword [esp + 0x54]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x524c65
jl 0x524c5d
cmp dword [esp + 0x50], eax
jae 0x524c65
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 0x524cea
xor edi, edi
mov edi, edi
lea edx, [esp + 0x50]
push edx
push 8
call fcn.0052afe0
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.004f9320
add esp, 0x20
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
cmp dword [esp + 0x98], eax
jne 0x524ce6
inc edi
cmp edi, 0x64
jge 0x5272db
mov esi, dword [esp + 0x1c]
jmp 0x524c80
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 0x522230
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 0x524d4a
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 0x524d5d
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 0x524d8e
cmp dword [ecx + 0xe4], 0
je 0x524d8e
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 0x524d98
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x34], edi
test byte [ebp + 2], 1
je 0x524da1
inc dword [ebx + 0x2c]
test byte [ebp + 2], 0x20
je 0x524db4
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 0x524dd5
mov ecx, dword [esi + 0x20]
jmp 0x524dd7
xor ecx, ecx
mov edi, 0x4000
test word [edx + 8], di
je 0x524ded
mov edx, dword [edx]
mov dword [esp + 0x1f4], edx
jmp 0x524df8
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.005003a0
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x5262b8
mov eax, dword [esp + 0x20]
test eax, eax
je case.0x522245.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 0x522230
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 0x524eeb
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xe4], 0
je 0x524eeb
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 0x524ef5
cmp byte [esi + 4], 0
je 0x524ef5
mov edi, dword [esi + 0x28]
mov ecx, edi
call fcn.004b2ac0
mov edx, dword [edi + 0x20]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x24]
mov dword [esi + 0x44], eax
jmp 0x524ef5
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.00500760
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
cmp eax, ecx
jne 0x5262b8
test byte [esp + 0x34], 1
je case.0x522245.86
inc dword [ebx + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0xe4]
test eax, eax
je case.0x522245.86
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x24], 0x20
jne case.0x522245.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 0x522230
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 0x522230
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.004ecce0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
cmp dword [esp + 0xd4], eax
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004c68b0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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.004b2ac0
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x64]
ja 0x5262a1
push eax
push 0
mov eax, edi
mov edx, esi
call fcn.004eaf70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
cmp dword [ebp + 0xc], eax
jne case.0x522245.86
mov edx, 0x1000
test word [edi + 8], dx
je case.0x522245.86
mov eax, edi
call fcn.004cbc00
test eax, eax
jne 0x523aa1
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x5250d5
mov edi, dword [esp + 0x44]
mov edx, 1
mov word [esi + 8], dx
add ebp, 0x14
jmp 0x522230
cmp byte [edi + 3], 0
je 0x525109
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 0x522230
cmp byte [edi], 2
jne 0x52515a
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.004c5b10
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x5262b8
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 0x522230
mov eax, edi
call fcn.005015c0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
cmp byte [edi + 2], al
je 0x525187
mov edi, dword [esp + 0x44]
mov ecx, 1
mov word [esi + 8], cx
add ebp, 0x14
jmp 0x522230
mov edi, dword [edi + 0x28]
mov ecx, edi
call fcn.004b2ac0
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 0x522230
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.0x522245.86
mov esi, dword [eax + 0x28]
call fcn.004b2420
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x52521c
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je case.0x522245.86
lea edi, [esp + 0xe4]
call fcn.004e6e50
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 0x5262b8
cmp dword [ebp + 8], eax
jle case.0x522245.86
test ecx, ecx
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004e6e20
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
cmp dword [esp + 0xc4], eax
jne 0x526edd
push esi
call fcn.004b2bf0
add esp, 4
test edx, edx
jl case.0x522245.86
jg 0x5252b4
test eax, eax
jb case.0x522245.86
push edx
push eax
call fcn.004adf50
movsx ecx, ax
add esp, 8
cmp ecx, dword [ebp + 0xc]
jge case.0x522245.86
mov dword [esp + 0xc4], 1
jmp 0x526edd
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 0x52530d
mov ecx, esi
call fcn.004ecc90
mov dword [esp + 0x10], eax
jmp 0x525342
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], eax
call fcn.004e6e20
cmp word [ebp + 2], 0
mov dword [esp + 0x10], eax
je 0x525337
mov eax, dword [esp + 0x18]
cmp byte [eax], 0
jne 0x525337
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 0x5262b8
mov eax, dword [esp + 0xa4]
mov byte [esi + 2], al
test eax, eax
jne 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004c6820
add esp, 4
jmp 0x52539e
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 0x5253c5
mov byte [esi + 2], cl
movzx eax, word [ebp + 2]
inc dword [ebx + eax*4 + 0xa0]
lea eax, [ebx + eax*4 + 0xa0]
jmp case.0x522245.11
cmp eax, 0x65
jne 0x5262b8
mov dword [esp + 0x10], ecx
mov byte [esi + 2], 1
jmp 0x5269ee
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 0x5253fa
inc dword [ebx + 0x2c]
mov edx, 0x4000
test word [esi + 8], dx
je 0x52541a
call fcn.004c55b0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov ecx, dword [esp + 0x18]
cmp byte [ebp], 0x84
jne 0x52542d
push esi
mov eax, ecx
call fcn.004ec8a0
add esp, 4
jmp 0x525497
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 0x525472
mov ecx, dword [ecx + 0x20]
jmp 0x525474
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.005003a0
add esp, 0xc
mov dword [esi + 0x1c], 0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004f9320
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
cmp dword [esp + 0x120], eax
jne 0x525538
mov edi, dword [esp + 0x18]
mov al, 4
call fcn.00500760
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov esi, dword [ecx + eax*4]
mov eax, esi
call fcn.005015c0
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp eax, ecx
jne 0x5262b8
cmp byte [esi + 2], cl
jne 0x52560d
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.004eb8d0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
cmp byte [ebp], 0x87
jne 0x5255e5
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [edi + edx*8]
call fcn.004b3560
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004eb9f0
add esp, 8
test byte [ebp], 1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
je 0x525699
neg eax
jmp 0x52569a
inc eax
cmp dword [esp + 0x10], 0
mov dword [esp + 0x6c], eax
jne 0x5262b8
test eax, eax
jg 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x5272e8
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.00501070
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 0x5262b8
test esi, esi
je case.0x522245.86
mov edi, dword [ebp + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
call fcn.004b73b0
mov al, byte [esp + 0x18]
mov edi, dword [esp + 0x44]
inc al
mov byte [esp + 0x43], al
add ebp, 0x14
jmp 0x522230
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.00500da0
add esp, 4
cmp dword [ebp + 0xc], 0
mov dword [esp + 0x10], eax
je 0x5257cb
mov eax, dword [esp + 0xd8]
add dword [ebx + 0x2c], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5257cb
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 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
mov ecx, dword [ebx + 0x70]
mov eax, dword [ecx + eax*4]
cmp byte [eax], 1
jne 0x52580d
mov edx, dword [eax + 0x28]
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004c6050
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522230
mov ecx, dword [eax + 0x28]
mov eax, dword [ecx + 0x40]
mov ecx, dword [ecx + 8]
push 0
call fcn.00500da0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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.00500d50
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov eax, dword [esp + 0xcc]
mov edi, dword [esp + 0x44]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x522230
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.00527d00
dec byte [esi + 0x52]
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x525914
mov ecx, dword [esi + 0x10]
mov eax, edi
shl eax, 4
mov edx, dword [eax + ecx + 0xc]
push edx
call fcn.004d0810
and dword [esi + 0x18], 0xfffffff7
push 1
lea eax, [ebx + 0x6c]
push eax
push edi
push esi
call fcn.005283a0
or dword [esi + 0x18], 1
add esp, 0x14
and dword [ebx + 0x94], 0xfffffffc
mov dword [esp + 0x10], eax
jmp 0x5259ae
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.004d31d0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x526f88
push 0
lea ecx, [esp + 0x19c]
push ecx
push fcn.00521fc0
push edi
push esi
mov byte [esi + 0x9d], 1
mov dword [esp + 0x1b8], 0
call fcn.00527d00
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x52599e
mov edx, dword [esp + 0x1a4]
mov dword [esp + 0x10], edx
mov eax, edi
mov ecx, esi
call fcn.004acc10
mov byte [esi + 0x9d], 0
cmp dword [esp + 0x10], 0
je case.0x522245.86
mov eax, esi
call fcn.004d8010
cmp dword [esp + 0x10], 7
je 0x523aa1
jmp 0x5262b8
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
call fcn.004d7a90
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 4]
push ecx
call fcn.004ccb80
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522230
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
mov eax, dword [ebp + 4]
call fcn.004c7850
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522230
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 4]
push ecx
push edx
call fcn.004cda50
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522230
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.004ea9f0
mov dword [esp + 0x28], eax
add esp, 0x10
mov eax, edi
call fcn.004b3560
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x525ad5
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x523aa1
dec eax
cdq
sub dword [esi], eax
push fcn.004acb60
push 1
sbb dword [esi + 4], edx
push ecx
or eax, 0xffffffff
mov ecx, edi
call fcn.004cf5b0
add esp, 0xc
movzx ecx, byte [esp + 0x3e]
mov eax, edi
call fcn.004cf4c0
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x525b13
call fcn.004bfd50
test eax, eax
jne 0x523aa1
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov esi, dword [esi + 0x10]
push eax
push ecx
call fcn.004bd640
mov edi, dword [esp + 0x4c]
add esp, 8
add ebp, 0x14
jmp 0x522230
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 0x525b82
mov eax, dword [eax + 0x10]
lea esi, [esp + 0x140]
call fcn.004b03c0
test eax, eax
je 0x525b7e
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.004b3620
add esp, 8
jmp 0x5269ee
mov eax, dword [esp + 0x24]
call fcn.004b3560
jmp case.0x522245.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 0x525bbd
call fcn.004bfd50
test eax, eax
jne 0x523aa1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x525b13
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push ecx
push edx
push eax
mov eax, dword [esi + 0x10]
call fcn.004bd6d0
add esp, 0xc
test eax, eax
jne 0x526edd
mov eax, dword [esp + 0x18]
test eax, eax
jl case.0x522245.86
jmp 0x525b13
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 0x525c34
mov eax, dword [ebx + 0xc4]
mov ecx, dword [edi + 0x14]
test eax, eax
je 0x525c34
lea esp, [esp]
cmp dword [eax + 0x1c], ecx
je case.0x522245.86
mov eax, dword [eax + 4]
test eax, eax
jne 0x525c20
mov edx, dword [esp + 0x20]
mov ecx, dword [ebx + 0xcc]
mov eax, dword [esp + 0x14]
cmp ecx, dword [eax + 0x8c]
jge 0x5272fc
test byte [edx + 8], 0x10
jne 0x525d48
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add eax, ecx
mov dword [esp + 0x34], eax
test ecx, ecx
jne 0x525c69
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.004cb710
mov esi, eax
add esp, 8
test esi, esi
je 0x523aa1
mov eax, dword [esp + 0x20]
call fcn.004b3160
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], 0x4b3d00
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 0x525d4b
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 0x525d33
jmp 0x525d4b
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.00586030
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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.004b3760
mov edi, dword [esp + 0x50]
add esp, 0xc
add ebp, 0x14
jmp 0x522230
mov ecx, dword [esp + 0x14]
test dword [ecx + 0x1c], 0x80000
mov eax, dword [ebp + 8]
cdq
je 0x525e64
add dword [ecx + 0x1d0], eax
mov edi, dword [esp + 0x44]
adc dword [ecx + 0x1d4], edx
add ebp, 0x14
jmp 0x522230
cmp dword [ebp + 4], 0
je 0x525e82
add dword [ecx + 0x1c8], eax
mov edi, dword [esp + 0x44]
adc dword [ecx + 0x1cc], edx
add ebp, 0x14
jmp 0x522230
add dword [ebx + 0x40], eax
mov edi, dword [esp + 0x44]
adc dword [ebx + 0x44], edx
add ebp, 0x14
jmp 0x522230
cmp dword [ebp + 4], 0
je 0x525eb2
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c8]
or edx, dword [eax + 0x1cc]
jne case.0x522245.86
jmp 0x525ec2
mov edx, dword [ebx + 0x40]
or edx, dword [ebx + 0x44]
jne case.0x522245.86
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1d0]
or ecx, dword [eax + 0x1d4]
je 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
je 0x525f0c
mov eax, dword [ecx + 4]
test eax, eax
je 0x525efa
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x525ef1
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 0x525f19
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.004b3350
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
lea esi, [edi + ecx*8]
call fcn.004b3350
mov edx, dword [esp + 0x24]
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [edx + 4]
cmp ecx, esi
jg case.0x522245.86
mov ecx, edx
jl 0x525f52
mov edx, dword [ecx]
cmp edx, eax
jae case.0x522245.86
mov edi, dword [esp + 0x44]
mov dword [ecx], eax
mov dword [ecx + 4], esi
add ebp, 0x14
jmp 0x522230
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.0x522245.86
jg 0x525f85
test esi, esi
jbe case.0x522245.86
mov eax, dword [ebp + 0xc]
cdq
sub esi, eax
sbb ecx, edx
mov dword [edi], esi
mov dword [edi + 4], ecx
jmp 0x526edd
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.004b51e0
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 0x52601f
jg 0x525fd3
test ecx, ecx
jbe 0x52601f
mov eax, dword [edi]
mov edi, dword [edi + 4]
test edi, edi
jl 0x525fe2
jg 0x525fe6
test eax, eax
ja 0x525fe6
xor eax, eax
xor edi, edi
push edi
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.004adce0
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x52601f
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 0x522230
mov edi, dword [esp + 0x44]
mov dword [eax], 0xffffffff
mov dword [eax + 4], 0xffffffff
add ebp, 0x14
jmp 0x522230
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.0x522245.86
test ecx, ecx
jl 0x526edd
jg 0x526063
test eax, eax
jbe 0x526edd
sub eax, 1
sbb ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x526edd
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 0x52609a
jg 0x52608f
test ecx, ecx
jbe 0x52609a
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 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004bbee0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x523aa1
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 0x526179
mov ecx, eax
mov dword [esi + 8], ecx
movzx ecx, byte [esi + 0x19]
sub ecx, 1
js 0x526179
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 0x526164
mov eax, dword [esp + 0x18]
inc dword [eax + 0xc]
cmp dword [ebp + 4], 0
je 0x52619a
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 0x5261ac
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.0x522245.86
jle 0x5261e5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ecx
call fcn.004cfd20
push eax
push 0x5e35b8
mov esi, ebx
call fcn.004d4f80
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 0x526208
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x526204
lea ecx, [eax + eax*4]
push 0
push 1
lea eax, [edi + ecx*8]
call fcn.004b3620
add esp, 8
mov byte [esi + 0x18], 0
mov eax, dword [esi]
call fcn.004b3160
cmp dword [esp + 0x10], 0
mov edx, dword [esi]
mov eax, 1
mov word [edx + 8], ax
mov dword [esi + 0x14], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea edi, [edi + ecx*8]
test eax, eax
je 0x52626d
mov esi, dword [esp + 0x44]
lea edx, [eax + eax*4]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [esi + edx*8]
call fcn.004bfce0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
add esp, 4
lea edi, [esi + eax*8]
jmp 0x52627b
mov ecx, dword [ebp + 0x10]
mov eax, edi
call fcn.004b2f80
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x527315
movzx ecx, byte [esp + 0x3e]
mov eax, edi
call fcn.004cf4c0
mov ecx, edi
call fcn.004b3710
test eax, eax
je case.0x522245.86
push str.string_or_blob_too_big
mov esi, ebx
call fcn.004d4f80
mov dword [esp + 0x14], 0x12
add esp, 4
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x49], 0
je 0x5273b3
mov edi, 7
mov dword [esp + 0x10], edi
jmp 0x5273b7
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.004fe6d0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x526332
cmp eax, 5
jne 0x5262b8
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.004b3620
inc esi
add esp, 8
add edi, 0x28
cmp esi, 3
jl 0x526340
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x5263a2
mov esi, edx
cmp byte [edi + 0x10], 3
jae 0x5263be
mov eax, dword [edi + 0x40]
cmp dword [eax], 0
je 0x5263c2
cmp dword [edi + 0x4c], 0
jl 0x5263c2
jg 0x5263be
cmp dword [edi + 0x48], 0
jbe 0x5263c2
mov esi, dword [esp + 0x28]
cmp byte [edi + 0xf], 0
mov eax, 0x5d3001
jne 0x5263d3
mov eax, dword [edi + 0xa8]
cmp esi, 5
jne 0x5263f5
call fcn.004ad060
test eax, eax
je 0x5263ec
mov eax, edi
call fcn.004b1440
test eax, eax
jne 0x5263f5
mov esi, dword [esp + 0x28]
jmp 0x526474
mov ecx, dword [esp + 0x28]
cmp esi, ecx
je 0x526474
cmp ecx, 5
je 0x52640b
cmp esi, 5
jne 0x526474
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x47], 0
je 0x527330
cmp dword [eax + 0xa8], 1
jg 0x527330
cmp ecx, 5
jne 0x526444
mov ecx, eax
push ecx
mov eax, edi
call fcn.004ff320
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x52647b
mov eax, esi
jmp 0x52644c
cmp ecx, 4
jne 0x526453
lea eax, [ecx - 2]
mov ecx, edi
call fcn.00504f70
cmp dword [esp + 0x10], 0
jne 0x52647b
mov eax, dword [esp + 0x18]
xor edx, edx
cmp esi, 5
sete dl
inc edx
push edx
call fcn.005056c0
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x52647f
mov esi, dword [esp + 0x28]
mov eax, esi
mov ecx, edi
call fcn.00504f70
mov edx, dword [esp + 0x2c]
mov ecx, 0xa02
mov word [edx + 8], cx
cmp eax, 6
jne 0x52649e
xor eax, eax
jmp 0x5264a5
mov eax, dword [eax*4 + 0x5ec680]
mov esi, dword [esp + 0x2c]
mov dword [esi + 0x10], eax
call fcn.004ad060
movzx ecx, byte [esp + 0x3e]
mov dword [esi + 0xc], eax
mov eax, esi
mov byte [esi + 0xa], 1
call fcn.004cf4c0
cmp dword [esp + 0x10], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov esi, dword [esp + 0x14]
lea eax, [ebx + 0x6c]
push eax
mov eax, dword [ebp + 4]
call fcn.00521740
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004ffe80
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je case.0x522245.86
cmp eax, 0x65
jne 0x5262b8
mov dword [esp + 0x10], 0
jmp 0x526edd
cmp dword [ebp + 4], 0
mov ecx, dword [ebp + 8]
jne 0x526560
mov eax, dword [esp + 0x14]
call fcn.004b4640
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov edi, dword [esp + 0x44]
inc ecx
xor ecx, dword [ebx + 0x94]
and ecx, 3
xor dword [ebx + 0x94], ecx
add ebp, 0x14
jmp 0x522230
mov cl, byte [ebp + 0xc]
test cl, cl
jne 0x526594
mov edx, dword [esp + 0x14]
test dword [edx + 0x1c], 0x400
jne case.0x522245.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.004bfc70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je case.0x522245.86
cmp al, 6
jne 0x5262b8
mov ecx, dword [ebp + 0x10]
push ecx
push str.database_table_is_locked:__s
mov esi, ebx
call fcn.004d4f80
add esp, 8
jmp 0x5262b8
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
call fcn.004c9ae0
mov dword [esp + 0x10], eax
test edi, edi
je 0x5265fd
mov edi, dword [edi + 8]
push ebx
call fcn.004c5b10
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004cbc50
lea edx, [esp + 0x170]
push edx
mov dword [esp + 0x14], eax
call fcn.004cfd20
add esp, 4
test eax, eax
je 0x5266ae
lea ecx, [ebx + 0x6c]
push ecx
push eax
mov eax, dword [ebp + 4]
mov ecx, esi
call fcn.004de8f0
add esp, 8
mov dword [esp + 0x10], eax
lea eax, [esp + 0x170]
call fcn.004b3160
cmp dword [esp + 0x10], 0
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004c2ca0
dec dword [esi + 0xb4]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x94], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
test eax, eax
je 0x527375
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x527375
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.004c5b10
add esp, 0xc
cmp dword [esp + 0x10], 0
jne 0x5262b8
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.0050feb0
add esp, 0xc
test eax, eax
je 0x52735c
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 0x522230
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 0x5267f6
mov edi, dword [esp + 0x18]
add edx, 0x50
mov dword [edi + eax*4], edx
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x5267e7
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.004c5b10
add esp, 0x18
cmp dword [esp + 0x10], 0
jne 0x5262b8
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 0x526edd
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x52687f
mov eax, edi
call fcn.004b3560
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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 0x5268ed
mov eax, edi
call fcn.004b3560
mov ecx, 0x4001
mov word [edi + 8], cx
mov dword [edi], 0
jmp 0x526901
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.004c5b10
add esp, 0x10
cmp dword [esp + 0x15c], 0
jle 0x52695a
mov eax, dword [esp + 0x18]
push eax
call fcn.004cfd20
push eax
push 0x5e35b8
mov esi, ebx
call fcn.004d4f80
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.004cf4c0
mov ecx, esi
call fcn.004b3710
test eax, eax
jne 0x5262a1
cmp dword [esp + 0x10], eax
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + edx*4]
cmp byte [esi + 2], 0
jne case.0x522245.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.004c5b10
add esp, 8
cmp dword [esp + 0x10], 0
jne 0x5262b8
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 0x5269ee
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 0x527382
mov eax, dword [esp + 0x68]
cmp eax, dword [esp + 0x88]
jb case.0x522245.86
mov esi, dword [edi + 0x138]
test esi, esi
je case.0x522245.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 0x52706d
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
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.004cf4c0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
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 0x526abe
mov eax, dword [esp + 0x14]
and dword [eax + 0x1c], 0xfbffffff
mov edi, dword [esp + 0x18]
push ebx
call fcn.004c5b10
add esp, 4
jmp 0x524289
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x49], 0
jne 0x523aa1
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esp + 0x18], eax
test eax, eax
je 0x527375
mov edx, dword [eax]
test edx, edx
je 0x527375
cmp dword [edx + 0x34], 0
mov ecx, dword [ebp + 8]
je case.0x522245.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 0x526b2b
mov dword [esi + eax*4], edi
inc eax
add edi, 0x28
cmp eax, ecx
jl 0x526b20
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.004c5b10
add esp, 0x14
cmp dword [esp + 0x10], 0
jne 0x526b88
cmp dword [ebp + 4], 0
je 0x526b88
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 0x526bd6
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x10], 0
je 0x526bd6
movzx eax, word [ebp + 2]
cmp ax, 4
jne 0x526bb8
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], 0
add ebp, 0x14
jmp 0x522230
cmp ax, 5
jne 0x526bcb
mov eax, 2
mov byte [ebx + 0x8e], al
jmp 0x526bd9
movzx eax, ax
mov byte [ebx + 0x8e], al
jmp 0x526bd9
inc dword [ebx + 0x2c]
test ecx, ecx
jne 0x5262b8
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x522230
mov eax, ebp
mov edx, ebx
call fcn.004b51e0
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 0x526c53
mov edx, dword [eax + 4]
mov edx, dword [edx + 0x2c]
cmp edx, ecx
jae 0x526c53
mov edx, ecx
push edx
call fcn.004bf8f0
mov edi, dword [esp + 0x48]
cdq
add esp, 4
mov dword [esi], eax
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x522230
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.004bbee0
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x523aa1
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 0x526d19
movzx ecx, byte [esi + 0x19]
sub ecx, 1
mov dword [esi], eax
js 0x526d19
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 0x526d00
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 0x526da1
jle 0x526d70
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004cfd20
push eax
push 0x5e35b8
mov esi, ebx
call fcn.004d4f80
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.004b3d90
add esp, 0xc
cmp dword [esp + 0x10], 0
mov dword [esi + 0x14], 0
jne 0x5262b8
mov esi, dword [esp + 0x2c]
test byte [esi + 8], 0x12
je case.0x522245.86
movzx ecx, byte [esp + 0x3e]
mov eax, esi
call fcn.004cf4c0
mov ecx, esi
call fcn.004b3710
test eax, eax
jne 0x5262a1
mov edi, dword [esp + 0x44]
add ebp, 0x14
jmp 0x522230
mov ecx, dword [esp + 0x14]
mov cl, byte [ecx + 0x50]
test cl, 0x81
je 0x526e87
test byte [ebx + 0x94], 0x10
jne 0x526e87
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x526e08
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x526e87
push eax
test cl, cl
jns 0x526e36
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 0xc0]
mov ecx, ebx
call fcn.004d5d60
mov esi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc4]
push esi
push ecx
call edi
push esi
call fcn.004acb60
jmp 0x526e84
mov ecx, dword [esp + 0x18]
cmp dword [ecx + 0xb0], 1
jle 0x526e72
push 0x5f3738
mov edi, ecx
call fcn.004d31d0
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.004acc50
jmp 0x526e87
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 0x526ecf
cmp byte [ebp], 0xa9
je case.0x522245.86
mov esi, 1
xor edi, edi
cmp dword [ebx + 0x88], esi
mov edx, esi
jle 0x526eca
mov ecx, 0x14
mov edi, edi
mov eax, dword [ebx + 0x58]
add eax, ecx
cmp byte [eax], 0x11
jne 0x526ebd
mov dword [eax + 4], edi
add edx, esi
add ecx, 0x14
cmp edx, dword [ebx + 0x88]
jl 0x526eb0
mov dword [ebp + 4], edi
jmp 0x526ed4
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 0x522230
push str.cannot_open_savepoint___SQL_statements_in_progress
mov esi, ebx
call fcn.004d4f80
mov dword [esp + 0x14], 5
jmp 0x5262b5
push str.cannot_release_savepoint___SQL_statements_in_progress
mov esi, ebx
call fcn.004d4f80
mov dword [esp + 0x14], 5
jmp 0x5262b5
mov eax, dword [ebx + 0x6c]
mov ecx, esi
call fcn.004acc50
push str.database_schema_has_changed
mov eax, esi
call fcn.004c3a20
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 0x526f69
mov esi, dword [esp + 0x14]
call fcn.004d7fa0
mov eax, dword [ebx + 0x94]
and eax, 0xfffffffd
or eax, 1
mov dword [ebx + 0x94], eax
mov dword [esp + 0x10], 0x11
jmp 0x5262b8
mov dword [esp + 0x10], 7
jmp 0x5259b9
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 0x527026
movzx eax, word [ebp + 2]
mov esi, ebx
test ax, ax
je 0x526ff4
movzx eax, ax
mov ecx, dword [eax*4 + 0x5ebcac]
push ecx
push str._s_constraint_failed
call fcn.004d4f80
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x527005
mov edx, dword [ebx + 0x6c]
mov edi, dword [esp + 0x14]
push eax
push edx
push str._z:__s
call fcn.004d31d0
add esp, 0xc
mov dword [ebx + 0x6c], eax
jmp 0x527005
mov eax, dword [ebp + 0x10]
push eax
push 0x5e35b8
call fcn.004d4f80
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.004d3370
add esp, 0x14
mov edi, ebx
call fcn.005123d0
mov dword [esp + 0x10], eax
cmp eax, 5
jne 0x52723d
mov dword [ebx + 0x28], eax
jmp 0x5274e9
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x138]
test eax, eax
je 0x52707a
mov edx, dword [esp + 0x88]
cmp dword [esp + 0x68], edx
jb 0x52707a
mov ecx, dword [ecx + 0x13c]
push ecx
call eax
add esp, 4
test eax, eax
je 0x52707a
mov dword [esp + 0x10], 9
jmp 0x5262b8
push 0
mov eax, ebx
call fcn.004d5850
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5262b8
lea edx, [eax + 1]
mov eax, ebx
call fcn.00505c10
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 0x5270ea
jmp 0x5270c0
mov ecx, 0x1000
test word [edi + 8], cx
je 0x5270da
mov eax, edi
call fcn.004cbc00
test eax, eax
jne 0x523aa1
mov eax, edi
call fcn.004c5600
inc esi
add edi, 0x28
cmp esi, dword [ebp + 8]
jl 0x5270c0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x523aa1
test byte [eax + 0x50], 4
je 0x527115
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 0x5274e9
mov eax, 0x14d8a
call fcn.004e1920
mov dword [esp + 0x10], eax
jmp 0x5262b8
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 0x5274e9
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 0x527253
test ecx, ecx
je 0x5271b2
push 0x204
mov eax, esi
call fcn.0050fb80
add esp, 4
mov byte [esi + 0x47], 1
jmp 0x5271f9
test eax, eax
je 0x5271d8
cmp dword [esi + 0xac], 0
jle 0x5271d8
push str.cannot_commit_transaction___SQL_statements_in_progress
mov esi, ebx
call fcn.004d4f80
mov dword [esp + 0x14], 5
jmp 0x5262b5
push 1
mov eax, ebx
call fcn.004d5850
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5274e9
mov al, byte [esp + 0x18]
mov ecx, esi
mov byte [ecx + 0x47], al
mov edi, ebx
call fcn.005123d0
mov ecx, 5
cmp eax, ecx
jne 0x527238
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 0x5274e9
call fcn.004bb090
mov eax, dword [ebx + 0x28]
neg eax
sbb eax, eax
and eax, 0xffffff9c
add eax, 0x65
mov dword [esp + 0x10], eax
jmp 0x5274e9
test eax, eax
jne 0x527271
mov eax, str.cannot_start_a_transaction_within_a_transaction
push eax
mov esi, ebx
call fcn.004d4f80
mov dword [esp + 0x14], 1
jmp 0x5262b5
mov eax, str.cannot_rollback___no_transaction_is_active
test ecx, ecx
jne 0x52727f
mov eax, str.cannot_commit___no_transaction_is_active
push eax
mov esi, ebx
call fcn.004d4f80
mov dword [esp + 0x14], 1
jmp 0x5262b5
mov dword [esp + 0x10], 8
jmp 0x5262b8
mov ecx, dword [esp + 0x10]
cmp cl, 5
jne 0x5262b8
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 0x5274e9
mov dword [esp + 0x10], 0x204
jmp 0x5262b8
mov dword [esp + 0x10], 0xd
jmp 0x5262b8
mov dword [esp + 0x10], 6
mov byte [ebx + 0x8e], 2
jmp 0x5262b8
push str.too_many_levels_of_trigger_recursion
mov esi, ebx
mov dword [esp + 0x14], 1
call fcn.004d4f80
jmp 0x5262b5
push edi
call fcn.004cfd20
push eax
push 0x5e35b8
mov esi, ebx
call fcn.004d4f80
add esp, 0xc
jmp 0x5262b8
mov dword [esp + 0x10], 1
mov eax, str.into
cmp esi, 5
je 0x527347
mov eax, str.out_of
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
mov esi, ebx
call fcn.004d4f80
add esp, 8
jmp 0x5262b8
mov edx, dword [esp + 0x94]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1c]
push edx
call ecx
add esp, 4
jmp 0x523aa1
mov dword [esp + 0x10], 6
jmp 0x5262b8
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.004bb180
push eax
push 0x5e35b8
mov esi, ebx
call fcn.004d4f80
add esp, 8
jmp 0x5262b8
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x270]
cmp dword [ebx + 0x6c], 0
jne 0x527426
cmp edi, 0xc0a
je 0x527426
mov eax, edi
sub eax, 0x64
mov ecx, str.unknown_error
je 0x52740d
sub eax, 1
je 0x527406
sub eax, 0x19f
je 0x5273ff
mov eax, edi
and eax, 0xff
cmp eax, 0x1c
ja 0x527412
mov eax, dword [eax*4 + 0x5f0108]
test eax, eax
je 0x527412
mov ecx, eax
jmp 0x527412
mov ecx, str.abort_due_to_ROLLBACK
jmp 0x527412
mov ecx, str.no_more_rows_available
jmp 0x527412
mov ecx, str.another_row_available
push ecx
push 0x5e35b8
mov esi, ebx
call fcn.004d4f80
mov esi, dword [esp + 0x1c]
add esp, 8
mov dword [ebx + 0x28], edi
cmp edi, 0xc0a
je 0x52745c
mov eax, edi
and eax, 0xff
cmp eax, 0xe
je 0x527442
cmp eax, 0xa
jne 0x52745c
mov eax, dword [esi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x527457
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x527459
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.004d3370
add esp, 0x14
mov edi, ebx
call fcn.005123d0
cmp esi, 0xc0a
jne 0x5274cb
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x5274cb
cmp byte [eax + 0x4a], 0
jne 0x5274cb
cmp dword [eax + 0xb0], 0
mov byte [eax + 0x49], 1
jle 0x5274c5
mov dword [eax + 0x100], 1
inc dword [eax + 0x108]
cmp byte [esp + 0x43], 0
mov dword [esp + 0x10], 1
jbe 0x5274e9
movzx eax, byte [esp + 0x43]
mov esi, dword [esp + 0x14]
dec eax
call fcn.004d7fa0
mov ecx, dword [esp + 0x68]
add dword [ebx + 0xb0], ecx
cmp dword [ebx + 0x9c], 0
je 0x527505
push ebx
call fcn.004b3b40
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x25c
ret