Function at 0x4d708c
Capabilities:
Reference sql statements

Disassembly:
sub esp, 0x268
push ebx
push ebp
push esi
mov esi, dword [esp + 0x278]
mov ebp, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
push edi
mov edi, dword [esi]
mov cl, byte [edi + 0x46]
xor eax, eax
push esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov byte [esp + 0x53], al
mov byte [esp + 0x40], cl
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x1c], edx
call fcn.004cd440
add esp, 4
cmp dword [esi + 0x28], 7
je 0x4d50f3
xor eax, eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0x100]
mov dword [edi + 0x18c], eax
test ecx, ecx
jne 0x4d8bad
cmp dword [edi + 0x138], eax
je 0x4d3b43
mov edi, dword [edi + 0x140]
mov eax, dword [esi + 0xb0]
xor edx, edx
div edi
sub edi, edx
mov dword [esp + 0x9c], edi
jmp 0x4d3b4e
mov dword [esp + 0x9c], 0xffffffff
mov esi, dword [esi + 0x24]
lea edx, [esi + esi*4]
lea ebp, [ebp + edx*4]
jmp 0x4d3b60
mov cl, byte [ebp]
inc dword [esp + 0x70]
movzx eax, cl
cmp eax, 0xa9
ja case.0x4d3b75.86
jmp dword [eax*4 + 0x4d8ca4]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov edx, 4
mov word [ecx + 8], dx
mov edx, ebp
sub edx, dword [esp + 0x2c]
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 0x4d8704
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x2c]
lea ebp, [ecx + edx*4]
mov edx, 0x80
mov word [eax + 8], dx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + 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 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
lea eax, [ebp + ebp*4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
lea ecx, [ecx + ecx*4]
mov ecx, dword [edx + ecx*4 + 8]
lea ecx, [ecx + ecx*4]
lea ebp, [edx + ecx*4 - 0x14]
mov edx, 0x80
mov word [eax + 8], dx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov esi, dword [ecx]
mov edx, 4
sub ebp, edi
mov word [ecx + 8], dx
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
mov dword [ecx], eax
lea eax, [esi + esi*4]
lea ebp, [edi + eax*4]
mov dword [ecx + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
test byte [edx + ecx*8 + 8], 1
je case.0x4d3b75.86
mov esi, dword [esp + 0x27c]
mov ecx, ebp
sub ecx, dword [esp + 0x2c]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
cmp dword [ebp + 4], 0
jne 0x4d87bb
mov ecx, dword [esi + 0xc4]
test ecx, ecx
je 0x4d87bb
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x14]
dec dword [esi + 0xcc]
mov dword [esi + 0xc4], eax
mov eax, dword [esi + 0x2c]
add dword [edx + 0x60], eax
mov ebx, ecx
mov dword [edx + 0x5c], eax
call fcn.004cdf00
cmp dword [ebp + 8], 4
jne 0x4d3d03
mov edx, dword [esi + 0x58]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4 + 8]
dec eax
mov ebp, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x2c], ebp
lea edx, [eax + eax*4]
lea ebp, [ebp + edx*4]
mov dword [esp + 0x18], ecx
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
mov ecx, eax
mov eax, dword [ebp + 4]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
mov edx, 8
mov word [eax + 8], dx
mov ecx, dword [ebp + 0x10]
fld qword [ecx]
add ebp, 0x14
fstp qword [eax]
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, edi
mov byte [ebp], 0x48
call fcn.004ae490
mov bl, byte [esp + 0x3c]
mov dword [ebp + 4], eax
cmp bl, 1
je 0x4d3e0a
push 0
push 1
push edi
or eax, 0xffffffff
mov ecx, esi
call fcn.004cb4c0
mov dword [esp + 0x1c], eax
movzx ecx, bl
add esp, 0xc
mov eax, esi
call fcn.004ca6d0
test eax, eax
jne 0x4d50f3
mov edx, 0x800
or word [esi + 8], dx
mov bl, 0xf9
mov dword [esi + 0x18], eax
cmp byte [ebp + 1], bl
jne 0x4d3dfb
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
call fcn.004ab580
mov byte [ebp + 1], bl
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 0x4d7a49
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
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 + 0x3c]
mov dword [ecx + 0xc], edx
mov byte [ecx + 0xa], al
mov eax, dword [ebp + 0xc]
test eax, eax
jle case.0x4d3b75.86
mov edi, dword [esp + 0x18]
lea esi, [eax + eax*4]
movzx eax, word [ebp + 2]
mov edi, dword [edi + esi*8]
cdq
cmp edi, eax
jne case.0x4d3b75.86
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi*8 + 4]
cmp eax, edx
jne case.0x4d3b75.86
mov edx, 0xa10
mov word [ecx + 8], dx
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
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 ebx, ax
mov word [esi + 8], bx
mov dword [esi + 0xc], 0
test edi, edi
jle case.0x4d3b75.86
add esi, 0x28
mov eax, esi
call fcn.004cb160
dec edi
mov word [esi + 8], bx
mov dword [esi + 0xc], 0
test edi, edi
jg 0x4d3ec2
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
mov cx, word [eax + 8]
mov edx, 0xff61
and cx, dx
or cx, 1
mov word [eax + 8], cx
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
mov esi, eax
mov eax, dword [ebp + 0x10]
push 0
push 0
push eax
mov eax, dword [ebp + 4]
mov ecx, esi
call fcn.004cb4c0
mov cl, byte [esp + 0x48]
add esp, 0xc
mov byte [esi + 0xa], cl
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x27c]
mov ecx, dword [eax + 0x74]
lea esi, [ecx + edx*8 - 0x28]
mov ecx, esi
call fcn.004cb350
test eax, eax
jne 0x4d7a49
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
push 0x800
lea ecx, [eax + edx*8]
push esi
push ecx
call fcn.004cb3a0
add esp, 0xc
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov edi, dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea ebx, [ecx + edx*8]
lea esi, [ecx + eax*8]
mov eax, esi
call fcn.004cb480
mov ecx, 0x1000
test word [esi + 8], cx
je 0x4d3fc0
call fcn.004ca8c0
test eax, eax
jne 0x4d50f3
add ebx, 0x28
add esi, 0x28
sub edi, 1
jne 0x4d3fa1
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea edi, [ecx + edx*8]
lea esi, [ecx + eax*8]
lea esp, [esp]
push 0x1000
push edi
push esi
call fcn.004cb3a0
mov ecx, 0x1000
add esp, 0xc
test word [esi + 8], cx
je 0x4d4017
call fcn.004ca8c0
test eax, eax
jne 0x4d50f3
mov edx, ebx
dec ebx
test edx, edx
je case.0x4d3b75.86
add esi, 0x28
add edi, 0x28
jmp 0x4d3ff0
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea edx, [ecx + eax*8]
mov eax, dword [ebp + 8]
push 0x1000
lea eax, [eax + eax*4]
push edx
lea ecx, [ecx + eax*8]
push ecx
call fcn.004cb3a0
add esp, 0xc
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8 + 4]
mov eax, dword [ecx + eax*8]
push edx
push eax
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
call fcn.004cb220
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea edi, [eax + ecx*8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0xc]
lea esi, [eax + edx*8]
mov dl, byte [esi + 8]
lea ecx, [ecx + ecx*4]
lea ebx, [eax + ecx*8]
movzx eax, word [edi + 8]
or dl, al
test dl, 1
je 0x4d40bf
mov eax, ebx
call fcn.004cb160
add ebp, 0x14
jmp 0x4d3b60
test eax, 0x4000
je 0x4d40d5
mov eax, edi
call fcn.004ca910
test eax, eax
jne 0x4d50f3
mov eax, 0x4000
test word [esi + 8], ax
je 0x4d40ef
mov eax, esi
call fcn.004ca910
test eax, eax
jne 0x4d50f3
test byte [edi + 8], 0x12
jne 0x4d410e
mov ecx, dword [esp + 0x3c]
push 0
push ecx
mov eax, edi
call fcn.004ca980
add esp, 8
test eax, eax
jne 0x4d50f3
test byte [esi + 8], 0x12
jne 0x4d412d
mov edx, dword [esp + 0x3c]
push 0
push edx
mov eax, esi
call fcn.004ca980
add esp, 8
test eax, eax
jne 0x4d50f3
mov eax, dword [esi + 0xc]
add eax, dword [edi + 0xc]
cdq
mov dword [esp + 0x118], eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x64]
mov ecx, edx
cdq
cmp ecx, edx
jg 0x4d7a49
jl 0x4d415c
cmp dword [esp + 0x118], eax
ja 0x4d7a49
mov eax, dword [esp + 0x118]
xor ecx, ecx
cmp ebx, esi
sete cl
add eax, 2
push ecx
call fcn.004ca6f0
add esp, 4
test eax, eax
jne 0x4d50f3
mov dx, word [ebx + 8]
mov eax, 0x3e00
and dx, ax
or dx, 2
mov word [ebx + 8], dx
cmp ebx, esi
je 0x4d41aa
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
mov eax, dword [ebx + 0x10]
push ecx
push edx
push eax
call fcn.0058ff50
add esp, 0xc
mov ecx, dword [edi + 0xc]
mov eax, dword [ebx + 0x10]
mov edx, dword [edi + 0x10]
add eax, dword [esi + 0xc]
push ecx
push edx
push eax
call fcn.0058ff50
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0x124]
mov byte [eax + ecx], 0
mov edx, dword [ebx + 0x10]
mov byte [edx + eax + 1], 0
mov dl, byte [esp + 0x48]
mov ecx, 0x200
or word [ebx + 8], cx
add esp, 0xc
mov dword [ebx + 0xc], eax
mov byte [ebx + 0xa], dl
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ebx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea edi, [ebx + eax*8]
mov eax, edi
call fcn.004d3a20
movzx ecx, ax
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea esi, [ebx + edx*8]
mov eax, esi
mov dword [esp + 0x24], ecx
call fcn.004d3a20
movzx ecx, ax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea edx, [ebx + eax*8]
mov ax, word [esi + 8]
or ax, word [edi + 8]
mov dword [esp + 0x1c], ecx
and cl, byte [esp + 0x24]
mov dword [esp + 0x28], edx
movzx eax, ax
test cl, 4
je 0x4d4350
mov edx, dword [esi + 4]
mov ebx, dword [esi]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x6c], edx
movzx edx, byte [ebp]
add edx, 0xffffffa0
mov dword [esp + 0x68], ebx
mov byte [esp + 0x37], 1
cmp edx, 3
ja case.default.0x4d4270
jmp dword [edx*4 + 0x4d8f4c]
push ecx
push eax
lea eax, [esp + 0x70]
push eax
call fcn.004af6e0
add esp, 0xc
test eax, eax
jne 0x4d435d
jmp 0x4d4323
push ecx
push eax
lea edx, [esp + 0x70]
call fcn.004af780
add esp, 8
test eax, eax
jne 0x4d435d
jmp 0x4d4323
push ecx
push eax
lea ecx, [esp + 0x70]
push ecx
call fcn.004af7d0
add esp, 0xc
test eax, eax
jne 0x4d435d
jmp 0x4d4323
mov edx, eax
or edx, ecx
je 0x4d445f
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x4d42e5
test ebx, ebx
jne 0x4d42e5
cmp dword [esp + 0x6c], 0x80000000
je 0x4d435d
push ecx
push eax
mov eax, dword [esp + 0x74]
push eax
push ebx
call fcn.0058da80
jmp 0x4d431b
mov edx, eax
or edx, ecx
je 0x4d445f
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
jne 0x4d430e
mov eax, 1
xor ecx, ecx
push ecx
push eax
mov eax, dword [esp + 0x74]
push eax
push ebx
call fcn.0059ae70
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
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 0x4d3b60
test al, 1
jne 0x4d445f
mov byte [esp + 0x37], 0
mov edx, edi
call fcn.004cadf0
fstp qword [esp + 0x40]
mov edx, esi
call fcn.004cadf0
movzx eax, byte [ebp]
add eax, 0xffffffa0
cmp eax, 3
ja case.default.0x4d437b
jmp dword [eax*4 + 0x4d8f5c]
fadd qword [esp + 0x40]
jmp 0x4d43ff
fsub qword [esp + 0x40]
jmp 0x4d43ff
fmul qword [esp + 0x40]
jmp 0x4d43ff
fldz
fld qword [esp + 0x40]
fucom st(1)
fnstsw ax
fstp st(1)
test ah, 0x44
jnp 0x4d445b
fdivp st(1)
jmp 0x4d43ff
fld qword [esp + 0x40]
call fcn.0058d9b6
mov esi, eax
mov edi, edx
call fcn.0058d9b6
mov ecx, esi
or ecx, edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
je 0x4d445f
mov ecx, esi
and ecx, edi
cmp ecx, 0xffffffff
jne 0x4d43e1
mov esi, 1
xor edi, edi
push edi
push esi
push edx
push eax
call fcn.0059ae70
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], edx
fild qword [esp + 0x178]
sub esp, 8
fst qword [esp + 0x48]
fstp qword [esp]
call fcn.004ae450
add esp, 8
test eax, eax
jne 0x4d445f
mov esi, dword [esp + 0x28]
fld qword [esp + 0x40]
mov dx, word [esi + 8]
fstp qword [esi]
mov eax, 0x3e00
and dx, ax
mov al, byte [esp + 0x1c]
or al, byte [esp + 0x24]
or dx, 8
mov word [esi + 8], dx
test al, 8
jne case.0x4d3b75.86
cmp byte [esp + 0x37], 0
jne case.0x4d3b75.86
call fcn.004cae50
add ebp, 0x14
jmp 0x4d3b60
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x28]
call fcn.004cb160
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
test eax, eax
je case.0x4d3b75.86
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
push 0
push 0
lea eax, [edx + ecx*8]
call fcn.004cb220
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea esi, [eax + ecx*8]
mov ecx, dword [ebp + 8]
lea edx, [ecx + ecx*4]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
lea edx, [eax + edx*8]
lea eax, [eax + ecx*8]
mov cl, byte [edx + 8]
or cl, byte [esi + 8]
mov dword [esp + 0x28], eax
test cl, 1
je 0x4d44d4
call fcn.004cb160
add ebp, 0x14
jmp 0x4d3b60
call fcn.004cad70
mov edi, edx
mov edx, esi
mov ebx, eax
call fcn.004cad70
mov esi, eax
mov al, byte [ebp]
cmp al, 0x5c
jne 0x4d44f6
and ebx, esi
and edi, edx
jmp 0x4d45c6
cmp al, 0x5d
jne 0x4d4503
or ebx, esi
or edi, edx
jmp 0x4d45c6
mov ecx, esi
or ecx, edx
je 0x4d45c6
test edx, edx
jg 0x4d453b
jl 0x4d4517
test esi, esi
jae 0x4d4530
mov cl, 0xbd
sub cl, al
cmp edx, 0xffffffff
mov al, cl
jl 0x4d453b
jg 0x4d4529
cmp esi, 0xffffffc0
jbe 0x4d453b
neg esi
adc edx, 0
neg edx
test edx, edx
jl 0x4d455c
jg 0x4d453b
cmp esi, 0x40
jb 0x4d455c
test edi, edi
jg 0x4d4553
jl 0x4d4545
test ebx, ebx
jae 0x4d4553
cmp al, 0x5e
je 0x4d4553
or eax, 0xffffffff
cdq
mov ebx, eax
mov edi, edx
jmp 0x4d45c6
xor eax, eax
cdq
mov ebx, eax
mov edi, edx
jmp 0x4d45c6
cmp al, 0x5e
mov edx, edi
mov ecx, esi
mov eax, ebx
jne 0x4d457b
call fcn.0058de50
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
jmp 0x4d45b8
call fcn.005b3b30
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
test edi, edi
jg 0x4d45b8
jl 0x4d4598
test ebx, ebx
jae 0x4d45b8
mov ecx, 0x40
sub ecx, esi
or eax, 0xffffffff
or edx, 0xffffffff
call fcn.0058de50
or dword [esp + 0x90], eax
or dword [esp + 0x94], edx
mov ebx, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
mov eax, dword [esp + 0x28]
mov dx, word [eax + 8]
mov ecx, 0x3e00
and dx, cx
or dx, 4
mov dword [eax], ebx
mov dword [eax + 4], edi
mov word [eax + 8], dx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea esi, [eax + edx*8]
call fcn.004caec0
mov eax, dword [ebp + 8]
cdq
add dword [esi], eax
adc dword [esi + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
movzx eax, word [edx + ecx*8 + 8]
lea esi, [edx + ecx*8]
test al, 4
jne 0x4d465e
test al, 8
jne 0x4d463a
test al, 2
je 0x4d463f
push 1
mov eax, esi
call fcn.004d38a0
add esp, 4
jmp 0x4d463f
call fcn.004cae50
movzx eax, word [esi + 8]
test al, 4
jne 0x4d465e
cmp dword [ebp + 8], 0
jne 0x4d8704
mov dword [esp + 0x10], 0x14
jmp 0x4d7a65
and eax, 0x3e00
or eax, 4
mov word [esi + 8], ax
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
test byte [ecx + eax*8 + 8], 4
lea esi, [ecx + eax*8]
je case.0x4d3b75.86
call fcn.004caf20
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea esi, [eax + edx*8]
mov ecx, 0x4000
test word [esi + 8], cx
je 0x4d46bc
mov eax, esi
call fcn.004ca910
mov dword [esp + 0x10], eax
jmp 0x4d46c4
mov dword [esp + 0x10], 0
mov dl, byte [esp + 0x3c]
mov cl, byte [ebp + 8]
mov eax, esi
call fcn.004cb0b0
cmp dword [esp + 0x10], 0
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
movzx edi, word [ecx + eax*8 + 8]
lea esi, [ecx + eax*8]
lea ebx, [ecx + edx*8]
movzx edx, word [ebx + 8]
mov eax, edi
or eax, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], edi
test al, 1
je 0x4d478a
movzx eax, word [ebp + 2]
test al, al
jns 0x4d4749
mov cl, byte [esp + 0x28]
and cl, dl
test cl, 1
je 0x4d47f9
test edi, 0x100
jne 0x4d47f9
movzx edx, byte [ebp]
movzx edi, byte [edx + 0x5e47d4]
xor eax, eax
jmp 0x4d4809
test al, 0x20
je 0x4d477a
mov eax, dword [ebp + 8]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov cx, word [eax + 8]
mov edx, 0x3e00
and cx, dx
or cx, 1
mov dword [esp + 0x60], 1
mov word [eax + 8], cx
add ebp, 0x14
jmp 0x4d3b60
test al, 0x10
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov cl, byte [ebp + 2]
and cl, 0x47
cmp cl, 0x43
jl 0x4d4898
test al, 2
je 0x4d47d3
mov al, byte [esp + 0x20]
and al, 0xe
cmp al, 2
jne 0x4d47bb
push 0
mov eax, ebx
call fcn.004d38a0
movzx ecx, word [esi + 8]
add esp, 4
mov dword [esp + 0x28], ecx
mov dl, byte [esp + 0x28]
and dl, 0xe
cmp dl, 2
jne 0x4d47d3
push 0
mov eax, esi
call fcn.004d38a0
add esp, 4
mov al, byte [ebx + 8]
and al, byte [esi + 8]
test al, 4
je 0x4d490f
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 4]
cmp eax, ecx
mov edx, dword [esi]
mov edi, dword [ebx]
jl 0x4d4885
jg 0x4d47f9
cmp edx, edi
jbe 0x4d4873
mov eax, 1
movzx ecx, byte [ebp]
movzx edi, byte [ecx + 0x5e47dc]
mov dx, word [esp + 0x20]
mov cx, word [esp + 0x28]
mov word [ebx + 8], dx
mov word [esi + 8], cx
movzx edx, word [ebp + 2]
test dl, 0x20
je 0x4d4945
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
lea ecx, [esi + ecx*8]
mov dword [esp + 0x60], eax
test dl, 8
je 0x4d484f
xor edx, edx
cmp byte [ebp], 0x35
sete dl
cmp edx, edi
je case.0x4d3b75.86
mov ax, word [ecx + 8]
mov edx, 0x3e00
and ax, dx
or ax, 4
mov word [ecx + 8], ax
mov eax, edi
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebp, 0x14
jmp 0x4d3b60
cmp eax, ecx
jg 0x4d4737
jl 0x4d4885
cmp edx, edi
jae 0x4d4737
movzx ecx, byte [ebp]
movzx edi, byte [ecx + 0x5e47cc]
or eax, 0xffffffff
jmp 0x4d4809
cmp cl, 0x42
jne 0x4d490f
mov al, byte [esp + 0x20]
test al, 2
jne 0x4d48d6
test al, 0xc
je 0x4d48d6
mov ecx, dword [esp + 0x3c]
push 1
push ecx
mov eax, ebx
call fcn.004ca980
mov ax, word [esp + 0x28]
mov dx, word [ebx + 8]
xor dx, ax
mov ecx, 0x3e00
and dx, cx
add esp, 8
xor ax, dx
mov word [esp + 0x20], ax
mov al, byte [esp + 0x28]
test al, 2
jne 0x4d490f
test al, 0xc
je 0x4d490f
mov edx, dword [esp + 0x3c]
push 1
push edx
mov eax, esi
call fcn.004ca980
mov ax, word [esp + 0x30]
mov cx, word [esi + 8]
xor cx, ax
mov edx, 0x3e00
and cx, dx
add esp, 8
xor ax, cx
mov word [esp + 0x28], ax
mov edi, dword [ebp + 0x10]
mov eax, ebx
mov ecx, esi
call fcn.004cfd10
test eax, eax
jge 0x4d492f
movzx ecx, byte [ebp]
movzx edi, byte [ecx + 0x5e47cc]
jmp 0x4d4809
jne 0x4d47fe
movzx edx, byte [ebp]
movzx edi, byte [edx + 0x5e47d4]
jmp 0x4d4809
test edi, edi
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
cmp dword [esp + 0x60], 0
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
test byte [ebp + 2], 1
jne 0x4d4972
xor ecx, ecx
jmp 0x4d4978
mov ecx, dword [ebp - 4]
add ecx, 4
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x40], esi
xor esi, esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], eax
test edx, edx
jle case.0x4d3b75.86
lea edx, [eax + 0x14]
mov dword [esp + 0x24], edx
jmp 0x4d49b8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4d49c1
mov ecx, dword [ecx + esi*4]
jmp 0x4d49c3
mov ecx, esi
mov eax, dword [eax + 0x10]
mov edx, dword [esp + 0x24]
mov edi, dword [edx]
movzx edx, byte [eax + esi]
mov eax, dword [esp + 0x40]
add eax, ecx
add ecx, ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea eax, [edx + eax*8]
lea ecx, [edx + ecx*8]
call fcn.004cfd10
mov dword [esp + 0x60], eax
test eax, eax
jne 0x4d4a0d
add dword [esp + 0x24], 4
inc esi
cmp esi, dword [esp + 0x38]
jl 0x4d49b0
add ebp, 0x14
jmp 0x4d3b60
cmp dword [esp + 0x20], 0
je case.0x4d3b75.86
mov edx, dword [esp + 0x60]
neg edx
mov dword [esp + 0x60], edx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x60]
test eax, eax
jge 0x4d4a49
mov ebp, dword [ebp + 4]
mov ecx, dword [esp + 0x2c]
lea eax, [ebp + ebp*4]
lea ebp, [ecx + eax*4 - 0x14]
add ebp, 0x14
jmp 0x4d3b60
je 0x4d8704
mov ebp, dword [ebp + 0xc]
mov edx, dword [esp + 0x2c]
lea ecx, [ebp + ebp*4]
lea ebp, [edx + ecx*4 - 0x14]
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x18]
lea eax, [eax + eax*4]
push 2
lea edx, [edi + eax*8]
call fcn.004cae10
mov esi, eax
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
add esp, 4
push 2
lea edx, [edi + ecx*8]
call fcn.004cae10
add esp, 4
cmp byte [ebp], 0x2c
jne 0x4d4aa5
lea edx, [eax + esi*2]
movzx eax, byte [esi + edx + 0x5e47bc]
jmp 0x4d4ab0
lea eax, [eax + esi*2]
movzx eax, byte [esi + eax + 0x5e4818]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
lea ecx, [edi + ecx*8]
cmp eax, 2
jne 0x4d4ada
mov dx, word [ecx + 8]
mov eax, 0x3e00
and dx, ax
or dx, 1
mov word [ecx + 8], dx
add ebp, 0x14
jmp 0x4d3b60
cdq
mov dword [ecx + 4], edx
mov dx, word [ecx + 8]
mov dword [ecx], eax
mov eax, 0x3e00
and dx, ax
or dx, 4
mov word [ecx + 8], dx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
lea edx, [eax + eax*4]
push ecx
lea edx, [esi + edx*8]
call fcn.004cae10
xor eax, dword [ebp + 0x10]
add esp, 4
cdq
push edx
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea eax, [esi + eax*8]
call fcn.004cb220
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
test byte [ecx + edx*8 + 8], 1
mov eax, dword [ebp + 8]
lea edx, [ecx + edx*8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
jne 0x4d4b75
push 0
call fcn.004cae10
add esp, 4
neg eax
sbb eax, eax
inc eax
cdq
push edx
push eax
mov eax, esi
call fcn.004cb220
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
mov eax, esi
call fcn.004cb160
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, esi
lea edi, [ecx + edx*8]
call fcn.004cb160
test byte [edi + 8], 1
jne case.0x4d3b75.86
mov ecx, 4
mov edx, edi
mov word [esi + 8], cx
call fcn.004cad70
not eax
not edx
mov dword [esi], eax
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x27c]
mov edi, dword [eax + 0xc4]
test edi, edi
je 0x4d4c36
mov ecx, ebp
sub ecx, dword [eax + 0x58]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
and esi, 7
mov ebx, 1
mov ecx, esi
mov edx, eax
mov eax, dword [edi + 0x18]
shl ebx, cl
shr edx, 3
test byte [edx + eax], bl
jne 0x4d8704
mov ecx, eax
add edx, ecx
mov al, 1
mov ecx, esi
shl al, cl
or byte [edx], al
mov eax, dword [esp + 0x27c]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [eax + 0x58]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 4]
je 0x4d8704
mov eax, ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
push edx
lea edx, [ecx + eax*8]
call fcn.004cae10
add esp, 4
test eax, eax
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
xor edx, edx
cmp dword [ebp + 0xc], edx
lea eax, [eax + eax*4]
sete dl
push edx
lea edx, [ecx + eax*8]
call fcn.004cae10
add esp, 4
test eax, eax
je 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
test byte [eax + edx*8 + 8], 1
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
test byte [edx + ecx*8 + 8], 1
je 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [esp + 0x27c]
mov eax, dword [ebp + 4]
mov edx, dword [ecx + 0x70]
mov eax, dword [edx + eax*4]
cmp byte [eax + 2], 0
je case.0x4d3b75.86
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
call fcn.004cb160
jmp 0x4d8704
mov eax, dword [ebp + 4]
mov ebx, dword [esp + 0x27c]
mov ecx, dword [ebx + 0x70]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp + 8]
mov dword [esp + 0xf4], edx
lea ecx, [esp + 0x64]
lea edx, [esp + 0xf4]
mov dword [esp + 0x64], eax
call fcn.004cf430
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0xf4]
mov esi, dword [edi + 0x48]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov edx, dword [edi + 0x1c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], esi
cmp edx, dword [ebx + 0x20]
je 0x4d4e3b
cmp byte [edi + 2], 0
je 0x4d4da7
cmp byte [edi], 3
jne 0x4d40b2
mov eax, dword [edi + 0x20]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0xc]
lea ebx, [edi + 0x54]
mov dword [ebx], ecx
mov dword [edi + 0x50], ecx
mov ecx, dword [eax + 0x10]
mov dword [edi + 0x4c], ecx
jmp 0x4d4de0
mov esi, dword [edi + 0x28]
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.004c2920
mov edx, dword [esi + 0x2c]
mov ecx, dword [esp + 0x1c]
lea ebx, [edi + 0x54]
mov esi, ebx
mov dword [edi + 0x50], edx
call fcn.004c2f50
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x4c], eax
mov eax, dword [edi + 0x50]
cmp eax, dword [ecx + 0x64]
ja 0x4d7a49
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x20]
mov dword [edi + 0x1c], eax
mov ecx, dword [edi + 0x4c]
mov al, byte [ecx]
cmp al, 0x80
jae 0x4d4e02
movzx ecx, al
mov dword [esi], ecx
mov eax, 1
jmp 0x4d4e0a
call fcn.004af4c0
movzx eax, al
movzx edx, al
mov dword [edi + 0x30], edx
xor eax, eax
mov word [edi + 0x3a], ax
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jae 0x4d4edc
mov dword [edi + 0x4c], eax
mov dword [ebx], eax
mov eax, dword [esi]
cmp eax, 0x18003
ja 0x4d5007
cmp eax, dword [edi + 0x50]
ja 0x4d5007
movzx ecx, word [edi + 0x3a]
mov eax, dword [esp + 0x64]
cmp ecx, eax
jg 0x4d506c
mov edx, dword [edi + 0x30]
cmp edx, dword [esi]
jae 0x4d5025
cmp dword [edi + 0x4c], 0
jne 0x4d4ee5
xor eax, 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 dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], eax
mov dword [esp + 0x1dc], eax
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ecx
mov ecx, dword [edi + 0x28]
lea eax, [esp + 0x1c4]
xor ebx, ebx
call fcn.004cb790
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov edx, dword [esp + 0x1d0]
mov dword [esp + 0x24], edx
jmp 0x4d4eec
mov edx, dword [edi + 0x4c]
mov dword [esp + 0x24], edx
jmp 0x4d4eec
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x24], eax
movzx ecx, word [edi + 0x3a]
mov eax, dword [esp + 0x28]
mov esi, dword [eax + ecx*4]
mov edx, dword [esp + 0x24]
mov ebx, dword [edi + 0x30]
mov eax, dword [eax]
add ebx, edx
add eax, edx
lea edx, [edi + ecx*4 + 0x58]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], edx
movzx eax, byte [ebx]
mov dword [esp + 0x54], eax
cmp eax, 0x80
jae 0x4d4f46
movzx eax, al
movzx eax, byte [eax + 0x5e4718]
cdq
inc ebx
add esi, eax
adc dword [esp + 0x7c], edx
mov dword [esp + 0x78], esi
jmp 0x4d4f70
lea esi, [esp + 0x54]
mov ecx, ebx
call fcn.004af4c0
movzx ecx, al
mov eax, dword [esp + 0x54]
add ebx, ecx
call fcn.004cf5a0
add dword [esp + 0x78], eax
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x78]
adc dword [esp + 0x7c], 0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x54]
mov dword [eax], edx
add eax, 4
inc ecx
cmp ecx, dword [esp + 0x64]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [eax + ecx*4], esi
jg 0x4d4f9b
cmp ebx, dword [esp + 0x30]
jb 0x4d4f20
jmp 0x4d4fa1
cmp ebx, dword [esp + 0x30]
jb 0x4d4fb6
cmp ebx, dword [esp + 0x30]
ja 0x4d4fc7
mov eax, dword [edi + 0x50]
xor edx, edx
cmp esi, eax
jne 0x4d4fc7
cmp dword [esp + 0x7c], edx
jne 0x4d4fc7
mov edx, dword [edi + 0x50]
xor eax, eax
cmp dword [esp + 0x7c], eax
jb 0x4d4fd6
ja 0x4d4fc7
cmp esi, edx
jbe 0x4d4fd6
mov ecx, dword [esp + 0x28]
cmp dword [ecx], 0
jne 0x4d4ff5
mov ebx, dword [esp + 0x30]
xor ecx, ecx
sub ebx, dword [esp + 0x24]
mov word [edi + 0x3a], cx
mov dword [edi + 0x30], ebx
cmp dword [edi + 0x4c], 0
jne 0x4d502d
lea eax, [esp + 0x1c0]
call fcn.004cacc0
jmp 0x4d502d
cmp dword [edi + 0x4c], 0
jne 0x4d5007
lea eax, [esp + 0x1c0]
call fcn.004cacc0
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0xc]
test eax, eax
jle 0x4d896e
lea edx, [eax + eax*4]
lea ebp, [ecx + edx*4 - 0x14]
add ebp, 0x14
jmp 0x4d3b60
mov dword [esp + 0x54], 0
movzx eax, word [edi + 0x3a]
cmp eax, dword [esp + 0x64]
jg 0x4d5074
cmp byte [ebp + 1], 0xf5
jne 0x4d505b
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x20]
push 0x800
push ecx
push edx
call fcn.004cb3a0
add esp, 0xc
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x20]
call fcn.004cb160
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [edi + eax*4 + 0x58]
mov dword [esp + 0x54], eax
mov ebx, dword [esp + 0x20]
mov ecx, 0x2400
test word [ebx + 8], cx
je 0x4d508a
mov eax, ebx
call fcn.004cb160
mov edx, dword [edi + 0x54]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
cmp edx, dword [eax + ecx*4 + 4]
jb 0x4d5180
mov esi, dword [edi + 0x4c]
mov edx, ecx
add esi, dword [eax + edx*4]
mov edx, dword [esp + 0x54]
cmp edx, 0xc
jae 0x4d50c1
mov eax, ebx
mov ecx, esi
call fcn.004cf6e0
add ebp, 0x14
jmp 0x4d3b60
mov al, byte [esp + 0x3c]
lea edi, [edx - 0xc]
shr edi, 1
mov byte [ebx + 0xa], al
lea eax, [edi + 2]
cmp dword [ebx + 0x18], eax
mov dword [ebx + 0xc], edi
jge 0x4d513e
mov ebx, dword [esp + 0x20]
mov ecx, 1
push 0
mov word [ebx + 8], cx
call fcn.004ca6f0
add esp, 4
test eax, eax
je 0x4d5148
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x4d5120
cmp byte [eax + 0x4a], 0
jne 0x4d5120
cmp dword [eax + 0xb0], 0
mov byte [eax + 0x49], 1
jle 0x4d511a
mov dword [eax + 0x100], 1
inc dword [eax + 0x108]
mov esi, dword [esp + 0x27c]
push str.out_of_memory
call fcn.004cbf90
mov dword [esp + 0x14], 7
jmp 0x4d7a62
mov edx, dword [ebx + 0x14]
mov dword [ebx + 0x10], edx
mov ebx, dword [esp + 0x20]
mov eax, dword [ebx + 0x10]
push edi
push esi
push eax
call fcn.0058ff50
mov ecx, dword [ebx + 0x10]
mov eax, dword [esp + 0x60]
mov byte [edi + ecx], 0
mov edx, dword [ebx + 0x10]
and eax, 1
mov byte [edi + edx + 1], 0
mov ax, word [eax*2 + 0x5e4824]
add esp, 0xc
mov word [ebx + 8], ax
add ebp, 0x14
jmp 0x4d3b60
mov cl, byte [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov byte [ebx + 0xa], cl
movzx eax, word [ebp + 2]
test al, 0xc0
je 0x4d51a1
cmp edx, 0xc
jb 0x4d519d
test dl, 1
je 0x4d51ac
test al, al
js 0x4d51ac
mov eax, edx
call fcn.004cf5a0
test eax, eax
jne 0x4d51c0
mov eax, ebx
mov ecx, 0x640604
call fcn.004cf6e0
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
mov esi, dword [esp + 0x20]
mov ebx, dword [edx + ecx*4]
mov ecx, dword [edi + 0x28]
push eax
mov eax, esi
call fcn.004cb790
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov edx, dword [esp + 0x54]
mov ecx, dword [esi + 0x10]
mov eax, esi
call fcn.004cf6e0
mov edx, 0xefff
and word [esi + 8], dx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x3c]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov al, byte [esi]
mov edi, edi
push ebx
mov ecx, edi
call fcn.004d3930
mov al, byte [esi + 1]
inc esi
add esp, 4
add edi, 0x28
test al, al
jne 0x4d5220
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov eax, dword [ebp + 8]
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8 - 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x27c]
movzx eax, byte [eax + 0x8f]
xor edx, edx
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*8]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x28], ecx
cmp esi, edx
je 0x4d52c6
mov al, byte [esi]
mov edi, dword [esp + 0x3c]
jmp 0x4d52b0
push edi
mov ecx, ebx
call fcn.004d3930
mov al, byte [esi + 1]
inc esi
add esp, 4
add ebx, 0x28
test al, al
jne 0x4d52b0
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
mov edx, dword [esp + 0x38]
push edx
lea ebx, [esp + 0xb4]
mov edx, edi
call fcn.004cf480
mov ebx, eax
mov eax, 0x4000
add esp, 4
test word [edi + 8], ax
je 0x4d5339
test ebx, ebx
jne 0x4d52fe
mov ebx, 0xa
jmp 0x4d5339
mov ecx, dword [esp + 0xa0]
or ecx, dword [esp + 0xa4]
je 0x4d531f
mov eax, edi
call fcn.004ca910
test eax, eax
jne 0x4d50f3
jmp 0x4d5339
mov ecx, dword [edi]
mov eax, ecx
cdq
add dword [esp + 0x88], eax
adc dword [esp + 0x8c], edx
sub dword [esp + 0xb0], ecx
mov edx, dword [esp + 0xb0]
add dword [esp + 0xa0], edx
adc dword [esp + 0xa4], 0
cmp ebx, 0x7f
ja 0x4d535b
mov eax, 1
jmp 0x4d5366
push 0
push ebx
call fcn.004af540
add esp, 8
mov esi, dword [esp + 0x20]
add esi, eax
mov dword [esp + 0x20], esi
mov dword [edi + 0x1c], ebx
cmp edi, dword [esp + 0x40]
je 0x4d5381
sub edi, 0x28
jmp 0x4d52d0
cmp esi, 0x7e
jle 0x4d53a9
mov eax, esi
cdq
push edx
push eax
call fcn.004af540
mov edi, eax
add esi, edi
mov eax, esi
cdq
push edx
push eax
mov dword [esp + 0x30], esi
call fcn.004af540
add esp, 0x10
cmp edi, eax
jge 0x4d53ae
inc esi
mov dword [esp + 0x20], esi
mov eax, esi
cdq
mov edi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x64]
mov esi, edi
add esi, dword [esp + 0xa0]
mov ecx, edx
mov dword [esp + 0x234], ecx
adc ecx, dword [esp + 0xa4]
mov ebx, esi
add ebx, dword [esp + 0x88]
cdq
adc ecx, dword [esp + 0x8c]
mov dword [esp + 0x238], esi
cmp ecx, edx
jg 0x4d7a49
jl 0x4d53fd
cmp ebx, eax
ja 0x4d7a49
mov ebx, dword [esp + 0x28]
cmp dword [ebx + 0x18], esi
jge 0x4d5445
push 0
mov eax, esi
call fcn.004ca6f0
add esp, 4
test eax, eax
jne 0x4d50f3
mov esi, dword [ebx + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x38], esi
cmp ebx, 0x80
jae 0x4d5452
mov eax, 1
movzx eax, al
mov byte [esi], bl
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x24], eax
jmp 0x4d547c
mov ecx, dword [ebx + 0x14]
and word [ebx + 8], 0xd
mov dword [ebx + 0x10], ecx
jmp 0x4d541a
mov edx, dword [esp + 0x234]
push edx
push edi
call fcn.004af2f0
movzx eax, al
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x48]
add esp, 8
mov dword [esp + 0x24], eax
jmp 0x4d547c
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x38]
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x40], ecx
cmp ecx, 0x80
jae 0x4d5495
mov byte [eax + esi], cl
mov eax, 1
jmp 0x4d54a6
push 0
push ecx
add esi, eax
call fcn.004af2f0
mov ecx, dword [esp + 0x48]
add esp, 8
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
movzx eax, al
add dword [esp + 0x24], eax
lea edi, [esi + edx]
mov eax, ebx
call fcn.004cf5d0
add esi, eax
add ebx, 0x28
mov dword [esp + 0x30], esi
cmp ebx, dword [esp + 0x1c]
jbe 0x4d5474
mov ecx, dword [esp + 0x238]
mov eax, dword [esp + 0x28]
mov edx, 0x10
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x88]
mov word [eax + 8], dx
mov edx, ecx
or edx, dword [esp + 0x8c]
je case.0x4d3b75.86
mov dword [eax], ecx
mov ecx, 0x4010
mov word [eax + 8], cx
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [ebp + 4]
mov esi, dword [esp + 0x27c]
mov eax, dword [esi + 0x70]
mov ecx, dword [eax + edx*4]
mov eax, dword [ecx + 0x28]
lea edx, [esp + 0x100]
xor edi, edi
push edx
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
call fcn.004c7ea0
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x4d7a65
mov eax, ebp
mov edx, esi
call fcn.004d3a80
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x104]
mov dword [eax], ecx
mov dword [eax + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [ebp + 4]
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x4d563e
cmp dword [esi + 0xac], ecx
jg 0x4d871b
call fcn.004ae490
mov ebx, eax
mov eax, dword [esi + 0x1c0]
add eax, dword [esi + 0x1bc]
push eax
push 0
push esi
call fcn.005112d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
push eax
lea ecx, [ebx + 0x21]
push ecx
mov eax, esi
call fcn.004ab890
mov edi, eax
add esp, 8
test edi, edi
je 0x4d46d2
mov edx, dword [esp + 0x20]
inc ebx
push ebx
lea eax, [edi + 0x20]
push edx
push eax
mov dword [edi], eax
call fcn.0058ff50
add esp, 0xc
cmp byte [esi + 0x47], 0
je 0x4d5600
mov byte [esi + 0x47], 0
mov byte [esi + 0x4f], 1
jmp 0x4d5606
inc dword [esi + 0x1bc]
mov eax, dword [esi + 0x1b4]
mov dword [edi + 0x18], eax
mov ecx, dword [esi + 0x1c8]
mov dword [esi + 0x1b4], edi
mov dword [edi + 8], ecx
mov edx, dword [esi + 0x1cc]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x1d0]
mov dword [edi + 0x10], eax
mov ecx, dword [esi + 0x1d4]
mov dword [edi + 0x14], ecx
jmp 0x4d46d2
mov edi, dword [esi + 0x1b4]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edi
test edi, edi
je 0x4d5671
mov eax, dword [esp + 0x20]
mov ecx, dword [edi]
call fcn.004ae7e0
test eax, eax
je 0x4d5697
mov edi, dword [edi + 0x18]
inc ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], edi
test edi, edi
jne 0x4d5652
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x27c]
push ecx
push str.no_such_savepoint:__s
call fcn.004cbf90
add esp, 8
mov dword [esp + 0x10], 1
jmp 0x4d7a65
mov eax, dword [esp + 0x24]
xor ecx, ecx
cmp dword [esi + 0xac], ecx
jle 0x4d56ae
cmp eax, 1
je 0x4d8739
cmp dword [edi + 0x18], ecx
jne 0x4d5706
cmp byte [esi + 0x4f], 0
je 0x4d5706
mov dword [esp + 0x20], 1
cmp eax, 1
jne 0x4d570a
mov edi, dword [esp + 0x27c]
push eax
mov eax, edi
call fcn.004ceb70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d8c79
mov byte [esi + 0x47], 1
call fcn.004cebe0
cmp eax, 5
je 0x4d8981
mov byte [esi + 0x4f], 0
mov edx, dword [edi + 0x28]
mov dword [esp + 0x10], edx
jmp 0x4d57c0
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x1bc]
sub edx, ebx
dec edx
mov dword [esp + 0x30], edx
cmp eax, 2
jne 0x4d576b
mov eax, dword [esi + 0x18]
and eax, 1
xor ebx, ebx
cmp dword [esi + 0x14], ebx
mov dword [esp + 0x1c], eax
jle 0x4d576f
xor ecx, ecx
test eax, eax
sete cl
xor edi, edi
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + edi + 4]
push edx
push 0x204
push ecx
call fcn.004c23c0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
inc ebx
add edi, 0x10
cmp ebx, dword [esi + 0x14]
jl 0x4d573a
jmp 0x4d576f
mov dword [esp + 0x1c], ecx
xor ebx, ebx
cmp dword [esi + 0x14], ebx
jle 0x4d57a5
xor edi, edi
mov edx, dword [esp + 0x30]
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + edi + 4]
push edx
call fcn.004c2640
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
inc ebx
add edi, 0x10
cmp ebx, dword [esi + 0x14]
jl 0x4d5778
cmp dword [esp + 0x1c], 0
je 0x4d57c0
xor ecx, ecx
mov eax, esi
call fcn.004d0b00
mov eax, esi
call fcn.004ebfc0
or dword [esi + 0x18], 1
mov edi, dword [esp + 0x40]
cmp dword [esi + 0x1b4], edi
je 0x4d5828
or ebx, 0xffffffff
nop
cmp dword [esi + 0x1d8], 0
mov eax, dword [esi + 0x1b4]
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1b4], edx
je 0x4d57f1
mov ecx, esi
call fcn.004ab500
jmp 0x4d581a
cmp eax, dword [esi + 0x128]
jb 0x4d5811
cmp eax, dword [esi + 0x12c]
jae 0x4d5811
mov ecx, dword [esi + 0x124]
mov dword [eax], ecx
mov dword [esi + 0x124], eax
jmp 0x4d581a
push eax
call fcn.004ab490
add esp, 4
add dword [esi + 0x1bc], ebx
cmp dword [esi + 0x1b4], edi
jne 0x4d57d0
mov ebx, dword [esp + 0x24]
cmp ebx, 1
jne 0x4d5856
mov edx, dword [edi + 0x18]
mov eax, edi
mov ecx, esi
mov dword [esi + 0x1b4], edx
call fcn.004ab580
cmp dword [esp + 0x20], 0
jne 0x4d46d2
dec dword [esi + 0x1bc]
jmp 0x4d588a
cmp dword [esp + 0x20], 0
mov eax, dword [edi + 8]
mov dword [esi + 0x1c8], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x1cc], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x1d0], edx
mov eax, dword [edi + 0x14]
mov dword [esi + 0x1d4], eax
je 0x4d588a
cmp ebx, 2
jne 0x4d46d2
mov ecx, dword [esp + 0x30]
push ecx
push ebx
push esi
call fcn.005112d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov dword [esp + 0xac], 0
test eax, eax
je 0x4d58d0
test dword [esi + 0x1c], 0x100000
jne 0x4d8abb
mov edx, dword [ebp + 4]
mov ecx, dword [esi + 0x10]
shl edx, 4
mov ebx, dword [edx + ecx + 4]
test ebx, ebx
je 0x4d5997
lea edx, [esp + 0xac]
push edx
push eax
push ebx
call fcn.004c1610
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d8ac8
mov edi, dword [esp + 0x27c]
cmp dword [ebp + 8], eax
je 0x4d599e
test byte [edi + 0x94], 0x80
je 0x4d599e
cmp byte [esi + 0x47], al
je 0x4d592e
cmp dword [esi + 0xa8], 1
jle 0x4d599e
cmp dword [edi + 0x30], 0
jne 0x4d594b
inc dword [esi + 0x1c0]
mov eax, dword [esi + 0x1c0]
mov ecx, dword [esi + 0x1bc]
add ecx, eax
mov dword [edi + 0x30], ecx
mov edx, dword [edi + 0x30]
dec edx
push edx
push 0
push esi
call fcn.005112d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d5971
mov eax, dword [edi + 0x30]
mov ecx, ebx
call fcn.004c25e0
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x1c8]
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 0x1cc]
mov dword [edi + 0x4c], ecx
mov edx, dword [esi + 0x1d0]
mov dword [edi + 0x50], edx
mov eax, dword [esi + 0x1d4]
mov dword [edi + 0x54], eax
jmp 0x4d599e
mov edi, dword [esp + 0x27c]
cmp word [ebp + 2], 0
je 0x4d59ce
mov ecx, dword [esp + 0xac]
cmp ecx, dword [ebp + 0xc]
jne 0x4d8757
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0x10]
shl edx, 4
mov ecx, dword [edx + eax + 0xc]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0x10]
jne 0x4d8757
cmp dword [esp + 0x10], 0
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 4]
lea eax, [esp + 0x124]
push eax
mov eax, dword [esp + 0x18]
push ecx
mov ecx, dword [eax + 0x10]
shl edx, 4
mov eax, dword [edx + ecx + 4]
call fcn.004c7dd0
mov edx, dword [esp + 0x284]
add esp, 8
mov eax, ebp
call fcn.004d3a80
mov ecx, eax
mov eax, dword [esp + 0x124]
cdq
mov dword [ecx], eax
mov dword [ecx + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [ebp + 4]
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
shl esi, 4
add esi, dword [edi + 0x10]
push edx
push eax
mov eax, dword [esi + 4]
call fcn.004c7e30
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, 1
add esp, 8
mov dword [esp + 0x10], ebx
cmp eax, ecx
jne 0x4d5a6a
mov edx, dword [esi + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [edx], eax
or dword [edi + 0x18], ecx
jmp 0x4d5a78
cmp eax, 2
jne 0x4d5a78
mov edx, dword [esi + 0xc]
mov al, byte [ebp + 0xc]
mov byte [edx + 0x4c], al
cmp dword [ebp + 4], ecx
jne 0x4d5a94
xor ecx, ecx
mov eax, edi
call fcn.004d0b00
mov eax, dword [esp + 0x27c]
and dword [eax + 0x94], 0xfffffffc
test ebx, ebx
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, dword [ebp + 4]
mov esi, dword [edx + 0x70]
mov esi, dword [esi + eax*4]
test esi, esi
je 0x4d5acd
mov eax, dword [esi + 0x34]
cmp eax, dword [ebp + 8]
je 0x4d5bc3
jmp 0x4d5acd
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x94]
and al, 3
cmp al, 1
je 0x4d8afb
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x14]
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
mov eax, edi
shl eax, 4
add eax, dword [ebx + 0x10]
mov dword [esp + 0x1c], esi
mov ebx, dword [eax + 4]
mov dword [esp + 0x38], ebx
cmp cl, 0x6e
jne 0x4d5b29
movzx ebx, word [ebp + 2]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx + 0x4c]
and ebx, 8
or ebx, 4
cmp al, byte [edx + 0x8f]
jae 0x4d5b2b
mov byte [edx + 0x8f], al
jmp 0x4d5b2b
xor ebx, ebx
test byte [ebp + 2], 0x10
je 0x4d5b46
mov eax, dword [esp + 0x18]
lea edx, [esi + esi*4]
lea esi, [eax + edx*8]
call fcn.004caec0
mov ecx, dword [esi]
mov dword [esp + 0x1c], ecx
mov al, byte [ebp + 1]
cmp al, 0xf7
jne 0x4d5b5e
mov eax, dword [ebp + 0x10]
movzx edx, word [eax + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], edx
jmp 0x4d5b69
cmp al, 0xfd
jne 0x4d5b69
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x27c]
push 0
push edi
mov edi, dword [ebp + 4]
push ecx
call fcn.004d37c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4d50f3
mov edx, dword [esi + 0x28]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
or dword [esi + 8], 4
push edx
push edi
push ebx
mov byte [esi + 2], 1
mov dword [esi + 0x34], eax
call fcn.004c27b0
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 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esp + 0x27c]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 0x70]
mov ebx, dword [ecx + eax*4]
movsx edx, word [ebx + 0x38]
mov edi, dword [ebp + 4]
push 0
push 0xffffffffffffffff
push edx
call fcn.004d37c0
add esp, 0xc
test eax, eax
je 0x4d50f3
or dword [eax + 8], 1
mov byte [eax + 2], 1
mov ecx, dword [ebx + 0x2c]
mov dword [eax + 0x2c], ecx
mov dl, byte [ebx + 4]
mov ecx, dword [eax + 0x28]
mov byte [eax + 4], dl
mov edx, dword [eax + 0x2c]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
push 4
mov eax, 1
call fcn.004c27b0
add esp, 0xc
mov dword [esp + 0x10], eax
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x27c]
push 0
push 0xffffffffffffffff
push eax
call fcn.004d37c0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4d50f3
or dword [esi + 8], 1
mov edx, dword [esp + 0x14]
mov byte [esi + 2], 1
movzx ecx, word [ebp + 2]
mov eax, dword [edx]
push 0x41e
or ecx, 5
push ecx
lea edi, [esi + 0xc]
push 0
push eax
mov ecx, edi
call fcn.004c0500
add esp, 0x10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov ecx, dword [edi]
push eax
push 1
push ecx
call fcn.004c1610
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov ebx, dword [ebp + 0x10]
mov dword [esi + 0x2c], ebx
test ebx, ebx
je 0x4d5d0b
movzx edx, word [ebp + 2]
or edx, 2
push edx
lea eax, [esp + 0x130]
push eax
mov eax, dword [edi]
call fcn.004c7870
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d5d05
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x12c]
push ecx
mov ecx, dword [edi]
push ebx
push 4
call fcn.004c27b0
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 4], 0
jmp 0x4d5d2a
mov edx, dword [esi + 0x28]
mov ecx, dword [edi]
push edx
push 0
push 4
mov eax, 1
call fcn.004c27b0
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 4], 1
cmp dword [esp + 0x10], 0
jne 0x4d7a65
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 0x4d3b60
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x27c]
push 1
push 0xffffffffffffffff
push ecx
call fcn.004d37c0
add esp, 0xc
test eax, eax
je 0x4d50f3
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.004da400
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x27c]
mov ecx, dword [eax + 0x70]
mov eax, dword [ecx + 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 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 4]
mov esi, dword [esp + 0x27c]
push 3
push 0xffffffffffffffff
push edx
call fcn.004d37c0
add esp, 0xc
test eax, eax
je 0x4d50f3
mov byte [eax + 2], 1
mov ecx, dword [ebp + 8]
mov dword [eax + 0x20], ecx
mov byte [eax + 4], 1
mov dword [eax + 0x28], 0x64071b
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esp + 0x27c]
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + edx*4]
push esi
call fcn.004cde50
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x70]
add esp, 4
mov dword [edx + ecx*4], 0
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov ecx, dword [ebp + 4]
mov edx, dword [edx + 0x70]
mov esi, dword [edx + ecx*4]
cmp byte [esi + 4], 0
mov ebx, eax
mov dword [esp + 0x24], 0
mov byte [esi + 2], 0
je 0x4d5f27
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov dl, byte [ecx + eax*8 + 8]
lea edi, [ecx + eax*8]
and dl, 0xe
cmp dl, 2
jne 0x4d5e94
push 0
mov eax, edi
call fcn.004d38a0
add esp, 4
mov edx, edi
call fcn.004cad70
mov dword [esp + 0xe8], eax
movzx eax, word [edi + 8]
mov dword [esp + 0xec], edx
test al, 4
jne 0x4d5ee2
test al, 8
je 0x4d8704
fild qword [esp + 0xe8]
fcom qword [edi]
fnstsw ax
test ah, 0x41
jne 0x4d5ed3
fstp st(0)
test bl, 1
je 0x4d5ee2
dec ebx
jmp 0x4d5ee2
fcomp qword [edi]
fnstsw ax
test ah, 5
jp 0x4d5ee2
test bl, 1
jne 0x4d5ee2
inc ebx
mov ecx, dword [esp + 0xec]
mov edi, dword [esp + 0xe8]
mov edx, dword [esi + 0x28]
lea eax, [esp + 0x50]
push eax
push 0
push ecx
push edi
push 0
push edx
call fcn.004c3350
mov ecx, dword [esp + 0x104]
add esp, 0x18
mov dword [esp + 0x10], eax
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ecx
test eax, eax
jne 0x4d7a65
xor edi, edi
jmp 0x4d5fb5
mov edx, dword [esi + 0x28]
test byte [edx + 3], 2
je 0x4d5f38
mov dword [esp + 0x24], 1
mov eax, dword [esi + 0x2c]
mov cx, word [ebp + 0x10]
test bl, 1
sete dl
mov dword [esp + 0x138], eax
mov eax, dword [ebp + 0xc]
mov word [esp + 0x140], cx
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
xor edi, edi
lea edx, [edx + edx - 1]
mov byte [esp + 0x142], dl
lea edx, [ecx + eax*8]
lea eax, [esp + 0x50]
push eax
push edi
push edi
push edi
lea ecx, [esp + 0x148]
mov dword [esp + 0x14c], edx
mov byte [esp + 0x156], 0
mov edx, dword [esi + 0x28]
push ecx
push edx
call fcn.004c3350
add esp, 0x18
mov dword [esp + 0x10], eax
cmp eax, edi
jne 0x4d7a65
cmp dword [esp + 0x24], edi
je 0x4d5fb5
cmp byte [esp + 0x146], 0
je 0x4d6022
cmp ebx, 0x18
mov eax, dword [esp + 0x50]
mov byte [esi + 3], 0
mov dword [esi + 0x1c], edi
jl 0x4d6009
cmp eax, edi
jl 0x4d5fd6
jne 0x4d5fd0
cmp ebx, 0x19
je 0x4d5fd6
mov dword [esp + 0x50], edi
jmp 0x4d602c
mov eax, dword [esi + 0x28]
push edi
push eax
mov dword [esp + 0x58], edi
call fcn.004c39d0
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x4d602c
cmp eax, 0x65
jne 0x4d7a65
mov dword [esp + 0x10], edi
mov dword [esp + 0x50], 1
jmp 0x4d8704
cmp eax, edi
jg 0x4d6041
jne 0x4d6014
cmp ebx, 0x16
je 0x4d6041
mov ecx, dword [esi + 0x28]
xor edx, edx
cmp byte [ecx], dl
setne dl
mov dword [esp + 0x50], edx
cmp dword [esp + 0x50], edi
jne 0x4d8704
cmp dword [esp + 0x24], edi
je case.0x4d3b75.86
add ebp, 0x14
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esi + 0x28]
push edi
push eax
mov dword [esp + 0x58], edi
call fcn.004c3ba0
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x4d602c
cmp eax, 0x65
jmp 0x4d5ff2
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x70]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
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 0x4d3b60
mov eax, dword [esp + 0x27c]
mov edx, dword [ebp + 4]
mov ecx, dword [eax + 0x70]
mov edx, dword [ecx + edx*4]
test byte [edx + 8], 8
jne case.0x4d3b75.86
cmp dword [ebp + 0x10], 0
mov ecx, dword [esp + 0x27c]
mov eax, dword [ebp + 4]
mov edx, dword [ecx + 0x70]
mov edi, dword [edx + eax*4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
jle 0x4d60ee
mov edx, dword [edi + 0x2c]
mov ax, word [ebp + 0x10]
mov dword [esp + 0x244], ebx
mov dword [esp + 0x240], edx
mov word [esp + 0x248], ax
lea esi, [esp + 0x240]
xor ebx, ebx
jmp 0x4d6135
mov ecx, 0x4000
test word [ebx + 8], cx
je 0x4d6108
mov eax, ebx
call fcn.004ca910
test eax, eax
jne 0x4d50f3
mov esi, dword [edi + 0x2c]
call fcn.004cf890
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4d50f3
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
mov ecx, dword [edi + 0x2c]
push esi
push edx
push eax
push ecx
call fcn.004cf8f0
add esp, 0x10
mov ebx, esi
xor ecx, ecx
mov byte [esi + 0xa], 0
cmp byte [ebp], 0x1b
mov dword [esp + 0x1c], ecx
jne 0x4d616e
xor edx, edx
cmp dx, word [esi + 8]
jae 0x4d616e
mov eax, dword [esi + 4]
add eax, 8
test byte [eax], 1
jne 0x4d6166
movzx edx, word [esi + 8]
inc ecx
add eax, 0x28
cmp ecx, edx
jl 0x4d6153
jmp 0x4d616e
mov dword [esp + 0x1c], 1
mov ecx, dword [edi + 0x28]
lea eax, [esp + 0x128]
push eax
push 0
push 0
push 0
push esi
push ecx
call fcn.004c3350
add esp, 0x18
mov esi, eax
mov dword [esp + 0x10], esi
test ebx, ebx
je 0x4d619e
mov ecx, dword [esp + 0x14]
mov eax, ebx
call fcn.004ab540
test esi, esi
jne 0x4d7a65
mov ecx, dword [esp + 0x128]
xor eax, eax
test ecx, ecx
sete al
mov dl, 1
sub dl, al
mov dword [edi + 0x20], ecx
mov byte [edi + 2], dl
mov byte [edi + 3], 0
mov dword [edi + 0x1c], esi
cmp byte [ebp], 0x1d
jne 0x4d61db
test eax, eax
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
cmp dword [esp + 0x1c], 0
jne 0x4d8704
test eax, eax
je 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
movzx eax, word [esi + 8]
test al, 4
jne 0x4d6245
movzx edi, ax
test al, 8
jne 0x4d6224
test al, 2
je 0x4d6229
push 1
mov eax, esi
call fcn.004d38a0
add esp, 4
jmp 0x4d6229
call fcn.004cae50
movzx ecx, word [esi + 8]
shr ecx, 2
not ecx
and ecx, 1
mov word [esi + 8], di
jne 0x4d8704
jmp 0x4d6245
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x27c]
mov ecx, dword [eax + 0x70]
mov edx, dword [ebp + 4]
mov esi, dword [ecx + edx*4]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x28]
lea eax, [eax + eax*4]
mov edi, dword [ebx + eax*8]
mov ebx, dword [ebx + eax*8 + 4]
lea edx, [esp + 0xd4]
push edx
push 0
push ebx
push edi
push 0
push ecx
mov dword [esp + 0xec], 0
call fcn.004c3350
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xec]
add esp, 0x18
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], ebx
mov byte [esi + 2], 0
mov dword [esi + 0x1c], 0
mov byte [esi + 3], 0
mov dword [esi + 0x20], eax
test eax, eax
je 0x4d62c6
cmp dword [ebp + 8], 0
jne 0x4d8704
mov eax, 0x153e7
call fcn.005283d0
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esp + 0x27c]
mov eax, ebp
mov edx, esi
call fcn.004d3a80
mov ecx, dword [ebp + 4]
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov ecx, dword [ecx + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + edx*4]
add dword [eax + 0x10], 1
adc dword [eax + 0x14], 0
add ebp, 0x14
jmp 0x4d3b60
mov edi, dword [esp + 0x27c]
xor esi, esi
mov eax, ebp
mov edx, edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], esi
call fcn.004d3a80
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x70]
mov ebx, dword [edx + ecx*4]
test byte [ebx + 8], 2
mov dword [esp + 0x28], eax
jne 0x4d63b6
mov eax, dword [ebx + 0x28]
lea edi, [esp + 0x84]
call fcn.004c3310
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x4d7a65
cmp dword [esp + 0x84], esi
je 0x4d637c
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], esi
jmp 0x4d63b6
mov edi, dword [ebx + 0x28]
mov ecx, edi
call fcn.004c2920
mov eax, dword [edi + 0x20]
mov dword [esp + 0x58], eax
mov edi, dword [edi + 0x24]
cmp edi, 0x7fffffff
mov dword [esp + 0x5c], edi
jl 0x4d63a9
jg 0x4d63a3
cmp eax, 0xffffffff
jb 0x4d63a9
or dword [ebx + 8], 2
jmp 0x4d63b6
add eax, 1
adc edi, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edi
mov edx, dword [ebp + 0xc]
cmp edx, esi
je 0x4d6450
mov eax, dword [esp + 0x27c]
mov ecx, dword [eax + 0xc4]
cmp ecx, esi
je 0x4d63f4
mov eax, dword [ecx + 4]
cmp eax, esi
je 0x4d63e9
lea esp, [esp]
mov ecx, eax
mov eax, dword [ecx + 4]
cmp eax, esi
jne 0x4d63e0
mov eax, dword [ecx + 0x10]
lea edx, [edx + edx*4]
lea esi, [eax + edx*8]
jmp 0x4d63fe
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x18]
lea esi, [edx + ecx*8]
call fcn.004caec0
mov eax, dword [esi]
mov ecx, dword [esi + 4]
cmp eax, 0xffffffff
jne 0x4d6419
cmp ecx, 0x7fffffff
je 0x4d64b1
test byte [ebx + 8], 2
jne 0x4d64b1
mov edx, dword [esp + 0x5c]
add eax, 1
adc ecx, 0
cmp edx, ecx
jg 0x4d6441
jl 0x4d6439
cmp dword [esp + 0x58], eax
jae 0x4d6441
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x58]
mov dword [esi], eax
mov ecx, dword [esp + 0x5c]
mov dword [esi + 4], ecx
xor esi, esi
test byte [ebx + 8], 2
je 0x4d64be
xor edi, edi
lea edx, [esp + 0x58]
push edx
push 8
call fcn.004ada10
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
and eax, 0x3fffffff
add ecx, 1
lea edx, [esp + 0x8c]
push edx
adc eax, esi
push esi
push eax
push ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0x28]
push esi
push eax
call fcn.004c3350
add esp, 0x20
mov dword [esp + 0x10], eax
cmp eax, esi
jne 0x4d7a65
cmp dword [esp + 0x84], esi
jne 0x4d64be
inc edi
cmp edi, 0x64
jl 0x4d6458
mov dword [esp + 0x10], 0xd
jmp 0x4d7a65
mov eax, dword [esp + 0x28]
mov byte [ebx + 3], 0
mov dword [ebx + 0x1c], esi
mov ecx, dword [esp + 0x58]
mov dword [eax], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x27c]
mov esi, dword [esi + 0x70]
lea eax, [eax + eax*4]
lea ebx, [edx + eax*8]
mov eax, dword [ebp + 4]
mov esi, dword [esi + eax*4]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], ebx
cmp cl, 0x7a
jne 0x4d651a
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
mov dword [esp + 0x210], eax
mov edx, dword [edx + ecx*8 + 4]
jmp 0x4d6522
cdq
mov dword [esp + 0x210], eax
cmp byte [ebp + 1], 0xfa
mov edi, dword [esp + 0x14]
mov dword [esp + 0x214], edx
jne 0x4d6556
cmp dword [edi + 0xe4], 0
je 0x4d6556
movsx ecx, byte [esi + 1]
mov ebx, dword [edi + 0x10]
shl ecx, 4
mov ecx, dword [ecx + ebx]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x10]
jmp 0x4d655c
xor ecx, ecx
mov dword [esp + 0x40], ecx
test byte [ebp + 2], 1
mov dword [esp + 0x1c], ecx
je 0x4d6570
mov ecx, dword [esp + 0x27c]
inc dword [ecx + 0x2c]
test byte [ebp + 2], 0x20
je 0x4d657c
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], edx
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x218], edx
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x224], eax
movzx eax, word [ebp + 2]
test al, 0x10
je 0x4d659d
mov ecx, dword [esi + 0x20]
jmp 0x4d659f
xor ecx, ecx
mov edx, 0x4000
test word [ebx + 8], dx
je 0x4d65b7
mov edx, dword [ebx]
mov dword [esp + 0x228], edx
xor ebx, ebx
jmp 0x4d65c0
xor ebx, ebx
mov dword [esp + 0x228], ebx
and eax, 0xa
push ecx
push eax
lea eax, [esp + 0x210]
mov dword [esp + 0x210], ebx
push eax
mov eax, dword [esi + 0x28]
call fcn.004c6e80
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esi + 3], 0
mov dword [esi + 0x1c], ebx
cmp eax, ebx
jne 0x4d7a65
mov eax, dword [esp + 0x1c]
test eax, eax
je case.0x4d3b75.86
mov ecx, dword [esp + 0x214]
mov edx, dword [esp + 0x210]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov dl, byte [ebp + 2]
push eax
and dl, 4
movzx eax, dl
mov edx, dword [edi + 0xe4]
neg eax
sbb eax, eax
push ecx
mov ecx, dword [edi + 0xe0]
and eax, 5
add eax, 0x12
push eax
push ecx
call edx
add esp, 0x18
add ebp, 0x14
jmp 0x4d3b60
cmp byte [ebp + 1], 0xfa
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x27c]
mov ecx, dword [ebp + 4]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x70]
mov esi, dword [eax + ecx*4]
jne 0x4d66ac
cmp dword [edi + 0xe4], 0
je 0x4d66ac
movsx ecx, byte [esi + 1]
mov edx, dword [edi + 0x10]
mov ebx, dword [ebp + 0x10]
shl ecx, 4
test byte [ebp + 2], 2
mov eax, dword [ecx + edx]
mov dword [esp + 0x1c], eax
je 0x4d66b2
cmp byte [esi + 4], 0
je 0x4d66b2
mov ecx, dword [esi + 0x28]
mov dword [esp + 0x40], ecx
call fcn.004c2920
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x40], ecx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x44], edx
jmp 0x4d66b2
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov al, byte [ebp + 2]
mov ecx, dword [esi + 0x28]
call fcn.004c7250
xor ecx, ecx
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
cmp eax, ecx
jne 0x4d7a65
test byte [esp + 0x38], 1
je case.0x4d3b75.86
mov eax, dword [esp + 0x27c]
inc dword [eax + 0x2c]
mov eax, dword [edi + 0xe4]
test eax, eax
je case.0x4d3b75.86
test byte [ebx + 0x24], 0x20
jne case.0x4d3b75.86
mov ecx, dword [esi + 0x44]
mov edx, dword [esi + 0x40]
push ecx
mov ecx, dword [ebx]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [edi + 0xe0]
push edx
push 9
push ecx
call eax
add esp, 0x18
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x2c]
mov ecx, dword [esp + 0x14]
add dword [ecx + 0x60], eax
mov dword [ecx + 0x5c], eax
mov dword [edx + 0x2c], 0
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x27c]
mov edx, dword [ebp + 4]
mov ecx, dword [eax + 0x70]
mov eax, dword [ecx + edx*4]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + edx*8]
mov edx, dword [ebp + 0x10]
lea esi, [esp + 0xdc]
push esi
push edx
push ecx
mov dword [esp + 0xe8], 0
call fcn.004dcd10
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
cmp dword [esp + 0xdc], eax
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 8]
mov esi, dword [esp + 0x27c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea ecx, [eax + edx*8]
mov edx, dword [ebp + 4]
mov eax, dword [esi + 0x70]
mov eax, dword [eax + edx*4]
call fcn.004dcc70
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov ecx, dword [ebp + 0xc]
mov edx, dword [esi + 0x70]
mov eax, dword [edx + ecx*4]
mov dword [eax + 0x1c], 0
add ebp, 0x14
jmp 0x4d3b60
mov edi, dword [esp + 0x27c]
mov eax, ebp
mov edx, edi
call fcn.004d3a80
mov ecx, dword [ebp + 4]
mov edx, dword [edi + 0x70]
mov esi, eax
mov eax, dword [edx + ecx*4]
mov edi, dword [eax + 0x28]
mov ecx, edi
call fcn.004c2920
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 0x64]
ja 0x4d7a49
push eax
mov eax, esi
xor ebx, ebx
mov ecx, edi
call fcn.004cb790
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
cmp dword [ebp + 0xc], eax
jne case.0x4d3b75.86
mov edx, 0x1000
test word [esi + 8], dx
je case.0x4d3b75.86
call fcn.004ca8c0
test eax, eax
jne 0x4d50f3
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esp + 0x27c]
mov eax, ebp
mov edx, esi
call fcn.004d3a80
mov ecx, dword [esi + 0x70]
mov ebx, eax
mov eax, dword [ebp + 4]
mov esi, dword [ecx + eax*4]
cmp byte [esi + 2], 0
je 0x4d689a
mov edx, 1
mov word [ebx + 8], dx
add ebp, 0x14
jmp 0x4d3b60
cmp byte [esi + 3], 0
je 0x4d68b2
mov eax, dword [esi + 0x40]
mov dword [esp + 0xc0], eax
mov ecx, dword [esi + 0x44]
jmp 0x4d6945
cmp byte [esi], 2
jne 0x4d6905
mov esi, dword [esi + 0x28]
mov edi, dword [esi]
mov eax, dword [edi]
mov eax, dword [eax + 0x30]
lea edx, [esp + 0xc0]
push edx
push esi
call eax
mov ecx, dword [esp + 0x284]
mov esi, eax
push ecx
mov dword [esp + 0x1c], esi
call fcn.004d0c00
add esp, 0xc
test esi, esi
jne 0x4d7a65
mov edx, dword [esp + 0xc0]
mov dword [ebx], edx
mov eax, dword [esp + 0xc4]
mov dword [ebx + 4], eax
add ebp, 0x14
jmp 0x4d3b60
mov eax, esi
call fcn.004cf410
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
cmp byte [esi + 2], al
je 0x4d692e
mov edx, 1
mov word [ebx + 8], dx
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esi + 0x28]
mov ecx, esi
call fcn.004c2920
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc0], eax
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0xc0]
mov dword [esp + 0xc4], ecx
mov dword [ebx], edx
mov eax, dword [esp + 0xc4]
mov dword [ebx + 4], eax
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x70]
mov eax, dword [eax + ecx*4]
cmp byte [eax], 0
mov byte [eax + 2], 1
mov dword [eax + 0x1c], 0
jne case.0x4d3b75.86
mov esi, dword [eax + 0x28]
call fcn.004bec80
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x27c]
mov eax, dword [eax + 0x70]
mov edx, dword [ebp + 4]
mov esi, dword [eax + edx*4]
mov eax, dword [esi + 0x28]
mov dword [esp + 0xe0], 0
cmp cl, 0x83
jne 0x4d69ce
mov dword [esi + 0x20], 0xffffffff
cmp byte [eax], 0
je case.0x4d3b75.86
lea edi, [esp + 0xe0]
call fcn.004c3310
mov ecx, dword [esp + 0xe0]
mov dword [esp + 0x10], eax
mov byte [esi + 2], cl
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x4d7a65
cmp dword [ebp + 8], eax
jle case.0x4d3b75.86
test ecx, ecx
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x70]
mov ecx, dword [ebp + 4]
mov ecx, dword [eax + ecx*4]
mov esi, dword [ecx + 0x28]
lea edi, [esp + 0xd8]
mov eax, esi
call fcn.004c32d0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
cmp dword [esp + 0xd8], eax
jne 0x4d8704
push esi
call fcn.004c3880
add esp, 4
test edx, edx
jl case.0x4d3b75.86
jg 0x4d6a69
test eax, eax
jb case.0x4d3b75.86
push edx
push eax
call fcn.004af950
movsx edx, ax
add esp, 8
cmp edx, dword [ebp + 0xc]
jge case.0x4d3b75.86
mov dword [esp + 0xd8], 1
jmp 0x4d8704
mov eax, dword [esp + 0x27c]
inc dword [eax + 0xa8]
jmp 0x4d6aa5
mov eax, dword [esp + 0x27c]
mov ecx, dword [ebp + 4]
mov edx, dword [eax + 0x70]
mov esi, dword [edx + ecx*4]
cmp byte [esi], 1
mov dword [esp + 0xb4], 1
lea edi, [esp + 0xb4]
jne 0x4d6ad2
mov ecx, esi
call fcn.004dcb40
mov dword [esp + 0x10], eax
jmp 0x4d6b01
mov ebx, dword [esi + 0x28]
mov eax, ebx
call fcn.004c32d0
cmp word [ebp + 2], 0
mov dword [esp + 0x10], eax
je 0x4d6af6
cmp byte [ebx], 0
jne 0x4d6af6
mov byte [ebx], 2
mov dword [ebx + 4], 1
mov byte [esi + 3], 0
mov dword [esi + 0x1c], 0
cmp dword [esp + 0x10], 0
jne 0x4d7a65
mov eax, dword [esp + 0xb4]
mov byte [esi + 2], al
test eax, eax
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x27c]
mov ecx, dword [edi + 0x70]
mov esi, dword [ecx + eax*4]
mov edx, dword [esp + 0x14]
push edx
mov eax, esi
call fcn.004dcb90
add esp, 4
mov dword [esp + 0x10], eax
jmp 0x4d6b6f
mov eax, dword [ebp + 4]
mov edi, dword [esp + 0x27c]
mov ecx, dword [edi + 0x70]
mov esi, dword [ecx + eax*4]
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x28]
mov ecx, dword [ebp + 0x10]
push edx
push eax
call ecx
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esi + 0x1c], 0
test eax, eax
jne 0x4d6b94
mov byte [esi + 2], al
movzx edx, word [ebp + 2]
inc dword [edi + edx*4 + 0xa0]
lea eax, [edi + edx*4 + 0xa0]
jmp case.0x4d3b75.11
cmp eax, 0x65
jne 0x4d7a65
mov dword [esp + 0x10], 0
mov byte [esi + 2], 1
jmp 0x4d81e1
test byte [ebp + 2], 1
mov ecx, dword [esp + 0x27c]
mov eax, dword [ebp + 4]
mov edx, dword [ecx + 0x70]
mov edi, dword [edx + eax*4]
mov eax, dword [ebp + 8]
mov ebx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
je 0x4d6bd4
inc dword [ecx + 0x2c]
mov ecx, 0x4000
test word [esi + 8], cx
je 0x4d6bf2
mov eax, esi
call fcn.004ca910
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
cmp byte [ebp], 0x84
jne 0x4d6c05
push esi
mov eax, edi
call fcn.004db630
add esp, 4
jmp 0x4d6c6b
mov eax, dword [esi + 0xc]
cdq
mov dword [esp + 0x258], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
mov dword [esp + 0x25c], edx
mov edx, dword [esi + 0x10]
lea ecx, [ebx + eax*8]
movzx eax, word [ebp + 2]
mov dword [esp + 0x250], edx
mov dx, word [ebp + 0x10]
mov dword [esp + 0x264], ecx
mov word [esp + 0x268], dx
test al, 0x10
je 0x4d6c4a
mov ecx, dword [edi + 0x20]
jmp 0x4d6c4c
xor ecx, ecx
and eax, 0xa
push ecx
push eax
lea eax, [esp + 0x258]
push eax
mov eax, dword [edi + 0x28]
call fcn.004c6e80
add esp, 0xc
mov dword [edi + 0x1c], 0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, dword [edx + 0x70]
mov ecx, dword [ebp + 4]
mov esi, dword [eax + ecx*4]
mov ecx, dword [esi + 0x2c]
mov edi, dword [esi + 0x28]
mov dx, word [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [esp + 0x1f8], ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov word [esp + 0x200], dx
lea edx, [ecx + eax*8]
lea eax, [esp + 0x134]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x208]
push ecx
push edi
mov byte [esp + 0x21a], 0
mov dword [esp + 0x214], edx
call fcn.004c3350
add esp, 0x18
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
cmp dword [esp + 0x134], eax
jne 0x4d6d0d
mov al, 4
mov ecx, edi
call fcn.004c7250
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
add ebp, 0x14
jmp 0x4d3b60
mov edi, dword [esp + 0x27c]
mov eax, dword [edi + 0x70]
mov edx, dword [ebp + 4]
mov esi, dword [eax + edx*4]
mov eax, esi
call fcn.004cf410
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
cmp byte [esi + 2], al
jne 0x4d6ddc
mov edx, dword [esp + 0x14]
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0xb8]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
call fcn.004d08c0
add esp, 8
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x4d7a65
cmp byte [ebp], 0x87
jne 0x4d6db8
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx + eax*4]
mov edx, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov byte [eax + 2], bl
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], ecx
mov byte [eax + 3], 1
mov edx, dword [ebp + 0x10]
mov dword [eax + 0x18], edx
mov dword [eax + 0x24], esi
add ebp, 0x14
jmp 0x4d3b60
mov eax, ebp
mov edx, edi
call fcn.004d3a80
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov dword [eax], ecx
mov dword [eax + 4], edx
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*8]
call fcn.004cb160
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [ebp + 4]
mov eax, dword [esp + 0x27c]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + edx*4]
mov edx, dword [eax + 0x2c]
cmp cl, 0x27
sbb cl, cl
mov dword [esp + 0x1e8], edx
mov dx, word [ebp + 0x10]
mov byte [esp + 0x1f2], cl
mov ecx, dword [ebp + 0xc]
mov word [esp + 0x1f0], dx
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + edx*8]
lea ecx, [esp + 0x1e8]
mov dword [esp + 0x1ec], edx
mov edx, dword [esp + 0x14]
push ecx
push edx
lea edi, [esp + 0x7c]
mov dword [esp + 0x7c], 0
call fcn.004d0a20
mov ecx, dword [esp + 0x7c]
add esp, 8
test byte [ebp], 1
mov dword [esp + 0x10], eax
je 0x4d6e6f
neg ecx
jmp 0x4d6e70
inc ecx
mov dword [esp + 0x74], ecx
test eax, eax
jne 0x4d7a65
test ecx, ecx
jg 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esp + 0x27c]
mov eax, ebp
mov edx, esi
call fcn.004d3a80
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 0x4d8b08
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 4]
mov eax, dword [eax + 0x10]
lea edx, [esp + 0xd0]
push edx
mov edx, ebx
shl edx, 4
mov eax, dword [edx + eax + 4]
push ecx
mov dword [esp + 0xd8], 0
call fcn.004c7d80
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 0x4d7a65
test esi, esi
je case.0x4d3b75.86
mov edi, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
mov eax, ebx
call fcn.004ee850
inc bl
mov byte [esp + 0x4f], bl
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
neg eax
sbb eax, eax
lea ecx, [esp + 0xe4]
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 + 0xe8], 0
mov ecx, dword [edx + ecx + 4]
call fcn.004c7a80
add esp, 4
cmp dword [ebp + 0xc], 0
mov esi, eax
mov dword [esp + 0x10], esi
je 0x4d6fa2
mov ecx, dword [esp + 0x27c]
mov eax, dword [esp + 0xe4]
add dword [ecx + 0x2c], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4d6fa2
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x18]
lea ecx, [ecx + edx*8]
cdq
add dword [ecx], eax
adc dword [ecx + 4], edx
test esi, esi
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x27c]
mov edx, dword [ebp + 4]
mov ecx, dword [eax + 0x70]
mov eax, dword [ecx + edx*4]
cmp byte [eax], 1
jne 0x4d6fdf
mov edx, dword [esp + 0x14]
mov ebx, dword [eax + 0x28]
push edx
call fcn.004da920
add esp, 4
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [eax + 0x28]
call fcn.004c7b10
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
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.004c7870
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov eax, dword [esp + 0xcc]
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x4d3b60
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.004fc670
dec byte [esi + 0x52]
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 4]
mov edi, dword [esp + 0x14]
xor ebx, ebx
cmp eax, ebx
jne 0x4d70e0
mov ecx, dword [edi + 0x10]
mov eax, esi
shl eax, 4
mov edx, dword [eax + ecx + 0xc]
push edx
call fcn.004f23d0
mov ebx, dword [esp + 0x280]
and dword [edi + 0x18], 0xfffffff7
add esp, 4
push 1
lea eax, [ebx + 0x6c]
push eax
push esi
push edi
call fcn.00500790
or dword [edi + 0x18], 1
add esp, 0x10
and dword [ebx + 0x94], 0xfffffffc
mov dword [esp + 0x10], eax
jmp 0x4d7176
mov ecx, dword [esp + 0x27c]
mov edx, dword [edi + 0x10]
push eax
mov dword [esp + 0x1b8], esi
add ecx, 0x6c
mov dword [esp + 0x1b0], edi
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1c0], ebx
shl esi, 4
mov eax, dword [esi + edx]
push str.sqlite_master
push eax
push str.SELECT_name__rootpage__sql_FROM__q._s_WHERE__s_ORDER_BY_rowid
call fcn.004ad7b0
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x4d87ae
push ebx
lea ecx, [esp + 0x1b0]
push ecx
push fcn.005005f0
push esi
push edi
mov byte [edi + 0x9d], 1
mov dword [esp + 0x1cc], ebx
call fcn.004fc670
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x4d7166
mov edx, dword [esp + 0x1b8]
mov dword [esp + 0x10], edx
mov eax, esi
mov ecx, edi
call fcn.004ab540
mov byte [edi + 0x9d], 0
cmp dword [esp + 0x10], 0
je case.0x4d3b75.86
mov eax, edi
call fcn.004ebfc0
cmp dword [esp + 0x10], 7
je 0x4d50f3
jmp 0x4d7a65
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
call fcn.004ea2e0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 4]
call fcn.004ec320
add esp, 4
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [ebp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 4]
push ecx
push edx
call fcn.004ebd50
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [ebp + 4]
push ecx
call fcn.0050ca60
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
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]
mov eax, dword [esi]
inc eax
push eax
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
add edx, 4
push ecx
push edx
movzx edx, word [ebp + 2]
shl edx, 4
mov edx, dword [edx + eax + 4]
lea ecx, [esp + 0x13c]
call fcn.004c8a50
mov ebx, eax
add esp, 0xc
mov eax, edi
call fcn.004cb160
mov eax, dword [esp + 0x130]
test eax, eax
je 0x4d7289
test ebx, ebx
je 0x4d50f3
dec eax
cdq
sub dword [esi], eax
push fcn.004ab490
push 1
sbb dword [esi + 4], edx
push ebx
or eax, 0xffffffff
mov ecx, edi
call fcn.004cb4c0
add esp, 0xc
movzx ecx, byte [esp + 0x3c]
mov eax, edi
call fcn.004ca6d0
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
test byte [ecx + edx*8 + 8], 0x10
mov eax, dword [ebp + 8]
lea esi, [ecx + edx*8]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
jne 0x4d72c7
call fcn.004cb300
test eax, eax
jne 0x4d50f3
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov esi, dword [esi + 0x10]
push ecx
push edx
call fcn.004b5e50
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ebx, dword [esp + 0x18]
lea eax, [eax + eax*4]
test byte [ebx + eax*8 + 8], 0x10
lea edi, [ebx + eax*8]
je 0x4d732e
mov eax, dword [edi + 0x10]
lea esi, [esp + 0x150]
call fcn.004b6160
test eax, eax
je 0x4d732e
mov ecx, dword [esp + 0x154]
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x150]
push ecx
lea eax, [eax + eax*4]
push edx
lea eax, [ebx + eax*8]
call fcn.004cb220
add esp, 8
jmp 0x4d81e1
mov eax, edi
call fcn.004cb160
jmp case.0x4d3b75.11
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
lea edx, [eax + eax*4]
test byte [ecx + edx*8 + 8], 0x10
mov eax, dword [ebp + 0xc]
lea esi, [ecx + edx*8]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
jne 0x4d7367
call fcn.004cb300
test eax, eax
jne 0x4d50f3
test ebx, ebx
je 0x4d738e
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov eax, dword [esi + 0x10]
push ecx
push edx
push ebx
call fcn.004b61b0
add esp, 0xc
test eax, eax
jne 0x4d8704
test ebx, ebx
jl case.0x4d3b75.86
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov esi, dword [esi + 0x10]
push eax
push ecx
call fcn.004b5e50
add esp, 8
add ebp, 0x14
jmp 0x4d3b60
cmp word [ebp + 2], 0
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea edx, [eax + edx*8]
mov dword [esp + 0x24], edx
je 0x4d73eb
mov esi, dword [esp + 0x27c]
mov eax, dword [esi + 0xc4]
mov ecx, dword [ebx + 0x14]
test eax, eax
je 0x4d73f2
cmp dword [eax + 0x1c], ecx
je case.0x4d3b75.86
mov eax, dword [eax + 4]
test eax, eax
jne 0x4d73d7
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x27c]
mov ecx, dword [esi + 0xcc]
mov eax, dword [esp + 0x14]
cmp ecx, dword [eax + 0x8c]
jge 0x4d8b1c
test byte [edx + 8], 0x10
jne 0x4d7506
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
add eax, ecx
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x4d7427
inc eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
mov edx, dword [ebx + 0xc]
lea ecx, [eax + eax*4 + 0xa]
mov eax, dword [ebx + 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 + 0x1c], eax
cdq
push edx
push eax
mov eax, dword [esp + 0x1c]
call fcn.004ab7b0
mov edi, eax
add esp, 8
test edi, edi
je 0x4d50f3
mov eax, dword [esp + 0x24]
call fcn.004cacc0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
sub ebp, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x10], edi
mov dword [eax + 0x24], 0x4cd670
mov edx, 0x410
mov word [eax + 8], dx
mov dword [edi + 0x3c], ecx
mov dword [edi], esi
mov edx, dword [ebx + 0xc]
mov dword [edi + 0x40], edx
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x30], eax
mov edx, dword [esi + 0x5c]
mov dword [edi + 0x10], edx
mov eax, dword [esi + 0x18]
mov dword [edi + 0x38], eax
mov edx, dword [esi + 0x70]
mov dword [edi + 0x14], edx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x2c], eax
mov edx, dword [esi + 0x58]
mov dword [edi + 8], edx
mov eax, dword [esi + 0x88]
mov dword [edi + 0x34], eax
mov edx, dword [ebx + 0x14]
lea eax, [ecx + ecx*4 + 0xa]
lea ecx, [edi + eax*8]
lea eax, [edi + 0x50]
mov dword [edi + 0x1c], edx
cmp eax, ecx
je 0x4d7509
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 0x4d74f1
jmp 0x4d7509
mov edi, dword [edx + 0x10]
inc dword [esi + 0xcc]
mov ecx, dword [esi + 0xc4]
mov eax, dword [esp + 0x14]
mov dword [edi + 4], ecx
mov edx, dword [eax + 0x20]
mov dword [edi + 0x20], edx
mov eax, dword [eax + 0x24]
mov dword [edi + 0x24], eax
mov ecx, dword [esi + 0x2c]
mov dword [edi + 0x44], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x5c]
mov dword [edi + 0x48], eax
mov ecx, dword [esi + 0xd8]
mov dword [edi + 0x28], ecx
mov dword [esi + 0xc4], edi
lea ecx, [edi + 0x50]
mov dword [esi + 0x5c], ecx
xor ebp, ebp
mov dword [esi + 0xd8], ebp
mov dword [esi + 0x2c], ebp
mov edx, dword [edi + 0x3c]
mov dword [esi + 0x18], edx
movzx eax, word [edi + 0x40]
mov dword [esi + 0x1c], eax
mov eax, edx
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov dword [esi + 0x70], eax
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xc]
lea ecx, [eax + ecx*4]
mov dword [edi + 0x18], ecx
mov eax, dword [ebx + 4]
add eax, 7
cdq
and edx, 7
add eax, edx
sar eax, 3
push eax
push ebp
push ecx
call fcn.00589f50
mov ebp, dword [ebx]
mov dword [esi + 0x58], ebp
mov edx, dword [ebx + 4]
mov dword [esp + 0x38], ebp
add ebp, 0xffffffec
add esp, 0xc
mov dword [esi + 0x88], edx
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esp + 0x27c]
mov eax, ebp
mov edx, esi
call fcn.004d3a80
mov edx, dword [esi + 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.004cb3a0
add esp, 0xc
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [esp + 0x14]
test dword [ecx + 0x1c], 0x80000
mov eax, dword [ebp + 8]
cdq
je 0x4d761d
add dword [ecx + 0x1d0], eax
adc dword [ecx + 0x1d4], edx
add ebp, 0x14
jmp 0x4d3b60
cmp dword [ebp + 4], 0
je 0x4d7637
add dword [ecx + 0x1c8], eax
adc dword [ecx + 0x1cc], edx
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [esp + 0x27c]
add dword [ecx + 0x40], eax
adc dword [ecx + 0x44], edx
add ebp, 0x14
jmp 0x4d3b60
cmp dword [ebp + 4], 0
je 0x4d766a
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c8]
or edx, dword [eax + 0x1cc]
jne case.0x4d3b75.86
jmp 0x4d7681
mov eax, dword [esp + 0x27c]
mov edx, dword [eax + 0x40]
or edx, dword [eax + 0x44]
jne case.0x4d3b75.86
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x1d0]
or ecx, dword [eax + 0x1d4]
je 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov ecx, dword [edx + 0xc4]
test ecx, ecx
je 0x4d76ca
mov eax, dword [ecx + 4]
test eax, eax
je 0x4d76bc
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4d76b3
mov eax, dword [ebp + 4]
mov ecx, dword [ecx + 0x10]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
jmp 0x4d76d7
mov eax, dword [ebp + 4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea edi, [eax + edx*8]
mov esi, edi
call fcn.004caec0
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
lea esi, [edx + ecx*8]
call fcn.004caec0
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov ecx, dword [edi + 4]
cmp ecx, esi
jg case.0x4d3b75.86
jl 0x4d770c
mov edx, dword [edi]
cmp edx, eax
jae case.0x4d3b75.86
mov dword [edi], eax
mov dword [edi + 4], esi
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov esi, dword [ecx + eax*8 + 4]
mov edi, dword [ecx + eax*8]
lea ecx, [ecx + eax*8]
test esi, esi
jl case.0x4d3b75.86
jg 0x4d773f
test edi, edi
jbe case.0x4d3b75.86
mov eax, dword [ebp + 0xc]
cdq
sub edi, eax
sbb esi, edx
mov dword [ecx], edi
mov dword [ecx + 4], esi
jmp 0x4d8704
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea esi, [ecx + edx*8]
mov edx, dword [esp + 0x27c]
lea edi, [ecx + eax*8]
mov eax, ebp
call fcn.004d3a80
mov ebx, eax
mov eax, dword [esi]
mov esi, dword [esi + 4]
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], esi
test esi, esi
jl 0x4d77d8
jg 0x4d7794
test eax, eax
jbe 0x4d77d8
mov eax, dword [edi]
mov edi, dword [edi + 4]
test edi, edi
jl 0x4d77a3
jg 0x4d77a7
test eax, eax
ja 0x4d77a7
xor eax, eax
xor edi, edi
push edi
push eax
lea ecx, [esp + 0x100]
push ecx
call fcn.004af6e0
add esp, 0xc
test eax, eax
jne 0x4d77d8
mov edx, dword [esp + 0xf8]
mov eax, dword [esp + 0xfc]
mov dword [ebx], edx
mov dword [ebx + 4], eax
add ebp, 0x14
jmp 0x4d3b60
mov dword [ebx], 0xffffffff
mov dword [ebx + 4], 0xffffffff
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*8]
lea edx, [edx + ecx*8]
mov ecx, dword [edx + 4]
mov esi, eax
or esi, ecx
je case.0x4d3b75.86
test ecx, ecx
jl 0x4d8704
jg 0x4d781c
test eax, eax
jbe 0x4d8704
sub eax, 1
sbb ecx, 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jmp 0x4d8704
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov edx, dword [ecx + eax*8]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 4]
cmp ecx, 0x80000000
jl 0x4d7858
jg 0x4d784d
test edx, edx
jbe 0x4d7858
sub edx, 1
sbb ecx, 0
mov dword [eax], edx
mov dword [eax + 4], ecx
mov edx, dword [eax]
or edx, dword [eax + 4]
je 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
movzx ebx, word [ebp + 2]
mov edi, dword [esp + 0x14]
lea eax, [ebx*4 + 0x44]
push 0
push eax
mov eax, edi
call fcn.004ab890
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4d50f3
lea eax, [ecx + ebx*4 + 0x1c]
mov dword [ecx], eax
xor esi, esi
mov dword [ecx + 8], esi
mov dword [eax + 0x20], edi
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 + 0x2c]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x27c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], edx
mov byte [ecx + 0x18], 0
mov dword [ecx + 0x14], esi
mov byte [ecx + 0x19], bl
mov byte [ebp + 1], 0xf0
mov dword [ebp + 0x10], ecx
mov byte [ebp], 0x9c
mov eax, dword [ebp + 0xc]
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea esi, [ebx + eax*8]
cmp dword [edi + 8], esi
je 0x4d7925
movzx ecx, byte [edi + 0x19]
sub ecx, 1
mov dword [edi + 8], esi
js 0x4d7925
lea edx, [edi + ecx*4 + 0x1c]
nop
mov eax, dword [ebp + 8]
add eax, ecx
lea eax, [eax + eax*4]
lea eax, [ebx + eax*8]
mov dword [edx], eax
dec ecx
sub edx, 4
test ecx, ecx
jge 0x4d7910
inc dword [esi + 0xc]
cmp dword [ebp + 4], 0
je 0x4d7942
movzx eax, byte [edi + 0x19]
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + 0x1c]
lea edx, [edi + 0x1c]
push edx
push eax
push edi
call ecx
jmp 0x4d7954
movzx ecx, byte [edi + 0x19]
mov edx, dword [edi + 4]
mov edx, dword [edx + 0x10]
lea eax, [edi + 0x1c]
push eax
push ecx
push edi
call edx
mov eax, dword [edi + 0x14]
add esp, 0xc
test eax, eax
je case.0x4d3b75.86
jle 0x4d798b
mov eax, dword [edi]
push eax
call fcn.004d1240
mov esi, dword [esp + 0x280]
add esp, 4
push eax
push 0x5f7c60
call fcn.004cbf90
mov ecx, dword [edi + 0x14]
add esp, 8
mov dword [esp + 0x10], ecx
cmp byte [edi + 0x18], 0
je 0x4d79b2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4d79ae
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
push 0
push 1
lea eax, [eax + edx*8]
call fcn.004cb220
add esp, 8
mov byte [edi + 0x18], 0
mov eax, dword [edi]
call fcn.004cacc0
cmp dword [esp + 0x10], 0
mov ecx, dword [edi]
mov edx, 1
mov word [ecx + 8], dx
mov dword [edi + 0x14], 0
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4d7a15
mov edi, dword [ebp + 0x10]
lea edx, [eax + eax*4]
mov ebx, ecx
lea eax, [ebx + edx*8]
push esi
call fcn.004cab80
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
add esp, 4
lea esi, [ebx + eax*8]
jmp 0x4d7a23
mov ecx, dword [ebp + 0x10]
mov eax, esi
call fcn.004caa70
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
jne 0x4d8b33
movzx ecx, byte [esp + 0x3c]
mov eax, esi
call fcn.004ca6d0
mov ecx, esi
call fcn.004cb350
test eax, eax
je case.0x4d3b75.86
mov esi, dword [esp + 0x27c]
push str.string_or_blob_too_big
call fcn.004cbf90
mov dword [esp + 0x14], 0x12
add esp, 4
mov edi, dword [esp + 0x14]
cmp byte [edi + 0x49], 0
je 0x4d7a77
mov dword [esp + 0x10], 7
mov esi, dword [esp + 0x27c]
cmp dword [esi + 0x6c], 0
mov ebx, dword [esp + 0x10]
jne 0x4d7aa5
cmp ebx, 0xc0a
je 0x4d7aa5
mov edx, ebx
call fcn.00526420
push eax
push 0x5f7c60
call fcn.004cbf90
add esp, 8
mov dword [esi + 0x28], ebx
cmp ebx, 0xc0a
je 0x4d8be8
mov eax, ebx
and eax, 0xff
cmp eax, 0xe
je 0x4d7ac9
cmp eax, 0xa
jne 0x4d8be8
mov eax, dword [edi]
mov ecx, dword [eax + 0x44]
test ecx, ecx
je 0x4d8be3
push 0
push 0
push eax
call ecx
add esp, 0xc
jmp 0x4d8be5
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x14]
or eax, 0xffffffff
lea ecx, [esp + 0x114]
push ecx
mov dword [esp + 0x118], eax
mov dword [esp + 0x114], eax
mov eax, dword [ebp + 4]
push edx
xor edi, edi
push eax
lea ecx, [esp + 0x11c]
mov dword [esp + 0x118], edi
call fcn.00527050
add esp, 0xc
mov dword [esp + 0x10], eax
cmp eax, edi
je 0x4d7b42
cmp eax, 5
jne 0x4d7a65
mov dword [esp + 0x10], edi
mov dword [esp + 0x10c], 1
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
lea ecx, [eax + eax*4]
xor esi, esi
lea edi, [edx + ecx*8]
mov eax, dword [esp + esi*4 + 0x10c]
cdq
push edx
push eax
mov eax, edi
call fcn.004cb220
inc esi
add esp, 8
add edi, 0x28
cmp esi, 3
jl 0x4d7b51
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
mov edi, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebp + 4]
shl eax, 4
mov eax, dword [eax + edx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 4]
mov ebx, dword [eax]
movzx ecx, byte [ebx + 5]
mov dword [esp + 0x20], ecx
cmp edi, 0xffffffff
jne 0x4d7bb2
mov edi, ecx
mov eax, ebx
call fcn.004bb320
test eax, eax
jne 0x4d7bc1
mov edi, dword [esp + 0x20]
cmp byte [ebx + 0xf], 0
mov eax, 0x5e1790
jne 0x4d7bd2
mov eax, dword [ebx + 0xa8]
cmp edi, 5
jne 0x4d7bf4
call fcn.004ae490
test eax, eax
je 0x4d7beb
mov eax, ebx
call fcn.004bb450
test eax, eax
jne 0x4d7bf4
mov edi, dword [esp + 0x20]
jmp 0x4d7c71
mov eax, dword [esp + 0x20]
cmp edi, eax
je 0x4d7c71
cmp eax, 5
je 0x4d7c06
cmp edi, 5
jne 0x4d7c71
mov ecx, dword [esp + 0x14]
cmp byte [ecx + 0x47], 0
je 0x4d8b56
cmp dword [ecx + 0xa8], 1
jg 0x4d8b56
cmp eax, 5
jne 0x4d7c3f
mov edx, ecx
push edx
mov eax, ebx
call fcn.004bb5c0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7c78
mov eax, edi
jmp 0x4d7c49
cmp eax, 4
jne 0x4d7c50
mov eax, 2
mov ecx, ebx
call fcn.004bb200
cmp dword [esp + 0x10], 0
jne 0x4d7c78
xor eax, eax
cmp edi, 5
sete al
inc eax
push eax
mov eax, dword [esp + 0x20]
call fcn.004c9160
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x4d7c7c
mov edi, dword [esp + 0x20]
mov eax, edi
mov ecx, ebx
call fcn.004bb200
mov ecx, 0xa02
mov word [esi + 8], cx
cmp eax, 6
jne 0x4d7c97
xor eax, eax
jmp 0x4d7c9e
mov eax, dword [eax*4 + 0x5e51c0]
mov dword [esi + 0x10], eax
call fcn.004ae490
movzx ecx, byte [esp + 0x3c]
mov dword [esi + 0xc], eax
mov eax, esi
mov byte [esi + 0xa], 1
call fcn.004ca6d0
cmp dword [esp + 0x10], 0
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
add edx, 0x6c
push edx
call fcn.0050fa70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x10]
shl eax, 4
mov eax, dword [eax + edx + 4]
push eax
call fcn.004c1f30
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je case.0x4d3b75.86
cmp eax, 0x65
jne 0x4d7a65
mov dword [esp + 0x10], 0
jmp 0x4d8704
cmp dword [ebp + 4], 0
mov ecx, dword [ebp + 8]
jne 0x4d7d50
mov eax, dword [esp + 0x14]
call fcn.004d0b00
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x27c]
inc ecx
xor ecx, dword [eax + 0x94]
and ecx, 3
xor dword [eax + 0x94], ecx
add ebp, 0x14
jmp 0x4d3b60
mov cl, byte [ebp + 0xc]
test cl, cl
jne 0x4d7d87
mov edx, dword [esp + 0x14]
test dword [edx + 0x1c], 0x400
jne case.0x4d3b75.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.004c9070
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je case.0x4d3b75.86
cmp al, 6
jne 0x4d7a65
mov eax, dword [ebp + 0x10]
mov esi, dword [esp + 0x27c]
push eax
push str.database_table_is_locked:__s
call fcn.004cbf90
add esp, 8
jmp 0x4d7a65
mov edi, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
call fcn.00511210
mov esi, eax
mov dword [esp + 0x10], esi
test edi, edi
je 0x4d7dfe
mov eax, dword [esp + 0x27c]
mov edi, dword [edi + 8]
push eax
call fcn.004d0c00
add esp, 4
test esi, esi
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], eax
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], eax
mov dword [esp + 0x194], eax
mov dword [esp + 0x198], eax
mov dword [esp + 0x19c], eax
mov dword [esp + 0x1a4], eax
mov eax, dword [ebp + 8]
lea ecx, [eax + eax*4]
lea edi, [edx + ecx*8]
lea eax, [esp + 0x180]
mov dword [esp + 0x1a0], esi
call fcn.004cb410
mov dword [esp + 0x10], eax
lea eax, [esp + 0x180]
push eax
call fcn.004d1240
add esp, 4
test eax, eax
je 0x4d7eaf
mov ecx, dword [esp + 0x27c]
add ecx, 0x6c
push ecx
push eax
mov eax, dword [ebp + 4]
mov ecx, esi
call fcn.00510d30
add esp, 8
mov dword [esp + 0x10], eax
lea eax, [esp + 0x180]
call fcn.004cacc0
cmp dword [esp + 0x10], 0
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
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.00511040
dec dword [esi + 0xb4]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x80], 0
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x4d8ba0
mov eax, dword [ebx]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d8ba0
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x80]
push ecx
push ebx
call edx
mov esi, eax
mov eax, dword [esp + 0x284]
push eax
mov edi, ebx
mov dword [esp + 0x1c], esi
call fcn.004d0c00
add esp, 0xc
test esi, esi
jne 0x4d7a65
mov ecx, dword [esp + 0x80]
push 2
push 0xffffffffffffffff
mov dword [ecx], ebx
mov edi, dword [ebp + 4]
push esi
mov esi, dword [esp + 0x288]
call fcn.004d37c0
add esp, 0xc
test eax, eax
je 0x4d8b87
mov edx, dword [esp + 0x80]
mov dword [eax + 0x28], edx
inc dword [ebx + 4]
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov edi, dword [ecx + eax*8]
lea edx, [ecx + eax*8]
mov eax, dword [esp + 0x27c]
mov esi, dword [eax + 0x70]
mov ecx, dword [ebp + 4]
mov ecx, dword [esi + ecx*4]
mov esi, dword [ecx + 0x28]
mov ebx, dword [esi]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx + 0x28]
mov dword [esp + 0x40], edi
mov edi, dword [eax + 0x60]
xor eax, eax
test ecx, ecx
jle 0x4d7fe2
add edx, 0x50
mov dword [edi + eax*4], edx
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x4d7fd7
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x40]
push edi
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [ecx + 0x20]
push eax
push esi
call edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x290]
add esp, 0x14
push eax
mov edi, ebx
call fcn.004d0c00
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x4d7a65
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x28]
push esi
call edx
mov ecx, dword [esp + 0x3c]
add esp, 4
mov byte [ecx + 2], 0
test eax, eax
jne 0x4d8704
add ebp, 0x14
jmp 0x4d3b60
mov eax, dword [esp + 0x27c]
mov ecx, dword [eax + 0x70]
mov edx, dword [ebp + 4]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx + edx*4]
cmp byte [esi + 2], 0
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x18]
lea ebx, [eax + edx*8]
je 0x4d8072
mov eax, ebx
call fcn.004cb160
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [esi + 0x28]
mov edi, dword [ecx]
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x158], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x15c], eax
mov dword [esp + 0x160], eax
mov dword [esp + 0x164], eax
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], eax
mov dword [esp + 0x170], eax
mov dword [esp + 0x174], eax
mov dword [esp + 0x158], ebx
cmp word [ebp + 2], ax
je 0x4d80dc
mov eax, ebx
call fcn.004cb160
mov eax, 0x4001
mov word [ebx + 8], ax
mov dword [ebx], 0
jmp 0x4d80f0
mov cx, word [ebx + 8]
mov edx, 0x3e00
and cx, dx
or cx, 1
mov word [ebx + 8], cx
mov eax, dword [ebp + 8]
mov edx, dword [esi + 0x28]
push eax
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x15c]
push ecx
mov ecx, dword [eax + 0x2c]
push edx
call ecx
mov esi, dword [esp + 0x288]
add esp, 0xc
push esi
mov dword [esp + 0x14], eax
call fcn.004d0c00
add esp, 4
cmp dword [esp + 0x16c], 0
jle 0x4d814c
push ebx
call fcn.004d1240
add esp, 4
push eax
push 0x5f7c60
call fcn.004cbf90
mov edx, dword [esp + 0x174]
add esp, 8
mov dword [esp + 0x10], edx
movzx ecx, byte [esp + 0x3c]
mov eax, ebx
call fcn.004ca6d0
mov ecx, ebx
call fcn.004cb350
test eax, eax
jne 0x4d7a49
cmp dword [esp + 0x10], eax
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [esp + 0x27c]
mov eax, dword [ebp + 4]
mov edx, dword [ecx + 0x70]
mov esi, dword [edx + eax*4]
cmp byte [esi + 2], 0
jne case.0x4d3b75.86
mov eax, dword [esi + 0x28]
mov edi, dword [eax]
mov ebx, dword [edi]
push eax
mov eax, dword [ebx + 0x24]
call eax
mov ecx, dword [esp + 0x280]
add esp, 4
push ecx
mov dword [esp + 0x14], eax
call fcn.004d0c00
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x4d7a65
mov edx, dword [esi + 0x28]
mov eax, dword [ebx + 0x28]
push edx
call eax
add esp, 4
test eax, eax
jne 0x4d81e1
mov ebp, dword [ebp + 8]
mov edx, dword [esp + 0x2c]
lea ecx, [ebp + ebp*4]
lea ebp, [edx + ecx*4 - 0x14]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x100]
test ecx, ecx
jne 0x4d8bad
mov edx, dword [esp + 0x9c]
cmp dword [esp + 0x70], edx
jb case.0x4d3b75.86
mov esi, dword [eax + 0x138]
test esi, esi
je case.0x4d3b75.86
mov edi, dword [esp + 0x70]
mov ebx, eax
mov ecx, dword [ebx + 0x140]
xor edx, edx
mov eax, edi
div ecx
sub ecx, edx
add ecx, edi
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebx + 0x13c]
push ecx
call esi
add esp, 4
test eax, eax
jne 0x4d8899
add ebp, 0x14
jmp 0x4d3b60
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 + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 0x10]
mov edi, dword [edx + 8]
lea eax, [eax + eax*4]
lea ebx, [ecx + eax*8]
mov ecx, 1
mov eax, ebx
and esi, 0x4000000
call fcn.004ca6d0
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
mov eax, dword [ebx + 0x10]
mov edx, dword [edi]
mov ecx, dword [edx + 0x4c]
push eax
push edi
call ecx
add esp, 8
mov ebx, eax
mov dword [esp + 0x10], ebx
test esi, esi
jne 0x4d82b1
mov eax, dword [esp + 0x14]
and dword [eax + 0x1c], 0xfbffffff
mov esi, dword [esp + 0x27c]
push esi
call fcn.004d0c00
and dword [esi + 0x94], 0xfffffffc
add esp, 4
test ebx, ebx
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x49], 0
jne 0x4d50f3
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 8]
test edi, edi
je 0x4d8ba0
mov eax, dword [edi]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4d8ba0
cmp dword [eax + 0x34], 0
mov ecx, dword [ebp + 8]
je case.0x4d3b75.86
mov al, byte [edx + 0x4e]
mov edx, dword [esp + 0x27c]
mov esi, dword [edx + 0x60]
mov edx, dword [esp + 0x18]
mov byte [esp + 0x37], al
mov eax, dword [ebp + 0xc]
lea eax, [eax + eax*4]
lea edx, [edx + eax*8]
xor eax, eax
test ecx, ecx
jle 0x4d833e
mov dword [esi + eax*4], edx
inc eax
add edx, 0x28
cmp eax, ecx
jl 0x4d8333
mov al, byte [ebp + 2]
mov ebx, dword [esp + 0x14]
lea edx, [esp + 0x148]
push edx
mov byte [ebx + 0x4e], al
mov eax, dword [esp + 0x20]
push esi
push ecx
mov ecx, dword [eax + 0x34]
push edi
call ecx
mov dl, byte [esp + 0x47]
mov esi, dword [esp + 0x28c]
push esi
mov dword [esp + 0x24], eax
mov byte [ebx + 0x4e], dl
call fcn.004d0c00
mov ecx, dword [esp + 0x24]
add esp, 0x14
test ecx, ecx
jne 0x4d8398
cmp dword [ebp + 4], ecx
je 0x4d8398
mov eax, dword [esp + 0x148]
mov edx, dword [esp + 0x14c]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
cmp cl, 0x13
jne 0x4d83de
mov eax, dword [ebp + 0x10]
cmp byte [eax + 0x10], 0
je 0x4d83de
movzx eax, word [ebp + 2]
cmp ax, 4
jne 0x4d83c0
mov dword [esp + 0x10], 0
add ebp, 0x14
jmp 0x4d3b60
cmp ax, 5
jne 0x4d83d3
mov eax, 2
mov byte [esi + 0x8e], al
jmp 0x4d83e1
movzx eax, ax
mov byte [esi + 0x8e], al
jmp 0x4d83e1
inc dword [esi + 0x2c]
test ecx, ecx
jne 0x4d7a65
add ebp, 0x14
jmp 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
mov ecx, dword [ebp + 4]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x10]
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 0x4d3b60
mov edx, dword [esp + 0x27c]
mov eax, ebp
call fcn.004d3a80
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 ebx, ebx
test ecx, ecx
je 0x4d845d
mov edx, dword [eax + 4]
mov ebx, dword [edx + 0x2c]
cmp ebx, ecx
jae 0x4d845d
mov ebx, ecx
call fcn.004c1070
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
add ebp, 0x14
jmp 0x4d3b60
movzx ebx, word [ebp + 2]
lea eax, [ebx*4 + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x1c]
call fcn.004ab890
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x4d50f3
mov dword [ecx], 0
mov edx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov edx, ebp
sub edx, dword [esp + 0x2c]
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x27c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x14], 0
mov byte [ecx + 0x19], bl
add byte [ebp], 2
mov byte [ebp + 1], 0xf0
mov dword [ebp + 0x10], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x10]
lea eax, [eax + eax*4]
lea esi, [edi + eax*8]
mov dword [esp + 0x28], esi
cmp dword [ebx], esi
je 0x4d8515
movzx ecx, byte [ebx + 0x19]
sub ecx, 1
mov dword [ebx], esi
js 0x4d8515
lea edx, [ebx + 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 0x4d8500
mov cx, word [esi + 8]
mov edx, 0x3e00
and cx, dx
or cx, 1
mov word [esi + 8], cx
movzx edx, byte [ebx + 0x19]
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x10]
lea ecx, [ebx + 0x1c]
push ecx
push edx
push ebx
call eax
mov eax, dword [ebx + 0x14]
add esp, 0xc
test eax, eax
je 0x4d859e
jle 0x4d856c
push esi
call fcn.004d1240
mov esi, dword [esp + 0x280]
add esp, 4
push eax
push 0x5f7c60
call fcn.004cbf90
mov ecx, dword [ebx + 0x14]
add esp, 8
mov dword [esp + 0x10], ecx
mov edx, dword [ebp + 4]
mov eax, dword [ebx + 0x10]
mov edi, dword [esp + 0x14]
push edx
push eax
mov eax, dword [esp + 0x284]
add eax, 0xd8
call fcn.004cf080
add esp, 8
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x14], 0
jne 0x4d7a65
mov esi, dword [esp + 0x28]
test byte [esi + 8], 0x12
je case.0x4d3b75.86
movzx ecx, byte [esp + 0x3c]
mov eax, esi
call fcn.004ca6d0
mov ecx, esi
call fcn.004cb350
test eax, eax
jne 0x4d7a49
add ebp, 0x14
jmp 0x4d3b60
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x50]
test al, 0x81
je 0x4d869f
mov edx, dword [esp + 0x27c]
test byte [edx + 0x94], 0x10
jne 0x4d869f
mov edx, dword [ebp + 0x10]
test edx, edx
jne 0x4d860e
mov ecx, dword [esp + 0x27c]
mov edx, dword [ecx + 0xbc]
test edx, edx
je 0x4d869f
test al, al
jns 0x4d863f
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x27c]
mov edi, dword [ebx + 0xc0]
call fcn.004d3340
mov edx, dword [ebx + 0xc4]
mov esi, eax
push esi
push edx
call edi
push esi
call fcn.004ab490
add esp, 0xc
jmp 0x4d869f
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xb0], 1
push edx
jle 0x4d8683
push str.____s
mov edi, eax
call fcn.004ad7b0
mov ecx, dword [edi + 0xc4]
mov edx, dword [edi + 0xc0]
mov esi, eax
mov eax, dword [esp + 0x284]
push esi
push eax
push ecx
push 1
call edx
add esp, 0x18
mov eax, esi
mov ecx, edi
call fcn.004ab580
jmp 0x4d869f
mov ecx, dword [esp + 0x280]
mov edx, dword [eax + 0xc4]
mov eax, dword [eax + 0xc0]
push ecx
push edx
push 1
call eax
add esp, 0x10
mov ecx, dword [ebp + 4]
cmp ecx, dword [0x631a34]
jl 0x4d86ef
cmp byte [ebp], 0xa9
je case.0x4d3b75.86
mov eax, dword [esp + 0x27c]
mov ebx, 1
xor edi, edi
cmp dword [eax + 0x88], ebx
mov esi, ebx
jle 0x4d86ea
mov edx, 0x14
lea ecx, [ecx]
mov ecx, dword [eax + 0x58]
add ecx, edx
cmp byte [ecx], 0x11
jne 0x4d86dd
mov dword [ecx + 4], edi
add esi, ebx
add edx, 0x14
cmp esi, dword [eax + 0x88]
jl 0x4d86d0
mov dword [ebp + 4], edi
jmp 0x4d86fb
mov eax, dword [esp + 0x27c]
mov ebx, 1
add dword [ebp + 4], ebx
add dword [eax + 0xb8], ebx
mov ebp, dword [ebp + 8]
mov eax, dword [esp + 0x2c]
lea edx, [ebp + ebp*4]
lea ebp, [eax + edx*4 - 0x14]
add ebp, 0x14
jmp 0x4d3b60
mov esi, dword [esp + 0x27c]
push str.cannot_open_savepoint___SQL_statements_in_progress
call fcn.004cbf90
mov dword [esp + 0x14], 5
jmp 0x4d7a62
mov esi, dword [esp + 0x27c]
push str.cannot_release_savepoint___SQL_statements_in_progress
call fcn.004cbf90
mov dword [esp + 0x14], 5
jmp 0x4d7a62
mov eax, dword [edi + 0x6c]
mov ecx, esi
call fcn.004ab580
mov ebx, str.database_schema_has_changed
mov eax, esi
call fcn.004abab0
mov dword [edi + 0x6c], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x10]
mov edx, eax
shl edx, 4
mov edx, dword [edx + ecx + 0xc]
mov ecx, dword [esp + 0xac]
cmp dword [edx], ecx
je 0x4d878f
call fcn.004ebf50
mov edx, dword [edi + 0x94]
and edx, 0xfffffffd
or edx, 1
mov dword [edi + 0x94], edx
mov dword [esp + 0x10], 0x11
jmp 0x4d7a65
mov dword [esp + 0x10], 7
jmp 0x4d7181
mov eax, dword [ebp + 4]
mov dword [esi + 0x28], eax
mov cl, byte [ebp + 8]
mov byte [esi + 0x8e], cl
mov dword [esi + 0x24], ebx
test eax, eax
je 0x4d884d
movzx eax, word [ebp + 2]
mov esi, dword [esp + 0x27c]
test ax, ax
je 0x4d881f
movzx edx, ax
mov eax, dword [edx*4 + 0x5e47ec]
push eax
push str._s_constraint_failed
call fcn.004cbf90
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
je 0x4d8830
mov ecx, dword [esi + 0x6c]
mov edi, dword [esp + 0x14]
push eax
push ecx
push str._z:__s
call fcn.004ad7b0
add esp, 0xc
mov dword [esi + 0x6c], eax
jmp 0x4d8830
mov edx, dword [ebp + 0x10]
push edx
push 0x5f7c60
call fcn.004cbf90
add esp, 8
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0xbc]
mov edx, dword [ebp + 4]
push eax
push ecx
push ebx
push str.abort_at__d_in___s_:__s
push edx
call fcn.004ad9d0
add esp, 0x14
mov edi, dword [esp + 0x27c]
call fcn.004cebe0
mov dword [esp + 0x10], eax
cmp eax, 5
jne 0x4d8a72
mov dword [edi + 0x28], eax
jmp 0x4d8c79
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x138]
test eax, eax
je 0x4d88a6
mov ecx, dword [esp + 0x70]
cmp ecx, dword [esp + 0x9c]
jb 0x4d88a6
mov edx, dword [esi + 0x13c]
push edx
call eax
add esp, 4
test eax, eax
je 0x4d88a6
mov dword [esp + 0x10], 9
jmp 0x4d7a65
mov edi, dword [esp + 0x27c]
push 0
mov eax, edi
call fcn.004ceb70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d7a65
lea edx, [eax + 1]
mov eax, edi
call fcn.004ceb50
mov eax, dword [edi + 0x20]
mov edx, dword [esp + 0x18]
add eax, 2
or eax, 1
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 4]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*8]
xor ebx, ebx
mov dword [edi + 0x68], eax
cmp dword [ebp + 8], ebx
jle 0x4d8920
mov esi, eax
mov eax, 0x1000
test word [esi + 8], ax
je 0x4d890c
call fcn.004ca8c0
test eax, eax
jne 0x4d50f3
mov eax, esi
call fcn.004ca960
inc ebx
add esi, 0x28
cmp ebx, dword [ebp + 8]
jl 0x4d88f4
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x49], 0
jne 0x4d50f3
test byte [esi + 0x50], 4
je 0x4d8947
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
push 0
push edi
push ecx
push 4
call edx
add esp, 0x10
sub ebp, dword [esp + 0x2c]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov dword [edi + 0x24], ecx
mov dword [esp + 0x10], 0x64
jmp 0x4d8c79
mov eax, 0x14d8a
call fcn.005283d0
mov dword [esp + 0x10], eax
jmp 0x4d7a65
sub ebp, dword [esp + 0x2c]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov byte [esi + 0x47], 0
mov dword [esp + 0x10], 5
mov dword [edi + 0x28], 5
jmp 0x4d8c79
mov esi, dword [esp + 0x14]
movzx ecx, byte [esi + 0x47]
mov ebx, dword [ebp + 4]
mov eax, dword [ebp + 8]
cmp ebx, ecx
je 0x4d8a88
test eax, eax
je 0x4d89e0
push 0x204
mov eax, esi
call fcn.00526300
add esp, 4
mov byte [esi + 0x47], 1
jmp 0x4d8a2b
test ebx, ebx
je 0x4d8a0b
cmp dword [esi + 0xac], 0
jle 0x4d8a0b
mov esi, dword [esp + 0x27c]
push str.cannot_commit_transaction___SQL_statements_in_progress
call fcn.004cbf90
mov dword [esp + 0x14], 5
jmp 0x4d7a62
mov eax, dword [esp + 0x27c]
push 1
call fcn.004ceb70
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x4d8c72
mov byte [esi + 0x47], bl
mov edi, dword [esp + 0x27c]
call fcn.004cebe0
mov ecx, 5
cmp eax, ecx
jne 0x4d8a6d
sub ebp, dword [esp + 0x2c]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [edi + 0x24], eax
mov dl, 1
sub dl, bl
mov eax, esi
mov byte [eax + 0x47], dl
mov dword [esp + 0x10], ecx
mov dword [edi + 0x28], ecx
jmp 0x4d8c79
call fcn.00525850
mov eax, dword [edi + 0x28]
neg eax
sbb eax, eax
and eax, 0xffffff9c
add eax, 0x65
mov dword [esp + 0x10], eax
jmp 0x4d8c79
test ebx, ebx
jne 0x4d8a93
mov eax, str.cannot_start_a_transaction_within_a_transaction
jmp 0x4d8aa1
test eax, eax
mov eax, str.cannot_rollback___no_transaction_is_active
jne 0x4d8aa1
mov eax, str.cannot_commit___no_transaction_is_active
mov esi, dword [esp + 0x27c]
push eax
call fcn.004cbf90
mov dword [esp + 0x14], 1
jmp 0x4d7a62
mov dword [esp + 0x10], 8
jmp 0x4d7a65
cmp al, 5
jne 0x4d7a65
sub ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x27c]
mov eax, 0x66666667
imul ebp
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x10]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x28], edx
jmp 0x4d8c79
mov dword [esp + 0x10], 0x204
jmp 0x4d7a65
mov dword [esp + 0x10], 6
mov byte [esi + 0x8e], 2
jmp 0x4d7a65
push str.too_many_levels_of_trigger_recursion
mov dword [esp + 0x14], 1
call fcn.004cbf90
jmp 0x4d7a62
push esi
call fcn.004d1240
mov esi, dword [esp + 0x280]
add esp, 4
push eax
push 0x5f7c60
call fcn.004cbf90
add esp, 8
jmp 0x4d7a65
mov dword [esp + 0x10], 1
mov eax, str.into
cmp edi, 5
je 0x4d8b6d
mov eax, str.out_of
mov esi, dword [esp + 0x27c]
push eax
push str.cannot_change__s_wal_mode_from_within_a_transaction
call fcn.004cbf90
add esp, 8
jmp 0x4d7a65
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x1c]
push ecx
call eax
add esp, 4
jmp 0x4d50f3
mov dword [esp + 0x10], 6
jmp 0x4d7a65
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x27c]
xor edx, edx
cmp byte [ecx + 0x49], dl
sete dl
lea edx, [edx + edx + 7]
mov dword [esp + 0x10], edx
mov dword [esi + 0x28], edx
call fcn.00526420
push eax
push 0x5f7c60
call fcn.004cbf90
add esp, 8
jmp 0x4d7a65
xor eax, eax
mov dword [edi + 0x40], eax
mov edx, dword [esi + 0x6c]
mov eax, dword [esi + 0xbc]
sub ebp, dword [esp + 0x2c]
push edx
push eax
mov eax, 0x66666667
imul ebp
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push str.statement_aborts_at__d:___s___s
push ebx
call fcn.004ad9d0
add esp, 0x14
mov edi, esi
call fcn.004cebe0
cmp ebx, 0xc0a
jne 0x4d8c53
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x49], 0
jne 0x4d8c53
cmp byte [eax + 0x4a], 0
jne 0x4d8c53
cmp dword [eax + 0xb0], 0
mov byte [eax + 0x49], 1
jle 0x4d8c4d
mov dword [eax + 0x100], 1
inc dword [eax + 0x108]
mov al, byte [esp + 0x4f]
mov dword [esp + 0x10], 1
test al, al
jbe 0x4d8c72
mov esi, dword [esp + 0x14]
movzx eax, al
dec eax
call fcn.004ebf50
jmp 0x4d8c79
mov edi, dword [esp + 0x27c]
mov edx, dword [esp + 0x70]
add dword [edi + 0xb0], edx
cmp dword [edi + 0x9c], 0
je 0x4d8c95
push edi
call fcn.004cd4c0
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x268
ret